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
e086e4eb13b0f6b0cc31b0edccbe7987a162a57c
1,039
py
Python
backend/users/models.py
madarconsulting/django-twitter-spark
aac2cbf1b697a3eec3e7a20f0dc0c30ebfeab6c8
[ "MIT" ]
8
2019-07-19T13:50:59.000Z
2021-09-01T03:39:23.000Z
backend/users/models.py
madarconsulting/django-twitter-spark
aac2cbf1b697a3eec3e7a20f0dc0c30ebfeab6c8
[ "MIT" ]
22
2019-11-11T15:56:04.000Z
2022-03-24T03:29:57.000Z
backend/users/models.py
madarconsulting/django-twitter-spark
aac2cbf1b697a3eec3e7a20f0dc0c30ebfeab6c8
[ "MIT" ]
3
2019-12-14T04:59:11.000Z
2021-09-01T03:39:28.000Z
from django.db import models from django.contrib.auth.models import AbstractBaseUser from django.contrib.auth.models import PermissionsMixin from django.utils.translation import gettext_lazy as _ from django.utils import timezone from .managers import CustomUserManager # Create your models here. class CustomUser(Abst...
37.107143
75
0.791145
137
1,039
5.861314
0.489051
0.062267
0.0934
0.052304
0.201743
0.201743
0.119552
0.119552
0.119552
0.119552
0
0.006579
0.122233
1,039
28
76
37.107143
0.873904
0.114533
0
0
0
0
0.019694
0
0
0
0
0
0
1
0.05
false
0
0.3
0.05
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
e086f07a2a1ae862ca2536fb663a97bb68bee591
297
py
Python
Criptografia/demoSencillo.py
GDG-IPN/Projectos-Escolares
ebeaf2cbb10f1180c0d67b08140953935f633c8d
[ "MIT" ]
4
2019-11-25T22:48:55.000Z
2019-11-28T19:38:47.000Z
Criptografia/demoSencillo.py
GDG-IPN/Projectos-Escolares
ebeaf2cbb10f1180c0d67b08140953935f633c8d
[ "MIT" ]
null
null
null
Criptografia/demoSencillo.py
GDG-IPN/Projectos-Escolares
ebeaf2cbb10f1180c0d67b08140953935f633c8d
[ "MIT" ]
null
null
null
""" Es necesario instalar cryptography $ pip install cryptography """ from cryptography.fernet import Fernet key = Fernet.generate_key() cipher_suite = Fernet(key) cipher_text = cipher_suite.encrypt(b"A really secret message. Not for prying eyes.") plain_text = cipher_suite.decrypt(cipher_text)
27
84
0.794613
41
297
5.585366
0.634146
0.144105
0.131004
0
0
0
0
0
0
0
0
0
0.114478
297
10
85
29.7
0.870722
0.205387
0
0
1
0
0.197368
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
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
e08c425203da4dcd853e99280673c6483c0c48b0
8,219
py
Python
fun/fun/settings_.py
larryw3i/fun
e753ce6d448f7f6ec3169a4d1fa7e1c7bff70a27
[ "MIT" ]
null
null
null
fun/fun/settings_.py
larryw3i/fun
e753ce6d448f7f6ec3169a4d1fa7e1c7bff70a27
[ "MIT" ]
4
2021-06-12T06:05:44.000Z
2021-06-13T06:20:00.000Z
fun/fun/settings_.py
larryw3i/fun
e753ce6d448f7f6ec3169a4d1fa7e1c7bff70a27
[ "MIT" ]
null
null
null
""" Django settings for fun project. Generated by 'django-admin startproject' using Django 2.2.6. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import json # Bu...
26.859477
78
0.651661
875
8,219
5.942857
0.404571
0.0475
0.021154
0.029615
0.145385
0.126154
0.091346
0.051346
0.023077
0
0
0.012942
0.200876
8,219
305
79
26.947541
0.778776
0.128483
0
0.049107
1
0
0.424909
0.252732
0
0
0
0
0
1
0
false
0.035714
0.022321
0
0.022321
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
e08e9fcbfaeea170a2c7b1c2a38fc1496bea02b5
403
py
Python
tests/issue_000011/test_forward_ref.py
Xowap/typefit
a1beedcc4b05be6d22063719e7e2aa8c3f2c35b3
[ "WTFPL" ]
5
2019-10-28T15:40:03.000Z
2021-03-16T21:07:25.000Z
tests/issue_000011/test_forward_ref.py
Xowap/typefit
a1beedcc4b05be6d22063719e7e2aa8c3f2c35b3
[ "WTFPL" ]
32
2019-10-19T08:40:12.000Z
2022-01-21T19:07:09.000Z
tests/issue_000011/test_forward_ref.py
Xowap/typefit
a1beedcc4b05be6d22063719e7e2aa8c3f2c35b3
[ "WTFPL" ]
3
2019-10-28T15:42:49.000Z
2022-01-18T19:18:06.000Z
from dataclasses import dataclass, field from typing import List, Text from typefit import typefit @dataclass class Comment: text: Text children: List["Comment"] = field(default_factory=list) data = {"text": "Hello", "children": [{"text": "Howdy"}, {"text": "Hello to you too"}]} def test_forward_ref(): ...
21.210526
87
0.687345
51
403
5.372549
0.509804
0.065693
0
0
0
0
0
0
0
0
0
0.002985
0.168734
403
18
88
22.388889
0.814925
0
0
0
0
0
0.143921
0
0
0
0
0
0.090909
1
0.090909
false
0
0.272727
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
e0919a1d29bb4c9ee9a6b2630f374da0408edb08
2,373
py
Python
src/apifuzz.py
Boyploy/IMF
1632779ef76d3f5865b466a49a3eec6d96858c8a
[ "MIT" ]
108
2017-09-20T02:38:31.000Z
2022-03-15T14:25:45.000Z
src/apifuzz.py
pwnkidhn/IMF
1632779ef76d3f5865b466a49a3eec6d96858c8a
[ "MIT" ]
4
2018-05-05T02:38:56.000Z
2019-05-23T02:19:32.000Z
src/apifuzz.py
pwnkidhn/IMF
1632779ef76d3f5865b466a49a3eec6d96858c8a
[ "MIT" ]
27
2017-10-02T12:40:59.000Z
2022-01-22T14:46:43.000Z
# Copyright (c) 2017 HyungSeok Han and Sang Kil Cha at SoftSec, KAIST # # See the file LICENCE for copying permission. import basic import hook import utils import log import const import sys import time import argparse import os from multiprocessing import Pool from model import Model class ApiFuzz: def __init...
27.917647
82
0.556258
320
2,373
4.01875
0.340625
0.046656
0.020218
0.017107
0.063764
0.045101
0
0
0
0
0
0.015432
0.31732
2,373
84
83
28.25
0.778395
0.047198
0
0.028169
0
0.014085
0.074468
0
0
0
0
0
0
0
null
null
0
0.15493
null
null
0.014085
0
0
0
null
0
0
0
0
0
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
e0980c3d5c54f85cc66d2ab0fda1268b17bf962c
3,380
py
Python
Latest/venv/Lib/site-packages/pyface/ui/wx/image_resource.py
adamcvj/SatelliteTracker
49a8f26804422fdad6f330a5548e9f283d84a55d
[ "Apache-2.0" ]
1
2022-01-09T20:04:31.000Z
2022-01-09T20:04:31.000Z
Latest/venv/Lib/site-packages/pyface/ui/wx/image_resource.py
adamcvj/SatelliteTracker
49a8f26804422fdad6f330a5548e9f283d84a55d
[ "Apache-2.0" ]
1
2022-02-15T12:01:57.000Z
2022-03-24T19:48:47.000Z
Latest/venv/Lib/site-packages/pyface/ui/wx/image_resource.py
adamcvj/SatelliteTracker
49a8f26804422fdad6f330a5548e9f283d84a55d
[ "Apache-2.0" ]
null
null
null
#------------------------------------------------------------------------------ # # Copyright (c) 2005, Enthought, Inc. # All rights reserved. # # This software is provided without warranty under the terms of the BSD # license included in enthought/LICENSE.txt and may be redistributed only # under the conditions d...
30.45045
79
0.527515
339
3,380
5.162242
0.430678
0.048
0.015429
0.021714
0.038857
0
0
0
0
0
0
0.001523
0.223077
3,380
110
80
30.727273
0.66489
0.426036
0
0.121212
0
0
0
0
0
0
0
0.009091
0
1
0.121212
false
0
0.151515
0.030303
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
e09f36a5659baf19037d464efeeb3ee040ae3440
1,183
py
Python
EV/Date vs Volume/charging point/NTPC/producer_NTPC.py
kareemv46/Project3
eeb63d69d69c7a3ff909a284e27740beb083ff10
[ "MIT" ]
1
2021-12-14T14:41:02.000Z
2021-12-14T14:41:02.000Z
EV/Date vs Volume/charging point/NTPC/producer_NTPC.py
6618karan/Stock-Analysis
6a4008acc8f48abc5dc4f33cbe9f329451343459
[ "MIT" ]
null
null
null
EV/Date vs Volume/charging point/NTPC/producer_NTPC.py
6618karan/Stock-Analysis
6a4008acc8f48abc5dc4f33cbe9f329451343459
[ "MIT" ]
3
2021-09-28T09:50:49.000Z
2021-10-01T11:35:41.000Z
from kafka import KafkaProducer import requests from json import dumps import time def on_message1(message): producer1.send('ntpc', message) producer1.flush() producer1 = KafkaProducer(value_serializer=lambda m: dumps(m).encode("utf-8"), bootstrap_servers=['localhost:9092']) # url for collecting NTPC compa...
24.142857
116
0.682164
184
1,183
4.353261
0.375
0.213483
0.089888
0.034956
0.044944
0
0
0
0
0
0
0.03071
0.119189
1,183
48
117
24.645833
0.738004
0.046492
0
0.057143
0
0.028571
0.242424
0
0
0
0
0
0
1
0.028571
false
0
0.114286
0
0.142857
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
e09fabecb1ab63c7f4d106055124c3de7484da82
4,880
py
Python
tools/nntool/expressions/symbolic/function.py
00-01/gap_sdk
25444d752b26ccf0b848301c381692d77172852c
[ "Apache-2.0" ]
null
null
null
tools/nntool/expressions/symbolic/function.py
00-01/gap_sdk
25444d752b26ccf0b848301c381692d77172852c
[ "Apache-2.0" ]
null
null
null
tools/nntool/expressions/symbolic/function.py
00-01/gap_sdk
25444d752b26ccf0b848301c381692d77172852c
[ "Apache-2.0" ]
null
null
null
# Copyright (C) 2020 GreenWaves Technologies, SAS # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either version 3 of the # License, or (at your option) any later version. # This progr...
33.655172
112
0.605943
601
4,880
4.770383
0.27787
0.020928
0.043948
0.018137
0.136031
0.107778
0.066969
0
0
0
0
0.001747
0.296311
4,880
144
113
33.888889
0.833139
0.156352
0
0.127451
0
0
0.023398
0
0
0
0
0
0
1
0.205882
false
0
0.029412
0.098039
0.45098
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
e0a16a161579a65ef6a6c1273205a1ab0a0f4a4b
80,972
py
Python
ucloud/services/udb/client.py
ucloud/ucloud-sdk-python3
b96a079a5e747228049129d83f03a8067a05e881
[ "Apache-2.0" ]
37
2019-06-19T09:41:34.000Z
2022-02-18T08:06:00.000Z
ucloud/services/udb/client.py
ucloud/ucloud-sdk-python3
b96a079a5e747228049129d83f03a8067a05e881
[ "Apache-2.0" ]
90
2019-08-09T09:27:33.000Z
2022-03-30T15:54:55.000Z
ucloud/services/udb/client.py
ucloud/ucloud-sdk-python3
b96a079a5e747228049129d83f03a8067a05e881
[ "Apache-2.0" ]
19
2019-06-13T02:46:01.000Z
2021-11-01T07:22:18.000Z
""" Code is generated by ucloud-model, DO NOT EDIT IT. """ import typing from ucloud.core.client import Client from ucloud.services.udb.schemas import apis class UDBClient(Client): def __init__( self, config: dict, transport=None, middleware=None, logger=None ): super(UDBClient, self).__ini...
40.894949
296
0.60264
8,041
80,972
6.004477
0.14252
0.029079
0.048465
0.054927
0.645064
0.611325
0.591297
0.586223
0.574769
0.561493
0
0.013867
0.236761
80,972
1,979
297
40.915614
0.767382
0.580485
0
0.536776
1
0
0.077154
0.030744
0
0
0
0
0
1
0.090767
false
0.00626
0.004695
0
0.186228
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
e0a34c6e242ec6cdc9f44e2669d6b4eadfb4bb04
854
py
Python
broccoli/router.py
aachurin/broccoli
744b58d583a0b471fff657783362a895be2b4f73
[ "MIT" ]
1
2019-03-30T21:16:26.000Z
2019-03-30T21:16:26.000Z
broccoli/router.py
aachurin/broccoli
744b58d583a0b471fff657783362a895be2b4f73
[ "MIT" ]
null
null
null
broccoli/router.py
aachurin/broccoli
744b58d583a0b471fff657783362a895be2b4f73
[ "MIT" ]
null
null
null
import typing from broccoli.types import Router from broccoli.components import Component class SimpleRouter(Router): def __init__(self, task_routes, default_queue): self.task_routes = task_routes self.default_queue = default_queue def get_queue(self, task_name) -> str: return self.t...
23.722222
66
0.651054
93
854
5.655914
0.322581
0.13308
0.106464
0.057034
0.18251
0
0
0
0
0
0
0
0.254098
854
35
67
24.4
0.825746
0
0
0
0
0
0.043326
0
0
0
0
0
0
1
0.166667
false
0
0.125
0.083333
0.541667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
e0a40910f9e4a2d3ce6261ac7ae0bac7c5e59585
438
py
Python
tests/finance/test_convert_currency.py
zbarry/pyjanitor
e0815417d0cf8b087b6f51b0dc7e20b16de8cb6e
[ "MIT" ]
null
null
null
tests/finance/test_convert_currency.py
zbarry/pyjanitor
e0815417d0cf8b087b6f51b0dc7e20b16de8cb6e
[ "MIT" ]
null
null
null
tests/finance/test_convert_currency.py
zbarry/pyjanitor
e0815417d0cf8b087b6f51b0dc7e20b16de8cb6e
[ "MIT" ]
null
null
null
import pytest import requests import janitor.finance from janitor.testing_utils.fixtures import dataframe @pytest.mark.finance def test_make_currency_api_request(): r = requests.get("https://api.exchangeratesapi.io") assert r.status_code == 200 @pytest.mark.finance def test_make_new_currency_col(dataframe)...
24.333333
76
0.751142
63
438
5
0.555556
0.063492
0.107937
0.126984
0.177778
0.177778
0
0
0
0
0
0.007813
0.123288
438
17
77
25.764706
0.8125
0
0
0.166667
0
0
0.100457
0
0
0
0
0
0.166667
1
0.166667
false
0
0.333333
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
e0a4465f970907ecc46b68d66a56634b9af3b20f
4,746
py
Python
codility/L7T2-Fish/Fish.py
hubert-wojtowicz/faang
a1594962033300cd50bf4e2334dced24ce817f4f
[ "MIT" ]
null
null
null
codility/L7T2-Fish/Fish.py
hubert-wojtowicz/faang
a1594962033300cd50bf4e2334dced24ce817f4f
[ "MIT" ]
null
null
null
codility/L7T2-Fish/Fish.py
hubert-wojtowicz/faang
a1594962033300cd50bf4e2334dced24ce817f4f
[ "MIT" ]
null
null
null
# TASK: # You are given two non-empty arrays A and B consisting of N integers. Arrays A and B represent N voracious fish in a river, ordered downstream along the flow of the river. # The fish are numbered from 0 to N − 1. If P and Q are two fish and P < Q, then fish P is initially upstream of fish Q. Initially, each f...
43.944444
360
0.626422
850
4,746
3.485882
0.244706
0.0189
0.014175
0.0108
0.23051
0.160311
0.141748
0.114411
0.114411
0.092474
0
0.068616
0.250737
4,746
108
361
43.944444
0.764061
0.644121
0
0.097561
0
0
0.017063
0
0
0
0
0
0.512195
1
0.02439
false
0.02439
0
0
0.04878
0.04878
0
0
0
null
0
0
0
0
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
e0a97cc10d14619120ad52a0fed087c2fc1aed44
2,816
py
Python
animal_world.py
nfrei/animal-world
af61774d433b6d7623da7e35ef6ba382da6edbc5
[ "MIT" ]
null
null
null
animal_world.py
nfrei/animal-world
af61774d433b6d7623da7e35ef6ba382da6edbc5
[ "MIT" ]
1
2018-01-20T06:55:01.000Z
2018-01-20T06:55:01.000Z
animal_world.py
nfrei/animal-world
af61774d433b6d7623da7e35ef6ba382da6edbc5
[ "MIT" ]
null
null
null
#!/usr/bin/env python import json import random class World: json_init = """ { "hazards": { "hunters": { "mortality_increase": 0.1, "probability": 0.3 }, "disease": { "mortality_increase": 0.2, "probability": 0.25 } }, "...
26.317757
77
0.509233
298
2,816
4.644295
0.275168
0.084538
0.084538
0.072254
0.215318
0.147399
0.047688
0.047688
0
0
0
0.015358
0.37571
2,816
106
78
26.566038
0.7719
0.007102
0
0.121951
0
0
0.279914
0.015092
0
0
0
0
0
0
null
null
0.012195
0.02439
null
null
0.060976
0
0
0
null
0
0
0
0
0
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
e0ad48a70b95e4e557e9e0c1cf7d13b2ff332150
407
py
Python
user/migrations/0004_auto_20210316_1534.py
dtu-otg/backend
6478cda56baec8950eca68fb569c86f307199d60
[ "MIT" ]
null
null
null
user/migrations/0004_auto_20210316_1534.py
dtu-otg/backend
6478cda56baec8950eca68fb569c86f307199d60
[ "MIT" ]
null
null
null
user/migrations/0004_auto_20210316_1534.py
dtu-otg/backend
6478cda56baec8950eca68fb569c86f307199d60
[ "MIT" ]
null
null
null
# Generated by Django 3.1.7 on 2021-03-16 15:34 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('user', '0003_profile_dtu_email'), ] operations = [ migrations.AlterField( model_name='profile', name='roll_no', ...
21.421053
73
0.604423
47
407
5.106383
0.829787
0
0
0
0
0
0
0
0
0
0
0.071429
0.277641
407
18
74
22.611111
0.744898
0.110565
0
0
1
0
0.111111
0.061111
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
e0b0287bd128e365d7f24f9666b626810a11f3c2
1,522
py
Python
python/ncmd.py
ytchang05/N-lang
f626dc939b33941f3c2f23a4d1c523b58c847c15
[ "MIT" ]
null
null
null
python/ncmd.py
ytchang05/N-lang
f626dc939b33941f3c2f23a4d1c523b58c847c15
[ "MIT" ]
null
null
null
python/ncmd.py
ytchang05/N-lang
f626dc939b33941f3c2f23a4d1c523b58c847c15
[ "MIT" ]
null
null
null
import inspect """ An immutable class representing a command, which is anything that has a side effect or is asynchronous. """ class Cmd: def __init__(self, performer_getter, map_functions=None, dependent=None): # A non-async function that, when given the result from `dependent`, # returns a function (can be asyn...
34.590909
130
0.756899
212
1,522
5.287736
0.334906
0.085638
0.084746
0.039251
0.055308
0
0
0
0
0
0
0
0.154402
1,522
43
131
35.395349
0.871018
0.269382
0
0.08
0
0
0.039275
0
0
0
0
0
0
1
0.16
false
0
0.04
0.12
0.44
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
e0b2c07865ad052d44155acce03ccf8298b33a16
461
py
Python
src/web/modules/ejudge/migrations/0013_solutioncheckingresult_report.py
fossabot/SIStema
1427dda2082688a9482c117d0e24ad380fdc26a6
[ "MIT" ]
5
2018-03-08T17:22:27.000Z
2018-03-11T14:20:53.000Z
src/web/modules/ejudge/migrations/0013_solutioncheckingresult_report.py
fossabot/SIStema
1427dda2082688a9482c117d0e24ad380fdc26a6
[ "MIT" ]
263
2018-03-08T18:05:12.000Z
2022-03-11T23:26:20.000Z
src/web/modules/ejudge/migrations/0013_solutioncheckingresult_report.py
fossabot/SIStema
1427dda2082688a9482c117d0e24ad380fdc26a6
[ "MIT" ]
6
2018-03-12T19:48:19.000Z
2022-01-14T04:58:52.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-04-09 16:19 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('ejudge', '0012_auto_20170405_1555'), ] operations = [ migrations.AddField( ...
21.952381
48
0.624729
49
461
5.693878
0.836735
0
0
0
0
0
0
0
0
0
0
0.096774
0.260304
461
20
49
23.05
0.721408
0.147505
0
0
1
0
0.146154
0.115385
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
e0bcadb7c65195d75ed159ac297ef006aef3b168
7,429
py
Python
tests/common/test_tech_common.py
michel-ds/coreferee
26d7066699fdf5ee1e48e1316d2c521adda6fe2d
[ "Apache-2.0" ]
null
null
null
tests/common/test_tech_common.py
michel-ds/coreferee
26d7066699fdf5ee1e48e1316d2c521adda6fe2d
[ "Apache-2.0" ]
null
null
null
tests/common/test_tech_common.py
michel-ds/coreferee
26d7066699fdf5ee1e48e1316d2c521adda6fe2d
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 msg systems ag # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, so...
47.018987
100
0.611119
996
7,429
4.35743
0.179719
0.165899
0.125346
0.185714
0.593779
0.559447
0.532949
0.48894
0.434793
0.350922
0
0.033663
0.224256
7,429
157
101
47.318471
0.719417
0.08063
0
0.34375
0
0
0.114696
0
0
0
0
0
0.375
1
0.070313
false
0
0.0625
0
0.148438
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e0bd3ca09f5a1d7fba1044af949c4423c5175dd3
708
py
Python
swigwin-3.0.12/Examples/test-suite/python/namespace_class_runme.py
bostich83/atomic_swig
5438f676d690ffddb09d88bbc1b51e3b38fa8c6a
[ "MIT" ]
null
null
null
swigwin-3.0.12/Examples/test-suite/python/namespace_class_runme.py
bostich83/atomic_swig
5438f676d690ffddb09d88bbc1b51e3b38fa8c6a
[ "MIT" ]
2
2020-03-24T18:19:22.000Z
2020-03-31T11:22:32.000Z
swigwin-3.0.12/Examples/test-suite/python/namespace_class_runme.py
bostich83/atomic_swig
5438f676d690ffddb09d88bbc1b51e3b38fa8c6a
[ "MIT" ]
1
2020-06-18T12:09:05.000Z
2020-06-18T12:09:05.000Z
from namespace_class import * def is_new_style_class(cls): return hasattr(cls, "__class__") try: p = Private1() error = 1 except: error = 0 if (error): raise RuntimeError, "Private1 is private" try: p = Private2() error = 1 except: error = 0 if (error): raise RuntimeError, "Pri...
15.06383
55
0.631356
112
708
3.767857
0.366071
0.018957
0.07109
0.106635
0.364929
0.199052
0.199052
0.199052
0.199052
0
0
0.036496
0.225989
708
46
56
15.391304
0.733577
0
0
0.30303
0
0
0.122881
0.033898
0
0
0
0
0
0
null
null
0
0.030303
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
e0c05d0d2a122cd679d4be2553e3a7ccd45778c9
13,895
py
Python
pryme/core.py
Calamitizer/pryme
46e4444ae96688b30c04f975c61df17c91ef698c
[ "Unlicense" ]
null
null
null
pryme/core.py
Calamitizer/pryme
46e4444ae96688b30c04f975c61df17c91ef698c
[ "Unlicense" ]
null
null
null
pryme/core.py
Calamitizer/pryme
46e4444ae96688b30c04f975c61df17c91ef698c
[ "Unlicense" ]
null
null
null
import math import numbers import fractions import operator from .decorators import * class Decomposition(dict): """ Decompose a number and store its prime factorization. Should be primarily called through decompose(n), to memoize the result. d = Decomposition(n) creates an object satisfying...
26.517176
94
0.565815
1,885
13,895
3.990451
0.150133
0.008774
0.015953
0.017549
0.361207
0.302712
0.258575
0.214172
0.162457
0.162457
0
0.014379
0.314286
13,895
523
95
26.567878
0.775084
0.007413
0
0.331593
0
0
0.014914
0
0
0
0
0
0.041775
0
null
null
0.005222
0.013055
null
null
0.010444
0
0
0
null
0
0
0
0
0
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
e0c1bf724e0eb4afb019a846c8317df858ca7451
683
py
Python
lib/taniumpy/object_types/upload_file_status.py
netsec/pytan
29a3484d21cb90d8896275febd1c535e4f3cdc7e
[ "MIT" ]
null
null
null
lib/taniumpy/object_types/upload_file_status.py
netsec/pytan
29a3484d21cb90d8896275febd1c535e4f3cdc7e
[ "MIT" ]
1
2021-12-08T08:29:26.000Z
2021-12-08T08:29:26.000Z
pytanlib/taniumpy/object_types/upload_file_status.py
splunk-soar-connectors/tanium
e6f38fd014ea125e11a584ac9932ad4e7e855ac7
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2015 Tanium Inc # # Generated from console.wsdl version 0.0.1 # # from .base import BaseType class UploadFileStatus(BaseType): _soap_tag = 'upload_file_status' def __init__(self): BaseType.__init__( self, simple_properties={'hash': str, ...
21.34375
62
0.581259
69
683
5.42029
0.550725
0.064171
0.064171
0
0
0
0
0
0
0
0
0.015385
0.333821
683
31
63
22.032258
0.806593
0.103953
0
0
1
0
0.098498
0
0
0
0
0
0
1
0.058824
false
0
0.117647
0
0.294118
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
e0c72824d773488868acfcadfa77c98ccda28aca
5,037
py
Python
backend/src/gloader/xml/xslt/ParsedStepPattern.py
anrl/gini4
d26649c8c02a1737159e48732cf1ee15ba2a604d
[ "MIT" ]
11
2019-03-02T20:39:34.000Z
2021-09-02T19:47:38.000Z
backend/src/gloader/xml/xslt/ParsedStepPattern.py
anrl/gini4
d26649c8c02a1737159e48732cf1ee15ba2a604d
[ "MIT" ]
29
2019-01-17T15:44:48.000Z
2021-06-02T00:19:40.000Z
backend/src/gloader/xml/xslt/ParsedStepPattern.py
anrl/gini4
d26649c8c02a1737159e48732cf1ee15ba2a604d
[ "MIT" ]
11
2019-01-28T05:00:55.000Z
2021-11-12T03:08:32.000Z
######################################################################## # # File Name: ParsedStepPattern.py # # """ Parse class to handle XSLT StepPatterns WWW: http://4suite.com/4XSLT e-mail: support@4suite.com Copyright (c) 1999-2000 Fourthought Inc, USA. All Rights Reserved. See http://4suite....
34.033784
75
0.579313
532
5,037
5.364662
0.227444
0.067274
0.047652
0.042046
0.565522
0.516468
0.434828
0.379467
0.347232
0.347232
0
0.005737
0.307921
5,037
147
76
34.265306
0.812966
0.044074
0
0.457944
0
0
0.015398
0
0
0
0
0
0
0
null
null
0
0.028037
null
null
0.074766
0
0
0
null
0
0
0
0
0
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
e0ccfe5418b2458eb1dce121d8d6bf191d0ff62e
881
py
Python
hw5/test_ntheory.py
t-ye/pysha3
11c2a3f4ec4fb9dc8e5fac0b687252e9eb65b3b5
[ "MIT" ]
null
null
null
hw5/test_ntheory.py
t-ye/pysha3
11c2a3f4ec4fb9dc8e5fac0b687252e9eb65b3b5
[ "MIT" ]
null
null
null
hw5/test_ntheory.py
t-ye/pysha3
11c2a3f4ec4fb9dc8e5fac0b687252e9eb65b3b5
[ "MIT" ]
null
null
null
print('Testing ntheory...', end='\t') from ntheory import gcd,modinv,egcd,crt gcd_tests = [ (1,1,1), (1,2,1), (2,2,2), (2,4,2), (3*5, 3*7, 3), (312, 182, 26) ] for (a,b,d) in gcd_tests : assert gcd(a,b) == d x,y,d = egcd(a,b) assert x*a + y*b == d modinv_tests = [ (2,5), # 2*3...
19.577778
118
0.485812
190
881
2.221053
0.305263
0.018957
0.014218
0
0
0
0
0
0
0
0
0.160714
0.23723
881
44
119
20.022727
0.467262
0.08059
0
0
0
0
0.081988
0
0
0
0
0
0.108108
1
0
false
0
0.027027
0
0.027027
0.054054
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e0d19b6486eedbe37c815e2396996a6a375f8ee2
29,323
py
Python
dog_cat_test/detFunc_Dog.py
UrwLee/Remo_experience
a59d5b9d6d009524672e415c77d056bc9dd88c72
[ "MIT" ]
null
null
null
dog_cat_test/detFunc_Dog.py
UrwLee/Remo_experience
a59d5b9d6d009524672e415c77d056bc9dd88c72
[ "MIT" ]
null
null
null
dog_cat_test/detFunc_Dog.py
UrwLee/Remo_experience
a59d5b9d6d009524672e415c77d056bc9dd88c72
[ "MIT" ]
null
null
null
#-*- coding=utf-8 -*- import sys import os print(sys.path) sys.path.insert(0, "/home/remo/anaconda2/") import cv2 import random import glob sys.path.insert(0, '/home/remo/Desktop/remodet_repository_llp/python') import caffe import numpy as np sys.path.append("../") import img_func as func import math sys.path.append("/...
56.608108
206
0.583365
3,949
29,323
3.976956
0.121803
0.052977
0.048138
0.060172
0.635848
0.596243
0.545941
0.51595
0.507418
0.493983
0
0.064382
0.277495
29,323
517
207
56.717602
0.676909
0.508816
0
0.18677
0
0
0.184551
0.170684
0
0
0
0
0.003891
0
null
null
0.003891
0.038911
null
null
0.023346
0
0
0
null
0
0
0
0
0
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
e0d6f1678444924660eabca731fb27ed5f77afdf
992
py
Python
app/__init__.py
Hulian2000/Mazao-Market
14baeef297cb5e4f6b720c8c623f9c7310fd9869
[ "MIT" ]
null
null
null
app/__init__.py
Hulian2000/Mazao-Market
14baeef297cb5e4f6b720c8c623f9c7310fd9869
[ "MIT" ]
21
2019-09-24T13:24:28.000Z
2021-06-02T00:27:14.000Z
app/__init__.py
Hulian2000/Mazao-Market
14baeef297cb5e4f6b720c8c623f9c7310fd9869
[ "MIT" ]
3
2019-09-24T15:47:55.000Z
2019-09-25T06:42:23.000Z
import os from flask import Flask from flask_bootstrap import Bootstrap from flask_login import LoginManager ################################## from flask_mail import Mail from flask_sqlalchemy import SQLAlchemy from config import Config app = Flask(__name__) login_manager = LoginManager(app) login_manager.session_p...
26.810811
58
0.724798
134
992
5.134328
0.328358
0.078488
0.094477
0.049419
0
0
0
0
0
0
0
0.003436
0.11996
992
36
59
27.555556
0.784651
0
0
0
0
0
0.116631
0
0
0
0
0
0
1
0.037037
false
0.037037
0.333333
0
0.407407
0.148148
0
0
0
null
0
0
0
0
0
0
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
e0d7e3615b0b6ade23fe07ac3049b83ef0ef95e5
4,031
py
Python
src/robot/model/keyword.py
yahman72/robotframework
9f82d9a2bf088073859eb23a33d275c6a8c0b975
[ "ECL-2.0", "Apache-2.0" ]
1
2015-03-11T14:59:20.000Z
2015-03-11T14:59:20.000Z
src/robot/model/keyword.py
yahman72/robotframework
9f82d9a2bf088073859eb23a33d275c6a8c0b975
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/robot/model/keyword.py
yahman72/robotframework
9f82d9a2bf088073859eb23a33d275c6a8c0b975
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# Copyright 2008-2015 Nokia Solutions and Networks # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
32.248
79
0.64128
509
4,031
4.921415
0.29666
0.033533
0.028743
0.025549
0.034331
0
0
0
0
0
0
0.007316
0.254031
4,031
124
80
32.508065
0.82574
0.311585
0
0.133333
0
0
0.054034
0
0
0
0
0
0
1
0.186667
false
0
0.08
0.066667
0.546667
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
e0dabad193c8764eeab7b12b5e369e2069bdf444
740
py
Python
scripts/sequencing/run_quality.py
kellylab/genomic-surveillance-of-the-bronx
14a58b89e99946c92287387c6ac1fb34c6c0cde4
[ "Unlicense" ]
null
null
null
scripts/sequencing/run_quality.py
kellylab/genomic-surveillance-of-the-bronx
14a58b89e99946c92287387c6ac1fb34c6c0cde4
[ "Unlicense" ]
null
null
null
scripts/sequencing/run_quality.py
kellylab/genomic-surveillance-of-the-bronx
14a58b89e99946c92287387c6ac1fb34c6c0cde4
[ "Unlicense" ]
1
2021-09-15T16:49:38.000Z
2021-09-15T16:49:38.000Z
# This script gets quality metrics for the outputs. import pandas as pd import numpy as np import matplotlib.pyplot as plt from tqdm import tqdm from covid_bronx.quality import fasta_files, sam_files from covid_bronx.quality.gaps import * primer_binding_sites = "data/external/amplicon_binding_sites.csv" for sample_...
30.833333
96
0.747297
110
740
4.781818
0.454545
0.091255
0.053232
0.079848
0.110266
0.110266
0
0
0
0
0
0
0.171622
740
23
97
32.173913
0.858075
0.066216
0
0
0
0
0.223837
0.170058
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e0ded82121643aa43c54656ce6c48ed62b4bc63b
1,483
py
Python
fast_molvae/encode_smiles.py
A2Kumar/icml18-jtnn-AK
a8bd0d66d5f3ef534b38d9274f7ed403fb3e3288
[ "MIT" ]
null
null
null
fast_molvae/encode_smiles.py
A2Kumar/icml18-jtnn-AK
a8bd0d66d5f3ef534b38d9274f7ed403fb3e3288
[ "MIT" ]
null
null
null
fast_molvae/encode_smiles.py
A2Kumar/icml18-jtnn-AK
a8bd0d66d5f3ef534b38d9274f7ed403fb3e3288
[ "MIT" ]
null
null
null
import torch import torch.nn as nn import torch.optim as optim import torch.optim.lr_scheduler as lr_scheduler from torch.utils.data import DataLoader from torch.autograd import Variable import math, random, sys import numpy as np import pandas as pd import argparse from collections import deque import pickle as pickl...
26.017544
76
0.718813
259
1,483
3.96139
0.389961
0.042885
0.031189
0.017544
0.019493
0
0
0
0
0
0
0.027153
0.130816
1,483
57
77
26.017544
0.768813
0
0
0
0
0
0.07345
0.020216
0
0
0
0
0
1
0
false
0
0.3125
0
0.3125
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e0df38da4933d8f1fbe02cbc3fd2c2fa8f4929b1
316
py
Python
login/urls.py
wgenesis/GenesisFileBrowser
946a883202189f822689149d697da4925b120f31
[ "MIT" ]
null
null
null
login/urls.py
wgenesis/GenesisFileBrowser
946a883202189f822689149d697da4925b120f31
[ "MIT" ]
null
null
null
login/urls.py
wgenesis/GenesisFileBrowser
946a883202189f822689149d697da4925b120f31
[ "MIT" ]
null
null
null
from django.urls import path from . import views app_name='login' #主路由 urlpatterns = [ path('registerVaild',views.RegisterVaild), path('index/',views.Index), path('login/',views.Login), path('register/',views.Register), #path('register/',views.RegisterVaild), path('logout/',views.Logout), ]
24.307692
46
0.68038
37
316
5.783784
0.405405
0.168224
0.205607
0
0
0
0
0
0
0
0
0
0.139241
316
13
47
24.307692
0.786765
0.129747
0
0
0
0
0.167883
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e0e5bf8efe9a67f56a957a1ff667d06a57701cb7
3,441
py
Python
homeassistant/components/flume/config_flow.py
tbarbette/core
8e58c3aa7bc8d2c2b09b6bd329daa1c092d52d3c
[ "Apache-2.0" ]
6
2017-08-02T19:26:39.000Z
2020-03-14T22:47:41.000Z
homeassistant/components/flume/config_flow.py
tbarbette/core
8e58c3aa7bc8d2c2b09b6bd329daa1c092d52d3c
[ "Apache-2.0" ]
58
2020-08-03T07:33:02.000Z
2022-03-31T06:02:05.000Z
homeassistant/components/flume/config_flow.py
tbarbette/core
8e58c3aa7bc8d2c2b09b6bd329daa1c092d52d3c
[ "Apache-2.0" ]
14
2018-08-19T16:28:26.000Z
2021-09-02T18:26:53.000Z
"""Config flow for flume integration.""" from functools import partial import logging from pyflume import FlumeAuth, FlumeDeviceList from requests.exceptions import RequestException import voluptuous as vol from homeassistant import config_entries, core, exceptions from homeassistant.const import ( CONF_CLIENT_ID...
31.281818
86
0.674223
411
3,441
5.416058
0.345499
0.032345
0.026954
0.024259
0.085355
0.025157
0
0
0
0
0
0.000774
0.249346
3,441
109
87
31.568807
0.861014
0.120023
0
0.027397
0
0
0.039362
0.011348
0
0
0
0
0
1
0
false
0.054795
0.136986
0
0.260274
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
e0e8f094077558f435dcf821d7f989c1b88c3f8c
2,292
py
Python
docs/src/conf.py
smythp/piccolo
26d5742c5d56ef6308598eb264d53a247082bbc7
[ "MIT" ]
6
2021-09-27T14:33:08.000Z
2021-11-18T13:52:34.000Z
docs/src/conf.py
smythp/piccolo
26d5742c5d56ef6308598eb264d53a247082bbc7
[ "MIT" ]
5
2021-09-27T13:58:35.000Z
2022-03-08T01:11:51.000Z
docs/src/conf.py
smythp/piccolo
26d5742c5d56ef6308598eb264d53a247082bbc7
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # Configuration file for the Sphinx documentation builder. # # This file does only contain a selection of the most common options. For a # full list see the documentation: # http://www.sphinx-doc.org/en/master/config # -- Path setup ------------------------------------------------------------...
29.766234
79
0.582897
246
2,292
5.333333
0.569106
0.030488
0.043445
0
0
0
0
0
0
0
0
0.004493
0.126091
2,292
76
80
30.157895
0.650524
0.606021
0
0
0
0
0.245995
0.025172
0
0
0
0.013158
0
1
0
false
0
0.148148
0
0.148148
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
e0eb63eaec76941a4e7586b5c221ed9bee0e3e78
5,259
py
Python
src/main/python/bktools/framework/google/sheet/model.py
bspa10/bktools
8ddff2bb325df6c4c2bb5cadd3029c0e11ba0734
[ "MIT" ]
null
null
null
src/main/python/bktools/framework/google/sheet/model.py
bspa10/bktools
8ddff2bb325df6c4c2bb5cadd3029c0e11ba0734
[ "MIT" ]
null
null
null
src/main/python/bktools/framework/google/sheet/model.py
bspa10/bktools
8ddff2bb325df6c4c2bb5cadd3029c0e11ba0734
[ "MIT" ]
null
null
null
# encoding: utf-8 # Standard Library import json from typing import Any from typing import Dict from typing import List from typing import Union from typing import Optional from typing import NoReturn # 3rd Party Library from requests import Response # Current Folder from .exception import ColumnException from .exce...
27.825397
120
0.562654
511
5,259
5.485323
0.217221
0.051017
0.034249
0.029968
0.190867
0.163396
0.142704
0.092044
0.035676
0
0
0.001895
0.297775
5,259
188
121
27.973404
0.757108
0.038791
0
0.231343
0
0
0.102615
0.012876
0
0
0
0
0
1
0.186567
false
0
0.08209
0.126866
0.462687
0.007463
0
0
0
null
0
0
0
0
0
0
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
e0ed7ca01cdf63e1f0161c84741a1846a7cf79ee
1,513
py
Python
tests/unit/api/test_Jupyter_Session.py
manish2kcoder/OSBot-Jupyter
9645e81de4778c2d30fb9dd1e2c1516d4f4c7905
[ "Apache-2.0" ]
null
null
null
tests/unit/api/test_Jupyter_Session.py
manish2kcoder/OSBot-Jupyter
9645e81de4778c2d30fb9dd1e2c1516d4f4c7905
[ "Apache-2.0" ]
null
null
null
tests/unit/api/test_Jupyter_Session.py
manish2kcoder/OSBot-Jupyter
9645e81de4778c2d30fb9dd1e2c1516d4f4c7905
[ "Apache-2.0" ]
null
null
null
from unittest import TestCase from pbx_gs_python_utils.utils.Dev import Dev from pbx_gs_python_utils.utils.Misc import Misc from osbot_jupyter.api.Jupyter_Kernel import Jupyter_Kernel from osbot_jupyter.helpers.Test_Server import Test_Server class test_Jupyter_Session(TestCase): def setUp(self): self.n...
30.877551
97
0.654329
205
1,513
4.634146
0.282927
0.069474
0.150526
0.08
0.181053
0.181053
0.071579
0
0
0
0
0.00341
0.224719
1,513
48
98
31.520833
0.806479
0
0
0
0
0
0.054305
0
0
0
0
0
0.333333
1
0.212121
false
0
0.151515
0
0.393939
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
0
1
0
0
0
0
0
0
0
1
e0ee7c51d5d5b9d2d6796dc47c97a5744721ab1d
1,984
py
Python
arjuna-samples/workspace/arjex-new/tests/s01_config_and_selenium_wrapper/y25_dynamic_with_def.py
test-mile/arjuna
21880b41e061e11bac2e600a3614684f8af75b2f
[ "Apache-2.0" ]
9
2018-11-15T10:09:17.000Z
2021-01-12T05:59:19.000Z
arjuna-samples/workspace/arjex-new/tests/s01_config_and_selenium_wrapper/y25_dynamic_with_def.py
test-mile/arjuna
21880b41e061e11bac2e600a3614684f8af75b2f
[ "Apache-2.0" ]
2
2019-07-01T15:33:46.000Z
2019-07-12T13:04:08.000Z
arjuna-samples/workspace/arjex-new/tests/s01_config_and_selenium_wrapper/y25_dynamic_with_def.py
test-mile/arjuna
21880b41e061e11bac2e600a3614684f8af75b2f
[ "Apache-2.0" ]
4
2018-12-02T15:14:04.000Z
2020-05-28T12:57:24.000Z
''' Testers use 3 approaches for Dropdown controls in web test automation using Selenium. 1. Using Selenium's Select class as it provides higher level methods. 2. Using sendKeys() method of WebElement. 3. (Especially for custom select controls) - Click the drop down control and then click the option. Arjuna tries to ...
33.066667
116
0.777218
297
1,984
5.127946
0.474747
0.039396
0.060407
0.070913
0.351937
0.332239
0.332239
0.216678
0.216678
0.147078
0
0.016412
0.109375
1,984
60
117
33.066667
0.845501
0.108367
0
0.347826
0
0
0.051158
0.033784
0
0
0
0
0
0
null
null
0
0.173913
null
null
0.173913
0
0
0
null
0
0
0
0
0
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
e0f40dac95ee8046281eef734b94c8acb4b3ce89
362
py
Python
atlasv1/urls.py
CBitLabs/atlas
d205924dc3938ef49f156148ac1dda20220f7575
[ "MIT" ]
null
null
null
atlasv1/urls.py
CBitLabs/atlas
d205924dc3938ef49f156148ac1dda20220f7575
[ "MIT" ]
null
null
null
atlasv1/urls.py
CBitLabs/atlas
d205924dc3938ef49f156148ac1dda20220f7575
[ "MIT" ]
null
null
null
from django.conf.urls import patterns, include, url from django.conf import settings from django.contrib import admin from django.conf.urls.static import static admin.autodiscover() urlpatterns = patterns('', url(r'^admin/', include(admin.site.urls)), url(r'', include('appv1.url')), ) + static(settings.STATIC...
30.166667
67
0.756906
50
362
5.42
0.38
0.147601
0.154982
0.132841
0
0
0
0
0
0
0
0.003106
0.110497
362
11
68
32.909091
0.838509
0
0
0
0
0
0.044199
0
0
0
0
0
0
1
0
false
0
0.444444
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e0f6205f3b65428c69735762eba650ada545ee32
5,528
py
Python
ansible/lib/ansible/modules/extras/cloud/amazon/ec2_win_password.py
kiv-box/redis
966a0c3f0a51282cd173b42a6e249d23f4e89dec
[ "Apache-2.0" ]
null
null
null
ansible/lib/ansible/modules/extras/cloud/amazon/ec2_win_password.py
kiv-box/redis
966a0c3f0a51282cd173b42a6e249d23f4e89dec
[ "Apache-2.0" ]
null
null
null
ansible/lib/ansible/modules/extras/cloud/amazon/ec2_win_password.py
kiv-box/redis
966a0c3f0a51282cd173b42a6e249d23f4e89dec
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # # This is a free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This Ansible library is distributed in the hope that i...
31.409091
265
0.680355
758
5,528
4.849604
0.316623
0.027203
0.020403
0.015234
0.260065
0.214635
0.163493
0.163493
0.13901
0.13901
0
0.012253
0.232272
5,528
175
266
31.588571
0.853911
0.117764
0
0.371429
0
0.014286
0.4819
0.026327
0
0
0
0
0
1
0.007143
false
0.192857
0.071429
0
0.078571
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
e0fc448aaf0e606cb3008002e792b691901433f8
925
py
Python
jsonclasses_pymongo/pconf.py
Jesse-Yung/jsonclasses-pymongo
03cf763cb0f8e95497397ac85652126ddd256b13
[ "MIT" ]
null
null
null
jsonclasses_pymongo/pconf.py
Jesse-Yung/jsonclasses-pymongo
03cf763cb0f8e95497397ac85652126ddd256b13
[ "MIT" ]
null
null
null
jsonclasses_pymongo/pconf.py
Jesse-Yung/jsonclasses-pymongo
03cf763cb0f8e95497397ac85652126ddd256b13
[ "MIT" ]
null
null
null
from __future__ import annotations from typing import Optional from jsonclasses.jconf import JConf from inflection import pluralize class PConf: def __init__(self: PConf, cls: type, config: JConf, collection_name: Optional[str], camelize_db_keys...
28.90625
77
0.607568
102
925
5.156863
0.343137
0.114068
0.159696
0.068441
0
0
0
0
0
0
0
0
0.325405
925
31
78
29.83871
0.842949
0
0
0.12
0
0
0
0
0
0
0
0
0
1
0.16
false
0
0.16
0.12
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
0
0
0
0
1
0
0
0
1
46041946a7644c09fcc860fbf2819864b7df5bd0
2,537
py
Python
VGG16/VGG16.py
dunky11/PyTorch-neural-networks
26544443780e06aa62eb52f78f8eb5037673b610
[ "MIT" ]
null
null
null
VGG16/VGG16.py
dunky11/PyTorch-neural-networks
26544443780e06aa62eb52f78f8eb5037673b610
[ "MIT" ]
null
null
null
VGG16/VGG16.py
dunky11/PyTorch-neural-networks
26544443780e06aa62eb52f78f8eb5037673b610
[ "MIT" ]
null
null
null
import torch import torch.nn as nn class VGG16(nn.Module): def __init__(self, input_shape: tuple, output_dim: int): super().__init__() fc_dim = int((input_shape[1] * 0.5**5) * (input_shape[2] * 0.5 ** 5) * 512) self.maxpool = nn.MaxPool2d((2, 2), 2) self.relu =...
36.242857
62
0.528577
413
2,537
3.050847
0.113801
0.165079
0.095238
0.165079
0.680952
0.647619
0.647619
0.489683
0.489683
0.389683
0
0.125434
0.318092
2,537
69
63
36.768116
0.60289
0
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.030303
false
0
0.030303
0
0.090909
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4605418f9ef7741ea6d34ce0af98e06974ff3a41
15,120
py
Python
federatedml/nn/hetero_nn/backend/hetero_nn_model.py
yzjba/FATE
9a6d252da637b2583a0f8a51f6cb4c615850bab9
[ "Apache-2.0" ]
32
2020-06-12T08:39:58.000Z
2022-03-20T06:57:08.000Z
federatedml/nn/hetero_nn/backend/hetero_nn_model.py
ErikSun2020/FATE
bdda535c7d8a974fc2c43102837964b7da199730
[ "Apache-2.0" ]
10
2020-11-13T18:55:48.000Z
2022-02-10T02:00:12.000Z
federatedml/nn/hetero_nn/backend/hetero_nn_model.py
ErikSun2020/FATE
bdda535c7d8a974fc2c43102837964b7da199730
[ "Apache-2.0" ]
16
2020-06-12T06:51:46.000Z
2022-03-29T10:23:42.000Z
# # Copyright 2019 The FATE Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
39.789474
98
0.697222
1,876
15,120
5.24307
0.089019
0.03904
0.044225
0.02928
0.782229
0.72438
0.69632
0.658398
0.634404
0.595161
0
0.001724
0.232672
15,120
379
99
39.894459
0.846061
0.041204
0
0.647287
0
0
0.004346
0
0
0
0
0
0
1
0.127907
false
0
0.050388
0
0.209302
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
46094a39125ba50e6dbb453880b41eb5d89aeb2c
1,288
py
Python
day8.py
jlucangelio/adventofcode-2017
339cd4488dd6b398a664845199e19ba38f173afa
[ "MIT" ]
null
null
null
day8.py
jlucangelio/adventofcode-2017
339cd4488dd6b398a664845199e19ba38f173afa
[ "MIT" ]
null
null
null
day8.py
jlucangelio/adventofcode-2017
339cd4488dd6b398a664845199e19ba38f173afa
[ "MIT" ]
null
null
null
class RegisterBank(object): def __init__(self): self.regs = {} def get(self, reg): if reg in self.regs: return self.regs[reg] else: self.regs[reg] = 0 return 0 def set(self, reg, val): self.regs[reg] = val with open("day8.input") as f: ...
22.596491
77
0.505435
188
1,288
3.319149
0.271277
0.038462
0.112179
0.153846
0.293269
0.293269
0.224359
0.224359
0.224359
0.224359
0
0.009512
0.34705
1,288
56
78
23
0.732461
0.018634
0
0
0
0
0.025357
0
0
0
0
0
0
0
null
null
0
0
null
null
0.093023
0
0
0
null
0
0
0
0
0
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
461652dc1d58e915f841ec57c01fe485ce39c98d
502
py
Python
law/svem_scraper/scripts/extract_rubric_links.py
ilivans/web-scrapers
677c8dc5cd1d1691e45d5b92a1988a23e2288d0b
[ "MIT" ]
null
null
null
law/svem_scraper/scripts/extract_rubric_links.py
ilivans/web-scrapers
677c8dc5cd1d1691e45d5b92a1988a23e2288d0b
[ "MIT" ]
null
null
null
law/svem_scraper/scripts/extract_rubric_links.py
ilivans/web-scrapers
677c8dc5cd1d1691e45d5b92a1988a23e2288d0b
[ "MIT" ]
null
null
null
import re import cPickle NUM_PARTS = 10 rubrics_page = open('../../data/svem-questions-rubric.html').read() rubric_links = re.findall(re.compile('(?<=<li><a href="/)([\w-]+/)'), rubrics_page) rubric_links = map(lambda tail: 'http://svem.ru/' + tail, rubric_links) size = len(rubric_links) part = size / NUM_PARTS + 1...
29.529412
83
0.641434
79
502
3.936709
0.531646
0.212219
0.038585
0
0
0
0
0
0
0
0
0.013986
0.145418
502
16
84
31.375
0.710956
0
0
0
0
0
0.219124
0.129482
0
0
0
0
0
1
0
false
0
0.181818
0
0.181818
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
461a69da7239093c7ad85e2b446e49021e726e6e
1,577
py
Python
TurtleCore/PythonCode/Vec2DClass.py
FrankFK/simple-graphics-for-csharp-beginners
bce70fc0d34e45a715b221fac1cc973b42b0d864
[ "MIT" ]
null
null
null
TurtleCore/PythonCode/Vec2DClass.py
FrankFK/simple-graphics-for-csharp-beginners
bce70fc0d34e45a715b221fac1cc973b42b0d864
[ "MIT" ]
null
null
null
TurtleCore/PythonCode/Vec2DClass.py
FrankFK/simple-graphics-for-csharp-beginners
bce70fc0d34e45a715b221fac1cc973b42b0d864
[ "MIT" ]
null
null
null
class Vec2D(tuple): """A 2 dimensional vector class, used as a helper class for implementing turtle graphics. May be useful for turtle graphics programs also. Derived from tuple, so a vector is a tuple! Provides (for a, b vectors, k number): a+b vector addition a-b vector subtraction ...
36.674419
62
0.598605
229
1,577
3.951965
0.340611
0.049724
0.099448
0.106077
0.278453
0.192265
0.192265
0.192265
0.099448
0.099448
0
0.032787
0.26506
1,577
42
63
37.547619
0.747196
0
0
0.071429
0
0
0.01011
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
461c17e86a4387757ef203ed628c69a3598397f4
2,380
py
Python
pytorch_lightning/trainer/states.py
dkmiller/pytorch-lightning
ba17e2b6b5b02e9e87f9442b948d485f10aa56f8
[ "Apache-2.0" ]
1
2020-09-18T16:30:53.000Z
2020-09-18T16:30:53.000Z
pytorch_lightning/trainer/states.py
dkmiller/pytorch-lightning
ba17e2b6b5b02e9e87f9442b948d485f10aa56f8
[ "Apache-2.0" ]
null
null
null
pytorch_lightning/trainer/states.py
dkmiller/pytorch-lightning
ba17e2b6b5b02e9e87f9442b948d485f10aa56f8
[ "Apache-2.0" ]
null
null
null
# Copyright The PyTorch Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
37.1875
114
0.677311
303
2,380
5.290429
0.392739
0.03743
0.043044
0.029944
0.094822
0.052402
0
0
0
0
0
0.002236
0.248319
2,380
63
115
37.777778
0.893795
0.519328
0
0.071429
0
0
0.034799
0
0
0
0
0
0
1
0.107143
false
0
0.142857
0
0.607143
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
1ca5daa65759824bb5462f8746a2e6350151c3c1
2,200
py
Python
components/PyMimeData.py
go2net/PythonBlocks
4d42121e4af850ba1bf9a4140c11fe10ba218cdd
[ "MIT" ]
9
2015-10-06T05:36:20.000Z
2019-04-21T12:13:35.000Z
components/PyMimeData.py
go2net/PythonBlocks
4d42121e4af850ba1bf9a4140c11fe10ba218cdd
[ "MIT" ]
null
null
null
components/PyMimeData.py
go2net/PythonBlocks
4d42121e4af850ba1bf9a4140c11fe10ba218cdd
[ "MIT" ]
2
2015-10-07T15:52:37.000Z
2020-04-27T12:36:20.000Z
from PyQt4.QtCore import * from PyQt4.QtGui import * from pickle import dumps, load, loads class PyMimeData(QMimeData): """ The PyMimeData wraps a Python instance as MIME data. """ # The MIME type for instances. MIME_TYPE = 'application/x-ets-qt4-instance' def __init__(self, data...
26.190476
79
0.539091
256
2,200
4.507813
0.339844
0.048527
0.073657
0.020797
0.147314
0.147314
0.107452
0.107452
0.107452
0.107452
0
0.002224
0.386818
2,200
83
80
26.506024
0.853225
0.293182
0
0.289474
0
0
0.021008
0.021008
0
0
0
0
0
1
0.105263
false
0.052632
0.078947
0
0.473684
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
1ca7b0c5fd583c150a28d4459171bd0c2acf3afa
1,218
py
Python
abyssal_modules/migrations/0003_type_attributes.py
kimnnmadsen/eve-abyssal-market
1e07498b98be9282b969badff51d55258c72e7ed
[ "MIT" ]
13
2018-08-23T14:27:22.000Z
2020-12-07T12:35:38.000Z
abyssal_modules/migrations/0003_type_attributes.py
kimnnmadsen/eve-abyssal-market
1e07498b98be9282b969badff51d55258c72e7ed
[ "MIT" ]
25
2018-10-09T14:37:33.000Z
2020-05-15T20:21:48.000Z
abyssal_modules/migrations/0003_type_attributes.py
kimnnmadsen/eve-abyssal-market
1e07498b98be9282b969badff51d55258c72e7ed
[ "MIT" ]
4
2021-08-12T05:34:05.000Z
2022-01-06T05:28:36.000Z
# Generated by Django 2.0.5 on 2018-09-01 12:49 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('abyssal_modules', '0002_remove_ownershiprecord'), ] operations = [ migrations.RemoveField( mode...
36.909091
166
0.636289
115
1,218
6.582609
0.521739
0.09247
0.055482
0.087186
0.269485
0.182299
0.182299
0.182299
0.182299
0.182299
0
0.020541
0.240558
1,218
32
167
38.0625
0.797838
0.036946
0
0.269231
1
0
0.230572
0.152007
0
0
0
0
0
1
0
false
0
0.076923
0
0.192308
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
1ca8811bf8ca0a8ef86e8724c654da1f87d40c80
408
py
Python
plugins/dumbno/komand_dumbno/connection/connection.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
46
2019-06-05T20:47:58.000Z
2022-03-29T10:18:01.000Z
plugins/dumbno/komand_dumbno/connection/connection.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
386
2019-06-07T20:20:39.000Z
2022-03-30T17:35:01.000Z
plugins/dumbno/komand_dumbno/connection/connection.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
43
2019-07-09T14:13:58.000Z
2022-03-28T12:04:46.000Z
import komand import dumbno from .schema import ConnectionSchema # Custom imports below class Connection(komand.Connection): def __init__(self): super(self.__class__, self).__init__(input=ConnectionSchema()) def connect(self, params={}): self.host = params.get("host") self.port = par...
25.5
70
0.691176
49
408
5.510204
0.469388
0.059259
0
0
0
0
0
0
0
0
0
0.012048
0.186275
408
15
71
27.2
0.801205
0.04902
0
0
0
0
0.020725
0
0
0
0
0
0
1
0.2
false
0
0.3
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1ca9e17c153d16686e2f3020885908c15e927d8e
5,140
py
Python
invenio_explicit_acls/acls/propertyvalue_acls.py
oarepo/invenio-acls
a649b2e71e729e3bcfa44110afeb73358aa6034a
[ "MIT" ]
null
null
null
invenio_explicit_acls/acls/propertyvalue_acls.py
oarepo/invenio-acls
a649b2e71e729e3bcfa44110afeb73358aa6034a
[ "MIT" ]
7
2019-05-08T08:35:01.000Z
2021-06-25T15:21:34.000Z
invenio_explicit_acls/acls/propertyvalue_acls.py
oarepo/invenio-explicit-acls
a649b2e71e729e3bcfa44110afeb73358aa6034a
[ "MIT" ]
2
2019-03-31T19:07:30.000Z
2019-05-06T08:11:45.000Z
# # Copyright (c) 2019 UCT Prague. # # propertyvalue_acls.py is part of Invenio Explicit ACLs # (see https://github.com/oarepo/invenio-explicit-acls). # # 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 ...
36.197183
118
0.678016
656
5,140
5.208841
0.36128
0.028095
0.017559
0.014047
0.135792
0.082529
0.050922
0.050922
0.028095
0.028095
0
0.005016
0.224319
5,140
141
119
36.453901
0.852019
0.338327
0
0
0
0
0.131179
0.048289
0
0
0
0
0
1
0.04918
false
0
0.114754
0
0.606557
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
1cab341ffed2a2d2f5c621f51e437b8fae4c98ff
404
py
Python
python/easy/(214) time-to-eat.py
tdsymonds/codeeval
9f41143526661852d3d6473590deb65803e8037c
[ "MIT" ]
null
null
null
python/easy/(214) time-to-eat.py
tdsymonds/codeeval
9f41143526661852d3d6473590deb65803e8037c
[ "MIT" ]
null
null
null
python/easy/(214) time-to-eat.py
tdsymonds/codeeval
9f41143526661852d3d6473590deb65803e8037c
[ "MIT" ]
null
null
null
from datetime import datetime import sys with open(sys.argv[1], 'r') as f: for line in f.readlines(): if line: line = line.strip() line = line.split(' ') sorted_times = sorted([datetime.strptime(x, '%H:%M:%S') for x in line], reverse=True) for time i...
33.666667
98
0.522277
54
404
3.87037
0.555556
0.114833
0.028708
0
0
0
0
0
0
0
0
0.003774
0.344059
404
12
99
33.666667
0.784906
0
0
0
0
0
0.045685
0
0
0
0
0
0
0
null
null
0
0.181818
null
null
0.181818
0
0
0
null
0
0
0
0
0
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
1cb7f70b2fec811a5102a39b0211c8b58de077a0
5,146
py
Python
rustici_software_cloud_v2/models/invitation_email_schema.py
RusticiSoftware/scormcloud-api-v2-client-python
04e2cce304a336caf492c3330c706840815c4abe
[ "Apache-2.0" ]
2
2020-07-21T10:33:39.000Z
2021-08-17T21:40:13.000Z
rustici_software_cloud_v2/models/invitation_email_schema.py
RusticiSoftware/scormcloud-api-v2-client-python
04e2cce304a336caf492c3330c706840815c4abe
[ "Apache-2.0" ]
2
2020-10-22T20:58:19.000Z
2020-10-27T17:25:28.000Z
rustici_software_cloud_v2/models/invitation_email_schema.py
RusticiSoftware/scormcloud-api-v2-client-python
04e2cce304a336caf492c3330c706840815c4abe
[ "Apache-2.0" ]
1
2020-10-15T17:11:15.000Z
2020-10-15T17:11:15.000Z
# coding: utf-8 """ SCORM Cloud Rest API REST API used for SCORM Cloud integrations. # noqa: E501 OpenAPI spec version: 2.0 Contact: systems@rusticisoftware.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class Invita...
29.405714
188
0.584337
588
5,146
5.030612
0.231293
0.051386
0.109533
0.09432
0.38979
0.349222
0.342123
0.236646
0.158891
0.123056
0
0.018993
0.324718
5,146
174
189
29.574713
0.83223
0.384959
0
0.064935
1
0
0.055855
0
0
0
0
0
0
1
0.155844
false
0
0.038961
0
0.350649
0.025974
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
1cc34b805f8849db70bd75215b37a941e17d80fe
6,428
py
Python
pybes/utils/bes_constants.py
GreenBuildingRegistry/py-bes
5822e04eea7317f86c6f39919d9f131bb91fc259
[ "MIT" ]
2
2018-05-22T18:20:19.000Z
2018-05-22T18:34:04.000Z
pybes/utils/bes_constants.py
SEED-platform/py-bes
5822e04eea7317f86c6f39919d9f131bb91fc259
[ "MIT" ]
null
null
null
pybes/utils/bes_constants.py
SEED-platform/py-bes
5822e04eea7317f86c6f39919d9f131bb91fc259
[ "MIT" ]
1
2018-11-20T18:45:51.000Z
2018-11-20T18:45:51.000Z
#!/usr/bin/env python # encoding: utf-8 """ copyright (c) 2016-2017 Earth Advantage. All rights reserved ..codeauthor::Fable Turas <fable@raintechpdx.com> """ # Imports from Standard Library from collections import namedtuple IncompleteBldg = namedtuple( 'IncompleteBldg', ('bldg_id', 'bldg_type', 'status') ) ADD...
31.356098
76
0.660859
701
6,428
5.797432
0.405136
0.017717
0.014764
0.014026
0.054626
0.054626
0.014272
0
0
0
0
0.003429
0.183261
6,428
204
77
31.509804
0.770667
0.027536
0
0
0
0
0.608717
0.038135
0
0
0
0
0
1
0
false
0
0.010753
0
0.010753
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
1cc5859cace3e72b48fc7be85b9b3c6fea333b8f
534
py
Python
update-instances.py
mmuman/local-pad-sign
4bdeece4bbc565475dedcb7c552e3d8d859c0401
[ "MIT" ]
2
2020-03-27T22:42:29.000Z
2020-04-02T13:38:42.000Z
update-instances.py
mmuman/local-pad-sign
4bdeece4bbc565475dedcb7c552e3d8d859c0401
[ "MIT" ]
null
null
null
update-instances.py
mmuman/local-pad-sign
4bdeece4bbc565475dedcb7c552e3d8d859c0401
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import json import yaml try: from urllib import request except ImportError: import urllib2 as request with request.urlopen("https://framagit.org/framasoft/framapad/-/raw/master/app/data/project.yml?inline=false") as stream: #with open("project.yml", 'r') as stream: data_loaded =...
29.666667
121
0.685393
72
534
5.041667
0.597222
0.055096
0.104683
0
0
0
0
0
0
0
0
0.004545
0.17603
534
17
122
31.411765
0.820455
0.114232
0
0
0
0.076923
0.276008
0
0
0
0
0
0
1
0
false
0
0.384615
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1ccf55c63c90d25db4783fc253d21399018c76a2
452
py
Python
easydcp/__init__.py
MorphometricsGroup/EasyDCP
ed8eb99f995bd2ad6b899a42110b9e535ac4c775
[ "MIT" ]
8
2021-06-15T14:02:15.000Z
2022-03-10T00:24:30.000Z
easydcp/__init__.py
MorphometricsGroup/EasyDCP
ed8eb99f995bd2ad6b899a42110b9e535ac4c775
[ "MIT" ]
null
null
null
easydcp/__init__.py
MorphometricsGroup/EasyDCP
ed8eb99f995bd2ad6b899a42110b9e535ac4c775
[ "MIT" ]
3
2021-02-08T08:31:09.000Z
2021-10-18T04:13:28.000Z
from easydcp.base import ( Classifier, Plot, Plant ) from easydcp.pcd_tools import ( merge_pcd, pcd2dxm, pcd2binary ) from easydcp.io.pcd import ( read_ply, read_plys ) from easydcp.io.shp import ( read_shp, read_shps, read_xyz ) __all__ = ['Classifier', 'Plot', 'Plant', ...
16.740741
48
0.60177
54
452
4.722222
0.37037
0.172549
0.14902
0.196078
0.172549
0.172549
0
0
0
0
0
0.012195
0.274336
452
27
49
16.740741
0.765244
0
0
0
0
0
0.192053
0
0
0
0
0
0
1
0
false
0
0.173913
0
0.173913
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1cd2504e80f252d0f9286b871409f55ebca3c346
1,355
py
Python
benchmark/benchmarks/serde.py
wyfo/apimodel
99e6b23504e8ca775fda9dfa93c4e350211c1b8a
[ "MIT" ]
null
null
null
benchmark/benchmarks/serde.py
wyfo/apimodel
99e6b23504e8ca775fda9dfa93c4e350211c1b8a
[ "MIT" ]
null
null
null
benchmark/benchmarks/serde.py
wyfo/apimodel
99e6b23504e8ca775fda9dfa93c4e350211c1b8a
[ "MIT" ]
null
null
null
from dataclasses import dataclass from datetime import datetime from typing import Optional import serde from common import Benchmark, Methods, Payment from serde.core import SETTINGS SETTINGS["debug"] = True @serde.serde @dataclass(frozen=True) class Message: title: str body: str addresses: Optional[li...
20.530303
74
0.685609
174
1,355
5.241379
0.413793
0.04386
0.083333
0.109649
0.22807
0.22807
0.107456
0.107456
0
0
0
0.004771
0.226568
1,355
65
75
20.846154
0.865458
0.030996
0
0.291667
0
0
0.009153
0
0
0
0
0
0
1
0.083333
false
0
0.125
0.020833
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
1ce04216ef238edc87dbd749f66900ad27e93abc
3,595
py
Python
python_src/inter_rep.py
Joyce-yanqiongzhang/proj2_storytelling
08841896fcbf52019d73d2e1c38482c5d6a77ddb
[ "BSD-3-Clause" ]
null
null
null
python_src/inter_rep.py
Joyce-yanqiongzhang/proj2_storytelling
08841896fcbf52019d73d2e1c38482c5d6a77ddb
[ "BSD-3-Clause" ]
null
null
null
python_src/inter_rep.py
Joyce-yanqiongzhang/proj2_storytelling
08841896fcbf52019d73d2e1c38482c5d6a77ddb
[ "BSD-3-Clause" ]
null
null
null
"""Script that calculates unigram, bigram, and trigram repetition between all stories generated. Writes repetition to std out - lower numbers are better. Also writes raw counts to 3 files. Also inherited and is super messy and hard coded and should be refactored.""" import sys class NGram(object): def __init__(...
32.681818
96
0.49847
461
3,595
3.861171
0.238612
0.055618
0.023596
0.042697
0.346629
0.239326
0.183708
0.145506
0.116854
0.059551
0
0.016144
0.379694
3,595
109
97
32.981651
0.782063
0.155772
0
0.253012
1
0
0.07649
0
0
0
0
0
0
1
0.036145
false
0
0.012048
0
0.060241
0.096386
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
1ce138a510695d56186084759980433409a6d2e1
72,364
py
Python
src/nitsm/tsmcontext.py
jonathanmendez/nitsm-python
c7bbe2e53d56cf987d2369336d32b8baf6ae806a
[ "MIT" ]
null
null
null
src/nitsm/tsmcontext.py
jonathanmendez/nitsm-python
c7bbe2e53d56cf987d2369336d32b8baf6ae806a
[ "MIT" ]
null
null
null
src/nitsm/tsmcontext.py
jonathanmendez/nitsm-python
c7bbe2e53d56cf987d2369336d32b8baf6ae806a
[ "MIT" ]
null
null
null
""" NI TestStand Semiconductor Module Context Python Wrapper """ import time import typing from typing import Any as _Any from typing import Tuple as _Tuple from typing import Union as _Union from typing import Sequence as _Sequence import warnings import pythoncom import nitsm.pinmapinterfaces import nitsm.pinqueryco...
49.361528
100
0.675281
8,976
72,364
5.284091
0.050134
0.014969
0.043306
0.035421
0.760173
0.717015
0.679085
0.634598
0.602361
0.565423
0
0.001215
0.27182
72,364
1,465
101
49.395222
0.898888
0.537615
0
0.350877
0
0
0.068919
0.023523
0
0
0
0
0
1
0.136452
false
0
0.037037
0
0.31384
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
1ce2de92ee3f7bc3f1fb17c65190e9d193f43a56
861
py
Python
src/hematopy/notification/factory.py
ArgoCrew/hematopy
02f50ee08eb66d491e32a71ba3f3b092087533da
[ "BSD-3-Clause" ]
4
2018-05-18T00:53:09.000Z
2020-12-17T15:28:28.000Z
src/hematopy/notification/factory.py
ArgoCrew/hematopy
02f50ee08eb66d491e32a71ba3f3b092087533da
[ "BSD-3-Clause" ]
29
2018-06-03T22:42:22.000Z
2021-12-13T19:48:41.000Z
src/hematopy/notification/factory.py
ArgoCrew/hematopy
02f50ee08eb66d491e32a71ba3f3b092087533da
[ "BSD-3-Clause" ]
6
2018-05-01T21:07:15.000Z
2018-11-02T02:20:19.000Z
import os import sys class AwsSmsProvider(object): def __init__(self, **kargs): if 'boto3' not in sys.modules: import boto3 if 'region_name' not in kargs: kargs['region_name'] = os.environ.get('AWS_SNS_REGION_NAME', 'us-eas...
26.090909
72
0.557491
89
861
5.247191
0.516854
0.06424
0.077088
0
0
0
0
0
0
0
0
0.01209
0.327526
861
32
73
26.90625
0.794473
0.01626
0
0
0
0
0.121893
0
0
0
0
0.03125
0
1
0.125
false
0
0.125
0
0.416667
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
1ce42139826d7ba2654c672c43fae2f5d1ef9037
710
py
Python
src/unitmeasure/units/illuminance.py
gabock/unitmeasure
440ee256d91794317345b9aff102e3e7416363d9
[ "MIT" ]
null
null
null
src/unitmeasure/units/illuminance.py
gabock/unitmeasure
440ee256d91794317345b9aff102e3e7416363d9
[ "MIT" ]
null
null
null
src/unitmeasure/units/illuminance.py
gabock/unitmeasure
440ee256d91794317345b9aff102e3e7416363d9
[ "MIT" ]
null
null
null
from unitmeasure import converters from unitmeasure import dimension from unitmeasure.util import classproperty class UnitIlluminance(dimension.Dimension): class Symbol(object): lux = "lx" class Coefficient(object): lux = 1.0 def __init__(self, symbol, coefficient, *args, **kwargs): ...
22.903226
77
0.678873
75
710
6.213333
0.44
0.096567
0.090129
0
0
0
0
0
0
0
0
0.003663
0.230986
710
30
78
23.666667
0.849817
0
0
0
0
0
0.002817
0
0
0
0
0
0
1
0.2
false
0
0.15
0.1
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1ce608270d79cc03f8e3870ce9f1514b8c3c5891
3,513
py
Python
oPB/core/mapdrive.py
pandel/opsipackagebuilder
f6c86cc95218216cbd0f548b508d0c5fde11520e
[ "MIT-0" ]
null
null
null
oPB/core/mapdrive.py
pandel/opsipackagebuilder
f6c86cc95218216cbd0f548b508d0c5fde11520e
[ "MIT-0" ]
null
null
null
oPB/core/mapdrive.py
pandel/opsipackagebuilder
f6c86cc95218216cbd0f548b508d0c5fde11520e
[ "MIT-0" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- """ This module is part of the opsi PackageBuilder see: https://forum.opsi.org/viewforum.php?f=22 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 ...
37.37234
165
0.697979
416
3,513
5.776442
0.459135
0.087391
0.039534
0.026217
0.172701
0.11236
0.11236
0.11236
0.11236
0.11236
0
0.011765
0.201537
3,513
93
166
37.774194
0.84492
0.380586
0
0.185185
0
0
0.110335
0.024209
0
0
0
0
0
1
0.037037
false
0.055556
0.037037
0
0.240741
0.018519
0
0
0
null
0
0
0
0
0
0
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
1cec7afa75e4e7e47d62c16e3186921527c45e13
7,284
py
Python
tests/riscv/APIs/api_getPageInfo_01_force.py
noahsherrill/force-riscv
500cec3017f619dbf853a497bf02eaeecca927c9
[ "Apache-2.0" ]
111
2020-06-12T22:31:30.000Z
2022-03-19T03:45:20.000Z
tests/riscv/APIs/api_getPageInfo_01_force.py
noahsherrill/force-riscv
500cec3017f619dbf853a497bf02eaeecca927c9
[ "Apache-2.0" ]
34
2020-06-12T20:23:40.000Z
2022-03-15T20:04:31.000Z
tests/riscv/APIs/api_getPageInfo_01_force.py
noahsherrill/force-riscv
500cec3017f619dbf853a497bf02eaeecca927c9
[ "Apache-2.0" ]
32
2020-06-12T19:15:26.000Z
2022-02-20T11:38:31.000Z
# # Copyright (C) [2020] Futurewei Technologies, Inc. # # FORCE-RISCV is licensed under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # THIS SOFTWARE IS PR...
41.152542
79
0.395662
624
7,284
4.552885
0.334936
0.036607
0.021119
0.009856
0.412531
0.38226
0.369588
0.334389
0.332277
0.296375
0
0.018747
0.509336
7,284
176
80
41.386364
0.776161
0.191928
0
0.447154
0
0
0.1375
0
0
0
0
0
0
1
0.00813
false
0
0.02439
0
0.04065
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1cf45b3457c0e8917bac3cf1ecdd7d21096d7069
3,279
py
Python
tests/test_minimax.py
bpesquet/pyai
09f6e9989c9c3d3619b45a0aab2bd363141dfe58
[ "MIT" ]
null
null
null
tests/test_minimax.py
bpesquet/pyai
09f6e9989c9c3d3619b45a0aab2bd363141dfe58
[ "MIT" ]
null
null
null
tests/test_minimax.py
bpesquet/pyai
09f6e9989c9c3d3619b45a0aab2bd363141dfe58
[ "MIT" ]
null
null
null
""" Tests for Minimax algorithm """ import math from pyai.search.minimax import ( minimax, init_game, to_string, ) def setup_game(): """Set up a game for tests.""" red_discs = { (0, 1), (1, 0), (1, 1), (1, 3), (2, 3), (3, 0), (3, 1), ...
25.418605
85
0.587069
441
3,279
4.231293
0.226757
0.07717
0.110932
0.067524
0.678993
0.627546
0.627546
0.627546
0.627546
0.627546
0
0.035745
0.291857
3,279
128
86
25.617188
0.767873
0.284538
0
0.375
0
0
0.135417
0.036458
0
0
0
0
0.102273
1
0.045455
false
0
0.022727
0
0.079545
0.170455
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
1cfaca9834ca3bd095ff335a6ceceefc754c30f6
500
py
Python
RecoMuon/MuonIdentification/python/caloCompatibility_cff.py
SWuchterl/cmssw
769b4a7ef81796579af7d626da6039dfa0347b8e
[ "Apache-2.0" ]
6
2017-09-08T14:12:56.000Z
2022-03-09T23:57:01.000Z
RecoMuon/MuonIdentification/python/caloCompatibility_cff.py
SWuchterl/cmssw
769b4a7ef81796579af7d626da6039dfa0347b8e
[ "Apache-2.0" ]
545
2017-09-19T17:10:19.000Z
2022-03-07T16:55:27.000Z
RecoMuon/MuonIdentification/python/caloCompatibility_cff.py
SWuchterl/cmssw
769b4a7ef81796579af7d626da6039dfa0347b8e
[ "Apache-2.0" ]
14
2017-10-04T09:47:21.000Z
2019-10-23T18:04:45.000Z
import FWCore.ParameterSet.Config as cms # -*-SH-*- MuonCaloCompatibilityBlock = cms.PSet( MuonCaloCompatibility = cms.PSet( PionTemplateFileName = cms.FileInPath('RecoMuon/MuonIdentification/data/MuID_templates_pions_lowPt_3_1_norm.root'), MuonTemplateFileName = cms.FileInPath('RecoMuon/MuonIdenti...
33.333333
123
0.73
57
500
6.157895
0.596491
0.039886
0.119658
0.222222
0.404558
0.319088
0.319088
0
0
0
0
0.02381
0.16
500
14
124
35.714286
0.811905
0.016
0
0
0
0
0.29918
0.29918
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1cfe3f3fd17d3c04e2aa7b9e31c7237a7c15ac19
2,388
py
Python
nonequilibrium/noneq_functions.py
mattsmart/biomodels
237f87489553fa1ebf5c676fab563166dd0c39e9
[ "MIT" ]
null
null
null
nonequilibrium/noneq_functions.py
mattsmart/biomodels
237f87489553fa1ebf5c676fab563166dd0c39e9
[ "MIT" ]
null
null
null
nonequilibrium/noneq_functions.py
mattsmart/biomodels
237f87489553fa1ebf5c676fab563166dd0c39e9
[ "MIT" ]
null
null
null
import numpy as np from random import random from noneq_settings import BETA def hamming(s1, s2): """Calculate the Hamming distance between two bit lists""" assert len(s1) == len(s2) return sum(c1 != c2 for c1, c2 in zip(s1, s2)) def hamiltonian(state_vec, intxn_matrix): return -0.5 * reduce(np.dot...
32.27027
170
0.636516
390
2,388
3.761538
0.312821
0.042945
0.05726
0.062031
0.226312
0.204499
0.188139
0.188139
0.102249
0.102249
0
0.028809
0.244137
2,388
73
171
32.712329
0.783934
0.271357
0
0.083333
0
0
0.00058
0
0
0
0
0.013699
0.020833
1
0.145833
false
0
0.0625
0.020833
0.354167
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
e805319d651ea65e204b8fd744367a789289d818
57,572
py
Python
ion_functions/data/adcp_functions.py
ooici/ion-functions
ad5f7a1a00e3d359c72156d64f59686705c09d53
[ "Apache-2.0" ]
10
2015-04-03T15:32:21.000Z
2018-11-21T11:57:26.000Z
ion_functions/data/adcp_functions.py
ooici/ion-functions
ad5f7a1a00e3d359c72156d64f59686705c09d53
[ "Apache-2.0" ]
8
2015-01-07T15:19:22.000Z
2015-12-08T18:14:04.000Z
ion_functions/data/adcp_functions.py
ooici/ion-functions
ad5f7a1a00e3d359c72156d64f59686705c09d53
[ "Apache-2.0" ]
17
2015-01-14T16:23:00.000Z
2021-07-19T08:26:52.000Z
#!/usr/bin/env python """ @package ion_functions.data.adcp_functions @file ion_functions/data/adcp_functions.py @author Christopher Wingard, Russell Desiderio, Craig Risien @brief Module containing ADCP related data-calculations. """ import numpy as np from ion_functions.data.generic_functions import magnetic_d...
40.036161
103
0.63418
7,713
57,572
4.641774
0.100609
0.040221
0.032177
0.007206
0.724736
0.692056
0.655494
0.64502
0.635523
0.622284
0
0.054595
0.287657
57,572
1,437
104
40.064022
0.81839
0.717658
0
0.346847
0
0
0.004157
0
0
0
0
0
0
1
0.099099
false
0
0.013514
0
0.211712
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
e80729c4f19d7a07ad640e8c18684ca04babb40c
964
py
Python
src/client_libraries/python/microsoft/dynamics/customerinsights/api/models/deletion_response_py3.py
microsoft/Dynamics365-CustomerInsights-Client-Libraries
e00632f7972717b03e0fb1a9e2667e8f9444a0fe
[ "MIT" ]
null
null
null
src/client_libraries/python/microsoft/dynamics/customerinsights/api/models/deletion_response_py3.py
microsoft/Dynamics365-CustomerInsights-Client-Libraries
e00632f7972717b03e0fb1a9e2667e8f9444a0fe
[ "MIT" ]
null
null
null
src/client_libraries/python/microsoft/dynamics/customerinsights/api/models/deletion_response_py3.py
microsoft/Dynamics365-CustomerInsights-Client-Libraries
e00632f7972717b03e0fb1a9e2667e8f9444a0fe
[ "MIT" ]
7
2021-02-11T19:48:57.000Z
2021-12-17T08:00:15.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 ...
32.133333
84
0.564315
89
964
5.932584
0.573034
0.102273
0.049242
0
0
0
0
0
0
0
0
0.001255
0.173237
964
29
85
33.241379
0.66123
0.490664
0
0
1
0
0.167033
0.059341
0
0
0
0
0
1
0.1
false
0
0.1
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
e80af87469f7b8d500425855af99065f1bb050c5
714
py
Python
bloom/editor/operations/__init__.py
thomasrogers03/bloom
5d49c18a241216aca354aa79971940691e6f33b4
[ "Apache-2.0" ]
9
2020-11-22T03:04:52.000Z
2022-01-17T15:36:25.000Z
bloom/editor/operations/__init__.py
thomasrogers03/bloom
5d49c18a241216aca354aa79971940691e6f33b4
[ "Apache-2.0" ]
null
null
null
bloom/editor/operations/__init__.py
thomasrogers03/bloom
5d49c18a241216aca354aa79971940691e6f33b4
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Thmas Rogers # SPDX-License-Identifier: Apache-2.0 from .. import sprite_find_sector from . import ( auto_light, flip, gradient_heights, increment_panning, increment_repeats, increment_sector_heinum, object_translucency, map_fixer, object_blocking, sector_copy, ...
19.297297
37
0.705882
84
714
5.535714
0.619048
0.043011
0
0
0
0
0
0
0
0
0
0.010989
0.235294
714
36
38
19.833333
0.840659
0.088235
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.060606
0
0.060606
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
e80b453726ca7367c9ed95d56c0a0d4800cf2469
1,046
py
Python
tools/common.py
ctring/Detock
a1171a511d9cd1f79cc3a8d54ec17f759d088de4
[ "MIT" ]
null
null
null
tools/common.py
ctring/Detock
a1171a511d9cd1f79cc3a8d54ec17f759d088de4
[ "MIT" ]
null
null
null
tools/common.py
ctring/Detock
a1171a511d9cd1f79cc3a8d54ec17f759d088de4
[ "MIT" ]
null
null
null
import argparse import logging LOG_FORMAT = "%(asctime)s %(name)10s %(levelname)s: %(message)s" logging.basicConfig(level=logging.INFO, format=LOG_FORMAT) class Command: """Base class for a command""" NAME = "<not_implemented>" HELP = "" DESCRIPTION = "" def create_subparser(self, subparsers): ...
26.15
67
0.696941
123
1,046
5.739837
0.398374
0.055241
0.042493
0.062323
0.073654
0
0
0
0
0
0
0.002398
0.202677
1,046
39
68
26.820513
0.844125
0.022945
0
0.074074
0
0
0.076772
0
0
0
0
0
0
1
0.148148
false
0.074074
0.074074
0
0.407407
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e80f1547c2bb82405b43a5ec34517b5b50d1d087
11,807
py
Python
oneiric_erpn/report_sample.py
renzodemie/charts
c712f939bcad0c626a5f853bee1abb89e0efb1f0
[ "MIT" ]
null
null
null
oneiric_erpn/report_sample.py
renzodemie/charts
c712f939bcad0c626a5f853bee1abb89e0efb1f0
[ "MIT" ]
null
null
null
oneiric_erpn/report_sample.py
renzodemie/charts
c712f939bcad0c626a5f853bee1abb89e0efb1f0
[ "MIT" ]
null
null
null
# Copyright (c) 2013, Bai Mobile and Web Labs and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe from datetime import date, datetime, timedelta from dateutil.relativedelta import relativedelta def execute(filters=None): columns = [] data =...
42.934545
147
0.615567
1,522
11,807
4.575558
0.099869
0.059449
0.056146
0.056289
0.550833
0.511057
0.484061
0.449598
0.432223
0.413699
0
0.019793
0.246887
11,807
274
148
43.091241
0.763383
0.043618
0
0.401674
0
0.008368
0.122673
0.006914
0
0
0
0
0
0
null
null
0
0.016736
null
null
0.096234
0
0
0
null
0
0
0
0
0
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
e8138f85244429cc1cd4edc9b257d7ef7da36d17
2,015
py
Python
setup.py
thiagodasilva/file-connector
d2fb5e9d1b41e126214d77c11354ec8d8ab53b2a
[ "Apache-2.0" ]
null
null
null
setup.py
thiagodasilva/file-connector
d2fb5e9d1b41e126214d77c11354ec8d8ab53b2a
[ "Apache-2.0" ]
null
null
null
setup.py
thiagodasilva/file-connector
d2fb5e9d1b41e126214d77c11354ec8d8ab53b2a
[ "Apache-2.0" ]
1
2021-12-29T11:37:07.000Z
2021-12-29T11:37:07.000Z
# Copyright (c) 2013 Red Hat, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
35.350877
74
0.668486
233
2,015
5.678112
0.55794
0.045351
0.081633
0.058957
0
0
0
0
0
0
0
0.010217
0.222829
2,015
56
75
35.982143
0.83461
0.298263
0
0.083333
0
0
0.547278
0.206304
0
0
0
0
0
1
0
true
0
0.055556
0
0.055556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
e8173eb56ef689b8d0c70397eef08be776cb163b
1,895
py
Python
simulate-load.py
naparuba/simulate-load
a1ea1a1172461fd5474c54ec7d0e1d1c92e3352b
[ "MIT" ]
3
2020-01-27T16:31:30.000Z
2021-03-20T20:12:09.000Z
simulate-load.py
naparuba/simulate-load
a1ea1a1172461fd5474c54ec7d0e1d1c92e3352b
[ "MIT" ]
null
null
null
simulate-load.py
naparuba/simulate-load
a1ea1a1172461fd5474c54ec7d0e1d1c92e3352b
[ "MIT" ]
3
2015-05-06T22:06:28.000Z
2020-10-05T21:48:56.000Z
import os import sys import subprocess import multiprocessing import requests as rq import random import time import shlex import io def f(): l = [] for i in xrange(random.randint(1, 1000000)): l.append(i) time.sleep(1) if __name__ == '__main__': print 'Launching vairous loads' ddproc ...
27.463768
100
0.503958
219
1,895
4.324201
0.484018
0.068638
0.073918
0.066526
0.163675
0.140444
0.118268
0
0
0
0
0.024138
0.387863
1,895
68
101
27.867647
0.792241
0.072296
0
0.192308
0
0
0.117076
0
0
0
0
0
0
0
null
null
0.038462
0.173077
null
null
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
1
0
0
0
0
0
0
0
0
1
e81c9f72a1268a057c2c6a16d309afb5b1d898e0
1,071
py
Python
tests/expects_matchers/test_contain_all_items_in.py
CyberGRX/twin-sister
8381acb98eb57970d3c8dfbc0fa6faff02710640
[ "MIT" ]
10
2019-02-11T16:22:01.000Z
2020-09-16T14:43:17.000Z
tests/expects_matchers/test_contain_all_items_in.py
CyberGRX/twin-sister
8381acb98eb57970d3c8dfbc0fa6faff02710640
[ "MIT" ]
1
2020-09-03T16:06:23.000Z
2020-09-03T16:06:23.000Z
tests/expects_matchers/test_contain_all_items_in.py
CyberGRX/twin-sister
8381acb98eb57970d3c8dfbc0fa6faff02710640
[ "MIT" ]
1
2019-08-06T21:04:53.000Z
2019-08-06T21:04:53.000Z
from unittest import TestCase, main from expects import expect from twin_sister.expects_matchers import contain_all_items_in class TestContainAllItemsIn(TestCase): def test_false_if_one_item_missing(self): expect({"spam": 1, "eggs": 4}).not_to(contain_all_items_in({"spam": 1, "eggs": 4, "beans": 7})) ...
35.7
103
0.669468
160
1,071
4.075
0.33125
0.069018
0.124233
0.122699
0.51227
0.467791
0.342025
0.246933
0.246933
0.156442
0
0.026966
0.169001
1,071
29
104
36.931034
0.705618
0
0
0
0
0
0.104575
0
0
0
0
0
0
1
0.263158
false
0
0.157895
0
0.473684
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
e81cd2925a85c82dcacf35d0326b4744926fbde9
2,284
py
Python
01_src/02_machine_learning_section/02_classifier/predication_multiclass.py
RBEGamer/chemtech_hackathon_2019
2f139efba11b3e86481c96eed0542c5b10991df7
[ "Apache-2.0" ]
null
null
null
01_src/02_machine_learning_section/02_classifier/predication_multiclass.py
RBEGamer/chemtech_hackathon_2019
2f139efba11b3e86481c96eed0542c5b10991df7
[ "Apache-2.0" ]
null
null
null
01_src/02_machine_learning_section/02_classifier/predication_multiclass.py
RBEGamer/chemtech_hackathon_2019
2f139efba11b3e86481c96eed0542c5b10991df7
[ "Apache-2.0" ]
null
null
null
import sys import csv import numpy as np from sklearn import datasets from sklearn.metrics import confusion_matrix from sklearn.model_selection import train_test_split import pickle import paho.mqtt.client as mqtt step_size = 248993 maxlism = 850 features = [] labels = [] ''' def on_connect(client, userdata, fla...
28.197531
92
0.598074
289
2,284
4.577855
0.397924
0.022676
0.031746
0.016629
0.098262
0.071051
0.071051
0.071051
0.071051
0.071051
0
0.041768
0.276708
2,284
80
93
28.55
0.75908
0.066988
0
0.12
0
0
0.047816
0.01889
0
0
0
0
0
0
null
null
0
0.16
null
null
0.06
0
0
0
null
0
0
0
0
0
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
e81cfe6a3cc18f970d2efed5a69f1404b80b57da
445
py
Python
test/shipping_zone_test.py
butlertron/shopify_python_api
78329d0656a7dcd4aad9579b28509007d05ee5dc
[ "MIT" ]
2
2019-03-09T14:16:28.000Z
2020-12-07T19:52:16.000Z
test/shipping_zone_test.py
whitehorse3513/PythonShopify
245b9bad3779db9190e3786bffc07044afe216c6
[ "MIT" ]
null
null
null
test/shipping_zone_test.py
whitehorse3513/PythonShopify
245b9bad3779db9190e3786bffc07044afe216c6
[ "MIT" ]
1
2020-10-03T19:48:39.000Z
2020-10-03T19:48:39.000Z
import shopify from test.test_helper import TestCase class ShippingZoneTest(TestCase): def test_get_shipping_zones(self): self.fake("shipping_zones", method='GET', body=self.load_fixture('shipping_zones')) shipping_zones = shopify.ShippingZone.find() self.assertEqual(1,len(shipping_zones)) ...
37.083333
91
0.730337
56
445
5.607143
0.517857
0.289809
0.10828
0
0
0
0
0
0
0
0
0.01061
0.152809
445
11
92
40.454545
0.822281
0
0
0
0
0
0.089888
0
0
0
0
0
0.333333
1
0.111111
false
0
0.222222
0
0.444444
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
e8239d21ff9b9561e13c5fb3ff4bb54f5399d894
471
py
Python
logging/logextractor/testfile.py
emahear/openusm
96bb62b91f4b5520e14d86ae86e1b320404134e6
[ "MIT" ]
4
2019-08-04T05:50:46.000Z
2020-04-16T19:24:11.000Z
logging/logextractor/testfile.py
emahear/openusm
96bb62b91f4b5520e14d86ae86e1b320404134e6
[ "MIT" ]
null
null
null
logging/logextractor/testfile.py
emahear/openusm
96bb62b91f4b5520e14d86ae86e1b320404134e6
[ "MIT" ]
6
2019-08-03T12:57:47.000Z
2020-06-08T01:50:43.000Z
# bulk_data = [] # for row in csv_file_object: # data_dict = {} # for i in range(len(row)): # data_dict[header[i]] = row[i] # op_dict = { # "index": { # "_index": INDEX_NAME, # "_type": TYPE_NAME, # "_id": data_dict[ID_FIELD] # } # } # b...
18.115385
40
0.475584
65
471
3.184615
0.430769
0.154589
0.135266
0
0
0
0
0
0
0
0
0.019608
0.350318
471
26
41
18.115385
0.656863
0.7431
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.25
0.375
0
0
0
null
0
0
0
0
0
0
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
e828779dda7adf9e4b0f64bbe6d272b52dadc51f
1,645
py
Python
tensorflow_datasets/scripts/download_and_prepare.py
harsh020/datasets
b4ad3617b279ec65356e696c4c860458621976f6
[ "Apache-2.0" ]
1
2020-12-10T06:37:27.000Z
2020-12-10T06:37:27.000Z
tensorflow_datasets/scripts/download_and_prepare.py
Jinwook-shim/datasets
815037e87150e3c8a557d91a68b07e8ffb6a2a86
[ "Apache-2.0" ]
null
null
null
tensorflow_datasets/scripts/download_and_prepare.py
Jinwook-shim/datasets
815037e87150e3c8a557d91a68b07e8ffb6a2a86
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # Copyright 2020 The TensorFlow Datasets Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
28.859649
97
0.741033
239
1,645
4.92887
0.518828
0.050934
0.050934
0.027165
0
0
0
0
0
0
0
0.007965
0.160486
1,645
56
98
29.375
0.84504
0.409119
0
0
0
0
0.154171
0.027455
0
0
0
0
0
1
0.071429
false
0
0.357143
0
0.464286
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
e837c3cd01766f40ffeb741c955c5dda73a53ca1
1,632
py
Python
examples/tf/multi_env_trpo.py
neurips2020submission11699/metarl
ae4825d21478fa1fd0aa6b116941ea40caa152a5
[ "MIT" ]
2
2021-02-07T12:14:52.000Z
2021-07-29T08:07:22.000Z
examples/tf/multi_env_trpo.py
neurips2020submission11699/metarl
ae4825d21478fa1fd0aa6b116941ea40caa152a5
[ "MIT" ]
null
null
null
examples/tf/multi_env_trpo.py
neurips2020submission11699/metarl
ae4825d21478fa1fd0aa6b116941ea40caa152a5
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """This is an example to train multiple tasks with TRPO algorithm.""" from metarl import wrap_experiment from metarl.envs import MetaRLEnv, normalize from metarl.envs import PointEnv from metarl.envs.multi_env_wrapper import MultiEnvWrapper from metarl.experiment import LocalTFRunner from metarl....
33.306122
72
0.671569
199
1,632
5.396985
0.477387
0.083799
0.039106
0.039106
0.05959
0.05959
0
0
0
0
0
0.023539
0.245098
1,632
48
73
34
0.848214
0.221201
0
0
0
0
0
0
0
0
0
0
0
1
0.034483
false
0
0.310345
0
0.344828
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
08fa0cd1914084bc4bd2ae7a113d03f6780f8f0b
2,229
py
Python
test/test_feature_extraction.py
DucAnhPhi/NewsSearchEngine
de274acc116d0a90b42c3279d4a4bd791867c67f
[ "MIT" ]
null
null
null
test/test_feature_extraction.py
DucAnhPhi/NewsSearchEngine
de274acc116d0a90b42c3279d4a4bd791867c67f
[ "MIT" ]
null
null
null
test/test_feature_extraction.py
DucAnhPhi/NewsSearchEngine
de274acc116d0a90b42c3279d4a4bd791867c67f
[ "MIT" ]
null
null
null
import pytest import json from ..embedding.model import EmbeddingModel from ..feature_extraction import FeatureExtraction import numpy as np class TestFeatureExtraction(): @classmethod def setup_class(self): self.embedder_DE = EmbeddingModel(lang="de") self.embedder_EN = EmbeddingModel(lang="en...
29.72
92
0.59354
254
2,229
4.897638
0.267717
0.202572
0.135048
0.120579
0.532958
0.471865
0.425241
0.409164
0.409164
0.338424
0
0.014314
0.310453
2,229
75
93
29.72
0.795055
0
0
0.328358
0
0
0.053812
0
0
0
0
0
0.104478
1
0.119403
false
0
0.074627
0
0.208955
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
08fd8aadc5725d501d2dc9a4bb7cf7a5f2c12973
777
py
Python
apps/links/migrations/0003_auto_20171213_0936.py
iamjdcollins/districtwebsite
89e2aea47ca3d221665bc23586a4374421be5800
[ "MIT" ]
null
null
null
apps/links/migrations/0003_auto_20171213_0936.py
iamjdcollins/districtwebsite
89e2aea47ca3d221665bc23586a4374421be5800
[ "MIT" ]
null
null
null
apps/links/migrations/0003_auto_20171213_0936.py
iamjdcollins/districtwebsite
89e2aea47ca3d221665bc23586a4374421be5800
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2017-12-13 16:36 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('links', '0002_actionbutton'), ] operations = [ migrations.AlterModelOptions( ...
31.08
291
0.631918
76
777
6.25
0.697368
0.075789
0.08
0.096842
0
0
0
0
0
0
0
0.035413
0.236808
777
24
292
32.375
0.765599
0.087516
0
0.235294
1
0
0.365439
0
0
0
0
0
0
1
0
false
0
0.117647
0
0.294118
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
1c018f21a82362a4c6be4f7dab5dab2b30bd23ee
533
py
Python
.modules/.CMSeeK/deepscans/joom/check_debug.py
termux-one/EasY_HaCk
0a8d09ca4b126b027b6842e02fa0c29d8250e090
[ "Apache-2.0" ]
1,103
2018-04-20T14:08:11.000Z
2022-03-29T06:22:43.000Z
.modules/.CMSeeK/deepscans/joom/check_debug.py
sshourya948/EasY_HaCk
0a8d09ca4b126b027b6842e02fa0c29d8250e090
[ "Apache-2.0" ]
29
2019-04-03T14:52:38.000Z
2022-03-24T12:33:05.000Z
.modules/.CMSeeK/deepscans/joom/check_debug.py
sshourya948/EasY_HaCk
0a8d09ca4b126b027b6842e02fa0c29d8250e090
[ "Apache-2.0" ]
161
2018-04-20T15:57:12.000Z
2022-03-15T19:16:16.000Z
#!/usr/bin/python3 # -*- coding: utf-8 -*- # This is a part of CMSeeK, check the LICENSE file for more information # Copyright (c) 2018 Tuhinshubhra import cmseekdb.basic as cmseek # I know there is no reason at all to create a separate module for this.. there's something that's going to be added here so.. trust me! d...
35.533333
136
0.682927
85
533
4.270588
0.811765
0.044077
0
0
0
0
0
0
0
0
0
0.019139
0.21576
533
14
137
38.071429
0.849282
0.54409
0
0
0
0
0.274262
0.118143
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.571429
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
1c019aef38faf246660292b9ce636b3070c322ce
1,417
py
Python
python-oo-practice/serial.py
MostFunGuy/SpringboardProjectsPublic
bbda3ba26ecf8a09e62df81583122cae83acc1e6
[ "MIT" ]
null
null
null
python-oo-practice/serial.py
MostFunGuy/SpringboardProjectsPublic
bbda3ba26ecf8a09e62df81583122cae83acc1e6
[ "MIT" ]
null
null
null
python-oo-practice/serial.py
MostFunGuy/SpringboardProjectsPublic
bbda3ba26ecf8a09e62df81583122cae83acc1e6
[ "MIT" ]
null
null
null
"""Python serial number generator.""" class SerialGenerator: """Machine to create unique incrementing serial numbers. >>> serial = SerialGenerator(start=100) >>> serial.generate() 100 >>> serial.generate() 101 >>> serial.generate() 102 >>> serial.reset() >>> serial.generate() ...
35.425
107
0.642202
198
1,417
4.575758
0.343434
0.05298
0.10596
0.12362
0.209713
0.209713
0.057395
0
0
0
0
0.026009
0.213126
1,417
40
108
35.425
0.786547
0.444601
0
0.095238
1
0
0.359116
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.238095
0.380952
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
1c04c7ec0bdf99e8f790f6f22c51a54969c1da70
751
py
Python
Python/Code/Python3-Base/09_Functional/Closure.py
hiloWang/notes
64a637a86f734e4e80975f4aa93ab47e8d7e8b64
[ "Apache-2.0" ]
2
2020-10-08T13:22:08.000Z
2021-07-28T14:45:41.000Z
Python/Python3-Base/09_Functional/Closure.py
flyfire/Programming-Notes-Code
4b1bdd74c1ba0c007c504834e4508ec39f01cd94
[ "Apache-2.0" ]
null
null
null
Python/Python3-Base/09_Functional/Closure.py
flyfire/Programming-Notes-Code
4b1bdd74c1ba0c007c504834e4508ec39f01cd94
[ "Apache-2.0" ]
6
2020-08-20T07:19:17.000Z
2022-03-02T08:16:21.000Z
######################### # 函数式编程:闭包 ######################### from pkg.Tools import print_divider # 1 认识闭包 print_divider("闭包") def curve_pre(): a = 10 def curve(x): return a * x * x return curve curve = curve_pre() print(curve(10)) print(curve) # <function curve_pre.<locals>.curve at 0x000...
17.880952
93
0.631158
94
751
4.829787
0.404255
0.105727
0.066079
0.0837
0.118943
0
0
0
0
0
0
0.085246
0.18775
751
41
94
18.317073
0.659016
0.194407
0
0
0
0
0.083942
0.067518
0
0
0
0
0
1
0.173913
false
0
0.043478
0.043478
0.391304
0.434783
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
1c06c5dcccdf38f04b3b52b748935a2ddea83142
3,942
py
Python
objectModel/Python/cdm/persistence/syms/data_partition_pattern_persistence.py
mjohnst/CDM
6adbae0554f5cca0d6796558a85466f72d28b947
[ "CC-BY-4.0", "MIT" ]
1
2022-02-10T09:01:51.000Z
2022-02-10T09:01:51.000Z
objectModel/Python/cdm/persistence/syms/data_partition_pattern_persistence.py
mjohnst/CDM
6adbae0554f5cca0d6796558a85466f72d28b947
[ "CC-BY-4.0", "MIT" ]
null
null
null
objectModel/Python/cdm/persistence/syms/data_partition_pattern_persistence.py
mjohnst/CDM
6adbae0554f5cca0d6796558a85466f72d28b947
[ "CC-BY-4.0", "MIT" ]
null
null
null
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. import dateutil.parser from cdm.enums import CdmObjectType, CdmLogCode from cdm.objectmodel import CdmCorpusContext, CdmDataPartitionPatternDefinition from cdm.ut...
55.521127
151
0.696854
396
3,942
6.659091
0.265152
0.103527
0.159272
0.034888
0.440273
0.301858
0.266212
0.266212
0.168373
0.168373
0
0
0.234906
3,942
71
152
55.521127
0.874005
0.038052
0
0.157895
0
0
0.064397
0.041172
0
0
0
0
0
0
null
null
0
0.122807
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
1c06d4b2baa97083ea694c9d5b327d192fc0a658
369
py
Python
sensorimotor/cli/sensorimotor.py
lastmeta/sensorimotor
93a7fb1080d5e835ae28242750e61174869b04fc
[ "Apache-2.0" ]
2
2020-10-02T11:08:37.000Z
2020-10-05T03:31:50.000Z
sensorimotor/cli/sensorimotor.py
lastmeta/sensorimotor
93a7fb1080d5e835ae28242750e61174869b04fc
[ "Apache-2.0" ]
null
null
null
sensorimotor/cli/sensorimotor.py
lastmeta/sensorimotor
93a7fb1080d5e835ae28242750e61174869b04fc
[ "Apache-2.0" ]
1
2020-10-02T11:49:07.000Z
2020-10-02T11:49:07.000Z
# use click # specify environment and agent # tell it to explore # once it is done, you can inspect it's mind # you can reset it's location in env # you can tell it to move to new location def demo(): ''' demo mode is highly limited, made for demo ''' from sensorimotor.lib import MetaEnvironment MetaEnvir...
21.705882
54
0.696477
57
369
4.368421
0.684211
0.072289
0.064257
0
0
0
0
0
0
0
0
0
0.224932
369
16
55
23.0625
0.870629
0.598916
0
0
0
0
0.058824
0
0
0
0
0
0
1
0.2
true
0
0.2
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
1c06e5d1632847b1c52cd42c50beb7a91adba452
2,661
py
Python
base_backend/validators.py
Simouche/django-base-backend
220dc6ae7945f539a28c381e9635a3c190f31e51
[ "MIT" ]
4
2020-12-14T14:56:52.000Z
2021-02-08T13:38:36.000Z
build/lib/base_backend/validators.py
Simouche/django-base-backend
220dc6ae7945f539a28c381e9635a3c190f31e51
[ "MIT" ]
null
null
null
build/lib/base_backend/validators.py
Simouche/django-base-backend
220dc6ae7945f539a28c381e9635a3c190f31e51
[ "MIT" ]
null
null
null
from django.core.validators import RegexValidator from django.utils.translation import gettext_lazy as _ """ Algerian phone numbers validator. """ phone_validator = RegexValidator('^\\+?[0-9]{,12}$', _('The phone number you entered is not valid ' 'it must be of th...
52.176471
119
0.471627
241
2,661
5.13278
0.448133
0.012935
0.022635
0.080841
0.042037
0
0
0
0
0
0
0.02799
0.409245
2,661
50
120
53.22
0.758906
0
0
0.083333
0
0.041667
0.362528
0.034763
0
0
0
0
0
1
0
false
0.083333
0.083333
0
0.083333
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
1c0d01114b5832365c690e93ecfd05c2281ee918
4,291
py
Python
turtle_shell.py
Yuqian-Shi/1
af242aa8ed882078b271acb6e7ac98707ace38d9
[ "Apache-2.0" ]
null
null
null
turtle_shell.py
Yuqian-Shi/1
af242aa8ed882078b271acb6e7ac98707ace38d9
[ "Apache-2.0" ]
null
null
null
turtle_shell.py
Yuqian-Shi/1
af242aa8ed882078b271acb6e7ac98707ace38d9
[ "Apache-2.0" ]
null
null
null
# Turtle-shell program # fill the picture with given pattern # Author: Yuqian Shi # ==================================== # Approach: # All pixels can be divided into three groups: background, line and # cross points. # The cross points (point) were separated into two types: A and B, # depending on which side the horizo...
29.190476
79
0.591471
663
4,291
3.800905
0.266968
0.022222
0.025397
0.022619
0.127381
0.098016
0.068651
0.027778
0
0
0
0.020421
0.258215
4,291
146
80
29.390411
0.771285
0.450478
0
0.207317
0
0
0.054066
0
0
0
0
0
0
0
null
null
0.036585
0.012195
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
1c116a20a2b506e25a59bea28725a83dbbe21c15
1,646
py
Python
CSVPlotter.py
3arii/WeWalkSignalAnalysis
b988775e39b5cf3ff60594b091fa59be3dffd8a3
[ "MIT" ]
null
null
null
CSVPlotter.py
3arii/WeWalkSignalAnalysis
b988775e39b5cf3ff60594b091fa59be3dffd8a3
[ "MIT" ]
null
null
null
CSVPlotter.py
3arii/WeWalkSignalAnalysis
b988775e39b5cf3ff60594b091fa59be3dffd8a3
[ "MIT" ]
null
null
null
#TODO: Read a single row from the OrientationDataGood csv file # Create a list that is the length of the read row containing numbers. # Create a list that will contain the second list and the initial csv file but seperated with commas # Create a for loop that will print them seperately to another .c...
27.433333
106
0.712637
254
1,646
4.358268
0.291339
0.130081
0.070461
0.076784
0.253839
0.239386
0.239386
0.196025
0.196025
0.196025
0
0.005287
0.195626
1,646
59
107
27.898305
0.830816
0.191981
0
0.282051
0
0
0.07668
0.026877
0
0
0
0.016949
0
1
0.153846
false
0
0.102564
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
1c1490f832e389c42b34f87eb7b08a78e4fd2999
59,563
py
Python
src/Stele/processing/processing_hsg/ccd_collection/high_sideband_ccd.py
SherwinGroup/Stele
9bb7da0b406a801975e21c9f7ce05d369ae661e5
[ "MIT" ]
null
null
null
src/Stele/processing/processing_hsg/ccd_collection/high_sideband_ccd.py
SherwinGroup/Stele
9bb7da0b406a801975e21c9f7ce05d369ae661e5
[ "MIT" ]
null
null
null
src/Stele/processing/processing_hsg/ccd_collection/high_sideband_ccd.py
SherwinGroup/Stele
9bb7da0b406a801975e21c9f7ce05d369ae661e5
[ "MIT" ]
null
null
null
import os import errno import copy import json import numpy as np from scipy.optimize import curve_fit import matplotlib.pyplot as plt from .ccd import CCD from Stele.processing.processing_hsg.helper_functions import gauss from .helper_functions import calc_laser_frequencies np.set_printoptions(linewidth=500) class ...
43.540205
79
0.530178
7,379
59,563
4.097845
0.108145
0.020636
0.020372
0.012964
0.648886
0.633144
0.620345
0.601826
0.600536
0.584959
0
0.020378
0.379615
59,563
1,367
80
43.572056
0.797927
0.298961
0
0.739976
0
0
0.068677
0.002505
0
0
0
0.004389
0
1
0.012151
false
0.001215
0.019441
0
0.041312
0.110571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1c165658b4c0a383465f97c0d4182760c353fff3
10,026
py
Python
clevertimapi/endpoint.py
ciprianmiclaus/clevertim-api-py
42117044b34a83eaf0e2b05645a1bf42a8bbd440
[ "BSD-3-Clause" ]
1
2017-05-03T17:58:27.000Z
2017-05-03T17:58:27.000Z
clevertimapi/endpoint.py
ciprianmiclaus/clevertim-api-py
42117044b34a83eaf0e2b05645a1bf42a8bbd440
[ "BSD-3-Clause" ]
null
null
null
clevertimapi/endpoint.py
ciprianmiclaus/clevertim-api-py
42117044b34a83eaf0e2b05645a1bf42a8bbd440
[ "BSD-3-Clause" ]
null
null
null
from .session import Session from .utils import list_wrapper class ValueSerializer(object): def _check_needs_loading(self): """check if it needs to load the endpoint.""" def serialize(self): """Custom serialize a value.""" def _apply_validate_func(validate_func, value): if validate_func...
34.453608
156
0.656892
1,313
10,026
4.712871
0.121858
0.05042
0.028442
0.02424
0.486102
0.434066
0.403523
0.360213
0.336134
0.24903
0
0.000268
0.255536
10,026
290
157
34.572414
0.828778
0.076002
0
0.342593
0
0
0.022009
0
0
0
0
0
0.037037
1
0.212963
false
0.00463
0.013889
0.055556
0.398148
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
1c16908699948258ee1f66d211bb45c209a088cd
32,826
py
Python
t2k/analysis/P0DCutUtils.py
tianluyuan/pyutils
2cd3a90dbbd3d0eec3054fb9493ca0f6e0272e50
[ "MIT" ]
1
2019-02-22T10:57:13.000Z
2019-02-22T10:57:13.000Z
t2k/analysis/P0DCutUtils.py
tianluyuan/pyutils
2cd3a90dbbd3d0eec3054fb9493ca0f6e0272e50
[ "MIT" ]
null
null
null
t2k/analysis/P0DCutUtils.py
tianluyuan/pyutils
2cd3a90dbbd3d0eec3054fb9493ca0f6e0272e50
[ "MIT" ]
null
null
null
import ROOT import time import os import sys import numpy as np from array import array from thirdparty import autovivification from tianlu import rootutils from tianlu.analysis.constants import * __author__ = 'Tianlu Yuan' __email__ = 'tianlu.yuan [at] colorado.edu' ################################################...
33.667692
114
0.621611
4,257
32,826
4.686634
0.204604
0.005213
0.007669
0.005514
0.38379
0.338179
0.310711
0.280136
0.251767
0.238635
0
0.034795
0.27332
32,826
974
115
33.702259
0.801585
0.168951
0
0.354015
0
0
0.066488
0.010055
0
0
0
0
0
0
null
null
0
0.016423
null
null
0.016423
0
0
0
null
0
0
0
0
0
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
1c18633a9042e2eb8f09edfb439e791331d4c433
30,225
py
Python
Utils/CharUtilsLib.py
lcremer/Maya_Rigging
8fe07e5f8d021a6828608bca4bf74e04f023b1cd
[ "Unlicense" ]
null
null
null
Utils/CharUtilsLib.py
lcremer/Maya_Rigging
8fe07e5f8d021a6828608bca4bf74e04f023b1cd
[ "Unlicense" ]
null
null
null
Utils/CharUtilsLib.py
lcremer/Maya_Rigging
8fe07e5f8d021a6828608bca4bf74e04f023b1cd
[ "Unlicense" ]
null
null
null
import pymel.core as pc import re import copy import math import List as List from Maya_UtilLib import Units from String import * from Transform import * from CurveUtilLib import * # TODO: clean this up def dupId(n, prePost, id): newDup = [] sel = [] shortName = [] dagPath = '' fullChain = [] ...
34.781358
117
0.572969
3,799
30,225
4.532245
0.144775
0.031885
0.02509
0.031363
0.360088
0.305785
0.271054
0.182309
0.159252
0.126554
0
0.021009
0.266137
30,225
868
118
34.821429
0.755196
0.066104
0
0.279035
0
0
0.079138
0
0
0
0
0.001152
0
0
null
null
0.001508
0.013575
null
null
0.00905
0
0
0
null
0
0
0
0
0
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
1c19d2ac79f5e5f380658e5cfddf210eb5873124
1,487
py
Python
swan/io/ioutil.py
CodeAlkemist/IOExtensionsPy
bdf2347115a9de4b84ade6d4cea6eeec2c47f5de
[ "BSD-3-Clause" ]
null
null
null
swan/io/ioutil.py
CodeAlkemist/IOExtensionsPy
bdf2347115a9de4b84ade6d4cea6eeec2c47f5de
[ "BSD-3-Clause" ]
null
null
null
swan/io/ioutil.py
CodeAlkemist/IOExtensionsPy
bdf2347115a9de4b84ade6d4cea6eeec2c47f5de
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2018 Computer Raven, All rights reserved # IO utilities library core components import ntpath import os import platform import subprocess import psutil import swan.util import io def use_chunks(size): mem = psutil.virtual_memory() return True if mem.total//4 >= size else False def hide_file...
25.20339
114
0.69267
215
1,487
4.632558
0.465116
0.032129
0.026104
0.048193
0.208835
0.170683
0.170683
0.170683
0.170683
0.170683
0
0.017079
0.212508
1,487
58
115
25.637931
0.833476
0.257566
0
0
0
0
0.179487
0
0
0
0
0
0
1
0.2
false
0
0.233333
0.033333
0.566667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1c1a0bbfd2f910e123fcbfc481430536413a3261
4,893
py
Python
eval_exploits.py
kevinkoo001/ropf
6a41d87b74add2632205702a35753b9288723bb0
[ "BSD-3-Clause" ]
21
2016-05-31T06:37:13.000Z
2021-10-05T12:19:12.000Z
eval_exploits.py
kevinkoo001/ropf
6a41d87b74add2632205702a35753b9288723bb0
[ "BSD-3-Clause" ]
3
2016-05-31T17:26:03.000Z
2021-01-05T15:19:45.000Z
eval_exploits.py
kevinkoo001/ropf
6a41d87b74add2632205702a35753b9288723bb0
[ "BSD-3-Clause" ]
8
2016-05-31T10:20:40.000Z
2018-06-16T02:43:10.000Z
__author__ = 'Hyungjoon Koo' import os import pickle import subprocess from bz2 import BZ2File import util STAT_DIR = './stats/' MOVED = '_stats_gads_movings.bz2' ''' Exploit Samples with Metasploit and Evaluation (mplayer - avformat.dll) 66% (2/3 Broken) (mplayer - avcodec.dll) Error in gadget generat...
52.053191
237
0.640507
589
4,893
5.123939
0.370119
0.031809
0.054672
0.055666
0.213386
0.17727
0.138834
0.048376
0.048376
0.030484
0
0.183416
0.221132
4,893
94
238
52.053191
0.608502
0
0
0
0
0.014085
0.241991
0.148882
0
0
0.188984
0
0
0
null
null
0.014085
0.070423
null
null
0.084507
0
0
0
null
0
0
0
0
0
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
1c1c9e05e14a1923d3c4c3ff0c53ddf26bca7da5
871
py
Python
ml_source/tests/diabetes/scoring/test_scoring_batch.py
GolamRashed/azure-databricks-mlops-mlflow
d1e4a21cb5047213ac0d4c620aac8938048d8168
[ "MIT" ]
33
2021-06-02T12:57:33.000Z
2022-03-02T19:21:03.000Z
ml_source/tests/diabetes/scoring/test_scoring_batch.py
GolamRashed/azure-databricks-mlops-mlflow
d1e4a21cb5047213ac0d4c620aac8938048d8168
[ "MIT" ]
5
2021-09-16T12:35:19.000Z
2021-12-12T19:20:15.000Z
ml_source/tests/diabetes/scoring/test_scoring_batch.py
GolamRashed/azure-databricks-mlops-mlflow
d1e4a21cb5047213ac0d4c620aac8938048d8168
[ "MIT" ]
17
2021-06-02T13:11:39.000Z
2022-03-28T10:08:20.000Z
import os import unittest import pandas as pd from diabetes.scoring.batch.run import batch_scoring from diabetes.training.evaluate import split_data from diabetes.training.train import train_model class TestScoringBatchMethods(unittest.TestCase): def test_batch_scoring(self): ridge_args = {"alpha": 0.5} ...
37.869565
84
0.718714
119
871
5.05042
0.403361
0.053245
0.066556
0.046589
0.189684
0.116473
0.116473
0.116473
0
0
0
0.033058
0.166475
871
22
85
39.590909
0.794766
0
0
0
0
0
0.10907
0.025258
0
0
0
0
0.111111
1
0.055556
false
0
0.333333
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1c1d8632f7a46a11d54d921cf85109230a845538
3,621
py
Python
utils/images.py
rotmanmi/hp-vae-gan
70c67c8ad9ff1f8c48a2bf7f883cd1f2cfd0c043
[ "MIT" ]
45
2020-06-23T17:08:35.000Z
2022-03-31T15:34:29.000Z
utils/images.py
rotmanmi/hp-vae-gan
70c67c8ad9ff1f8c48a2bf7f883cd1f2cfd0c043
[ "MIT" ]
4
2020-11-11T03:50:58.000Z
2021-11-29T08:50:17.000Z
utils/images.py
rotmanmi/hp-vae-gan
70c67c8ad9ff1f8c48a2bf7f883cd1f2cfd0c043
[ "MIT" ]
9
2020-06-25T05:47:32.000Z
2022-01-20T00:29:30.000Z
import torch import torch.nn.functional as F import math __all__ = ['interpolate', 'interpolate_3D', 'adjust_scales2image', 'generate_noise', 'get_scales_by_index', 'get_fps_td_by_index', 'get_fps_by_index', 'upscale', 'upscale_2d'] def interpolate(input, size=None, scale_factor=None, interpolation='bilin...
34.160377
115
0.691522
553
3,621
4.291139
0.209765
0.074168
0.035398
0.037927
0.504846
0.444585
0.382217
0.328276
0.307206
0.270122
0
0.016354
0.18945
3,621
105
116
34.485714
0.792164
0.038111
0
0.208955
1
0
0.06099
0
0
0
0
0
0.059701
1
0.134328
false
0
0.044776
0
0.343284
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
1c257698a5f5f0910b60590d141c1da91ab49fdd
380
py
Python
handler/IndexHandler.py
amfox/af_sbs
327a0a68731e905818b24aaf4efb35cfd0d29637
[ "MIT" ]
null
null
null
handler/IndexHandler.py
amfox/af_sbs
327a0a68731e905818b24aaf4efb35cfd0d29637
[ "MIT" ]
null
null
null
handler/IndexHandler.py
amfox/af_sbs
327a0a68731e905818b24aaf4efb35cfd0d29637
[ "MIT" ]
null
null
null
# coding=utf-8 from datetime import datetime from tornado.web import RequestHandler __author__ = 'TIF' def tick(): print('Tick! The time is: %s' % datetime.now()) class IndexHandler(RequestHandler): def get(self): # self.application.scheduler.add_job(tick, 'interval', seconds=3) import pdb ...
20
73
0.663158
48
380
5.125
0.75
0
0
0
0
0
0
0
0
0
0
0.006689
0.213158
380
18
74
21.111111
0.816054
0.2
0
0
0
0
0.119601
0
0
0
0
0
0
1
0.2
false
0
0.3
0
0.6
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
0
0
0
1
0
0
1
1c28fda1d1ed12399e7e449a8fff5b6e5e8d9835
22,209
py
Python
StreamPy/StreamPy-UI/src/root/nested/temp/deprecated.py
AnomalyInc/StreamPy
94abca276b2857de48259f4f42ef95efbdf5f6d1
[ "Apache-2.0" ]
2
2017-04-27T11:04:27.000Z
2019-02-07T21:03:32.000Z
StreamPy/StreamPy-UI/src/root/nested/temp/deprecated.py
StreamPy/StreamPy
94abca276b2857de48259f4f42ef95efbdf5f6d1
[ "Apache-2.0" ]
null
null
null
StreamPy/StreamPy-UI/src/root/nested/temp/deprecated.py
StreamPy/StreamPy
94abca276b2857de48259f4f42ef95efbdf5f6d1
[ "Apache-2.0" ]
null
null
null
# from example.py ''' rename_stream() replaces a component name with the random id with an integer (1, 2, 3,...) if there are multiple instances. Parameters ---------- instance_dict : dict Component names with random id's paired with dict of it's 'in' and 'out' ports Returns ------- comp_list : dict Plai...
36.830846
141
0.576298
2,818
22,209
4.319375
0.11533
0.039435
0.02933
0.013802
0.309481
0.243099
0.208922
0.162011
0.141637
0.116333
0
0.007282
0.295151
22,209
602
142
36.892027
0.770282
0.291278
0
0.109489
0
0
0.053471
0.003594
0.007299
0
0
0
0
0
null
null
0
0
null
null
0.007299
0
0
0
null
0
0
0
0
0
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
1c2c67ee1b5f4c5fbb03ab10efcc9133f3946fa0
843
py
Python
metarecord/migrations/0036_add_classification_function_allowed.py
kerkkoheiskanen/helerm
bdaf801a940d42325a1076b42bb0edef831fbac9
[ "MIT" ]
2
2017-04-21T15:36:23.000Z
2020-12-04T09:32:39.000Z
metarecord/migrations/0036_add_classification_function_allowed.py
kerkkoheiskanen/helerm
bdaf801a940d42325a1076b42bb0edef831fbac9
[ "MIT" ]
168
2016-10-05T12:58:41.000Z
2021-08-31T14:29:56.000Z
metarecord/migrations/0036_add_classification_function_allowed.py
kerkkoheiskanen/helerm
bdaf801a940d42325a1076b42bb0edef831fbac9
[ "MIT" ]
7
2016-10-13T12:51:36.000Z
2021-01-21T13:05:04.000Z
# Generated by Django 2.0.1 on 2018-01-12 12:04 from django.db import migrations, models def populate_function_allowed(apps, schema_editor): Classification = apps.get_model('metarecord', 'Classification') for classification in Classification.objects.all(): classification.function_allowed = not class...
30.107143
86
0.699881
86
843
6.686047
0.616279
0.156522
0.08
0.118261
0
0
0
0
0
0
0
0.028065
0.196916
843
27
87
31.222222
0.82127
0.053381
0
0
1
0
0.144472
0
0
0
0
0
0
1
0.055556
false
0
0.055556
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1c3270da277a227601ccd6d01a1407d95545ca58
1,842
py
Python
PygameDeepRLAgent/A3CBootcampGame/ShootingGrounds/Targets.py
Muff1nz/PygameDeepRLAgent
c3e53de99ff847357e27048843ea01fe92fbfd38
[ "MIT" ]
null
null
null
PygameDeepRLAgent/A3CBootcampGame/ShootingGrounds/Targets.py
Muff1nz/PygameDeepRLAgent
c3e53de99ff847357e27048843ea01fe92fbfd38
[ "MIT" ]
4
2017-08-25T08:54:05.000Z
2017-10-26T09:15:18.000Z
PygameDeepRLAgent/A3CBootcampGame/ShootingGrounds/Targets.py
Muff1nz/PygameDeepRLAgent
c3e53de99ff847357e27048843ea01fe92fbfd38
[ "MIT" ]
1
2019-12-10T01:11:41.000Z
2019-12-10T01:11:41.000Z
import random import numpy as np from A3CBootcampGame.Actor import Actor class TargetHandler: def __init__(self, settings, player): self.settings = settings self.player = player self.target = Target(settings, [0,0], "./Assets/Enemy.png") self.foodSpawnRate = 30 self.spawn...
28.338462
84
0.582519
227
1,842
4.674009
0.259912
0.05655
0.025448
0.035815
0.126296
0.086711
0.086711
0.086711
0.086711
0
0
0.028483
0.294788
1,842
64
85
28.78125
0.788299
0
0
0.16
0
0
0.016287
0
0
0
0
0
0
1
0.22
false
0
0.06
0
0.38
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
1c32a743ab53fee05dd8f26beea9f33a973416ba
2,751
py
Python
zimsoap/utils.py
emillion/zimsoap
d1ea2eb4d50f263c9a16e5549af03f1eff3e295e
[ "Apache-2.0" ]
11
2015-02-15T23:52:56.000Z
2021-05-06T18:05:24.000Z
zimsoap/utils.py
emillion/zimsoap
d1ea2eb4d50f263c9a16e5549af03f1eff3e295e
[ "Apache-2.0" ]
25
2015-01-14T11:27:51.000Z
2016-09-07T14:06:52.000Z
zimsoap/utils.py
emillion/zimsoap
d1ea2eb4d50f263c9a16e5549af03f1eff3e295e
[ "Apache-2.0" ]
10
2015-08-12T14:45:17.000Z
2021-12-08T23:40:35.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import unicode_literals """ Misc tool functions """ import pythonzimbra import pythonzimbra.tools.xmlserializer import re import hmac import hashlib from xml.dom import minidom re_zuuid = re.compile(r'[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}') def is_...
24.345133
77
0.605598
367
2,751
4.46049
0.411444
0.021991
0.00733
0.014661
0.073305
0.073305
0.047648
0.047648
0
0
0
0.020212
0.280625
2,751
112
78
24.5625
0.806973
0.318066
0
0.25
0
0.016667
0.072613
0.023442
0
0
0
0
0
1
0.133333
false
0
0.116667
0.016667
0.566667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1c33696bcd8ef856f152be64b1ac616cd4dc2881
8,724
py
Python
uspto-txt-parser.py
hopped/uspto-patents-parsing-tools
c1804641d6fad690ddfd62039f4a367f625359b6
[ "MIT" ]
27
2015-03-08T09:38:03.000Z
2022-01-21T09:46:22.000Z
uspto-txt-parser.py
hopped/uspto-patents-parsing-tools
c1804641d6fad690ddfd62039f4a367f625359b6
[ "MIT" ]
null
null
null
uspto-txt-parser.py
hopped/uspto-patents-parsing-tools
c1804641d6fad690ddfd62039f4a367f625359b6
[ "MIT" ]
13
2015-08-17T20:28:38.000Z
2020-05-21T11:37:39.000Z
#!/bin/bash/env python """ The MIT License Copyright (c) 2014 Dennis Hoppe 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 limitation the rights to use, cop...
31.268817
103
0.599954
1,124
8,724
4.58452
0.313167
0.038812
0.040753
0.038424
0.165729
0.13235
0.13235
0.109839
0.057442
0.057442
0
0.016316
0.276364
8,724
278
104
31.381295
0.799937
0.023155
0
0.310881
0
0
0.078624
0.003552
0
0
0
0
0
0
null
null
0
0.051813
null
null
0.036269
0
0
0
null
0
0
0
0
0
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
1c3380ecd30ca56195bc242c33cef8c3f44c596d
4,329
py
Python
photo_gallery/models.py
Fritzip/splitted-nz
405089440350c4808144d5ed711606513efcdefb
[ "Apache-2.0" ]
null
null
null
photo_gallery/models.py
Fritzip/splitted-nz
405089440350c4808144d5ed711606513efcdefb
[ "Apache-2.0" ]
3
2019-11-16T08:10:48.000Z
2020-03-14T23:14:41.000Z
photo_gallery/models.py
Fritzip/splitted-nz
405089440350c4808144d5ed711606513efcdefb
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import uuid from django.db import models from django.db.models.signals import post_delete from django.dispatch import receiver from django.urls import reverse from imagekit.models import ImageSpecField from imagekit.processors import ResizeToFit from datetime import datet...
37.973684
146
0.635482
527
4,329
5.111954
0.309298
0.026726
0.028953
0.037862
0.37899
0.273942
0.243133
0.163697
0.116555
0.116555
0
0.013731
0.226149
4,329
113
147
38.309735
0.790448
0.339801
0
0.253968
0
0
0.026855
0
0
0
0
0
0
1
0.095238
false
0
0.126984
0.031746
0.68254
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
1c3393cf1f4fce02e2eec81b119a7656e4dd6b91
6,401
py
Python
rabbittop/_rabbitmq.py
jve/rabbittop
1cac40f66135cff5433e3d6fac99cd0898a927de
[ "MIT" ]
1
2019-08-19T19:30:06.000Z
2019-08-19T19:30:06.000Z
rabbittop/_rabbitmq.py
jve/rabbittop
1cac40f66135cff5433e3d6fac99cd0898a927de
[ "MIT" ]
null
null
null
rabbittop/_rabbitmq.py
jve/rabbittop
1cac40f66135cff5433e3d6fac99cd0898a927de
[ "MIT" ]
null
null
null
""" RabbitMQ API """ import httplib import base64 import os import json import collections import datetime import logging _log = logging.getLogger() # Use urllib.extra_quote to deal with weird names def overview(host, user, password, port): return dict(_create_http_client(host, user, password, port, 'overview'...
35.759777
111
0.612248
745
6,401
5.020134
0.191946
0.038503
0.048128
0.064171
0.32754
0.184492
0.147594
0.128342
0.103209
0.07861
0
0.002278
0.245743
6,401
179
112
35.759777
0.77237
0.040619
0
0.086957
0
0
0.177116
0.044361
0
0
0
0
0
1
0.086957
false
0.108696
0.050725
0.021739
0.246377
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