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
0627234fd49a7a55fc4a93634eff6ce7bc511e1b
2,847
py
Python
js/quickpilib.py
pablitomendoza/quick-pi
0cfa5acad3049444ee47d63ccd87340542310e34
[ "MIT" ]
null
null
null
js/quickpilib.py
pablitomendoza/quick-pi
0cfa5acad3049444ee47d63ccd87340542310e34
[ "MIT" ]
null
null
null
js/quickpilib.py
pablitomendoza/quick-pi
0cfa5acad3049444ee47d63ccd87340542310e34
[ "MIT" ]
null
null
null
import RPi.GPIO as GPIO import time import smbus import math GPIO.setmode(GPIO.BCM) GPIO.setwarnings(False) def turnLedOn(): GPIO.setup(14, GPIO.OUT) GPIO.output(14, GPIO.HIGH) def turnLedOff(): GPIO.setup(14, GPIO.OUT) GPIO.output(14, GPIO.LOW) def buzzOn(pin): GPIO.setup(pin, GPIO.OUT) GPIO.output(pin...
18.487013
72
0.67334
460
2,847
4.119565
0.291304
0.070185
0.040633
0.062797
0.455937
0.4
0.295515
0.239578
0.207916
0.172032
0
0.083477
0.183702
2,847
153
73
18.607843
0.731928
0.030558
0
0.362069
0
0
0
0
0
0
0.020349
0
0
0
null
null
0
0.034483
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
0627be2cd14a80043e2df123cff5b8556766faf1
573
py
Python
croupier_plugin/accounting_client/model/resource.py
ari-apc-lab/croupier
cfffa81df64898abb837da23921f7fa614033e85
[ "Apache-2.0" ]
5
2019-03-21T15:32:40.000Z
2022-02-16T09:16:06.000Z
croupier_plugin/accounting_client/model/resource.py
ari-apc-lab/croupier
cfffa81df64898abb837da23921f7fa614033e85
[ "Apache-2.0" ]
25
2021-05-13T09:24:31.000Z
2022-03-03T16:20:38.000Z
croupier_plugin/accounting_client/model/resource.py
ari-apc-lab/croupier
cfffa81df64898abb837da23921f7fa614033e85
[ "Apache-2.0" ]
3
2019-07-08T13:55:40.000Z
2021-05-20T13:13:22.000Z
from __future__ import absolute_import import enum from .base import AccountingBase class ResourceType(enum.Enum): CPU = 0 GPU = 1 Node = 2 Storage = 3 Memory = 4 Network_Bandwidth = 5 Data = 6 Service = 7 class Resource (AccountingBase): name = None type = None fee = N...
18.483871
73
0.630017
72
573
4.819444
0.5
0.184438
0
0
0
0
0
0
0
0
0
0.01995
0.300175
573
30
74
19.1
0.845387
0
0
0
0
0
0
0
0
0
0
0
0
1
0.043478
false
0
0.130435
0
0.782609
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
062a31839327f903aad72846b8888ded9261b2cd
6,899
py
Python
app/scripts/main/total.py
wkrzywiec/mankkoo
168949bfd297336da42489b8dff0c99046a712cb
[ "MIT" ]
null
null
null
app/scripts/main/total.py
wkrzywiec/mankkoo
168949bfd297336da42489b8dff0c99046a712cb
[ "MIT" ]
29
2021-03-08T05:30:22.000Z
2022-03-23T20:42:25.000Z
app/scripts/main/total.py
wkrzywiec/mankkoo
168949bfd297336da42489b8dff0c99046a712cb
[ "MIT" ]
null
null
null
import pandas as pd import datetime from dateutil.relativedelta import relativedelta import scripts.main.importer.importer as importer import scripts.main.config as config import scripts.main.models as models from scripts.main.base_logger import log def total_money_data(data: dict) -> pd.DataFrame: """Get summary ...
39.878613
126
0.699377
931
6,899
4.975295
0.213749
0.042746
0.031088
0.025907
0.177245
0.14551
0.109672
0.053972
0.037133
0.022884
0
0.006723
0.180751
6,899
172
127
40.110465
0.81281
0.216988
0
0
0
0
0.117356
0
0
0
0
0.011628
0
1
0.106383
false
0
0.106383
0.010638
0.340426
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
062bd6167b04d2b66b268d3d5a8b34e910623200
1,013
py
Python
soluciones/ecuaciones_lineales/secante.py
leugimkm/Soluciones
d71601c8d9b5e86e926f48d9e49462af8a956b6d
[ "MIT" ]
1
2022-02-02T04:44:56.000Z
2022-02-02T04:44:56.000Z
soluciones/ecuaciones_lineales/secante.py
leugimkm/Soluciones
d71601c8d9b5e86e926f48d9e49462af8a956b6d
[ "MIT" ]
null
null
null
soluciones/ecuaciones_lineales/secante.py
leugimkm/Soluciones
d71601c8d9b5e86e926f48d9e49462af8a956b6d
[ "MIT" ]
null
null
null
"""AyudaEnPython: https://www.facebook.com/groups/ayudapython """ from math import exp from typing import Callable import unittest FuncionReal = Callable[[float], float] def secante( f: FuncionReal, lower: float, upper: float, repeats: int, ) -> float: """Método de la secante para encontrar la ra...
23.022727
71
0.631787
138
1,013
4.565217
0.485507
0.019048
0.044444
0
0
0
0
0
0
0
0
0.044619
0.247779
1,013
43
72
23.55814
0.782152
0.384995
0
0
0
0
0.014134
0
0
0
0
0.046512
0.05
1
0.1
false
0
0.15
0
0.35
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
062fdf268f09e2f1fbeb154d6d49915c87c5a12a
1,043
py
Python
device_management/migrations/0002_auto_20161009_1124.py
skinfiter/task_manger
97fb101203efe0db801f0bb1843742e1ccb78dfd
[ "Apache-2.0" ]
null
null
null
device_management/migrations/0002_auto_20161009_1124.py
skinfiter/task_manger
97fb101203efe0db801f0bb1843742e1ccb78dfd
[ "Apache-2.0" ]
null
null
null
device_management/migrations/0002_auto_20161009_1124.py
skinfiter/task_manger
97fb101203efe0db801f0bb1843742e1ccb78dfd
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2016-10-09 03:24 from __future__ import unicode_literals import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('device_management', '0001_initial'), ...
29.8
121
0.613615
118
1,043
5.254237
0.491525
0.029032
0.072581
0.091935
0.359677
0.359677
0.303226
0.170968
0.170968
0.170968
0
0.081472
0.270374
1,043
34
122
30.676471
0.733246
0.064238
0
0.37037
1
0
0.09147
0
0
0
0
0
0
1
0
false
0
0.148148
0
0.259259
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
06323665476759354ea562e053809a51234a9732
799
py
Python
looking_for_group/gamer_profiles/migrations/0026_gamerprofile_city.py
andrlik/looking-for-group
0b1cecb37ef0f6d75692fd188130e2c60d09b7d2
[ "BSD-3-Clause" ]
null
null
null
looking_for_group/gamer_profiles/migrations/0026_gamerprofile_city.py
andrlik/looking-for-group
0b1cecb37ef0f6d75692fd188130e2c60d09b7d2
[ "BSD-3-Clause" ]
null
null
null
looking_for_group/gamer_profiles/migrations/0026_gamerprofile_city.py
andrlik/looking-for-group
0b1cecb37ef0f6d75692fd188130e2c60d09b7d2
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 2.2.4 on 2019-08-29 20:14 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('locations', '0003_auto_20190828_1618'), ('gamer_profiles', '0025_gamercommunity_community_logo_description'), ] ...
38.047619
348
0.703379
104
799
5.288462
0.721154
0.043636
0.050909
0.08
0
0
0
0
0
0
0
0.054945
0.202753
799
20
349
39.95
0.808477
0.05632
0
0
1
0.071429
0.43883
0.091755
0
0
0
0
0
1
0
false
0
0.142857
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0632752ef09b4592b736821ad2c5d22f73e28b2c
2,134
py
Python
datasources/connectors/rest_api.py
tiferrei/PEDASI
b819aee93de99c00a1aa3eb9d32102b89f72459e
[ "MIT" ]
null
null
null
datasources/connectors/rest_api.py
tiferrei/PEDASI
b819aee93de99c00a1aa3eb9d32102b89f72459e
[ "MIT" ]
18
2019-02-27T12:39:27.000Z
2021-03-24T16:32:47.000Z
datasources/connectors/rest_api.py
Southampton-RSG/PEDASI-IoT
25a111ac7cf4b23fee50ad8eac6ea21564954859
[ "MIT" ]
1
2021-02-16T17:47:15.000Z
2021-02-16T17:47:15.000Z
""" This module contains a data connector class for retrieving data via a REST API. """ import typing import urllib.parse from .base import BaseDataConnector, DataCatalogueConnector class RestApiConnector(DataCatalogueConnector): """ Data connector for retrieving data from a REST API. """ def __init...
31.850746
99
0.625117
251
2,134
5.167331
0.346614
0.02313
0.061681
0.055513
0.238242
0.238242
0.238242
0.238242
0.238242
0.12953
0
0
0.288191
2,134
66
100
32.333333
0.853851
0.22493
0
0.064516
0
0
0.075817
0
0
0
0
0
0
1
0.225806
false
0.032258
0.096774
0
0.483871
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
063324fc8b1dd3c5725795f33afd3bfe7e541cf0
10,264
py
Python
tests/test_steam_id.py
InsDev/steam.py
089618989c09f4692660b40df1304ea7ccf964f4
[ "MIT" ]
1
2020-09-01T12:32:09.000Z
2020-09-01T12:32:09.000Z
tests/test_steam_id.py
InsDev/steam.py
089618989c09f4692660b40df1304ea7ccf964f4
[ "MIT" ]
null
null
null
tests/test_steam_id.py
InsDev/steam.py
089618989c09f4692660b40df1304ea7ccf964f4
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ The MIT License (MIT) Copyright (c) 2015 Rossen Georgiev <rossen@rgp.io> Copyright (c) 2020 James Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction,...
36.397163
114
0.691056
1,448
10,264
4.801796
0.155387
0.104703
0.086294
0.099238
0.588091
0.528549
0.476341
0.431325
0.356681
0.339422
0
0.103905
0.169232
10,264
281
115
36.52669
0.711505
0.130164
0
0.141243
0
0
0.08945
0.004153
0
0
0.004489
0
0.440678
1
0.152542
false
0
0.016949
0.00565
0.175141
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
06449c6ed3fd3993700b725102a1ceb9f359edee
1,803
py
Python
mintersdk/test/test_deeplink.py
michaelshapkin/minter-sdk
a54ceed723d6f18b7413c15fd8ec529412a6a287
[ "MIT" ]
null
null
null
mintersdk/test/test_deeplink.py
michaelshapkin/minter-sdk
a54ceed723d6f18b7413c15fd8ec529412a6a287
[ "MIT" ]
null
null
null
mintersdk/test/test_deeplink.py
michaelshapkin/minter-sdk
a54ceed723d6f18b7413c15fd8ec529412a6a287
[ "MIT" ]
1
2020-03-18T18:16:40.000Z
2020-03-18T18:16:40.000Z
import unittest from mintersdk.sdk.transactions import MinterSendCoinTx from mintersdk.sdk.deeplink import MinterDeeplink class TestDeeplink(unittest.TestCase): def test_fulltx(self): tx = MinterSendCoinTx(coin='BIP', to='Mx18467bbb64a8edf890201d526c35957d82be3d95', value=1.23456789, nonce=1, ...
46.230769
190
0.698835
142
1,803
8.753521
0.316901
0.022526
0.053097
0.062751
0.484312
0.434433
0.345133
0.345133
0.345133
0.345133
0
0.284404
0.214088
1,803
38
191
47.447368
0.592802
0
0
0.419355
0
0
0.307266
0.27787
0
0
0
0
0.096774
1
0.096774
false
0
0.096774
0
0.225806
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
0646bb020061177499e4e999ef86d6bb7d47de3d
813
py
Python
webserver/web.py
shixingfeng/three_js_with_coffeescript
6a533263bbc5cad6f6b98e85c7737b61f0e8087b
[ "MIT" ]
null
null
null
webserver/web.py
shixingfeng/three_js_with_coffeescript
6a533263bbc5cad6f6b98e85c7737b61f0e8087b
[ "MIT" ]
null
null
null
webserver/web.py
shixingfeng/three_js_with_coffeescript
6a533263bbc5cad6f6b98e85c7737b61f0e8087b
[ "MIT" ]
null
null
null
#/usr/bin/env/ python #coding=utf8 import os import tornado.ioloop import tornado.web import httplib import md5 import urllib import random from tornado.escape import json_decode import three settings ={ "debug" : True, "static_path" : os.path.join(os.path.dirname(__file__),"static") } class MainHandler(tornado.we...
22.583333
65
0.678967
97
813
5.484536
0.587629
0.056391
0
0
0
0
0
0
0
0
0
0.013534
0.182042
813
36
66
22.583333
0.786466
0.063961
0
0
0
0
0.110818
0
0
0
0
0
0
1
0.074074
false
0
0.333333
0.037037
0.481481
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
06477aed8377c8ce633832d9d52dc34abc49c25c
18,150
py
Python
folder/help_form.py
shagun30/djambala-2
06f14e3dd237d7ebf535c62172cfe238c3934f4d
[ "BSD-3-Clause" ]
null
null
null
folder/help_form.py
shagun30/djambala-2
06f14e3dd237d7ebf535c62172cfe238c3934f4d
[ "BSD-3-Clause" ]
null
null
null
folder/help_form.py
shagun30/djambala-2
06f14e3dd237d7ebf535c62172cfe238c3934f4d
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ /dms/folder/help_form.py .. enthaelt die kompletten Kontext-Hilfetexte fuer Ordner Django content Management System Hans Rauch hans.rauch@gmx.net Die Programme des dms-Systems koennen frei genutzt und den spezifischen Beduerfnissen entsprechend angepasst werden. 0.01 13.01.2007...
34.903846
103
0.53686
1,959
18,150
4.840225
0.270036
0.05231
0.052204
0.023307
0.235499
0.187197
0.153449
0.136575
0.121388
0.118224
0
0.003087
0.178953
18,150
519
104
34.971098
0.633204
0.183306
0
0.40874
0
0.007712
0.71386
0.014964
0
0
0
0
0
1
0
false
0.012853
0.007712
0
0.007712
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
064be8b7e7863944f8dd45ddf593556597bcc0b6
458
py
Python
boltstream/migrations/0004_user_uuid.py
geekpii/boltstream
3a107372ac7d67c18fd257c75769f125c855c5b6
[ "Apache-2.0" ]
1,735
2020-12-07T02:06:43.000Z
2022-03-18T01:47:06.000Z
boltstream/migrations/0004_user_uuid.py
sonrebmax/boltstream
10a4398b165cc4440c38ab4cd657a74e00cba38b
[ "Apache-2.0" ]
10
2020-12-07T02:41:23.000Z
2021-12-22T06:47:56.000Z
boltstream/migrations/0004_user_uuid.py
sonrebmax/boltstream
10a4398b165cc4440c38ab4cd657a74e00cba38b
[ "Apache-2.0" ]
126
2020-12-07T03:17:44.000Z
2022-03-12T18:06:27.000Z
# Generated by Django 2.2 on 2019-05-12 18:20 import uuid from django.db import migrations, models class Migration(migrations.Migration): dependencies = [("boltstream", "0003_streamsession")] operations = [ migrations.AddField( model_name="user", name="uuid", fi...
21.809524
84
0.600437
48
458
5.666667
0.75
0.058824
0
0
0
0
0
0
0
0
0
0.058462
0.290393
458
20
85
22.9
0.778462
0.093886
0
0
1
0
0.096852
0
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
064cbee7d4cb9cde207f24f077aa7a7a022f9c27
7,114
py
Python
lib/services/vserver/ncloud_vserver/model/network_interface_parameter.py
NaverCloudPlatform/ncloud-sdk-python
5976dfabd205c615fcf57ac2f0ab67313ee6953c
[ "MIT" ]
12
2018-11-20T04:30:49.000Z
2021-11-09T12:34:26.000Z
lib/services/vserver/ncloud_vserver/model/network_interface_parameter.py
NaverCloudPlatform/ncloud-sdk-python
5976dfabd205c615fcf57ac2f0ab67313ee6953c
[ "MIT" ]
1
2019-01-24T15:56:15.000Z
2019-05-31T07:56:55.000Z
lib/services/vserver/ncloud_vserver/model/network_interface_parameter.py
NaverCloudPlatform/ncloud-sdk-python
5976dfabd205c615fcf57ac2f0ab67313ee6953c
[ "MIT" ]
6
2018-06-29T03:45:50.000Z
2022-03-18T01:51:45.000Z
# coding: utf-8 """ vserver Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class NetworkInterfaceParameter(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manua...
31.477876
154
0.632696
820
7,114
5.206098
0.15122
0.14617
0.098384
0.093699
0.583978
0.476927
0.428906
0.291403
0.246896
0.128367
0
0.018504
0.285915
7,114
225
155
31.617778
0.82185
0.342142
0
0.072165
1
0
0.103379
0.051437
0
0
0
0
0
1
0.164948
false
0
0.030928
0
0.340206
0.020619
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
064e1f3ffdf3dcb81469e0dbbb34c671f5f71f63
800
py
Python
association-backend/src/association/tests/api.py
pythonitalia/pycon
14e03b2158916f9437fdbde70e48e5bf5266997e
[ "MIT" ]
56
2018-01-20T17:18:40.000Z
2022-03-28T22:42:04.000Z
association-backend/src/association/tests/api.py
pythonitalia/pycon
14e03b2158916f9437fdbde70e48e5bf5266997e
[ "MIT" ]
2,029
2018-01-20T11:37:24.000Z
2022-03-31T04:10:51.000Z
association-backend/src/association/tests/api.py
pythonitalia/pycon
14e03b2158916f9437fdbde70e48e5bf5266997e
[ "MIT" ]
17
2018-03-17T09:44:28.000Z
2021-12-27T19:57:35.000Z
from asgi_lifespan import LifespanManager from httpx import AsyncClient from pythonit_toolkit.api.graphql_test_client import GraphQLClient from ward import fixture from main import app from src.association.settings import PASTAPORTO_SECRET @fixture async def testclient(): async with LifespanManager(app): ...
27.586207
80
0.76875
92
800
6.532609
0.391304
0.133111
0.074875
0.093178
0.369384
0.266223
0.266223
0.266223
0.266223
0.266223
0
0
0.17125
800
28
81
28.571429
0.906486
0
0
0.190476
0
0
0.02125
0
0
0
0
0
0
1
0
true
0
0.285714
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0659e2a4b8dd1b7966e1b8d94299851a1525f4d4
13,550
py
Python
code/old-version/restrictedBoltzmannMachine.py
diksha42/erecognition
48c6df3f3f854195b7f8b830b9f70fac19acdc9a
[ "BSD-3-Clause" ]
166
2015-01-26T22:24:00.000Z
2021-04-20T03:47:24.000Z
code/old-version/restrictedBoltzmannMachine.py
diksha42/erecognition
48c6df3f3f854195b7f8b830b9f70fac19acdc9a
[ "BSD-3-Clause" ]
18
2015-04-05T19:04:01.000Z
2018-11-28T21:49:19.000Z
code/old-version/restrictedBoltzmannMachine.py
diksha42/erecognition
48c6df3f3f854195b7f8b830b9f70fac19acdc9a
[ "BSD-3-Clause" ]
84
2015-01-26T22:24:04.000Z
2020-05-13T15:46:21.000Z
"""Implementation of restricted boltzmann machine You need to be able to deal with different energy functions This allows you to deal with real valued units. TODO: monitor overfitting """ __author__ = "Mihaela Rosca" __contact__ = "mihaela.c.rosca@gmail.com" import numpy as np from common import * EXPENSIVE_CHECK...
35.471204
82
0.68
1,384
13,550
6.644509
0.229046
0.036755
0.048064
0.031318
0.589278
0.567747
0.558721
0.543062
0.512832
0.512832
0
0.009316
0.247454
13,550
382
83
35.471204
0.892517
0.190185
0
0.523148
0
0
0.01123
0.002441
0
0
0
0.005236
0.041667
0
null
null
0
0.009259
null
null
0.055556
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
065de5c892fd13d0eda7e0f7d55f187119df774c
755
py
Python
setup.py
sceeter89/HomeCommandCenter
4dcba15f29b899dab34838c37bbfdc3d8a634413
[ "MIT" ]
null
null
null
setup.py
sceeter89/HomeCommandCenter
4dcba15f29b899dab34838c37bbfdc3d8a634413
[ "MIT" ]
6
2015-06-21T21:52:33.000Z
2015-07-08T20:27:08.000Z
setup.py
sceeter89/HomeCommandCenter
4dcba15f29b899dab34838c37bbfdc3d8a634413
[ "MIT" ]
null
null
null
from distutils.core import setup setup( name='command-center', version='0.9', packages=['', 'api', 'helpers', 'plugins.motors.red_led', 'plugins.motors.green_led', 'plugins.motors.yellow_led', 'plugins.motors.lcd_display', 'plugins.motors.console_debug', 'plugins.motors.sms_notifications', ...
41.944444
118
0.663576
83
755
5.915663
0.662651
0.185336
0.09776
0
0
0
0
0
0
0
0
0.006369
0.168212
755
17
119
44.411765
0.775478
0
0
0
0
0
0.580132
0.38543
0
0
0
0
0
1
0
true
0
0.0625
0
0.0625
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
06601950d71ac2a1fa078af8f1547100d85dc860
907
py
Python
examples/fortigate_testssh.py
capgemini-cloud/40ansible
aa5bd6d3136a5455a297000000d9de715062892a
[ "ECL-2.0", "Apache-2.0" ]
75
2017-08-09T19:45:47.000Z
2022-02-16T00:14:57.000Z
examples/fortigate_testssh.py
fortinet-solutions-cse/40ansible-examples
e86eb927c23ccc6659f1c70b8be58ac12b061c8c
[ "Apache-2.0" ]
42
2017-08-08T10:37:57.000Z
2020-04-27T11:07:07.000Z
examples/fortigate_testssh.py
fortinet-solutions-cse/40ansible-examples
e86eb927c23ccc6659f1c70b8be58ac12b061c8c
[ "Apache-2.0" ]
53
2017-11-16T06:25:50.000Z
2022-01-24T17:58:58.000Z
#!/usr/bin/python from fortiosapi import FortiOSAPI import sys import json import pprint import json from argparse import Namespace import logging formatter = logging.Formatter( '%(asctime)s %(name)-12s %(levelname)-8s %(message)s') logger = logging.getLogger('fortiosapi') hdlr = logging.FileHandler('testapi.l...
22.121951
63
0.711136
112
907
5.6875
0.526786
0.075353
0.094192
0
0
0
0
0
0
0
0
0.019455
0.149945
907
40
64
22.675
0.806744
0.039691
0
0.066667
0
0
0.179517
0
0
0
0
0
0
1
0.033333
false
0.066667
0.233333
0
0.266667
0.1
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
06606cbae0ab3f103d3326750ac880aee4b639bc
26,254
py
Python
stage2.py
TUTElectromechanics/mm-codegen
02d97557e08cbeb3d53470934f471a6ede723570
[ "BSD-2-Clause" ]
2
2019-06-24T17:36:25.000Z
2021-01-02T15:19:23.000Z
stage2.py
TUTElectromechanics/mm-codegen
02d97557e08cbeb3d53470934f471a6ede723570
[ "BSD-2-Clause" ]
null
null
null
stage2.py
TUTElectromechanics/mm-codegen
02d97557e08cbeb3d53470934f471a6ede723570
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """Stage2 code generator: internal API to public API. stage2 takes in the generated code from stage1, and possible additional user-defined Fortran interfaces (see ``add_intfs()``). These are treated on equal footing as stage1 code. stage2 analyzes the dependencies betwee...
48.89013
163
0.562543
3,020
26,254
4.812583
0.192384
0.005848
0.017545
0.011766
0.135751
0.102931
0.078024
0.054768
0.03454
0.03454
0
0.007869
0.346576
26,254
536
164
48.981343
0.839231
0.445075
0
0.136792
1
0
0.095955
0.011579
0
0
0
0.001866
0.004717
1
0.089623
false
0
0.023585
0.004717
0.188679
0.018868
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
06647b22543924f89d62dea83e00e9867fcd7eab
2,951
py
Python
tests/tests/test_tools.py
liminspace/dju-common
c68860bb84d454a35e66275841c20f38375c2135
[ "MIT" ]
7
2016-01-23T18:17:30.000Z
2017-03-12T15:00:16.000Z
tests/tests/test_tools.py
liminspace/dju-common
c68860bb84d454a35e66275841c20f38375c2135
[ "MIT" ]
null
null
null
tests/tests/test_tools.py
liminspace/dju-common
c68860bb84d454a35e66275841c20f38375c2135
[ "MIT" ]
null
null
null
import datetime from django.test import TestCase from django.utils import timezone import pytz from dju_common.tools import datetime_to_dtstr, dtstr_to_datetime, int2base36 class TestTools(TestCase): def test_datetime_to_dtstr_to_datetime(self): dt = datetime.datetime(2015, 11, 9, 22, 15, 45, 125000) ...
47.596774
115
0.691291
383
2,951
5.127937
0.193211
0.137475
0.106925
0.089613
0.690937
0.690937
0.679735
0.521385
0.480143
0.458248
0
0.087894
0.18265
2,951
61
116
48.377049
0.726368
0.010844
0
0.352941
0
0
0.054851
0
0
0
0
0
0.411765
1
0.117647
false
0
0.098039
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
066f0234d35ddf41e78d641e1bae5e58f5d6905f
366
py
Python
apps/win/explorer/explorer_actions.py
RichardHladik/knausj_talon
dc67801a59efc577f9010a2056501f5570bea14d
[ "MIT" ]
1
2020-12-30T00:18:18.000Z
2020-12-30T00:18:18.000Z
apps/win/explorer/explorer_actions.py
RichardHladik/knausj_talon
dc67801a59efc577f9010a2056501f5570bea14d
[ "MIT" ]
null
null
null
apps/win/explorer/explorer_actions.py
RichardHladik/knausj_talon
dc67801a59efc577f9010a2056501f5570bea14d
[ "MIT" ]
null
null
null
from talon import Context, actions ctx = Context() ctx.matches = r""" app: windows_explorer app: windows_file_browser """ @ctx.action_class('user') class UserActions: def file_manager_go_back(): actions.key('alt-left') def file_manager_go_forward(): actions.key('alt-right') def file_manager...
22.875
35
0.691257
50
366
4.8
0.58
0.0875
0.175
0.133333
0
0
0
0
0
0
0
0
0.177596
366
15
36
24.4
0.797342
0
0
0
0
0
0.20765
0
0
0
0
0
0
1
0.214286
false
0
0.071429
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
06702809131ffc6278901d238376f0bc6a352741
1,307
py
Python
setup.py
KOLANICH/yabox
97fa2c1025cf88deebd9ddcf8348e5f3a714430a
[ "Apache-2.0" ]
null
null
null
setup.py
KOLANICH/yabox
97fa2c1025cf88deebd9ddcf8348e5f3a714430a
[ "Apache-2.0" ]
null
null
null
setup.py
KOLANICH/yabox
97fa2c1025cf88deebd9ddcf8348e5f3a714430a
[ "Apache-2.0" ]
null
null
null
from setuptools import setup exec(open('yabox/version.py').read()) setup( name='yabox', version=__version__, description='Yet another black-box optimization library for Python', author='Pablo Rodriguez-Mier', author_email="pablo.rodriguez.mier@gmail.com", packages=['yabox', 'yabox.algorithms',...
42.16129
95
0.613619
136
1,307
5.794118
0.639706
0.060914
0.045685
0.043147
0.081218
0.081218
0
0
0
0
0
0.016699
0.221117
1,307
30
96
43.566667
0.757367
0
0
0
0
0
0.55088
0.022953
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
06745094a1fb33bbb06d17aba6f144aeab911d13
1,348
py
Python
draw_matlib/users-userId/main.py
kalicodextu/jmeter_pro
56b6209af3b3d820cd1442fb696b951f510a96b1
[ "MIT" ]
null
null
null
draw_matlib/users-userId/main.py
kalicodextu/jmeter_pro
56b6209af3b3d820cd1442fb696b951f510a96b1
[ "MIT" ]
null
null
null
draw_matlib/users-userId/main.py
kalicodextu/jmeter_pro
56b6209af3b3d820cd1442fb696b951f510a96b1
[ "MIT" ]
null
null
null
import sys import numpy from pylab import * x_threads = numpy.array([0, 1, 2, 3, 4, 5, 10, 50]) y_samples = numpy.array([0, 12025, 22467, 29568, 33122, 34988, 34912, 35097]) y_average = numpy.array([0, 24, 26, 30, 36, 43, 85, 427]) y_tps = numpy.array([0, 24.31, 45.42, 59.78, 66.97, 70.74, 70.58, 70.9]) if __name__ ...
14.041667
87
0.512611
173
1,348
3.890173
0.450867
0.047548
0.065379
0.057949
0.350669
0.350669
0.294205
0.294205
0.294205
0.294205
0
0.128009
0.321958
1,348
95
88
14.189474
0.608315
0.166172
0
0.24
0
0
0.143939
0
0
0
0
0
0
0
null
null
0.04
0.12
null
null
0.04
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
0679db561f116d40a6d4b52960773d02a1f7cc98
1,252
py
Python
src/dmft2/read_energy.py
dmft-wien2k/dmft-wien2k-v2
83481be27e8a9ff14b9635d6cc1cd9d96f053487
[ "Apache-2.0" ]
7
2018-04-03T06:37:42.000Z
2021-11-08T11:44:06.000Z
src/dmft2/read_energy.py
dmft-wien2k/dmft-wien2k-v2
83481be27e8a9ff14b9635d6cc1cd9d96f053487
[ "Apache-2.0" ]
2
2016-07-12T21:37:53.000Z
2016-07-12T21:42:01.000Z
src/dmft2/read_energy.py
dmft-wien2k/dmft-wien2k
83481be27e8a9ff14b9635d6cc1cd9d96f053487
[ "Apache-2.0" ]
3
2016-10-27T20:23:34.000Z
2019-12-13T13:54:11.000Z
import sys, re, os from scipy import * #from pylab import * import string from scipy.lib.blas import fblas import rdVec, utils, struct1 if len(sys.argv)<2: print 'Please give the name of vector file[s]' sys.exit(0) else: fnames = sys.argv[1:] # Vector-file handle tapes=array(range(len(fnames)))+8 w2k = ...
23.185185
71
0.642173
168
1,252
4.785714
0.494048
0.062189
0.037313
0.052239
0.077114
0.077114
0.077114
0
0
0
0
0.035343
0.231629
1,252
53
72
23.622642
0.800416
0.102236
0
0
0
0
0.078712
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.114286
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
067b877210758719c0797ad5a8bda156c179c10d
33,846
py
Python
Main.py
Aadit-Bhojgi/PyCloud
47df5b7de9e404872f491c23b881ef986489b425
[ "Apache-2.0" ]
null
null
null
Main.py
Aadit-Bhojgi/PyCloud
47df5b7de9e404872f491c23b881ef986489b425
[ "Apache-2.0" ]
null
null
null
Main.py
Aadit-Bhojgi/PyCloud
47df5b7de9e404872f491c23b881ef986489b425
[ "Apache-2.0" ]
null
null
null
from PyQt4 import QtGui, QtCore from PyQt4.QtCore import * import sys import os import win32api import Auth import inspect import Auth2f import devices import sanityCheck import GUI import Instruction import LogIn import Broswer import pickle import calendar import datetime from requests.exceptions import ConnectionErr...
44.359109
124
0.536341
3,500
33,846
5.064857
0.116286
0.019744
0.011734
0.015231
0.516162
0.436171
0.394032
0.356405
0.324138
0.296215
0
0.025981
0.350647
33,846
762
125
44.417323
0.780599
0.018348
0
0.395802
0
0.001499
0.091433
0.011013
0
0
0
0
0
0
null
null
0.025487
0.029985
null
null
0.004498
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
0681814eca419f5fc30d0c2c18cb7fdbfdefca03
2,891
py
Python
wifi_config.py
AdityaNG/Self-Driving-RC-Car
92a49d5a47b1894fdfc5de87b506037395d67277
[ "MIT" ]
null
null
null
wifi_config.py
AdityaNG/Self-Driving-RC-Car
92a49d5a47b1894fdfc5de87b506037395d67277
[ "MIT" ]
null
null
null
wifi_config.py
AdityaNG/Self-Driving-RC-Car
92a49d5a47b1894fdfc5de87b506037395d67277
[ "MIT" ]
null
null
null
import os import subprocess WIFI_CREDENTIALS = [('JioFi_207B1D0', 'q07abe03zn'), ('dobbyads', '9672345606')] """ @author adityang5@gmail.com # To connect to a network : >>> single_network('dobbyads', '96723456061') >>> restart_wifi() # To check if connection succeeded : >>> is_connected() True/False """ # Sets w...
22.410853
107
0.552404
366
2,891
4.262295
0.336066
0.141667
0.087179
0.069231
0.428205
0.428205
0.386538
0.382051
0.382051
0.382051
0
0.021516
0.292632
2,891
129
108
22.410853
0.74132
0.074023
0
0.586207
0
0
0.262454
0.064399
0
0
0
0.007752
0
1
0.057471
false
0.057471
0.022989
0
0.103448
0.022989
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
0681e571cd9097eafbf90159e875689fd44d692c
411
py
Python
query_testing/scripts/findParents.py
malus-security/ioracle
d68c005bb1325d87c3267a7ebebd1b895f3390be
[ "BSD-3-Clause" ]
1
2020-08-17T08:06:07.000Z
2020-08-17T08:06:07.000Z
query_testing/scripts/findParents.py
malus-security/ioracle
d68c005bb1325d87c3267a7ebebd1b895f3390be
[ "BSD-3-Clause" ]
null
null
null
query_testing/scripts/findParents.py
malus-security/ioracle
d68c005bb1325d87c3267a7ebebd1b895f3390be
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python import re import sys fdata = open(sys.argv[1],"r").read().strip() filePaths = fdata.split("\n") for child in filePaths: if child == "/": parent = "rootDirectoryHasNoParent" else: pattern = re.compile('(^.*)\/') match = pattern.match(child) parent = match.group(1) if parent =...
21.631579
65
0.586375
48
411
5.020833
0.604167
0.091286
0
0
0
0
0
0
0
0
0
0.00597
0.184915
411
18
66
22.833333
0.713433
0.038929
0
0
0
0
0.205584
0.060914
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0684150c3f999aa250fceaaffe726984687775da
801
py
Python
ime usp/04algarismosRepetidos.py
octlegra/python
93cb867e112250db9d139f14364bf2ef42b2bff9
[ "MIT" ]
null
null
null
ime usp/04algarismosRepetidos.py
octlegra/python
93cb867e112250db9d139f14364bf2ef42b2bff9
[ "MIT" ]
null
null
null
ime usp/04algarismosRepetidos.py
octlegra/python
93cb867e112250db9d139f14364bf2ef42b2bff9
[ "MIT" ]
null
null
null
print('----------------------------------------') print('PROCURANDO ALGARISMOS VIZINHOS IGUAIS...') print('----------------------------------------\n') print('Vamos brincar de detetive de algarismos?') x = input('s/n: ') if x == 'n': print('Então vai tomar no cu e chupar meu piru ..|.,') else: print('Ok! Vamo...
23.558824
97
0.530587
100
801
4.25
0.53
0.049412
0.056471
0.164706
0
0
0
0
0
0
0
0.017857
0.230961
801
33
98
24.272727
0.672078
0
0
0.115385
0
0
0.489388
0.102372
0
0
0
0
0
1
0
false
0
0
0
0
0.307692
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
068d0f9ea043c00e8546fd1d6073b02332ffe8cb
498
py
Python
mc/utils/job_modules/constants.py
aspuru-guzik-group/mission_control
bfe930e1038e9e0d6c4bb327474766e85b2190cb
[ "Apache-2.0" ]
3
2017-09-01T19:49:59.000Z
2018-06-04T10:30:01.000Z
mc/utils/job_modules/constants.py
aspuru-guzik-group/mission_control
bfe930e1038e9e0d6c4bb327474766e85b2190cb
[ "Apache-2.0" ]
null
null
null
mc/utils/job_modules/constants.py
aspuru-guzik-group/mission_control
bfe930e1038e9e0d6c4bb327474766e85b2190cb
[ "Apache-2.0" ]
1
2018-12-13T19:48:27.000Z
2018-12-13T19:48:27.000Z
_prefix = 'MC__' JOB_DIR_COMPONENT_PATHS = { 'job_key': _prefix + 'JOB_KEY', 'job_meta': _prefix + 'JOB_META.json', 'job_spec': 'job_spec.json', 'entrypoint': 'entrypoint.sh', 'work_dir': 'work_dir', 'executed_checkpoint': _prefix + 'EXECUTED', 'completed_checkpoint': _prefix + 'COMPLETED',...
31.125
50
0.648594
55
498
5.363636
0.381818
0.216949
0.149153
0
0
0
0
0
0
0
0
0
0.180723
498
15
51
33.2
0.723039
0
0
0
0
0
0.485944
0
0
0
0
0
0
1
0
false
0
0
0
0
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
068f9d9bb177a092eb7aa039d5464de7f8393911
2,116
py
Python
dist/gae/proxy.py
weisongye/saycbridge
3cc4e3363008d7d9232bcde18db28823dae042ae
[ "BSD-3-Clause" ]
16
2015-03-19T09:21:00.000Z
2021-08-13T08:21:39.000Z
dist/gae/proxy.py
weisongye/saycbridge
3cc4e3363008d7d9232bcde18db28823dae042ae
[ "BSD-3-Clause" ]
19
2015-01-05T06:13:49.000Z
2016-08-11T00:00:25.000Z
dist/gae/proxy.py
weisongye/saycbridge
3cc4e3363008d7d9232bcde18db28823dae042ae
[ "BSD-3-Clause" ]
10
2015-09-03T00:48:55.000Z
2020-11-09T09:29:59.000Z
# Copyright (c) 2013 The SAYCBridge Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import os from core.suit import SUITS from core.call import Call, Pass class ConstraintsSerializer(object): MAX_HCP_PER_HAND = 37 EMPTY_HCP_...
43.183673
119
0.689509
308
2,116
4.405844
0.347403
0.051584
0.03832
0.044215
0.148858
0
0
0
0
0
0
0.007951
0.227316
2,116
48
120
44.083333
0.822018
0.196125
0
0.060606
0
0
0.014184
0
0
0
0
0
0
1
0.121212
false
0.030303
0.090909
0
0.575758
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
06929b80e5b4f9f14a8136fe6ba3c639b4221d8a
839
py
Python
mate_tpv/mate/dao/DAOBill.py
jorgesaw/mate_tpv
e38dcc34168e23650a84982223719251aae29cbf
[ "Unlicense" ]
null
null
null
mate_tpv/mate/dao/DAOBill.py
jorgesaw/mate_tpv
e38dcc34168e23650a84982223719251aae29cbf
[ "Unlicense" ]
null
null
null
mate_tpv/mate/dao/DAOBill.py
jorgesaw/mate_tpv
e38dcc34168e23650a84982223719251aae29cbf
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' Created on 15/03/2015 @author: jorgesaw ''' from __future__ import absolute_import, unicode_literals, print_function from mate.core.dao.DAOAlchemy import DAOAlchemy from mate.model.models import Bill import sqlalchemy class DAOBill(DAOAlchemy): def __init__(self...
27.966667
77
0.636472
95
839
5.431579
0.631579
0.085271
0
0
0
0
0
0
0
0
0
0.014469
0.258641
839
30
78
27.966667
0.815113
0.05006
0
0
0
0
0.008021
0
0
0
0
0
0
0
null
null
0
0.210526
null
null
0.105263
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
06937a7381911c84281938e6ca725baed1d8a3dc
1,845
py
Python
profiles/.vim/ftplugin/python/pyflakes/pyflakes/scripts/pyflakes.py
number23/iLibrary
e03c81cb6e355b562ba2e1468d9752b56c6bab56
[ "Apache-2.0" ]
null
null
null
profiles/.vim/ftplugin/python/pyflakes/pyflakes/scripts/pyflakes.py
number23/iLibrary
e03c81cb6e355b562ba2e1468d9752b56c6bab56
[ "Apache-2.0" ]
null
null
null
profiles/.vim/ftplugin/python/pyflakes/pyflakes/scripts/pyflakes.py
number23/iLibrary
e03c81cb6e355b562ba2e1468d9752b56c6bab56
[ "Apache-2.0" ]
null
null
null
""" Implementation of the command-line I{pyflakes} tool. """ import _ast import sys import os checker = __import__('pyflakes.checker').checker def check(codeString, filename): try: tree = compile(codeString, filename, 'exec', _ast.PyCF_ONLY_AST) except (SyntaxError, IndentationError): value ...
28.828125
82
0.557182
215
1,845
4.739535
0.409302
0.039254
0.068695
0.029441
0
0
0
0
0
0
0
0.008696
0.314363
1,845
63
83
29.285714
0.796838
0
0
0.191489
0
0
0.058223
0
0
0
0
0
0
0
null
null
0
0.085106
null
null
0.12766
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
06955fd87fd2c21ed7a6e3a21ab2d579257a0a3c
1,847
py
Python
dev/chronodesign_props.py
KoreTeknology/Blender-CSV-Library-Importer-Addon
ea8c3e7e4035d53fd551c73e89384e1f50213d73
[ "BSD-2-Clause" ]
2
2018-12-02T12:31:14.000Z
2018-12-10T18:39:37.000Z
dev/chronodesign_props.py
KoreTeknology/Blender-CSV-Library-Importer-Addon
ea8c3e7e4035d53fd551c73e89384e1f50213d73
[ "BSD-2-Clause" ]
null
null
null
dev/chronodesign_props.py
KoreTeknology/Blender-CSV-Library-Importer-Addon
ea8c3e7e4035d53fd551c73e89384e1f50213d73
[ "BSD-2-Clause" ]
null
null
null
#--------------------------------------------- # Title: chronodesign_props.py # Author: Uriel Deveaud @2019 #--------------------------------------------- # ########################### # IMPORT MODULES # ########################### import bpy from bpy.types import ( AddonPreferences, Operator, Pan...
21.229885
61
0.617759
176
1,847
6.431818
0.431818
0.079505
0.068905
0.095406
0.108657
0
0
0
0
0
0
0.014393
0.21007
1,847
87
62
21.229885
0.76148
0.1451
0
0
0
0
0.21669
0
0
0
0
0
0
1
0
true
0
0.048387
0
0.241935
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
0699ab7dee82269d071d35451d246ac68aa964a1
11,955
py
Python
src/theory/DeepQLearning/DeepQLearningNetVariant.py
timwroge/ReinforcementLearning
b2fe34506ac869d2093da0cc57ab6414fc1b0753
[ "MIT" ]
null
null
null
src/theory/DeepQLearning/DeepQLearningNetVariant.py
timwroge/ReinforcementLearning
b2fe34506ac869d2093da0cc57ab6414fc1b0753
[ "MIT" ]
null
null
null
src/theory/DeepQLearning/DeepQLearningNetVariant.py
timwroge/ReinforcementLearning
b2fe34506ac869d2093da0cc57ab6414fc1b0753
[ "MIT" ]
null
null
null
import os import gym import numpy as np import pandas as pd import matplotlib.pyplot as plt from gym.core import ObservationWrapper from gym.spaces import Box from scipy.misc import imresize class PreprocessAtari(ObservationWrapper): def __init__(self, env): """A gym wrapper that crops, scales image int...
38.440514
167
0.70665
1,833
11,955
4.432624
0.228587
0.022154
0.009477
0.010462
0.183508
0.160985
0.119385
0.100923
0.080862
0.058954
0
0.019708
0.185111
11,955
310
168
38.564516
0.814309
0.102049
0
0.092784
0
0.015464
0.151939
0.004898
0
0
0
0
0.128866
0
null
null
0
0.092784
null
null
0.030928
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
069df9eb465929d1ab62dc63efe65370d7b39cf5
2,253
py
Python
app/__init__.py
codingedward/book-a-meal-api
36756abc225bf7e8306330f2c3e223dc32af7869
[ "MIT" ]
null
null
null
app/__init__.py
codingedward/book-a-meal-api
36756abc225bf7e8306330f2c3e223dc32af7869
[ "MIT" ]
null
null
null
app/__init__.py
codingedward/book-a-meal-api
36756abc225bf7e8306330f2c3e223dc32af7869
[ "MIT" ]
2
2018-10-01T17:45:19.000Z
2020-12-07T13:48:25.000Z
"""Creates and configures an application""" from flask import Flask from flask_restful import Api from flask_cors import CORS from flask_sqlalchemy import SQLAlchemy from flask_jwt_extended import JWTManager from instance.config import app_config db = SQLAlchemy() from app.mail import mail from app.blueprints.auth i...
35.761905
75
0.74656
268
2,253
6.115672
0.302239
0.043929
0.102502
0.058572
0
0
0
0
0
0
0
0.000529
0.161119
2,253
62
76
36.33871
0.866667
0.115402
0
0
0
0
0.108519
0.044625
0
0
0
0
0
1
0.023256
false
0
0.348837
0
0.395349
0.046512
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
06ab9de84c03542b78a328798365234847c49352
847
py
Python
classwork/lesson_conditions.py
kvantos/intro_to_python_class
cf98490e57903c25e2e9809df4c3d9b8584e6122
[ "BSD-2-Clause" ]
null
null
null
classwork/lesson_conditions.py
kvantos/intro_to_python_class
cf98490e57903c25e2e9809df4c3d9b8584e6122
[ "BSD-2-Clause" ]
null
null
null
classwork/lesson_conditions.py
kvantos/intro_to_python_class
cf98490e57903c25e2e9809df4c3d9b8584e6122
[ "BSD-2-Clause" ]
null
null
null
import math def dvd(a, b): if b != 0: return a / b else: return math.inf def dvdd(a, b): b_is_zero = (b == 0) if b_is_zero: return a / b else: return math.inf def is_zero(v): return v == 0 def dvddf(a, b): if is_zero(b): ...
14.116667
61
0.475797
122
847
3.213115
0.336066
0.030612
0.061224
0.061224
0.295918
0.295918
0.295918
0.142857
0
0
0
0.046559
0.416765
847
59
62
14.355932
0.746964
0
0
0.432432
0
0
0.016497
0
0
0
0
0
0
1
0.216216
false
0
0.027027
0.054054
0.567568
0.054054
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
06b1aa55ae68fdecea56f16e8535e96c66c88bbf
350
py
Python
dynamicserialize/dstypes/com/raytheon/uf/common/dataplugin/gfe/svcbu/__init__.py
mjames-upc/python-awips
e2b05f5587b02761df3b6dd5c6ee1f196bd5f11c
[ "BSD-3-Clause" ]
null
null
null
dynamicserialize/dstypes/com/raytheon/uf/common/dataplugin/gfe/svcbu/__init__.py
mjames-upc/python-awips
e2b05f5587b02761df3b6dd5c6ee1f196bd5f11c
[ "BSD-3-Clause" ]
null
null
null
dynamicserialize/dstypes/com/raytheon/uf/common/dataplugin/gfe/svcbu/__init__.py
mjames-upc/python-awips
e2b05f5587b02761df3b6dd5c6ee1f196bd5f11c
[ "BSD-3-Clause" ]
null
null
null
## ## # # SOFTWARE HISTORY # # Date Ticket# Engineer Description # ------------ ---------- ----------- -------------------------- # 06/22/2015 4573 randerso Initial creation (hand generated) # ## __all__ = [ 'JobProgress' ] from .J...
20.588235
83
0.405714
21
350
6.571429
0.904762
0
0
0
0
0
0
0
0
0
0
0.053333
0.357143
350
16
84
21.875
0.56
0.662857
0
0
0
0
0.111111
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
ebed22ad9f45e02cbe9255e5f652249c61d13102
769
py
Python
tests/test_get_meal_by_id.py
TestowanieAutomatyczneUG/laboratorium-8-Grzeskii
e10f1df47d1d23403ada990798b7dc316b990014
[ "MIT" ]
null
null
null
tests/test_get_meal_by_id.py
TestowanieAutomatyczneUG/laboratorium-8-Grzeskii
e10f1df47d1d23403ada990798b7dc316b990014
[ "MIT" ]
null
null
null
tests/test_get_meal_by_id.py
TestowanieAutomatyczneUG/laboratorium-8-Grzeskii
e10f1df47d1d23403ada990798b7dc316b990014
[ "MIT" ]
null
null
null
import unittest from sample.GetMealById import GetMealById class TestGetMeal(unittest.TestCase): def setUp(self): self.temp = GetMealById() def test_get_meal_by_id_positive_str(self): expected = self.temp.getter_id("52772") self.assertEqual(len(expected), 1) def test_get_meal_b...
26.517241
51
0.686606
98
769
5.061224
0.336735
0.080645
0.080645
0.112903
0.689516
0.512097
0.512097
0.298387
0.298387
0.298387
0
0.047697
0.209363
769
28
52
27.464286
0.768092
0
0
0.210526
0
0
0.054616
0
0
0
0
0
0.210526
1
0.263158
false
0
0.105263
0
0.421053
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
ebf24bc456320e34beb22864ad0fc8af44cf3590
1,418
py
Python
src/api/api_lists/services/lists/sql_stmts.py
rrickgauer/lists
371de6af332789ef386392fd24857702794d05a6
[ "Apache-2.0" ]
null
null
null
src/api/api_lists/services/lists/sql_stmts.py
rrickgauer/lists
371de6af332789ef386392fd24857702794d05a6
[ "Apache-2.0" ]
67
2021-12-14T22:30:56.000Z
2022-03-15T18:28:27.000Z
src/api/api_lists/services/lists/sql_stmts.py
rrickgauer/lists
371de6af332789ef386392fd24857702794d05a6
[ "Apache-2.0" ]
null
null
null
""" ********************************************************************************** All the sql statements for Lists ********************************************************************************** """ from enum import Enum # the template for selecting multiple lists from the database SELECT_ALL_TEMPLATE = '''...
27.269231
93
0.555007
189
1,418
4.068783
0.338624
0.018205
0.019506
0.015605
0.184655
0.127438
0.059818
0.059818
0
0
0
0.001848
0.236953
1,418
52
94
27.269231
0.708872
0.366008
0
0.172414
0
0.034483
0.667043
0
0
0
0
0
0
1
0
false
0
0.034483
0
0.137931
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
ebf57492e57528efb67ad9ff018fefcbac06ff41
216
py
Python
config.py
aukrasnov/kappa-vedi-bot
1340933a1cc9664037aa1e9439294db9c12e63e6
[ "Apache-2.0" ]
null
null
null
config.py
aukrasnov/kappa-vedi-bot
1340933a1cc9664037aa1e9439294db9c12e63e6
[ "Apache-2.0" ]
null
null
null
config.py
aukrasnov/kappa-vedi-bot
1340933a1cc9664037aa1e9439294db9c12e63e6
[ "Apache-2.0" ]
null
null
null
import os ADMIN_UID = 71034798 FIRST_CHAT_ID = -1001163991447 MAIN_CHAT_ID = -1001179816308 PEOPLEBOOK_ROOT = os.getenv('PBOOK_URL', 'http://kv-peoplebook.herokuapp.com') BATCH_MESSAGE_TIMEOUT = 1.0 # in seconds
21.6
78
0.777778
31
216
5.129032
0.870968
0.075472
0
0
0
0
0
0
0
0
0
0.188482
0.115741
216
9
79
24
0.643979
0.046296
0
0
0
0
0.210784
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ebf93399db16a9a01d6d5444a747164bb6d43274
706
py
Python
setup.py
LucianoFromTrelew/chestella
3f668c6cfb8c3847fb620aed74e75b669542fcf5
[ "MIT" ]
null
null
null
setup.py
LucianoFromTrelew/chestella
3f668c6cfb8c3847fb620aed74e75b669542fcf5
[ "MIT" ]
null
null
null
setup.py
LucianoFromTrelew/chestella
3f668c6cfb8c3847fb620aed74e75b669542fcf5
[ "MIT" ]
null
null
null
from setuptools import setup setup( name = 'chestella', packages = ['chestella', 'chestella.directory', 'chestella.project', 'chestella.makefile'], # this must be the same as the name above entry_points = { "console_scripts": ['chestella = chestella.chestella:main'] }, version = '0.4.1', description = ...
39.222222
135
0.696884
84
706
5.809524
0.642857
0.110656
0.057377
0.069672
0.17623
0.17623
0
0
0
0
0
0.008319
0.148725
706
17
136
41.529412
0.803661
0.126062
0
0
0
0
0.538336
0.081566
0
0
0
0
0
1
0
true
0
0.0625
0
0.0625
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
ebfa4f1976fb2a0dd2ea0c3a91436aa11c5ad91b
4,337
py
Python
dbm.py
yamingd/ssm-script
4cdb2f2c57913ec17df802628940b89a0c39b7f9
[ "Apache-2.0" ]
null
null
null
dbm.py
yamingd/ssm-script
4cdb2f2c57913ec17df802628940b89a0c39b7f9
[ "Apache-2.0" ]
null
null
null
dbm.py
yamingd/ssm-script
4cdb2f2c57913ec17df802628940b89a0c39b7f9
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from sqlalchemy import create_engine from sqlalchemy.sql import text import string import mapping import platform db = None dbtype = 'mysql' URL_TP = 'mysql://%s/INFORMATION_SCHEMA?charset=utf8' def open(dburl): """ http://docs.sqlalchemy.org/en/rel_0_9/core/engi...
31.201439
338
0.610791
624
4,337
4.094551
0.24359
0.032877
0.02544
0.031311
0.266536
0.229746
0.187476
0.172603
0.133855
0.11272
0
0.006317
0.270002
4,337
138
339
31.427536
0.800695
0.032742
0
0.310345
0
0.034483
0.249453
0.066796
0
0
0
0
0
0
null
null
0
0.043103
null
null
0.043103
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
ebfbf27ce85ff94b1a50fd4fe8a011a72ebb08f9
938
py
Python
raiden/tests/benchmark/_codespeed.py
tirkarthi/raiden
dbd03ddda039332b54ec0c02d81cbe1100bc8028
[ "MIT" ]
2,101
2016-06-01T11:31:49.000Z
2022-03-27T20:13:19.000Z
raiden/tests/benchmark/_codespeed.py
tirkarthi/raiden
dbd03ddda039332b54ec0c02d81cbe1100bc8028
[ "MIT" ]
5,291
2016-06-01T18:14:04.000Z
2022-03-31T11:19:09.000Z
raiden/tests/benchmark/_codespeed.py
tirkarthi/raiden
dbd03ddda039332b54ec0c02d81cbe1100bc8028
[ "MIT" ]
484
2016-06-01T18:21:06.000Z
2022-03-22T10:29:45.000Z
import json import os import warnings import requests try: _CODESPEED_USER = os.environ["CODESPEED_USER"] _CODESPEED_PASSWORD = os.environ["CODESPEED_PASSWORD"] _BENCHMARK_HOST = os.environ["BENCHMARK_HOST"] except KeyError: warnings.warn( "Codespeed environment variables not available, post...
25.351351
86
0.632196
97
938
5.835052
0.474227
0.068905
0.063604
0.106007
0
0
0
0
0
0
0
0
0.25693
938
36
87
26.055556
0.812052
0
0
0
0
0
0.230277
0
0
0
0
0
0
1
0.034483
false
0.068966
0.137931
0
0.172414
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
230560004483e03345f28ef65e66cfd2b7f171f5
1,271
py
Python
celery_app/plugins/pluginnormal/mongodb_un_access.py
tiaotiaolong/piu
8e464ab62464c15763476d591df4365d434f7341
[ "MIT" ]
2
2020-05-15T04:24:59.000Z
2020-06-03T14:23:32.000Z
celery_app/plugins/pluginnormal/mongodb_un_access.py
tiaotiaolong/piu
8e464ab62464c15763476d591df4365d434f7341
[ "MIT" ]
null
null
null
celery_app/plugins/pluginnormal/mongodb_un_access.py
tiaotiaolong/piu
8e464ab62464c15763476d591df4365d434f7341
[ "MIT" ]
null
null
null
import binascii import re import socket from celery_app.utils.utils import insert_vuln_db #Redis 未授权访问 plugin_id=55 default_port_list=[27017] def check(host, port=27017): try: with socket.create_connection((host, port), timeout=5) as conn: data = binascii.a2b_hex( "3a000000a...
36.314286
171
0.630999
115
1,271
6.834783
0.547826
0.030534
0.030534
0.045802
0.058524
0
0
0
0
0
0
0.287895
0.278521
1,271
34
172
37.382353
0.569248
0.008655
0
0
0
0
0.259141
0.209857
0
0
0
0
0
1
0.038462
false
0
0.153846
0
0.269231
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
23068ab8a4ca7700b2731592628a12ed80f257f7
3,799
py
Python
_unittests/ut_filehelper/test_folder.py
Pandinosaurus/pyquickhelper
326276f656cf88989e4d0fcd006ada0d3735bd9e
[ "MIT" ]
18
2015-11-10T08:09:23.000Z
2022-02-16T11:46:45.000Z
_unittests/ut_filehelper/test_folder.py
Pandinosaurus/pyquickhelper
326276f656cf88989e4d0fcd006ada0d3735bd9e
[ "MIT" ]
321
2015-06-14T21:34:28.000Z
2021-11-28T17:10:03.000Z
_unittests/ut_filehelper/test_folder.py
Pandinosaurus/pyquickhelper
326276f656cf88989e4d0fcd006ada0d3735bd9e
[ "MIT" ]
10
2015-06-20T01:35:00.000Z
2022-01-19T15:54:32.000Z
# coding: latin-1 """ @brief test log(time=1s) """ import sys import os import unittest from pyquickhelper.loghelper.flog import fLOG import pyquickhelper.filehelper.synchelper as foldermod class TestFolder (unittest.TestCase): def test_synchronize(self): fLOG( __file__, se...
31.396694
124
0.544091
447
3,799
4.411633
0.187919
0.09432
0.065923
0.053245
0.685091
0.685091
0.673428
0.652637
0.652637
0.652637
0
0.011054
0.333246
3,799
120
125
31.658333
0.767469
0.012108
0
0.591837
0
0
0.06729
0
0
0
0
0
0.142857
1
0.030612
false
0
0.091837
0
0.153061
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
23148c28b02c211f36e000d3d717159c55761375
483
py
Python
jdhapi/migrations/0018_auto_20210611_1830.py
C2DH/jdhbackend
37efb0c5a6e1ea2acf8aca477d052a4e33f9bf40
[ "MIT" ]
null
null
null
jdhapi/migrations/0018_auto_20210611_1830.py
C2DH/jdhbackend
37efb0c5a6e1ea2acf8aca477d052a4e33f9bf40
[ "MIT" ]
59
2020-11-27T08:58:35.000Z
2022-03-30T15:54:01.000Z
jdhapi/migrations/0018_auto_20210611_1830.py
C2DH/jdhbackend
37efb0c5a6e1ea2acf8aca477d052a4e33f9bf40
[ "MIT" ]
null
null
null
# Generated by Django 3.1.3 on 2021-06-11 16:30 from django.db import migrations, models import jdhapi.models.abstract class Migration(migrations.Migration): dependencies = [ ('jdhapi', '0017_issue_pid'), ] operations = [ migrations.AlterField( model_name='abstract', ...
24.15
128
0.645963
57
483
5.350877
0.701754
0.078689
0.131148
0
0
0
0
0
0
0
0
0.059946
0.240166
483
19
129
25.421053
0.771117
0.093168
0
0
1
0
0.071101
0
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
231aee891e84daa42ef03ed2eaab14c0402b7e50
5,420
py
Python
src/main/python/xaction-stats.py
spino327/training_fraud_detection_hadoop
011acaa3df36b0524bf4680e63c89dbc18737ed0
[ "MIT" ]
null
null
null
src/main/python/xaction-stats.py
spino327/training_fraud_detection_hadoop
011acaa3df36b0524bf4680e63c89dbc18737ed0
[ "MIT" ]
null
null
null
src/main/python/xaction-stats.py
spino327/training_fraud_detection_hadoop
011acaa3df36b0524bf4680e63c89dbc18737ed0
[ "MIT" ]
null
null
null
#/usr/bin/env python # -*- coding: utf -*- # # Copyright (C) 2014 Computer Architecture and Parallel Systems Laboratory (CAPSL) # # Original author: Tu Hao # E-Mail: tuhao@udel.edu # # Some improvements # author: Sergio Pino # E-mail: sergiop@udel.edu # # License # # Redistribution of this code i...
29.944751
85
0.681365
789
5,420
4.550063
0.347275
0.039833
0.021727
0.022284
0.140947
0.114206
0.081059
0.081059
0.081059
0.081059
0
0.009205
0.218266
5,420
181
86
29.944751
0.838093
0.395387
0
0.175
0
0
0.085151
0
0
0
0
0
0
0
null
null
0
0.075
null
null
0.05
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
23207c0feba0fd2da828848e6cb7f328b2b69cc1
938
py
Python
Plugins/Aspose.BarCode Java for Jython/asposebarcode/WorkingWith2DBarcodes/Basic2DBarcodeFeatures/CreatingQRBarcode.py
aspose-barcode/Aspose.BarCode-for-Java
00a0ef02cb58fda84b47939f7f8c0e2e5ca9fb65
[ "MIT" ]
10
2016-05-09T07:05:51.000Z
2019-05-22T07:31:49.000Z
Plugins/Aspose.BarCode Java for Jython/asposebarcode/WorkingWith2DBarcodes/Basic2DBarcodeFeatures/CreatingQRBarcode.py
aspose-barcode/Aspose.BarCode-for-Java
00a0ef02cb58fda84b47939f7f8c0e2e5ca9fb65
[ "MIT" ]
3
2017-05-01T08:36:07.000Z
2019-01-09T21:16:13.000Z
Plugins/Aspose.BarCode Java for Jython/asposebarcode/WorkingWith2DBarcodes/Basic2DBarcodeFeatures/CreatingQRBarcode.py
aspose-barcode/Aspose.BarCode-for-Java
00a0ef02cb58fda84b47939f7f8c0e2e5ca9fb65
[ "MIT" ]
14
2016-04-09T07:27:37.000Z
2021-05-26T10:42:26.000Z
from asposebarcode import Settings from com.aspose.barcode import BarCodeBuilder from com.aspose.barcode import Symbology from com.aspose.barcode import CodeLocation class CreatingQRBarcode: def __init__(self): dataDir = Settings.dataDir + 'WorkingWith2DBarcodes/Basic2DBarcodeFeatures/CreatingQRBarcode/' ...
28.424242
102
0.700426
88
938
7.329545
0.590909
0.032558
0.060465
0.093023
0.12093
0
0
0
0
0
0
0.019526
0.235608
938
33
103
28.424242
0.880056
0.126866
0
0
0
0
0.164417
0.103067
0
0
0
0
0
0
null
null
0
0.222222
null
null
0.055556
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
2324127066f534ce67d72f15d8881416b0b3f469
353
py
Python
addons14/hr_timesheet_sheet_policy_project_manager/models/res_company.py
odoochain/addons_oca
55d456d798aebe16e49b4a6070765f206a8885ca
[ "MIT" ]
1
2021-06-10T14:59:13.000Z
2021-06-10T14:59:13.000Z
addons14/hr_timesheet_sheet_policy_project_manager/models/res_company.py
odoochain/addons_oca
55d456d798aebe16e49b4a6070765f206a8885ca
[ "MIT" ]
null
null
null
addons14/hr_timesheet_sheet_policy_project_manager/models/res_company.py
odoochain/addons_oca
55d456d798aebe16e49b4a6070765f206a8885ca
[ "MIT" ]
1
2021-04-09T09:44:44.000Z
2021-04-09T09:44:44.000Z
# Copyright 2019 Brainbean Apps (https://brainbeanapps.com) # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from odoo import fields, models class ResCompany(models.Model): _inherit = "res.company" timesheet_sheet_review_policy = fields.Selection( selection_add=[("project_manage...
27.153846
69
0.72238
45
353
5.533333
0.844444
0.11245
0
0
0
0
0
0
0
0
0
0.020067
0.152975
353
12
70
29.416667
0.812709
0.354108
0
0
0
0
0.195556
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
23286bdb9eaaf5bcc721872164e7f44098804eed
2,017
py
Python
vcf2ensembl.py
AdamDS/vcf2ensembl
3fa5bfc0d5e35dffa5b263e518e49a1e0760c8a6
[ "MIT" ]
1
2017-05-24T00:41:14.000Z
2017-05-24T00:41:14.000Z
vcf2ensembl.py
AdamDS/vcf2ensembl
3fa5bfc0d5e35dffa5b263e518e49a1e0760c8a6
[ "MIT" ]
null
null
null
vcf2ensembl.py
AdamDS/vcf2ensembl
3fa5bfc0d5e35dffa5b263e518e49a1e0760c8a6
[ "MIT" ]
null
null
null
#!/bin/python #22 May 2017 - Adam Scott - from biomine.variant import variant import sys import getopt def usage(): print """ vcf2ensembl : convert .vcf variants to ensembl format USAGE: vcf2ensembl <input> <output> <input> .vcf file <output> .tsv file in Ensembl variant format """ def checkInputs( args ...
23.453488
72
0.608329
257
2,017
4.743191
0.346304
0.044299
0.029532
0.036916
0.141099
0.062346
0.062346
0
0
0
0
0.012402
0.240456
2,017
85
73
23.729412
0.78329
0.037184
0
0.057971
0
0
0.117708
0
0
0
0
0
0
0
null
null
0
0.043478
null
null
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
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
23291eacf3ffcf26af9f6e166edd39cd5ef4f32a
2,980
py
Python
pysat/__init__.py
JonathonMSmith/pysat
aa7da96cd0d037f2d9c4ce1ba37097bd33be0372
[ "BSD-3-Clause" ]
null
null
null
pysat/__init__.py
JonathonMSmith/pysat
aa7da96cd0d037f2d9c4ce1ba37097bd33be0372
[ "BSD-3-Clause" ]
null
null
null
pysat/__init__.py
JonathonMSmith/pysat
aa7da96cd0d037f2d9c4ce1ba37097bd33be0372
[ "BSD-3-Clause" ]
null
null
null
""" pysat - Python Satellite Data Analysis Toolkit ============================================== pysat is a package providing a simple and flexible interface for downloading, loading, cleaning, managing, processing, and analyzing scientific measurements. Although pysat was initially designed for in situ satellite obs...
35.058824
84
0.725168
411
2,980
5.148418
0.46472
0.022684
0.018904
0.019849
0.047259
0.047259
0.034972
0.034972
0.034972
0.034972
0
0.00123
0.181208
2,980
84
85
35.47619
0.865984
0.58557
0
0
0
0
0.19376
0.019704
0
0
0
0
0
1
0
false
0
0.419355
0
0.419355
0.096774
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
2329fffd22497ce61aff4cf4952ba55bd9c8590e
1,606
py
Python
login.py
MPARASHA/cgi-lab
390e5972dd8e3931743baff24d19b1e4870b1add
[ "Apache-2.0" ]
null
null
null
login.py
MPARASHA/cgi-lab
390e5972dd8e3931743baff24d19b1e4870b1add
[ "Apache-2.0" ]
null
null
null
login.py
MPARASHA/cgi-lab
390e5972dd8e3931743baff24d19b1e4870b1add
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 import cgi, cgitb import os, json from templates import login_page, secret_page, after_login_incorrect, _wrapper from secret import username, password from http.cookies import SimpleCookie # Python 3.7 versus Python 3.8 try: from cgi import escape #v3.7 except: from html import escape #v...
27.689655
98
0.684932
204
1,606
5.313725
0.343137
0.03321
0.035055
0.02952
0.071956
0.071956
0
0
0
0
0
0.008429
0.187422
1,606
57
99
28.175439
0.822222
0.106476
0
0.0625
0
0.03125
0.127286
0
0
0
0
0
0
1
0
false
0.3125
0.21875
0
0.21875
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
232ae285c85f106052d0be08c139b6ef6c401ce0
631
py
Python
setup.py
abidlabs/shuffled-stats
6808dcc8d4db3a1c7edb9f1b3685ec7f91050093
[ "MIT" ]
8
2017-05-04T01:28:30.000Z
2021-01-27T00:10:12.000Z
setup.py
abidlabs/shuffled-stats
6808dcc8d4db3a1c7edb9f1b3685ec7f91050093
[ "MIT" ]
null
null
null
setup.py
abidlabs/shuffled-stats
6808dcc8d4db3a1c7edb9f1b3685ec7f91050093
[ "MIT" ]
1
2020-04-07T05:23:26.000Z
2020-04-07T05:23:26.000Z
try: from setuptools import setup except ImportError: from distutils.core import setup setup( name = 'shuffled_stats', version = '1.0.6', description = 'Python library for performing inference on datasets with shuffled labels', author = 'Abubakar Abid', author_email = 'a12d@stanford.edu', ...
31.55
93
0.66561
72
631
5.763889
0.722222
0.125301
0.06747
0.081928
0.183133
0.183133
0.183133
0
0
0
0
0.015748
0.194929
631
20
94
31.55
0.801181
0
0
0
0
0.052632
0.457278
0
0
0
0
0
0
1
0
true
0
0.157895
0
0.157895
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
23421c8f108e5ccc33ceda9ed1f77ffd11d579df
31,409
py
Python
aql/aql/options/aql_options.py
menify/sandbox
32166c71044f0d5b414335b2b6559adc571f568c
[ "MIT" ]
null
null
null
aql/aql/options/aql_options.py
menify/sandbox
32166c71044f0d5b414335b2b6559adc571f568c
[ "MIT" ]
null
null
null
aql/aql/options/aql_options.py
menify/sandbox
32166c71044f0d5b414335b2b6559adc571f568c
[ "MIT" ]
null
null
null
# # Copyright (c) 2011-2014 The developers of Aqualid project - http://aqualid.googlecode.com # # Permission is hereby granted, free of charge, to any person obtaining a copy of this software and # associated documentation files (the "Software"), to deal in the Software without restriction, # including without limitati...
30.823356
112
0.528606
2,996
31,409
5.239987
0.097463
0.025989
0.018154
0.019619
0.423148
0.340213
0.273903
0.209567
0.178419
0.139308
0
0.00054
0.233882
31,409
1,018
113
30.853635
0.651872
0.193257
0
0.401372
0
0.001715
0.041089
0.003209
0
0
0
0
0
1
0.205832
false
0.001715
0.010292
0.080617
0.382504
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
234249ffb7dc6178078ca0e559be9d333bd8053e
6,419
py
Python
nanopores/geometries/W_2D_geo/subdomains.py
jhwnkim/nanopores
98b3dbb5d36464fbdc03f59d224d38e4255324ce
[ "MIT" ]
8
2016-09-07T01:59:31.000Z
2021-03-06T12:14:31.000Z
nanopores/geometries/W_2D_geo/subdomains.py
jhwnkim/nanopores
98b3dbb5d36464fbdc03f59d224d38e4255324ce
[ "MIT" ]
null
null
null
nanopores/geometries/W_2D_geo/subdomains.py
jhwnkim/nanopores
98b3dbb5d36464fbdc03f59d224d38e4255324ce
[ "MIT" ]
4
2017-12-06T17:43:01.000Z
2020-05-01T05:41:14.000Z
""" mark domains/boundaries with dolfin MeshFunctions """ from dolfin import * from importlib import import_module from .params_geo import * import numpy synonymes = { "pore":{"poretop", "porecenter", "porebottom"}, "fluid":{"bulkfluid","pore"}, "sin":"membranesin", "au":"membraneau", "sam":"membr...
32.419192
92
0.560835
831
6,419
4.287605
0.156438
0.015156
0.024698
0.123491
0.575919
0.539433
0.525961
0.525681
0.480213
0.45327
0
0.034935
0.286493
6,419
197
93
32.583756
0.743013
0.059978
0
0.412162
0
0
0.071144
0
0
0
0
0
0
1
0.168919
false
0
0.027027
0.128378
0.527027
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
2345a18e2c66abdce11ca5307e585c11d662f3d4
613
py
Python
Content/management/commands/clear_data.py
Arianxx/ShareForum
b3bf6a3b2ace869cb88a0b41bbbd4575b6cdfd28
[ "MIT" ]
39
2018-09-08T04:40:59.000Z
2021-09-10T02:02:04.000Z
Content/management/commands/clear_data.py
STARCASTPOD/BookForum
b3bf6a3b2ace869cb88a0b41bbbd4575b6cdfd28
[ "MIT" ]
null
null
null
Content/management/commands/clear_data.py
STARCASTPOD/BookForum
b3bf6a3b2ace869cb88a0b41bbbd4575b6cdfd28
[ "MIT" ]
8
2018-09-08T08:50:45.000Z
2020-03-13T15:38:56.000Z
from django.core.management import BaseCommand from Content.models import Book, Auther, Tag, Publishing, Carousel from Discussion.models import Discuss, DiscussReply from User.models import User class Command(BaseCommand): def handle(self, *args, **kwargs): Carousel.objects.all().delete() Discus...
30.65
66
0.672104
71
613
5.802817
0.43662
0.194175
0.31068
0
0
0
0
0
0
0
0
0
0.194127
613
20
67
30.65
0.834008
0
0
0
0
0
0.030945
0
0
0
0
0
0
1
0.066667
false
0
0.266667
0
0.4
0.066667
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
2354bdce0d1dac5f8a4ac4079cdfa6178450448a
827
py
Python
vulnerability_scanner.py
boploi/Vulnerability_Scanner
1ccdd647ade96a26f83504c89ed7c2b9c657700c
[ "MIT" ]
null
null
null
vulnerability_scanner.py
boploi/Vulnerability_Scanner
1ccdd647ade96a26f83504c89ed7c2b9c657700c
[ "MIT" ]
null
null
null
vulnerability_scanner.py
boploi/Vulnerability_Scanner
1ccdd647ade96a26f83504c89ed7c2b9c657700c
[ "MIT" ]
null
null
null
#!/usr/bin/env python import scanner target = "http://192.168.80.129/dvwa/vulnerabilities/xss_r/" data_dict = {"username": "admin", "password": "password", "Login": "submit"} link_to_ignore = ["http://192.168.80.129/dvwa/logout.php", "logout.php"] vul_scanner = scanner.Scanner(target, link_to_ignore) ...
63.615385
219
0.649335
118
827
4.423729
0.533898
0.095785
0.076628
0.091954
0.218391
0.218391
0.145594
0.145594
0.145594
0
0
0.073171
0.206771
827
13
220
63.615385
0.722561
0.210399
0
0
0
0
0.355385
0
0
0
0
0
0
1
0
false
0.111111
0.111111
0
0.111111
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
23563bbe576e08d36d2db1f268ce840be255bdcc
2,595
py
Python
library/akamai.py
jacob-hudson/ansible-akamai
8f1f20ea3db193f7e815c633945f4f0b91f46ce0
[ "Apache-2.0" ]
3
2019-07-16T03:52:03.000Z
2020-09-02T21:16:56.000Z
library/akamai.py
jacob-hudson/ansible-akamai
8f1f20ea3db193f7e815c633945f4f0b91f46ce0
[ "Apache-2.0" ]
3
2018-07-03T14:57:30.000Z
2020-09-30T18:48:51.000Z
library/akamai.py
jacob-hudson/ansible-akamai
8f1f20ea3db193f7e815c633945f4f0b91f46ce0
[ "Apache-2.0" ]
5
2018-07-09T11:35:57.000Z
2021-12-13T11:22:30.000Z
#!/usr/bin/env python from ansible.module_utils.basic import * import requests import json try: from akamai.edgegrid import EdgeGridAuth, EdgeRc except ImportError: print "Please install `edgegrid-python` using pip" from os.path import expanduser from urlparse import urljoin DOCUMENTATION = ''' docs ''' EXAM...
29.827586
81
0.62158
299
2,595
5.29097
0.327759
0.053097
0.068268
0.037927
0.360936
0.360936
0.360936
0.360936
0.360936
0.360936
0
0.009137
0.240848
2,595
86
82
30.174419
0.793909
0.045087
0
0.265625
0
0
0.123786
0
0
0
0
0
0
0
null
null
0.015625
0.109375
null
null
0.015625
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
2371ef6dbd02241461b6147426aef621e350c7b5
7,120
py
Python
Installer/interfaz_3.py
m0ises2/tesis-judge
cbb762e0cd9137be309870bbd7423fc93bc18507
[ "Unlicense", "MIT" ]
1
2017-01-16T13:56:25.000Z
2017-01-16T13:56:25.000Z
Installer/interfaz_3.py
m0ises2/tesis-judge
cbb762e0cd9137be309870bbd7423fc93bc18507
[ "Unlicense", "MIT" ]
null
null
null
Installer/interfaz_3.py
m0ises2/tesis-judge
cbb762e0cd9137be309870bbd7423fc93bc18507
[ "Unlicense", "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'interfaz_3.ui' # # Created by: PyQt5 UI code generator 5.4.1 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_instalador_interfaz_3(object): def setupUi(self, instalador_inter...
61.37931
194
0.736517
785
7,120
6.515924
0.207643
0.045748
0.092864
0.060215
0.418573
0.294624
0.14956
0.122385
0.105963
0.077419
0
0.035357
0.157865
7,120
115
195
61.913043
0.817712
0.025702
0
0
1
0
0.107519
0.033338
0
0
0
0
0
1
0.019417
false
0
0.009709
0
0.038835
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
23720851cb17ae230a4fde3c7840a6c8bd18a28a
385
py
Python
bot/__init__.py
2syume/telegram-cupbot
fab704c396bd091c81c4ab384912b86f9cc5dc57
[ "MIT" ]
1
2017-01-20T19:36:38.000Z
2017-01-20T19:36:38.000Z
bot/__init__.py
2syume/telegram-cuplifebot
fab704c396bd091c81c4ab384912b86f9cc5dc57
[ "MIT" ]
null
null
null
bot/__init__.py
2syume/telegram-cuplifebot
fab704c396bd091c81c4ab384912b86f9cc5dc57
[ "MIT" ]
null
null
null
import telepot import time def start(token, msg_handle=None): bot = telepot.Bot(token) if not msg_handle: from .msg_handle import default_msg_handle msg_handle = default_msg_handle bot.message_loop(msg_handle) print("Bot started!") try: while True: time.sleep(1...
19.25
50
0.649351
49
385
4.897959
0.530612
0.2625
0.133333
0
0
0
0
0
0
0
0
0.007117
0.27013
385
19
51
20.263158
0.846975
0
0
0
0
0
0.062663
0
0
0
0
0
0
1
0.071429
false
0
0.214286
0
0.285714
0.142857
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
237bb7df4267d933d2c1b694c59b237a5b7922fc
657
py
Python
tests/test_s3_class_check_bucket_exist.py
thobiast/s3_client
4999f00723875d136057dd5fbeea2837aa863b56
[ "MIT" ]
5
2020-12-11T10:59:43.000Z
2021-12-22T16:27:55.000Z
tests/test_s3_class_check_bucket_exist.py
thobiast/s3_client
4999f00723875d136057dd5fbeea2837aa863b56
[ "MIT" ]
3
2020-07-31T20:18:59.000Z
2020-12-11T15:58:22.000Z
tests/test_s3_class_check_bucket_exist.py
thobiast/s3_client
4999f00723875d136057dd5fbeea2837aa863b56
[ "MIT" ]
1
2021-12-19T04:47:18.000Z
2021-12-19T04:47:18.000Z
# -*- coding: utf-8 -*- """Test s3 class.""" import pytest from unittest.mock import Mock import boto3 import moto from s3_client import s3_client from conftest import BUCKET_NAME, BUCKET_NAME_NOT_EXIST def test_check_bucket_exist(s3, s3_bucket): s3_client.log = Mock() assert s3.check_bucket_exist(BUCKET_N...
22.655172
64
0.751903
103
657
4.436893
0.291262
0.14442
0.140044
0.118162
0.332604
0.280088
0.280088
0.280088
0.280088
0.280088
0
0.032143
0.147641
657
28
65
23.464286
0.783929
0.056317
0
0.176471
0
0
0.029316
0
0
0
0
0
0.176471
1
0.176471
false
0
0.352941
0
0.529412
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
237d1ab29751a156a3f8754146f827e414c7affd
1,128
py
Python
src/kgmk/types/dataclass.py
kagemeka/python
486ce39d97360b61029527bacf00a87fdbcf552c
[ "MIT" ]
null
null
null
src/kgmk/types/dataclass.py
kagemeka/python
486ce39d97360b61029527bacf00a87fdbcf552c
[ "MIT" ]
null
null
null
src/kgmk/types/dataclass.py
kagemeka/python
486ce39d97360b61029527bacf00a87fdbcf552c
[ "MIT" ]
null
null
null
from __future__ import ( annotations, ) from dataclasses import ( dataclass, astuple, asdict, field, fields ) from abc import ( ABC, ) import pandas as pd @dataclass class DataClass(ABC): @property def values(self): return astuple(self) def __iter__(self): return iter(self.values) ...
11.75
29
0.56117
131
1,128
4.687023
0.381679
0.065147
0.04886
0
0
0
0
0
0
0
0
0
0.329787
1,128
96
30
11.75
0.812169
0
0
0.25
0
0
0
0
0
0
0
0
0
0
null
null
0
0.069444
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
88cc1bd5ad87e92964bc48aa0358a17599018771
10,991
py
Python
openstack_dashboard/dashboards/project/connections/reachability_tests/reachability_test_api.py
xinwu/horizon
0e984a2c75d253dd35ab92e7926021b82d730b26
[ "Apache-2.0" ]
null
null
null
openstack_dashboard/dashboards/project/connections/reachability_tests/reachability_test_api.py
xinwu/horizon
0e984a2c75d253dd35ab92e7926021b82d730b26
[ "Apache-2.0" ]
null
null
null
openstack_dashboard/dashboards/project/connections/reachability_tests/reachability_test_api.py
xinwu/horizon
0e984a2c75d253dd35ab92e7926021b82d730b26
[ "Apache-2.0" ]
null
null
null
import os import json from sqlalchemy import func, desc from openstack_dashboard import api from openstack_dashboard.dashboards.project.connections.reachability_tests.bcf_testpath_api import ControllerCluster import openstack_dashboard.dashboards.project.connections.reachability_tests.reachability_test_db as db result...
47.375
116
0.552816
1,034
10,991
5.678917
0.117988
0.10218
0.038147
0.065395
0.711001
0.701465
0.65361
0.610014
0.582766
0.546151
0
0.003216
0.349286
10,991
231
117
47.580087
0.817813
0.001274
0
0.524038
0
0
0.027882
0
0
0
0
0
0
1
0.091346
false
0.009615
0.028846
0.028846
0.211538
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
88ccdef1d11bb437e2691bd8f6808ca10a937924
3,955
py
Python
xac/models.py
amachefe/XAc
5bf13fe06ccf9e11392eb40058c6a97a725b6e03
[ "BSD-3-Clause" ]
null
null
null
xac/models.py
amachefe/XAc
5bf13fe06ccf9e11392eb40058c6a97a725b6e03
[ "BSD-3-Clause" ]
null
null
null
xac/models.py
amachefe/XAc
5bf13fe06ccf9e11392eb40058c6a97a725b6e03
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2016, AB Uobis # All rights reserved. from xac import db from sqlalchemy.dialects.postgresql import JSON from sqlalchemy import BigInteger # Memoranda are source documents from which accounting information is extracted to form General Journal entries. As a preliminary step, all of the details for eac...
40.357143
242
0.711504
539
3,955
5.141002
0.220779
0.129917
0.15157
0.131361
0.518585
0.460844
0.4428
0.377481
0.352219
0.352219
0
0.001203
0.159292
3,955
97
243
40.773196
0.83218
0.109987
0
0.333333
0
0
0.132403
0.029043
0
0
0
0
0
1
0.055556
false
0
0.041667
0.055556
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
88d116d9f25d9d1b2cde0093a59838aa59291d51
546
py
Python
setup.py
radix/txeffect
69c15963088ef9340d4d50e2b8b54980f6816a23
[ "MIT", "Unlicense" ]
3
2015-07-29T13:39:11.000Z
2016-11-15T07:52:23.000Z
setup.py
python-effect/txeffect
69c15963088ef9340d4d50e2b8b54980f6816a23
[ "MIT", "Unlicense" ]
null
null
null
setup.py
python-effect/txeffect
69c15963088ef9340d4d50e2b8b54980f6816a23
[ "MIT", "Unlicense" ]
null
null
null
#!/usr/bin/env python import setuptools setuptools.setup( name="txeffect", version="1.0.0", description="Effect/Twisted integration", long_description=open("README.rst").read(), url="https://github.com/python-effect/txeffect/", author="Christopher Armstrong", license="MIT", classifiers=...
27.3
53
0.631868
56
546
6.125
0.714286
0.075802
0.145773
0
0
0
0
0
0
0
0
0.011416
0.197802
546
19
54
28.736842
0.77169
0.03663
0
0
0
0
0.464762
0
0
0
0
0
0
1
0
true
0
0.058824
0
0.058824
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
88d47baf1d4d6dce05f5fcb119b067dbae37ef10
2,197
py
Python
imperative/python/megengine/traced_module/_passes/optimization.py
Olalaye/MegEngine
695d24f24517536e6544b07936d189dbc031bbce
[ "Apache-2.0" ]
1
2022-03-21T03:13:45.000Z
2022-03-21T03:13:45.000Z
imperative/python/megengine/traced_module/_passes/optimization.py
Olalaye/MegEngine
695d24f24517536e6544b07936d189dbc031bbce
[ "Apache-2.0" ]
null
null
null
imperative/python/megengine/traced_module/_passes/optimization.py
Olalaye/MegEngine
695d24f24517536e6544b07936d189dbc031bbce
[ "Apache-2.0" ]
null
null
null
# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") # # Copyright (c) 2014-2021 Megvii Inc. All rights reserved. # # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY ...
30.943662
89
0.675467
259
2,197
5.567568
0.447876
0.068655
0.035368
0.029126
0
0
0
0
0
0
0
0.007308
0.252617
2,197
70
90
31.385714
0.870889
0.399636
0
0
0
0
0.131537
0
0
0
0
0
0
1
0.055556
false
0.444444
0.138889
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
88dd90a2bcea32f1c0b2aa4da7856c9db3fc0755
416
py
Python
metadata/migrations/0006_auto_20200619_1255.py
Zarah-Project/zarah-db-api
cce4d0424e5b3121ab2129819cf0cc956fca5267
[ "MIT" ]
null
null
null
metadata/migrations/0006_auto_20200619_1255.py
Zarah-Project/zarah-db-api
cce4d0424e5b3121ab2129819cf0cc956fca5267
[ "MIT" ]
4
2021-04-08T22:00:18.000Z
2022-02-10T15:09:45.000Z
metadata/migrations/0006_auto_20200619_1255.py
Zarah-Project/zarah-db-api
cce4d0424e5b3121ab2129819cf0cc956fca5267
[ "MIT" ]
null
null
null
# Generated by Django 2.2.12 on 2020-06-19 12:55 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('metadata', '0005_auto_20200610_0922'), ] operations = [ migrations.AlterField( model_name='classificationfurtherexplanation', ...
21.894737
58
0.627404
41
416
6.268293
0.804878
0
0
0
0
0
0
0
0
0
0
0.104918
0.266827
416
18
59
23.111111
0.737705
0.110577
0
0
1
0
0.201087
0.149457
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
88e61fddf7ec7ef0ce15f3fe28704ce6f8e72951
4,031
py
Python
agrimpy/geod_proy.py
quijot/agrimpy-package
6ce4509f302d1a9ce298c2d6fd55538a69942ade
[ "MIT" ]
null
null
null
agrimpy/geod_proy.py
quijot/agrimpy-package
6ce4509f302d1a9ce298c2d6fd55538a69942ade
[ "MIT" ]
null
null
null
agrimpy/geod_proy.py
quijot/agrimpy-package
6ce4509f302d1a9ce298c2d6fd55538a69942ade
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import pyproj from gms_gyf import * def config_proy(latitud_de_origen, meridiano_central, falso_este=0, falso_norte=0, factor_de_escala=1, datum='WGS84'): """Crea una proyeccion de tipo mercator transversal, con los siguientes parametros: latitud_de_ori...
38.028302
90
0.602332
527
4,031
4.451613
0.330171
0.034527
0.051151
0.051151
0.151748
0.080989
0.080989
0.080989
0.047741
0.047741
0
0.032415
0.288266
4,031
105
91
38.390476
0.784942
0.101216
0
0.105263
0
0
0.047483
0
0
0
0
0
0
0
null
null
0
0.035088
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
88e9dca84b0b32d59a8528886c9fc5ab74650344
13,958
py
Python
custom_components/visonic/alarm_control_panel.py
cybfox77/visonic
8ae43c9e36ef5cb1cae8728e0e53b71005fa597d
[ "Apache-2.0" ]
null
null
null
custom_components/visonic/alarm_control_panel.py
cybfox77/visonic
8ae43c9e36ef5cb1cae8728e0e53b71005fa597d
[ "Apache-2.0" ]
null
null
null
custom_components/visonic/alarm_control_panel.py
cybfox77/visonic
8ae43c9e36ef5cb1cae8728e0e53b71005fa597d
[ "Apache-2.0" ]
null
null
null
""" Support for visonic partitions control when used with a connection to a Visonic Alarm Panel. Currently, there is only support for a single partition Initial setup by David Field """ import logging import asyncio import homeassistant.helpers.config_validation as cv import homeassistant.components.alarm_control_pan...
42.169184
139
0.611119
1,644
13,958
5.025547
0.187348
0.024207
0.018155
0.019608
0.21496
0.138465
0.109054
0.085694
0.068748
0.041636
0
0.004805
0.284281
13,958
330
140
42.29697
0.822222
0.288652
0
0.158974
0
0
0.127884
0.02328
0
0
0
0
0
1
0.107692
false
0.097436
0.076923
0.010256
0.302564
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
88efdab1ff39816a341c829d0360f0773509dfd6
5,717
py
Python
okl4_kernel/okl4_2.1.1-patch.9/tools/magpie/tester.py
CyberQueenMara/baseband-research
e1605537e10c37e161fff1a3416b908c9894f204
[ "MIT" ]
77
2018-12-31T22:12:09.000Z
2021-12-31T22:56:13.000Z
okl4_kernel/okl4_2.1.1-patch.9/tools/magpie/tester.py
CyberQueenMara/baseband-research
e1605537e10c37e161fff1a3416b908c9894f204
[ "MIT" ]
null
null
null
okl4_kernel/okl4_2.1.1-patch.9/tools/magpie/tester.py
CyberQueenMara/baseband-research
e1605537e10c37e161fff1a3416b908c9894f204
[ "MIT" ]
24
2019-01-20T15:51:52.000Z
2021-12-25T18:29:13.000Z
# # Australian Public Licence B (OZPLB) # # Version 1-0 # # Copyright (c) 2004 National ICT Australia # # All rights reserved. # # Developed by: Embedded Real-time and Operating Systems Group (ERTOS) # National ICT Australia # http://www.ertos.nicta.com.au # # Permission is granted by ...
36.883871
89
0.74812
815
5,717
5.193865
0.388957
0.012993
0.042523
0.020789
0.174581
0.147177
0.103473
0.086464
0.053863
0.032601
0
0.004025
0.174217
5,717
154
90
37.123377
0.892608
0.669057
0
0.173077
0
0
0.088557
0
0
0
0
0.006494
0
0
null
null
0.019231
0.192308
null
null
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
1
0
0
0
0
0
0
0
0
1
88f44df41bc4625b3242b66d611571d560001ff1
423
py
Python
get_skaffold.py
shemerofir/skaffold-auto-docs
20a05d79fd5df1e1ca8dc356c627dda06dd4720a
[ "MIT" ]
null
null
null
get_skaffold.py
shemerofir/skaffold-auto-docs
20a05d79fd5df1e1ca8dc356c627dda06dd4720a
[ "MIT" ]
null
null
null
get_skaffold.py
shemerofir/skaffold-auto-docs
20a05d79fd5df1e1ca8dc356c627dda06dd4720a
[ "MIT" ]
null
null
null
import sh from dotenv import load_dotenv import os load_dotenv() PASSWORD = os.environ.get("sudo_password") def get_skaffold(): with sh.contrib.sudo(password=PASSWORD, _with=True): print('Installin Skaffold') sh.curl('-Lo', 'skaffold', 'https://storage.googleapis...
24.882353
95
0.650118
51
423
5.294118
0.607843
0.088889
0
0
0
0
0
0
0
0
0
0.005988
0.210402
423
16
96
26.4375
0.802395
0
0
0
0
0
0.333333
0
0
0
0
0
0
1
0.083333
false
0.166667
0.25
0
0.333333
0.083333
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
000beead039c45457ad0720e5672792179ef3b24
7,241
py
Python
src/CIQS-CLI-Extension/cloudintelligencequickstart/models/microsoft_ciqs_models_deployment_deployment.py
Azure/CIQS-Azure-Cli-Extension
1203b3180f9d5a6db2ba443f437d115e996fb5be
[ "MIT" ]
1
2020-06-01T13:59:38.000Z
2020-06-01T13:59:38.000Z
src/CIQS-CLI-Extension/cloudintelligencequickstart/models/microsoft_ciqs_models_deployment_deployment.py
Azure/CIQS-Azure-Cli-Extension
1203b3180f9d5a6db2ba443f437d115e996fb5be
[ "MIT" ]
2
2018-06-02T00:06:53.000Z
2018-07-20T21:00:47.000Z
src/CIQS-CLI-Extension/cloudintelligencequickstart/models/microsoft_ciqs_models_deployment_deployment.py
Azure/CIQS-Azure-Cli-Extension
1203b3180f9d5a6db2ba443f437d115e996fb5be
[ "MIT" ]
2
2018-06-01T19:18:51.000Z
2021-01-10T10:56:29.000Z
# coding=utf-8 # -------------------------------------------------------------------------- # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # -------------------------------------------------------------------------- from ...
50.284722
678
0.69217
767
7,241
6.208605
0.179922
0.02499
0.032759
0.02268
0.171147
0.116128
0.061949
0.061949
0.041999
0
0
0.001499
0.170557
7,241
143
679
50.636364
0.791375
0.348018
0
0
1
0
0.289989
0.099888
0
0
0
0
0
1
0.015625
false
0
0.015625
0
0.0625
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
0014247695c4a69d4c02a0feb7102b57944895e2
2,718
py
Python
PythonAPI/voc_tool/batch_counting_voc.py
GumpCode/dataset_tool
b30292f850f57f5b1b54071ab82bd5205fced78f
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
PythonAPI/voc_tool/batch_counting_voc.py
GumpCode/dataset_tool
b30292f850f57f5b1b54071ab82bd5205fced78f
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
PythonAPI/voc_tool/batch_counting_voc.py
GumpCode/dataset_tool
b30292f850f57f5b1b54071ab82bd5205fced78f
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
#!/usr/bin/python # -*- coding: UTF-8 -*- # ********************************************************** # * Author : Gump from CQU # * Email : gumpglh@qq.com # * Create time : 2017-03-16 03:54 # * Last modified : 2017-03-16 03:54 # * Filename : batch_counting_voc.py # * Description : # * Copyrig...
39.970588
106
0.61663
362
2,718
4.447514
0.378453
0.029814
0.031056
0.037267
0.240373
0.173292
0.080745
0.049689
0.049689
0
0
0.0187
0.213024
2,718
67
107
40.567164
0.73352
0.406181
0
0
0
0
0.162437
0.051396
0
0
0
0
0
0
null
null
0
0.088235
null
null
0.088235
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
00202905a5d93bc3e71164892b500146b08e0a7a
759
py
Python
HelloGui/hellogui.py
corerd/PySideDemos
831ae92ee0649b46f5bd122d676a06eeffc064cb
[ "BSD-3-Clause-Attribution" ]
null
null
null
HelloGui/hellogui.py
corerd/PySideDemos
831ae92ee0649b46f5bd122d676a06eeffc064cb
[ "BSD-3-Clause-Attribution" ]
null
null
null
HelloGui/hellogui.py
corerd/PySideDemos
831ae92ee0649b46f5bd122d676a06eeffc064cb
[ "BSD-3-Clause-Attribution" ]
null
null
null
#!/usr/bin/env python ''' Verify PySide installation Defines a simple GUI using Qt Designer which consists of a centralWidget more two QLabel widgets: one has fixed text, the text of the other is set runtime with the current PySide version. This script depends on Qt Designer ui files. The depending rules are declare...
25.3
93
0.753623
115
759
4.895652
0.704348
0.053286
0.053286
0
0
0
0
0
0
0
0
0.007886
0.16469
759
29
94
26.172414
0.880126
0.748353
0
0
0
0
0.044199
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
0022e3466cc05216add8bd487579ced39337e256
414
py
Python
CSSE290Winter20212022/Dom/dom.py
ConnectingWithCode/cwc2022_SOLUTION
a844501206aa7059fec3aa3af5502c5716af1772
[ "MIT" ]
null
null
null
CSSE290Winter20212022/Dom/dom.py
ConnectingWithCode/cwc2022_SOLUTION
a844501206aa7059fec3aa3af5502c5716af1772
[ "MIT" ]
null
null
null
CSSE290Winter20212022/Dom/dom.py
ConnectingWithCode/cwc2022_SOLUTION
a844501206aa7059fec3aa3af5502c5716af1772
[ "MIT" ]
null
null
null
import rosegraphics as rg def main(): window = rg.TurtleWindow() turtle = rg.SimpleTurtle() draw_function(turtle, "blue", 15) window.close_on_mouse_click() def draw_function(turtle, color, distance): turtle.pen = rg.Pen(color, 10) for _ in range(distance): turtle.backward(distance) ...
24.352941
43
0.664251
51
414
5.27451
0.54902
0.208178
0.133829
0
0
0
0
0
0
0
0
0.018576
0.219807
414
17
44
24.352941
0.814241
0
0
0.142857
0
0
0.009639
0
0
0
0
0
0
1
0.142857
false
0
0.071429
0
0.214286
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
0025de009c0df6dca69ffdbcbab4cae7ab43ac2a
377
py
Python
opencv_demos/test_mongo.py
perfectbullet/albumy
6e0fa1bef31f470c19fd6bcf6751d0be6510d864
[ "MIT" ]
null
null
null
opencv_demos/test_mongo.py
perfectbullet/albumy
6e0fa1bef31f470c19fd6bcf6751d0be6510d864
[ "MIT" ]
null
null
null
opencv_demos/test_mongo.py
perfectbullet/albumy
6e0fa1bef31f470c19fd6bcf6751d0be6510d864
[ "MIT" ]
null
null
null
#!/usr/bin/python # coding=utf-8 from pymongo import MongoClient class TDocDB: def __init__(self): self.mongoclient = MongoClient('127.0.0.1', 27017, connect=False) self.db = self.mongoclient['mhsb_gt'] self.mongostate = self.db.authenticate('zz', '123456') print(self.mongostate) ...
22.176471
73
0.647215
47
377
4.914894
0.723404
0.12987
0
0
0
0
0
0
0
0
0
0.060606
0.212202
377
17
74
22.176471
0.717172
0.076923
0
0
0
0
0.092219
0
0
0
0
0
0
1
0.1
false
0.1
0.1
0
0.3
0.1
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
002ec63cee7d5cc53dbe696627ae80121df88888
724
py
Python
messages/ClientGetLinkPermissionsResponseMessage.py
zadjii/nebula
50c4ec019c9f7eb15fe105a6c53a8a12880e281c
[ "MIT" ]
2
2020-04-15T11:20:59.000Z
2021-05-12T13:01:36.000Z
messages/ClientGetLinkPermissionsResponseMessage.py
zadjii/nebula
50c4ec019c9f7eb15fe105a6c53a8a12880e281c
[ "MIT" ]
1
2018-06-05T04:48:56.000Z
2018-06-05T04:48:56.000Z
messages/ClientGetLinkPermissionsResponseMessage.py
zadjii/nebula
50c4ec019c9f7eb15fe105a6c53a8a12880e281c
[ "MIT" ]
1
2018-08-15T06:45:46.000Z
2018-08-15T06:45:46.000Z
# last generated 2018-05-15 13:51:37.410000 from messages import BaseMessage from msg_codes import CLIENT_GET_LINK_PERMISSIONS_RESPONSE as CLIENT_GET_LINK_PERMISSIONS_RESPONSE __author__ = 'Mike' class ClientGetLinkPermissionsResponseMessage(BaseMessage): def __init__(self, permissions=None, users=None): ...
34.47619
98
0.752762
76
724
6.802632
0.486842
0.052224
0.075435
0.139265
0.185687
0
0
0
0
0
0
0.033613
0.178177
724
20
99
36.2
0.835294
0.05663
0
0
1
0
0.029412
0
0
0
0
0
0
1
0.133333
false
0
0.133333
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0040dacc8d120ac4f5984016ac3c253483e23d5c
347
py
Python
src/HighAndLow.py
Helianus/Python-Exercises
eb0a7f3010bd55b3eb619980153888ba336245c6
[ "MIT" ]
null
null
null
src/HighAndLow.py
Helianus/Python-Exercises
eb0a7f3010bd55b3eb619980153888ba336245c6
[ "MIT" ]
null
null
null
src/HighAndLow.py
Helianus/Python-Exercises
eb0a7f3010bd55b3eb619980153888ba336245c6
[ "MIT" ]
null
null
null
def high_and_low(numbers): # In this little assignment you are given a string of space separated numbers, # and have to return the highest and lowest number. result = [int(x) for x in numbers.split()] string = str(max(result)) + " " + str(min(result)) return string print(high_and_low("4 5 29 54 4 ...
43.375
83
0.668588
61
347
3.737705
0.721311
0.061404
0.087719
0
0
0
0
0
0
0
0
0.074074
0.221902
347
8
84
43.375
0.77037
0.365994
0
0
0
0
0.169725
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0.2
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
00480db48acb7b1e8146a4cb233df4356ea41ad5
3,553
py
Python
src/joao_scrap/spiders/correiobraziliense_spider.py
itsjhonny/webcrawller_covid19_news
6720ce503d16d6f533470d64629db2ddee20b29d
[ "MIT" ]
null
null
null
src/joao_scrap/spiders/correiobraziliense_spider.py
itsjhonny/webcrawller_covid19_news
6720ce503d16d6f533470d64629db2ddee20b29d
[ "MIT" ]
null
null
null
src/joao_scrap/spiders/correiobraziliense_spider.py
itsjhonny/webcrawller_covid19_news
6720ce503d16d6f533470d64629db2ddee20b29d
[ "MIT" ]
null
null
null
import requests import scrapy from joao_scrap.tools.cleanHTML import CustonTools from joao_scrap.tools.apiController import ApiRequest def get_data(response): for item in response: if 'Resumo do dia' not in item['title']: yield { 'fonte': 'https://www.correiobraziliense.com.br...
33.205607
116
0.547988
381
3,553
5.010499
0.372703
0.020953
0.02043
0.018858
0.097433
0.064955
0
0
0
0
0
0.01194
0.339994
3,553
106
117
33.518868
0.802132
0.071489
0
0.153846
0
0.025641
0.167477
0.020365
0
0
0
0
0
1
0.051282
false
0.051282
0.051282
0
0.166667
0.115385
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
0048dc8f0f922931a70db635dfd37fce63e95cdc
1,620
py
Python
klimaat_helpdesk/cms/migrations/0020_auto_20200925_0722.py
Arfor/website
d67b19e9be5a33f58f607962e665389b7695cccc
[ "MIT" ]
5
2020-10-22T07:02:11.000Z
2020-11-02T10:24:43.000Z
klimaat_helpdesk/cms/migrations/0020_auto_20200925_0722.py
Arfor/website
d67b19e9be5a33f58f607962e665389b7695cccc
[ "MIT" ]
71
2020-10-21T18:11:10.000Z
2022-02-09T14:11:18.000Z
klimaat_helpdesk/cms/migrations/0020_auto_20200925_0722.py
Arfor/website
d67b19e9be5a33f58f607962e665389b7695cccc
[ "MIT" ]
5
2020-10-21T17:51:47.000Z
2021-03-21T16:33:17.000Z
# Generated by Django 3.0.5 on 2020-09-25 07:22 from django.db import migrations import klimaat_helpdesk.cms.blocks import wagtail.core.blocks import wagtail.core.fields import wagtail.images.blocks class Migration(migrations.Migration): dependencies = [ ('cms', '0019_auto_20200924_1202'), ] op...
49.090909
532
0.689506
182
1,620
6.054945
0.428571
0.149728
0.169691
0.101633
0.377495
0.217786
0.087114
0.087114
0
0
0
0.036982
0.165432
1,620
32
533
50.625
0.778107
0.027778
0
0.346154
1
0
0.179275
0.014622
0
0
0
0
0
1
0
false
0
0.192308
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0048f1efb7aa5679f3cb853f2f4d94b6b2f8aead
4,844
py
Python
ooiservices/app/main/authentication.py
asascience-open/ooi-ui-services
a3254b612b5831e5e34beaf93000228826c1ed5a
[ "Apache-2.0" ]
2
2015-02-28T00:20:30.000Z
2015-04-30T12:40:31.000Z
ooiservices/app/main/authentication.py
asascience-open/ooi-ui-services
a3254b612b5831e5e34beaf93000228826c1ed5a
[ "Apache-2.0" ]
266
2015-01-02T21:29:25.000Z
2020-01-23T16:00:11.000Z
ooiservices/app/main/authentication.py
oceanobservatories/ooi-ui-services
a3254b612b5831e5e34beaf93000228826c1ed5a
[ "Apache-2.0" ]
13
2015-02-04T21:13:34.000Z
2016-10-18T14:39:36.000Z
#!/usr/bin/env python ''' API Authentication ''' from flask import g, jsonify, request, redirect, url_for from flask_httpauth import HTTPBasicAuth from flask_security import login_user from ooiservices.app import db from ooiservices.app.models import User from ooiservices.app.main import api from ooiservices.app.main....
32.293333
107
0.625929
634
4,844
4.629338
0.253943
0.044974
0.034072
0.032709
0.219421
0.13833
0.081772
0.062692
0.034072
0.034072
0
0.00465
0.289637
4,844
149
108
32.510067
0.8483
0.163914
0
0.215686
0
0
0.073335
0.005238
0
0
0
0.006711
0
1
0.068627
false
0.137255
0.098039
0.019608
0.313725
0.078431
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
004ca4ef31aaf4259c9eec9f46c9a385e66557a1
1,754
py
Python
status/res/imp/gen_status_sk_data.py
ravimist-test/skia-buildbot
b8b8a1e23cf1f44a6b61c576b4c31807eeed4be4
[ "BSD-3-Clause" ]
null
null
null
status/res/imp/gen_status_sk_data.py
ravimist-test/skia-buildbot
b8b8a1e23cf1f44a6b61c576b4c31807eeed4be4
[ "BSD-3-Clause" ]
21
2022-02-13T21:21:58.000Z
2022-03-02T10:01:09.000Z
status/res/imp/gen_status_sk_data.py
FeliciaXmL/skia-buildbot
446c1910507adcdad6ac52bee623400d158df363
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # Copyright (c) 2017 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Generate data to be used by the status-sk-demo.""" import datetime import json import urllib2 URL_TMPL = ( 'https://sta...
26.575758
79
0.691562
270
1,754
4.396296
0.503704
0.040438
0.080876
0.021904
0.069082
0
0
0
0
0
0
0.031381
0.18244
1,754
65
80
26.984615
0.796374
0.175029
0
0
0
0.030303
0.1055
0.019838
0
0
0
0
0
0
null
null
0
0.090909
null
null
0.030303
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
005324795dd4ab08b42a8448e0a112e67012d61a
1,157
py
Python
login_test.py
mishel254/py-password-locker
c14dd314251f078125df39104b99384c8cbd292b
[ "MIT" ]
null
null
null
login_test.py
mishel254/py-password-locker
c14dd314251f078125df39104b99384c8cbd292b
[ "MIT" ]
null
null
null
login_test.py
mishel254/py-password-locker
c14dd314251f078125df39104b99384c8cbd292b
[ "MIT" ]
null
null
null
import unittest from login import accounts ### class AccountsTest(unittest.TestCase): def setup(self): self.accounts = accounts('Testuser','62552gdh','tester@gh.ck') def test_init(self): self.assertEqual(self.accounts.username,'Testuser') self.assertEqual(self.accounts.password...
30.447368
73
0.675022
131
1,157
5.755725
0.343511
0.079576
0.075597
0.107427
0
0
0
0
0
0
0
0.019397
0.197926
1,157
37
74
31.27027
0.793103
0
0
0
0
0
0.123157
0
0
0
0
0
0.230769
1
0.230769
false
0.038462
0.076923
0
0.346154
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
cc384ec7482b55e9397f41ed1a6c6ff10ad96a16
5,607
py
Python
libica/openapi/libconsole/models/product_usage.py
umccr-illumina/libica
916d27eea499f29bee590268b84208effb0cc576
[ "MIT" ]
null
null
null
libica/openapi/libconsole/models/product_usage.py
umccr-illumina/libica
916d27eea499f29bee590268b84208effb0cc576
[ "MIT" ]
4
2021-11-15T10:47:51.000Z
2022-02-22T04:43:20.000Z
libica/openapi/libconsole/models/product_usage.py
umccr-illumina/libica
916d27eea499f29bee590268b84208effb0cc576
[ "MIT" ]
null
null
null
# coding: utf-8 """ Developer Console Service No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: v1 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 impo...
27.757426
124
0.576422
664
5,607
4.733434
0.189759
0.053452
0.091632
0.083996
0.428253
0.387846
0.378937
0.242125
0.193128
0.077633
0
0.018758
0.324951
5,607
201
125
27.895522
0.811625
0.293562
0
0.086022
1
0
0.069926
0
0
0
0
0
0
1
0.150538
false
0
0.043011
0
0.344086
0.021505
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cc38930ff83a9da15677712f4618a88d79708871
486
py
Python
SUAI/C1/practice/sources/generator/generator.py
mersinvald/SUAI-1441
0ad15112aa8794e501fd6794db795e3312ae538c
[ "MIT" ]
1
2017-01-23T17:38:59.000Z
2017-01-23T17:38:59.000Z
SUAI/C1/practice/sources/generator/generator.py
mersinvald/SUAI-1441
0ad15112aa8794e501fd6794db795e3312ae538c
[ "MIT" ]
null
null
null
SUAI/C1/practice/sources/generator/generator.py
mersinvald/SUAI-1441
0ad15112aa8794e501fd6794db795e3312ae538c
[ "MIT" ]
1
2016-05-28T05:18:04.000Z
2016-05-28T05:18:04.000Z
__author__ = 'mike' import sys class Cell: type = 0 isborder = False def __init__(type = 0, border = False): type = type isborder = border def print(grid): for level in grid: for cell in level: print(("X" if cell.isborder else " ")) print("\n") def makelevel() args = sys.argv width = int(args[1])*...
14.727273
41
0.631687
76
486
3.934211
0.5
0.020067
0
0
0
0
0
0
0
0
0
0.02381
0.222222
486
32
42
15.1875
0.767196
0.04321
0
0
0
0
0.017279
0
0
0
0
0
0
0
null
null
0
0.045455
null
null
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
1
0
0
0
0
0
0
0
0
1
cc46b8bd0ee52edb6e01705889bdcaf2aca6f0b6
5,081
py
Python
scripts/set_runparams.py
ucgmsim/slurm_gm_workflow
6fd7e11f3c3163dbd219b6783c32fa8085db5d35
[ "MIT" ]
null
null
null
scripts/set_runparams.py
ucgmsim/slurm_gm_workflow
6fd7e11f3c3163dbd219b6783c32fa8085db5d35
[ "MIT" ]
114
2018-10-11T02:49:32.000Z
2022-03-30T01:28:21.000Z
scripts/set_runparams.py
ucgmsim/slurm_gm_workflow
6fd7e11f3c3163dbd219b6783c32fa8085db5d35
[ "MIT" ]
2
2021-10-05T07:10:20.000Z
2022-03-16T23:26:51.000Z
#!/usr/bin/env python """ Generates 'e3d.par' from the default set, appending new key value pairs of parameters. @author Viktor Polak, Sung Bae @date 6 April 2016 Replaces set_runparams.csh. Converted to python, handles params set in separate file. USAGE: edit params.py (not this file), execute this file from the same ...
37.087591
107
0.644558
698
5,081
4.429799
0.296562
0.095084
0.035576
0.036223
0.177878
0.062743
0.048512
0.017464
0
0
0
0.022495
0.247589
5,081
136
108
37.360294
0.786293
0.152529
0
0
1
0
0.121417
0
0
0
0
0
0
1
0.010526
false
0
0.115789
0
0.126316
0.010526
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
cc4b15434af1f77095a570f02371628c110ef8c4
675
py
Python
examples/code_monitoring.py
jm-begon/progressmonitor
94097a3cd553c37b2f87a01c9ec92766b4819dd5
[ "BSD-3-Clause" ]
null
null
null
examples/code_monitoring.py
jm-begon/progressmonitor
94097a3cd553c37b2f87a01c9ec92766b4819dd5
[ "BSD-3-Clause" ]
null
null
null
examples/code_monitoring.py
jm-begon/progressmonitor
94097a3cd553c37b2f87a01c9ec92766b4819dd5
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- #! /usr/bin/env python """ This example illustrates the code monitoring with :func:`code_monitor`. """ from __future__ import generators __author__ = "Begon Jean-Michel <jm.begon@gmail.com>" __copyright__ = "3-clause BSD License" __version__ = '1.0' import time import sys from progressmonito...
16.463415
71
0.617778
81
675
4.777778
0.679012
0.085271
0
0
0
0
0
0
0
0
0
0.017442
0.235556
675
40
72
16.875
0.732558
0.062222
0
0.1
0
0
0.188324
0
0
0
0
0
0
0
null
null
0
0.2
null
null
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
1
0
0
0
0
0
0
0
0
1
cc4f1f685c78cf1163c82daae246f091e7eeeb55
403
py
Python
apps/resources/migrations/0006_document_time_to_read.py
ShAlireza/gamein-backend
cd7db7a06cacb4398fb89d291e7fc796702157a2
[ "MIT" ]
5
2020-05-26T12:50:29.000Z
2020-06-09T19:22:16.000Z
apps/resources/migrations/0006_document_time_to_read.py
ShAlireza/gamein-backend
cd7db7a06cacb4398fb89d291e7fc796702157a2
[ "MIT" ]
7
2021-03-30T13:28:52.000Z
2022-01-13T02:45:23.000Z
apps/resources/migrations/0006_document_time_to_read.py
ShAlireza/gamein-backend
cd7db7a06cacb4398fb89d291e7fc796702157a2
[ "MIT" ]
1
2020-05-29T14:08:05.000Z
2020-05-29T14:08:05.000Z
# Generated by Django 2.2.8 on 2019-12-27 15:56 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('resources', '0005_document_order'), ] operations = [ migrations.AddField( model_name='document', name='time_to_read'...
21.210526
63
0.615385
42
403
5.785714
0.809524
0
0
0
0
0
0
0
0
0
0
0.071918
0.275434
403
18
64
22.388889
0.760274
0.111663
0
0
1
0
0.134831
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cc5b83f74f4f783af593de18d260eb9c0611904c
436
py
Python
src/apps/recommendations/migrations/0002_auto_20201031_1344.py
Remy-TPP/q-api
761dd2d15557cb9a8bdc0b397fc10e0cf7c95c03
[ "MIT" ]
null
null
null
src/apps/recommendations/migrations/0002_auto_20201031_1344.py
Remy-TPP/q-api
761dd2d15557cb9a8bdc0b397fc10e0cf7c95c03
[ "MIT" ]
14
2020-06-23T20:32:16.000Z
2022-01-13T03:13:20.000Z
src/apps/recommendations/migrations/0002_auto_20201031_1344.py
MartinCura/q-api
761dd2d15557cb9a8bdc0b397fc10e0cf7c95c03
[ "MIT" ]
null
null
null
# Generated by Django 3.0.10 on 2020-10-31 13:44 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('recommendations', '0001_initial'), ] operations = [ migrations.AlterField( model_name='recommendation', name='score...
22.947368
95
0.623853
47
436
5.702128
0.808511
0
0
0
0
0
0
0
0
0
0
0.074534
0.261468
436
18
96
24.222222
0.757764
0.105505
0
0
1
0
0.118557
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cc5c074f943879c3cdc324f868fb6b7711f658c5
865
py
Python
conf/migrations/0001_initial.py
invernoa/Conferences
9e821948311dc9c28323ede8a26764899fc05255
[ "MIT" ]
null
null
null
conf/migrations/0001_initial.py
invernoa/Conferences
9e821948311dc9c28323ede8a26764899fc05255
[ "MIT" ]
null
null
null
conf/migrations/0001_initial.py
invernoa/Conferences
9e821948311dc9c28323ede8a26764899fc05255
[ "MIT" ]
null
null
null
# Generated by Django 2.2 on 2019-04-18 14:50 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Conference', fields=[ ('id', models.AutoField...
29.827586
114
0.542197
76
865
6.078947
0.657895
0.12987
0.077922
0.103896
0
0
0
0
0
0
0
0.033841
0.316763
865
28
115
30.892857
0.747885
0.049711
0
0
1
0
0.10122
0
0
0
0
0
0
1
0
false
0
0.047619
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
cc5ec659c76620005b0be61890936cb19d721fee
1,163
py
Python
UCourse/forums/admin.py
Natsu1270/UCourse
e8c814d91e54f5f51e4a0fa2df177ebb59544dc2
[ "MIT" ]
1
2020-08-31T22:40:27.000Z
2020-08-31T22:40:27.000Z
UCourse/forums/admin.py
Natsu1270/UCourse
e8c814d91e54f5f51e4a0fa2df177ebb59544dc2
[ "MIT" ]
13
2020-08-05T16:17:09.000Z
2022-03-12T00:18:42.000Z
UCourse/forums/admin.py
Natsu1270/UCourse
e8c814d91e54f5f51e4a0fa2df177ebb59544dc2
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Forum, Thread, ThreadResponse @admin.register(Forum) class ForumAdmin(admin.ModelAdmin): list_display = ('__str__', 'course_home', 'status') list_filter = ('status', 'course_home') readonly_fields = ('created_date', 'created_by') def save_model(sel...
32.305556
55
0.676698
144
1,163
5.229167
0.291667
0.071713
0.111554
0.159363
0.636122
0.559097
0.559097
0.559097
0.559097
0.559097
0
0
0.191745
1,163
36
56
32.305556
0.801064
0
0
0.518519
0
0
0.114261
0
0
0
0
0
0
1
0.111111
false
0
0.074074
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
cc66ae576129a3a6ad6d46d992747b08c6f9c617
279
py
Python
lewis_2019/b3lyp_calculations/pdb_to_xyz.py
andrewtarzia/citable_data
6a9b94c7f1bddbd1f5f2f6e042fead632d17cc74
[ "MIT" ]
null
null
null
lewis_2019/b3lyp_calculations/pdb_to_xyz.py
andrewtarzia/citable_data
6a9b94c7f1bddbd1f5f2f6e042fead632d17cc74
[ "MIT" ]
null
null
null
lewis_2019/b3lyp_calculations/pdb_to_xyz.py
andrewtarzia/citable_data
6a9b94c7f1bddbd1f5f2f6e042fead632d17cc74
[ "MIT" ]
null
null
null
from ase.io import read from ase.io.xyz import write_xyz import glob for i in glob.glob('*.pdb'): print(i) a = read(i) cmt = 'This is an XYZ structure.' write_xyz(i.replace('.pdb', '.xyz'), images=a, comment=cmt, columns=['symbols', 'positions'])
23.25
63
0.612903
44
279
3.840909
0.568182
0.08284
0.106509
0
0
0
0
0
0
0
0
0
0.225806
279
11
64
25.363636
0.782407
0
0
0
0
0
0.194245
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
cc66e08ab24ab127f44febff8f409c895280df35
3,748
py
Python
tools/split-items-multiimage.py
mvdw/pak128
df50ce1b86cc4c3cc2752d9e24154a365baf399e
[ "Artistic-2.0" ]
null
null
null
tools/split-items-multiimage.py
mvdw/pak128
df50ce1b86cc4c3cc2752d9e24154a365baf399e
[ "Artistic-2.0" ]
null
null
null
tools/split-items-multiimage.py
mvdw/pak128
df50ce1b86cc4c3cc2752d9e24154a365baf399e
[ "Artistic-2.0" ]
null
null
null
#! /usr/bin/python # -*- coding: utf-8 -*- # # Vladimír Slávik 2012 # Python 3.2 # # for Simutrans # http://www.simutrans.com # # code is public domain # # read all dat files in all subfolders # reformat pictures and save aside import os, math, sys import simutools #----- Data = [] paksize = 128 outdir = ...
25.671233
95
0.655016
538
3,748
4.498141
0.342007
0.027273
0.018595
0.029752
0.108264
0.082645
0.082645
0.082645
0.082645
0.082645
0
0.042074
0.181964
3,748
146
96
25.671233
0.746902
0.113927
0
0.068966
0
0
0.065877
0
0
0
0
0
0
0
null
null
0
0.045977
null
null
0.034483
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
cc76f20df5dadeb1d6f4901f1a434259fd27271b
10,423
py
Python
projects/integration/fleaflicker_working.py
nathanbraun/fantasy-developer-kit
141e95c9e346e5b5a077d81f10e5942022e899e6
[ "Xnet", "X11" ]
6
2021-09-10T22:34:47.000Z
2021-11-22T05:04:05.000Z
projects/integration/fleaflicker_working.py
nathanbraun/fantasy-developer-kit
141e95c9e346e5b5a077d81f10e5942022e899e6
[ "Xnet", "X11" ]
null
null
null
projects/integration/fleaflicker_working.py
nathanbraun/fantasy-developer-kit
141e95c9e346e5b5a077d81f10e5942022e899e6
[ "Xnet", "X11" ]
3
2021-09-09T20:09:54.000Z
2021-09-16T23:30:29.000Z
import requests import numpy as np from pandas import DataFrame, Series import pandas as pd from utilities import LICENSE_KEY, generate_token, master_player_lookup import json pd.options.mode.chained_assignment = None LEAGUE_ID = 316893 TEAM_ID = 1605156 ##############################################################...
32.26935
84
0.674854
1,401
10,423
4.750892
0.17773
0.030048
0.043269
0.008413
0.521484
0.457632
0.405198
0.358624
0.300331
0.282903
0
0.010088
0.153603
10,423
322
85
32.369565
0.744389
0.143337
0
0.277778
1
0
0.198377
0.044568
0
0
0
0
0
1
0.072222
false
0
0.038889
0.016667
0.183333
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
cc77350bdc800e4e8ac5b720812c2de07ca0139c
917
py
Python
2018_1st/Refer_Q2_3.py
IT-SeanWANG/CodeJam
fc13e8f5023272d67488fa2dc95a6a188d624779
[ "Apache-2.0" ]
null
null
null
2018_1st/Refer_Q2_3.py
IT-SeanWANG/CodeJam
fc13e8f5023272d67488fa2dc95a6a188d624779
[ "Apache-2.0" ]
null
null
null
2018_1st/Refer_Q2_3.py
IT-SeanWANG/CodeJam
fc13e8f5023272d67488fa2dc95a6a188d624779
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python S = input() P_score= S.split(" ") #print (S) for i in range (0,len(P_score)): P_score[i]= int(P_score[i]) List_J=[1 for m in range(0,len(P_score))]## set default List_J as "1" for i in range(0,(len(P_score)-1)): if P_score[i] < P_score[i+1]: List_J[i+1] = List...
25.472222
73
0.394766
147
917
2.272109
0.204082
0.269461
0.125749
0.083832
0.568862
0.568862
0.517964
0.209581
0
0
0
0.040161
0.456925
917
35
74
26.2
0.630522
0.055616
0
0.115385
0
0
0.001215
0
0
0
0
0
0
1
0
false
0
0
0
0
0.038462
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
cc78fdf2acb789831c9c2a3f9ed541555ff7e390
1,044
py
Python
spacenet/schemas/test/events/test_event.py
space-logistics-org/spacenet
fd004437ed7b27dd6dc41a374e1dedfcea92e37d
[ "MIT" ]
1
2022-02-17T18:01:41.000Z
2022-02-17T18:01:41.000Z
spacenet/schemas/test/events/test_event.py
space-logistics-org/spacenet
fd004437ed7b27dd6dc41a374e1dedfcea92e37d
[ "MIT" ]
2
2021-06-19T19:41:15.000Z
2021-07-21T17:07:48.000Z
spacenet/schemas/test/events/test_event.py
space-logistics-org/spacenet
fd004437ed7b27dd6dc41a374e1dedfcea92e37d
[ "MIT" ]
3
2021-06-16T16:31:12.000Z
2022-02-17T18:02:57.000Z
""" This module contains tests for event schemas. """ import pytest from hypothesis import given, strategies as st from .utilities import EVENT_VALID_MAP as VALID_MAP, EVENT_INVALID_MAP as INVALID_MAP from ..utilities import xfail_from_kw, success_from_kw from spacenet.schemas import Event pytestmark = [pytest.mark....
28.216216
92
0.755747
148
1,044
5.128378
0.344595
0.042161
0.050066
0.039526
0.108037
0.108037
0.108037
0.108037
0
0
0
0
0.145594
1,044
36
93
29
0.850897
0.239464
0
0
0
0
0.021192
0
0
0
0
0
0
1
0.1875
false
0
0.3125
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
cc7e096e9deb5acdf2d088c4b92bbf8eb788505c
13,221
py
Python
Snapchat.py
youngesbill/snapchatAPI
b94051c0f178b9deb61796ab715e8b32b497cdb0
[ "MIT" ]
44
2016-05-31T17:06:21.000Z
2022-03-01T21:39:47.000Z
Snapchat.py
h4ck1th4rd/snapchatAPI
50798eab36131f26fa0dcb81007cb7f1ce4dbaf4
[ "MIT" ]
6
2016-06-18T13:30:27.000Z
2018-12-17T04:53:26.000Z
Snapchat.py
youngesbill/snapchatAPI
b94051c0f178b9deb61796ab715e8b32b497cdb0
[ "MIT" ]
17
2016-05-26T01:34:23.000Z
2020-08-04T11:40:42.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- import requests from pprint import pprint import uuid import hashlib from base64 import b64decode, b64encode import warnings import time import json import random from Crypto.Cipher import AES, PKCS1_OAEP from QueryTools import QueryTools warnings.filterwarnings('ignore') SEC...
26.128458
130
0.667347
1,746
13,221
4.885452
0.165521
0.05381
0.033529
0.040094
0.44279
0.414185
0.395662
0.342556
0.291559
0.286049
0
0.024115
0.181378
13,221
506
131
26.128459
0.764021
0.052568
0
0.405685
0
0
0.201415
0.036444
0
0
0
0
0
0
null
null
0.010336
0.028424
null
null
0.005168
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
cc92cb579f4f68cf3bbff09e7e58020bd0f3f842
7,565
py
Python
deprecated/sylphase-sonar/util.py
RishiKumarRay/mil
f3746a91e68aac713e86b380cdda8852ba826170
[ "MIT" ]
27
2020-02-17T21:54:09.000Z
2022-03-18T17:49:23.000Z
deprecated/sylphase-sonar/util.py
RishiKumarRay/mil
f3746a91e68aac713e86b380cdda8852ba826170
[ "MIT" ]
325
2019-09-11T14:13:56.000Z
2022-03-31T00:38:30.000Z
deprecated/sylphase-sonar/util.py
RishiKumarRay/mil
f3746a91e68aac713e86b380cdda8852ba826170
[ "MIT" ]
24
2019-09-16T00:29:45.000Z
2022-03-06T10:56:38.000Z
from __future__ import division import itertools import socket import sys import time import numpy import scipy.signal from matplotlib import pyplot from scipy.ndimage.filters import maximum_filter1d fs = 1.2e6 def connect_to_samples(samples_per_callback): if len(sys.argv) == 3: host, port = sys.argv[1]...
42.027778
161
0.572108
992
7,565
4.193548
0.236895
0.032452
0.034615
0.018029
0.176923
0.116346
0.065385
0.065385
0.065385
0.043269
0
0.030649
0.305618
7,565
179
162
42.26257
0.761279
0.161533
0
0.102941
0
0
0.023602
0
0
0
0
0
0.095588
0
null
null
0
0.066176
null
null
0.036765
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
cc9e6d28a73be2abe1d5d0e1a83b247d2065392b
2,626
py
Python
probability_distribution/probability_distribution.py
Avast-AIC-collaboration/adversarial-anomaly-detectior
b518c30f07db66f3caf9e1fc19beea924fb66e63
[ "MIT" ]
null
null
null
probability_distribution/probability_distribution.py
Avast-AIC-collaboration/adversarial-anomaly-detectior
b518c30f07db66f3caf9e1fc19beea924fb66e63
[ "MIT" ]
null
null
null
probability_distribution/probability_distribution.py
Avast-AIC-collaboration/adversarial-anomaly-detectior
b518c30f07db66f3caf9e1fc19beea924fb66e63
[ "MIT" ]
null
null
null
from scipy.stats import gaussian_kde import numpy as np import matplotlib.pyplot as plt from data_featured.dataset_featured import DatasetFeatures class ProbabilityDistribution: def __init__(self, data_featured:DatasetFeatures, bins=10): self.data_featured = data_featured self.prb = gaussian_kde(da...
41.03125
153
0.600152
359
2,626
4.24234
0.295265
0.181221
0.210112
0.078792
0.327643
0.309915
0.278398
0.228496
0.170716
0.170716
0
0.01749
0.259711
2,626
63
154
41.68254
0.765947
0.076923
0
0.133333
0
0
0.043478
0
0
0
0
0
0
1
0.066667
false
0
0.088889
0
0.222222
0.022222
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
cca4252bdb6f6c9f461b38ea9b06990c58762044
741
py
Python
kitpy/dev/thread.py
YorkSu/kitpy
9b54f1e812d6b4adb7bfd7f2ea60b326420c8f05
[ "MIT" ]
null
null
null
kitpy/dev/thread.py
YorkSu/kitpy
9b54f1e812d6b4adb7bfd7f2ea60b326420c8f05
[ "MIT" ]
null
null
null
kitpy/dev/thread.py
YorkSu/kitpy
9b54f1e812d6b4adb7bfd7f2ea60b326420c8f05
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import threading import time class AdvancedThread(threading.Thread): def __init__(self): super().__init__() self._running = threading.Event() self.setDaemon(True) self.created() def run(self) -> None: self._running.set() self.mounted() ...
20.027027
41
0.549258
80
741
4.9375
0.4
0.162025
0.111392
0.096203
0
0
0
0
0
0
0
0.003831
0.295547
741
36
42
20.583333
0.752874
0.02834
0
0
0
0
0
0
0
0
0
0
0
1
0.36
false
0
0.08
0
0.48
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
cca4b7110482f99604b1d3c7bc044f0160ae2e58
1,455
py
Python
scripts/exp_scripts/src/ec2_scripts/install_mongo_java.py
MobilityFirst/GNS
1eb5524457e0075dc9f451bd66e39f9291052eb8
[ "Apache-2.0" ]
17
2015-11-16T18:02:47.000Z
2020-08-02T08:53:11.000Z
scripts/exp_scripts/src/ec2_scripts/install_mongo_java.py
MobilityFirst/GNS
1eb5524457e0075dc9f451bd66e39f9291052eb8
[ "Apache-2.0" ]
63
2015-12-22T20:52:28.000Z
2019-03-06T02:44:20.000Z
scripts/exp_scripts/src/ec2_scripts/install_mongo_java.py
MobilityFirst/GNS
1eb5524457e0075dc9f451bd66e39f9291052eb8
[ "Apache-2.0" ]
62
2015-11-13T20:04:47.000Z
2020-01-10T12:20:44.000Z
#!/usr/bin/env python import os import sys home_folder = '/home/ec2-user/' mongo_folder = 'mongodb' java_folder = 'jdk' def main(): check_install_mongo_java() def check_install_mongo_java(): mongo_home = os.path.join(home_folder, mongo_folder) print '**********', mongo_home if not os.path.exists(...
31.630435
154
0.654296
230
1,455
3.943478
0.265217
0.099228
0.066152
0.092613
0.578831
0.511577
0.361632
0.266814
0.202867
0.202867
0
0.056619
0.17457
1,455
45
155
32.333333
0.698585
0.013746
0
0.0625
0
0.125
0.408647
0.156904
0
0
0
0
0
0
null
null
0
0.0625
null
null
0.1875
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