hexsha
stringlengths
40
40
size
int64
5
2.06M
ext
stringclasses
11 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
3
251
max_stars_repo_name
stringlengths
4
130
max_stars_repo_head_hexsha
stringlengths
40
78
max_stars_repo_licenses
listlengths
1
10
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
3
251
max_issues_repo_name
stringlengths
4
130
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
10
max_issues_count
int64
1
116k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
3
251
max_forks_repo_name
stringlengths
4
130
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
listlengths
1
10
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
1
1.05M
avg_line_length
float64
1
1.02M
max_line_length
int64
3
1.04M
alphanum_fraction
float64
0
1
296855e3082fc927d6f123b69b223d9a6934f75b
1,861
py
Python
Graphs/ConnectedComponents.py
PK-100/Competitive_Programming
d0863feaaa99462b2999e85dcf115f7a6c08bb8d
[ "MIT" ]
70
2018-06-25T21:20:15.000Z
2022-03-24T03:55:17.000Z
Graphs/ConnectedComponents.py
An3sha/Competitive_Programming
ee7eadf51939a360d0b004d787ebabda583e92f0
[ "MIT" ]
4
2018-09-04T13:12:20.000Z
2021-06-20T08:29:12.000Z
Graphs/ConnectedComponents.py
An3sha/Competitive_Programming
ee7eadf51939a360d0b004d787ebabda583e92f0
[ "MIT" ]
24
2018-12-26T05:15:32.000Z
2022-01-23T23:04:54.000Z
#!/bin/python3 import math import os import random import re import sys # # Complete the 'countGroups' function below. # # The function is expected to return an INTEGER. # The function accepts STRING_ARRAY related as parameter. # def convertMatrixToGraph(mat): """ Accept the input which is an adjacency mat...
22.695122
96
0.576034
29699db1cd4c1b7712dc1f31ae88eb868493c3ed
1,597
py
Python
recognition/ml_model.py
hurschler/pig-face-recognition
5834f3c89448a645ee0eaf2bbdade064f0c4be93
[ "Apache-2.0" ]
1
2021-11-19T05:33:39.000Z
2021-11-19T05:33:39.000Z
recognition/ml_model.py
hurschler/pig-face-recognition
5834f3c89448a645ee0eaf2bbdade064f0c4be93
[ "Apache-2.0" ]
null
null
null
recognition/ml_model.py
hurschler/pig-face-recognition
5834f3c89448a645ee0eaf2bbdade064f0c4be93
[ "Apache-2.0" ]
1
2022-01-05T12:57:12.000Z
2022-01-05T12:57:12.000Z
import logging.config import util.logger_init import numpy as np import tensorflow as tf from sklearn.metrics import confusion_matrix from util.tensorboard_util import plot_confusion_matrix, plot_to_image from tensorflow.python.keras.callbacks_v1 import TensorBoard from keras import backend as K # Define TensorBoard ...
31.313725
89
0.708203
296af987b0de54ddfc1944dd10981828dfe9bc78
1,803
py
Python
requests/UpdateSubscriptionRequest.py
divinorum-webb/python-tableau-api
9d3f130d63b15307ad2b23e2273b52790b8d9018
[ "Apache-2.0" ]
1
2019-06-08T22:19:40.000Z
2019-06-08T22:19:40.000Z
requests/UpdateSubscriptionRequest.py
divinorum-webb/python-tableau-api
9d3f130d63b15307ad2b23e2273b52790b8d9018
[ "Apache-2.0" ]
null
null
null
requests/UpdateSubscriptionRequest.py
divinorum-webb/python-tableau-api
9d3f130d63b15307ad2b23e2273b52790b8d9018
[ "Apache-2.0" ]
null
null
null
from .BaseRequest import BaseRequest
36.795918
108
0.601775
296b3f67c1ceb01054558b270075a2c69d09bb88
2,293
py
Python
doc/examples/cython/cython_main.py
hershg/ray
a1744f67fe954d8408c5b84e28ecccc130157f8e
[ "Apache-2.0" ]
2
2019-06-17T12:38:24.000Z
2020-11-11T07:52:26.000Z
doc/examples/cython/cython_main.py
hershg/ray
a1744f67fe954d8408c5b84e28ecccc130157f8e
[ "Apache-2.0" ]
3
2018-08-15T19:19:25.000Z
2021-06-30T01:54:46.000Z
doc/examples/cython/cython_main.py
hershg/ray
a1744f67fe954d8408c5b84e28ecccc130157f8e
[ "Apache-2.0" ]
2
2017-10-31T23:20:07.000Z
2019-11-13T20:16:03.000Z
from __future__ import absolute_import from __future__ import division from __future__ import print_function import ray import click import inspect import numpy as np import cython_examples as cyth def run_func(func, *args, **kwargs): """Helper function for running examples""" ray.init() func = ray.rem...
20.845455
79
0.64239
296c4de61a467a172ab5bf54ab6a35b296d94e43
17,314
py
Python
Simon/dev/main_age_classification.py
uncharted-distil/simon
26e4e54e6de455bde8ee1a24634d060e1ec7babb
[ "MIT" ]
null
null
null
Simon/dev/main_age_classification.py
uncharted-distil/simon
26e4e54e6de455bde8ee1a24634d060e1ec7babb
[ "MIT" ]
2
2021-01-27T14:57:26.000Z
2021-10-07T19:34:09.000Z
Simon/dev/main_age_classification.py
uncharted-distil/simon
26e4e54e6de455bde8ee1a24634d060e1ec7babb
[ "MIT" ]
1
2021-03-18T19:13:05.000Z
2021-03-18T19:13:05.000Z
from DataGenerator import * from Encoder import * import pandas as pd from keras.models import Model from keras.layers import Dense, Activation, Flatten, Input, Dropout, MaxPooling1D, Convolution1D from keras.layers import LSTM, Lambda, merge, Masking from keras.layers import Embedding, TimeDistributed from keras.layer...
39.083521
165
0.661315
296d4245a81dda89f65dda7069ff2c63e222474b
287
py
Python
desdeo_tools/solver/__init__.py
phoopies/desdeo-tools
d3cb48c16b35114762386ee8368214b4b432eee0
[ "MIT" ]
1
2022-03-30T17:24:55.000Z
2022-03-30T17:24:55.000Z
desdeo_tools/solver/__init__.py
phoopies/desdeo-tools
d3cb48c16b35114762386ee8368214b4b432eee0
[ "MIT" ]
2
2022-01-13T04:05:05.000Z
2022-03-12T01:07:03.000Z
desdeo_tools/solver/__init__.py
phoopies/desdeo-tools
d3cb48c16b35114762386ee8368214b4b432eee0
[ "MIT" ]
null
null
null
"""This module implements methods for solving scalar valued functions. """ __all__ = ["DiscreteMinimizer", "ScalarMethod", "ScalarMinimizer", "ScalarSolverException"] from desdeo_tools.solver.ScalarSolver import DiscreteMinimizer, ScalarMethod, ScalarMinimizer, ScalarSolverException
35.875
116
0.818815
296eaf3a25df674b47f03f8d1d4dfa8c276636f7
1,661
py
Python
tests/test_root_to_hdf.py
lundeenj/hawc_hal
21b7cfd28490e870d1ded39735827e63684556df
[ "BSD-3-Clause" ]
null
null
null
tests/test_root_to_hdf.py
lundeenj/hawc_hal
21b7cfd28490e870d1ded39735827e63684556df
[ "BSD-3-Clause" ]
null
null
null
tests/test_root_to_hdf.py
lundeenj/hawc_hal
21b7cfd28490e870d1ded39735827e63684556df
[ "BSD-3-Clause" ]
null
null
null
from hawc_hal.maptree.map_tree import map_tree_factory from hawc_hal.response import hawc_response_factory import os from conftest import check_map_trees, check_responses
24.072464
61
0.642986
296f3e0d144e44aa8925c39df61ed0e143aa64d0
1,577
py
Python
clickhouse_driver/compression/zstd.py
risicle/clickhouse-driver
d36569f52d3e62ad2e275b1d63ad79b75a06402d
[ "MIT" ]
17
2019-12-19T13:37:14.000Z
2022-03-30T15:43:12.000Z
clickhouse_driver/compression/zstd.py
risicle/clickhouse-driver
d36569f52d3e62ad2e275b1d63ad79b75a06402d
[ "MIT" ]
null
null
null
clickhouse_driver/compression/zstd.py
risicle/clickhouse-driver
d36569f52d3e62ad2e275b1d63ad79b75a06402d
[ "MIT" ]
4
2019-05-15T14:58:05.000Z
2021-10-14T03:24:12.000Z
from __future__ import absolute_import from io import BytesIO import zstd from .base import BaseCompressor, BaseDecompressor from ..protocol import CompressionMethod, CompressionMethodByte from ..reader import read_binary_uint32 from ..writer import write_binary_uint32, write_binary_uint8
30.326923
66
0.723526
2970702f348227149035bca1abec42b22aa901b1
1,019
py
Python
tmdb_client.py
SztMar/movies_catalogue
8140a37e916d9f67314aa679b46134e1794588e6
[ "MIT" ]
null
null
null
tmdb_client.py
SztMar/movies_catalogue
8140a37e916d9f67314aa679b46134e1794588e6
[ "MIT" ]
null
null
null
tmdb_client.py
SztMar/movies_catalogue
8140a37e916d9f67314aa679b46134e1794588e6
[ "MIT" ]
null
null
null
import requests import json import os API_TOKEN = os.environ.get("TMDB_API_TOKEN", "")
26.128205
58
0.723258
2970d09ae49d5ea0ddb5185266b5f2bed4f79bf9
300
py
Python
hanibal/ans_escuela/tipo_colaborador.py
Christian-Castro/castro_odoo8
8247fdb20aa39e043b6fa0c4d0af509462ab3e00
[ "Unlicense" ]
null
null
null
hanibal/ans_escuela/tipo_colaborador.py
Christian-Castro/castro_odoo8
8247fdb20aa39e043b6fa0c4d0af509462ab3e00
[ "Unlicense" ]
null
null
null
hanibal/ans_escuela/tipo_colaborador.py
Christian-Castro/castro_odoo8
8247fdb20aa39e043b6fa0c4d0af509462ab3e00
[ "Unlicense" ]
null
null
null
# -*- coding: utf-8 -*- from openerp.osv import fields, osv from openerp import models, fields, api, _
25
55
0.683333
2970d64cd60442ad64c58f0629d552521a791dbc
967
py
Python
spyder/utils/tests/test_environ.py
Nicztin/spyder
1c7b2232d2abbf1e101a1e2ab0552b32e8472bd6
[ "MIT" ]
1
2019-09-25T15:08:24.000Z
2019-09-25T15:08:24.000Z
spyder/utils/tests/test_environ.py
jorgeps86/spyder
1c7b2232d2abbf1e101a1e2ab0552b32e8472bd6
[ "MIT" ]
null
null
null
spyder/utils/tests/test_environ.py
jorgeps86/spyder
1c7b2232d2abbf1e101a1e2ab0552b32e8472bd6
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright Spyder Project Contributors # Licensed under the terms of the MIT License # """ Tests for environ.py """ # Standard library imports import os # Test library imports import pytest # Third party imports from qtpy.QtCore import QTimer # Local imports from spyder.utils.test impor...
20.574468
72
0.713547
2970ef8fae53d89f446cb52a1542393d10955b37
4,680
py
Python
comsole.py
MumuNiMochii/Dumb_Dump
ee431c934a591bc0868792601f5844615f869af1
[ "MIT" ]
1
2020-09-21T01:56:41.000Z
2020-09-21T01:56:41.000Z
comsole.py
MumuNiMochii/Dumb_Dump
ee431c934a591bc0868792601f5844615f869af1
[ "MIT" ]
null
null
null
comsole.py
MumuNiMochii/Dumb_Dump
ee431c934a591bc0868792601f5844615f869af1
[ "MIT" ]
1
2020-10-09T01:09:20.000Z
2020-10-09T01:09:20.000Z
import math main()
38.04878
121
0.47906
2971ec9257acdac3ee8d9c3bae4d48e78eefdf76
3,485
py
Python
test/test_discussions.py
fibasile/ticket-gateway
811a216281a17150adca3edf691f9cf5a1478d2f
[ "MIT" ]
null
null
null
test/test_discussions.py
fibasile/ticket-gateway
811a216281a17150adca3edf691f9cf5a1478d2f
[ "MIT" ]
null
null
null
test/test_discussions.py
fibasile/ticket-gateway
811a216281a17150adca3edf691f9cf5a1478d2f
[ "MIT" ]
null
null
null
import unittest import json from server import server from models.abc import db from repositories import ChannelRepository, GitlabProvider from unittest.mock import MagicMock, Mock # from flask import make_response # from flask.json import jsonify from util import test_client
37.880435
79
0.63759
29726a4c7ce2a690926dd277befe7e4b116e0d83
24,943
py
Python
cogs/music.py
ETJeanMachine/Pouty-Bot-Discord
9b005e43885db2e066d525449e05c7eb5d03cd23
[ "MIT" ]
null
null
null
cogs/music.py
ETJeanMachine/Pouty-Bot-Discord
9b005e43885db2e066d525449e05c7eb5d03cd23
[ "MIT" ]
null
null
null
cogs/music.py
ETJeanMachine/Pouty-Bot-Discord
9b005e43885db2e066d525449e05c7eb5d03cd23
[ "MIT" ]
null
null
null
""" This is an example cog that shows how you would make use of Lavalink.py. This example cog requires that you have python 3.6 or higher due to the f-strings. """ import math import re import discord import lavalink from discord.ext import commands from discord.ext import menus from .utils import checks ...
41.092257
161
0.583611
2973ac2848fca5ea3493059da1e9b46b9746f3f2
17,005
py
Python
utils/data_processing.py
LisaAnne/LocalizingMoments
b6a555c8134581305d0ed4716fbc192860e0b88c
[ "BSD-2-Clause" ]
157
2017-08-04T21:56:46.000Z
2022-03-05T13:49:02.000Z
utils/data_processing.py
Naman-Bhalla/LocalizingMoments
618bebfe6c4b897e94770b8011d34aa45c941e62
[ "BSD-2-Clause" ]
19
2017-09-26T15:27:47.000Z
2022-02-27T23:21:00.000Z
utils/data_processing.py
Naman-Bhalla/LocalizingMoments
618bebfe6c4b897e94770b8011d34aa45c941e62
[ "BSD-2-Clause" ]
48
2017-08-08T11:18:39.000Z
2021-11-15T04:20:33.000Z
import numpy as np import sys import os sys.path.append('utils/') from config import * from utils import * sys.path.append(pycaffe_dir) import time import pdb import random import pickle as pkl import caffe from multiprocessing import Pool from threading import Thread import random import h5py import itertools import m...
32.267552
114
0.673625
297530f3746153e98984e1af10f206c3aa39875c
17,856
py
Python
old_metrics/bleu.py
Danial-Alh/fast-bleu
d8726ae829b2cc275192e70819ee9c60c9d4bed6
[ "MIT" ]
21
2020-08-09T12:06:58.000Z
2022-02-13T19:15:11.000Z
old_metrics/bleu.py
Danial-Alh/FastBLEU
182584a6593aa36d57b15705da6f317bdb06f83e
[ "MIT" ]
4
2020-08-11T22:00:40.000Z
2021-09-01T07:35:52.000Z
old_metrics/bleu.py
Danial-Alh/FastBLEU
182584a6593aa36d57b15705da6f317bdb06f83e
[ "MIT" ]
2
2020-08-12T14:49:18.000Z
2021-06-25T12:51:42.000Z
import math import os from collections import Counter from fractions import Fraction import numpy as np from nltk import ngrams from nltk.translate.bleu_score import SmoothingFunction from .utils import get_ngrams, Threader def corpus_bleu(references, hypothesis, reference_max_counts...
44.19802
115
0.620128
2975d99cfa9a3c77e63e816ac890c17807b18244
1,880
py
Python
setup.py
gspracklin/bwtools
08159b86738fed978ef442a60032cf8b00b5635a
[ "MIT" ]
4
2021-07-23T02:49:54.000Z
2022-03-22T19:56:13.000Z
setup.py
gspracklin/bwtools
08159b86738fed978ef442a60032cf8b00b5635a
[ "MIT" ]
1
2020-08-24T19:03:46.000Z
2020-08-24T19:03:46.000Z
setup.py
gspracklin/bwtools
08159b86738fed978ef442a60032cf8b00b5635a
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import io import os import re from setuptools import setup, find_packages # classifiers = """\ # Development Status :: 4 - Beta # Programming Language :: Python # Programming Language :: Python :: 3 # Programming Language :: Python :: 3.4 # Programming...
24.736842
74
0.623404
2976116c00e8fbc7eadad3295e61cb99c5280023
3,018
py
Python
hoogberta/encoder.py
KateSatida/HoogBERTa_SuperAI2
e903054bc752a50c391ab610507fdeccc4f5d482
[ "MIT" ]
null
null
null
hoogberta/encoder.py
KateSatida/HoogBERTa_SuperAI2
e903054bc752a50c391ab610507fdeccc4f5d482
[ "MIT" ]
null
null
null
hoogberta/encoder.py
KateSatida/HoogBERTa_SuperAI2
e903054bc752a50c391ab610507fdeccc4f5d482
[ "MIT" ]
null
null
null
from .trainer.models import MultiTaskTagger from .trainer.utils import load_dictionaries,Config from .trainer.tasks.multitask_tagging import MultiTaskTaggingModule from fairseq.data.data_utils import collate_tokens from attacut import tokenize
38.202532
103
0.61829
29765d30f6c468ab494ba5307c14ec5427857135
146
py
Python
computer_equipment_control/model/__init__.py
hugonp/Proyecto-Triples
ff4c77e37d49a1674d17f3137ef06b5c56ab9c29
[ "Apache-2.0" ]
null
null
null
computer_equipment_control/model/__init__.py
hugonp/Proyecto-Triples
ff4c77e37d49a1674d17f3137ef06b5c56ab9c29
[ "Apache-2.0" ]
null
null
null
computer_equipment_control/model/__init__.py
hugonp/Proyecto-Triples
ff4c77e37d49a1674d17f3137ef06b5c56ab9c29
[ "Apache-2.0" ]
null
null
null
from . import usuario from . import equipo_cambio from . import equipo_computo from . import sucursales from . import depto from . import usuario
20.857143
28
0.794521
297664fa1ad9becfe5e46a57677c012794d49c7e
697
py
Python
gui/window.py
frlnx/melee
db2670453771c6d3635e97e28bb8667b14643b05
[ "CC0-1.0" ]
null
null
null
gui/window.py
frlnx/melee
db2670453771c6d3635e97e28bb8667b14643b05
[ "CC0-1.0" ]
null
null
null
gui/window.py
frlnx/melee
db2670453771c6d3635e97e28bb8667b14643b05
[ "CC0-1.0" ]
null
null
null
from pyglet.window import Window as PygletWindow from .controllers import ComponentContainerController from .models.container import ComponentContainerModel from .views import OrthoViewport
30.304348
80
0.714491
2979426aee0cb9d3f7a35f048ea9d20f5f7f25ea
1,806
py
Python
conductor_calculator.py
aj83854/project-lightning-rod
77867d6c4ee30650023f3ec2a8318edd92530264
[ "MIT" ]
null
null
null
conductor_calculator.py
aj83854/project-lightning-rod
77867d6c4ee30650023f3ec2a8318edd92530264
[ "MIT" ]
null
null
null
conductor_calculator.py
aj83854/project-lightning-rod
77867d6c4ee30650023f3ec2a8318edd92530264
[ "MIT" ]
null
null
null
from pyconductor import load_test_values, calculate_conductance if __name__ == "__main__": conductance_calc()
42
94
0.530454
297a9dbff855963c67a53faea767533cf768f0af
2,073
py
Python
compiler/python_compiler/engines/py3_8/Variable.py
unknowncoder05/app-architect
083278e1386562797614f320649ca85d1c44e009
[ "MIT" ]
3
2021-08-12T12:59:27.000Z
2021-08-29T15:30:49.000Z
compiler/python_compiler/engines/py3_8/Variable.py
unknowncoder05/app-architect
083278e1386562797614f320649ca85d1c44e009
[ "MIT" ]
null
null
null
compiler/python_compiler/engines/py3_8/Variable.py
unknowncoder05/app-architect
083278e1386562797614f320649ca85d1c44e009
[ "MIT" ]
null
null
null
from .Fragment import Fragment from utils.flags import * from utils.CustomLogging import CustomLogging #from python_compiler.engines.utils.types import get_python_type_str, ANY DEFAULT_ASSIGN_OPERATOR = "=" ASSIGN_OPERATORS = { "=":"=", "+=":"+=", "-=":"-=", "*=":"*=", "/=":"/=", "//=":"//=", ...
33.983607
116
0.675832
297b1b7d9f0a6e280fa0145471626d7d01aa1943
266
py
Python
test/win/vs-macros/test_exists.py
chlorm-forks/gyp
a8921fcaab1a18c8cf7e4ab09ceb940e336918ec
[ "BSD-3-Clause" ]
77
2018-07-01T15:55:34.000Z
2022-03-30T09:16:54.000Z
test/win/vs-macros/test_exists.py
chlorm-forks/gyp
a8921fcaab1a18c8cf7e4ab09ceb940e336918ec
[ "BSD-3-Clause" ]
116
2021-05-29T16:32:51.000Z
2021-08-13T16:05:29.000Z
test/win/vs-macros/test_exists.py
chlorm-forks/gyp
a8921fcaab1a18c8cf7e4ab09ceb940e336918ec
[ "BSD-3-Clause" ]
53
2018-04-13T12:06:06.000Z
2022-03-25T13:54:38.000Z
# Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import os import sys if not os.path.exists(sys.argv[1]): raise Exception() open(sys.argv[2], 'w').close()
24.181818
72
0.718045
297bd9ae840483948b9e83e2e47fb15cc768315a
37,440
py
Python
Lib/site-packages/qwt/scale_draw.py
fochoao/cpython
3dc84b260e5bced65ebc2c45c40c8fa65f9b5aa9
[ "bzip2-1.0.6", "0BSD" ]
null
null
null
Lib/site-packages/qwt/scale_draw.py
fochoao/cpython
3dc84b260e5bced65ebc2c45c40c8fa65f9b5aa9
[ "bzip2-1.0.6", "0BSD" ]
20
2021-05-03T18:02:23.000Z
2022-03-12T12:01:04.000Z
Lib/site-packages/qwt/scale_draw.py
fochoao/cpython
3dc84b260e5bced65ebc2c45c40c8fa65f9b5aa9
[ "bzip2-1.0.6", "0BSD" ]
null
null
null
# -*- coding: utf-8 -*- # # Licensed under the terms of the Qwt License # Copyright (c) 2002 Uwe Rathmann, for the original C++ code # Copyright (c) 2015 Pierre Raybaut, for the Python translation/optimization # (see LICENSE file for more details) """ QwtAbstractScaleDraw -------------------- .. autoclass:: QwtAbstra...
30.967742
130
0.559161
297beccf46f124350d5429aa7d77baa3ba0a7320
3,524
py
Python
fuzzers/LIFCL/090-sysconfig/fuzzer.py
mfkiwl/prjoxide
318331f8b30c2e2a31cc41d51f104b671e180a8a
[ "0BSD" ]
80
2019-12-10T21:06:12.000Z
2021-02-06T09:12:37.000Z
fuzzers/LIFCL/090-sysconfig/fuzzer.py
mfkiwl/prjoxide
318331f8b30c2e2a31cc41d51f104b671e180a8a
[ "0BSD" ]
13
2021-03-18T12:59:25.000Z
2022-03-30T11:35:51.000Z
fuzzers/LIFCL/090-sysconfig/fuzzer.py
mfkiwl/prjoxide
318331f8b30c2e2a31cc41d51f104b671e180a8a
[ "0BSD" ]
4
2020-10-04T22:23:15.000Z
2021-01-29T21:51:25.000Z
from fuzzconfig import FuzzConfig import nonrouting import fuzzloops import re cfgs = [ FuzzConfig(job="SYSCONFIG40", device="LIFCL-40", sv="../shared/empty_40.v", tiles=["CIB_R0C75:EFB_0", "CIB_R0C72:BANKREF0", "CIB_R0C77:EFB_1_OSC", "CIB_R0C79:EFB_2", "CIB_R0C81:I2C_EFB_3", "CIB_R0C85:PMU", "CIB_...
61.824561
117
0.557605
297cba1ed48f76e8524cfa4c59799c094d9928a0
368
py
Python
test.py
jdonovanCS/CS-352-Evolutionary-Computation
dca64068c1824dac8ec3983d7215effa426bc3bc
[ "BSD-3-Clause" ]
null
null
null
test.py
jdonovanCS/CS-352-Evolutionary-Computation
dca64068c1824dac8ec3983d7215effa426bc3bc
[ "BSD-3-Clause" ]
null
null
null
test.py
jdonovanCS/CS-352-Evolutionary-Computation
dca64068c1824dac8ec3983d7215effa426bc3bc
[ "BSD-3-Clause" ]
null
null
null
import argparse import collections import os import random import json from copy import deepcopy import ConfigSpace import numpy as np # from tabular_benchmarks import FCNetProteinStructureBenchmark, FCNetSliceLocalizationBenchmark,\ # FCNetNavalPropulsionBenchmark, FCNetParkinsonsTelemonitoringBenchmark from ta...
26.285714
98
0.872283
297cf3d7631c7db955fd11e56c685c2b4f84aac0
1,254
py
Python
tests/test_base64_uuid.py
cds-snc/notifier-utils
c3a205ac4381312fe1884a39ffafa7ffb862736f
[ "MIT" ]
3
2020-04-29T17:13:43.000Z
2020-12-04T21:08:33.000Z
tests/test_base64_uuid.py
cds-snc/notifier-utils
c3a205ac4381312fe1884a39ffafa7ffb862736f
[ "MIT" ]
21
2020-04-16T12:29:46.000Z
2022-02-28T17:17:15.000Z
tests/test_base64_uuid.py
cds-snc/notifier-utils
c3a205ac4381312fe1884a39ffafa7ffb862736f
[ "MIT" ]
4
2020-02-21T20:20:00.000Z
2021-02-11T19:00:59.000Z
from uuid import UUID import os import pytest from notifications_utils.base64_uuid import base64_to_uuid, uuid_to_base64, base64_to_bytes, bytes_to_base64 def test_base64_converter_to_url_raises_validation_error(): with pytest.raises(Exception): uuid_to_base64(object())
27.26087
117
0.739234
297d3ac09c9100be856d7c8b2496765760397058
3,571
py
Python
homeassistant/components/devolo_home_control/__init__.py
dummys/home-assistant
dd908caebade15adf061fade686355b94ed2f43a
[ "Apache-2.0" ]
11
2018-02-16T15:35:47.000Z
2020-01-14T15:20:00.000Z
homeassistant/components/devolo_home_control/__init__.py
dummys/home-assistant
dd908caebade15adf061fade686355b94ed2f43a
[ "Apache-2.0" ]
64
2020-10-01T06:39:48.000Z
2022-03-31T06:02:17.000Z
homeassistant/components/devolo_home_control/__init__.py
dummys/home-assistant
dd908caebade15adf061fade686355b94ed2f43a
[ "Apache-2.0" ]
6
2018-02-04T03:48:55.000Z
2022-01-24T20:37:04.000Z
"""The devolo_home_control integration.""" from __future__ import annotations import asyncio from functools import partial from types import MappingProxyType from typing import Any from devolo_home_control_api.exceptions.gateway import GatewayOfflineError from devolo_home_control_api.homecontrol import HomeControl fr...
35.009804
86
0.711845
297d9c0aeb9cbc7ee91fb0bd8b0450dda847eca4
1,199
py
Python
trab1/hillClimbing.py
RafaelPedruzzi/IA-2019-2
7d99a8f02ec826403bd48c6eba574d802e558c36
[ "MIT" ]
null
null
null
trab1/hillClimbing.py
RafaelPedruzzi/IA-2019-2
7d99a8f02ec826403bd48c6eba574d802e558c36
[ "MIT" ]
null
null
null
trab1/hillClimbing.py
RafaelPedruzzi/IA-2019-2
7d99a8f02ec826403bd48c6eba574d802e558c36
[ "MIT" ]
null
null
null
## -------------------------------------------------------- ## # Trab 1 IA 2019-2 # # Rafael Belmock Pedruzzi # # hillClimbing.py: implements the hill climbing metaheuristic for the bag problem # # Python version: 3.7.4 ## -------------------------------------------------------- ## import bagProblem as bp from...
28.547619
89
0.533778
2980dcb521571569813c10466d1c0e11144f30c7
151
py
Python
ssb_pseudonymization/__init__.py
statisticsnorway/ssb-pseudonymization-py
cc8e1abd1cf00b403bfaf52fcb335f09ee71b591
[ "MIT" ]
1
2021-02-17T09:51:12.000Z
2021-02-17T09:51:12.000Z
ssb_pseudonymization/__init__.py
statisticsnorway/ssb-pseudonymization-py
cc8e1abd1cf00b403bfaf52fcb335f09ee71b591
[ "MIT" ]
null
null
null
ssb_pseudonymization/__init__.py
statisticsnorway/ssb-pseudonymization-py
cc8e1abd1cf00b403bfaf52fcb335f09ee71b591
[ "MIT" ]
3
2020-08-25T07:12:17.000Z
2021-04-20T12:26:42.000Z
"""ssb-pseudonymization - Data pseudonymization functions used by SSB""" __version__ = '0.0.2' __author__ = 'Statistics Norway (ssb.no)' __all__ = []
25.166667
72
0.721854
2980f0b218fed38559f7aa3fa0718ba902a95fb9
7,657
py
Python
hwilib/devices/keepkey.py
cjackie/HWI
8c1b50aaaac37714b5d61f720b4b06f8aa24c73a
[ "MIT" ]
285
2019-01-31T03:10:19.000Z
2022-03-31T10:38:37.000Z
hwilib/devices/keepkey.py
cjackie/HWI
8c1b50aaaac37714b5d61f720b4b06f8aa24c73a
[ "MIT" ]
426
2019-01-31T10:38:02.000Z
2022-03-28T15:58:13.000Z
hwilib/devices/keepkey.py
cjackie/HWI
8c1b50aaaac37714b5d61f720b4b06f8aa24c73a
[ "MIT" ]
128
2019-01-30T22:32:32.000Z
2022-03-28T19:23:46.000Z
""" Keepkey ******* """ from ..errors import ( DEVICE_NOT_INITIALIZED, DeviceNotReadyError, common_err_msgs, handle_errors, ) from .trezorlib import protobuf as p from .trezorlib.transport import ( hid, udp, webusb, ) from .trezor import TrezorClient, HID_IDS, WEBUSB_IDS from .trezorlib.mes...
37.534314
176
0.614601
298195d9b4f163d34048ccfa931e4a45670c98bc
15,195
py
Python
sklearn_extra/cluster/_k_medoids.py
chkoar/scikit-learn-extra
9e62f1ac18b40f444009db9f6557196ddc6c5e86
[ "BSD-3-Clause" ]
1
2019-08-27T01:10:48.000Z
2019-08-27T01:10:48.000Z
sklearn_extra/cluster/_k_medoids.py
KonstantinKlepikov/scikit-learn-extra
12fb111acdfa7aada0ed29f53b9b92c44d8de7c3
[ "BSD-3-Clause" ]
null
null
null
sklearn_extra/cluster/_k_medoids.py
KonstantinKlepikov/scikit-learn-extra
12fb111acdfa7aada0ed29f53b9b92c44d8de7c3
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """K-medoids clustering""" # Authors: Timo Erkkil <timo.erkkila@gmail.com> # Antti Lehmussola <antti.lehmussola@gmail.com> # Kornel Kieczewski <kornel.mail@gmail.com> # Zane Dufour <zane.dufour@gmail.com> # License: BSD 3 clause import warnings import numpy as np f...
35.173611
83
0.596249
2981c0d7db082728c69505a339fd5c5214978ef0
758
py
Python
agent.py
shukia/2048-python
e6385ea3749098a418198e727e6976dccf344960
[ "MIT" ]
null
null
null
agent.py
shukia/2048-python
e6385ea3749098a418198e727e6976dccf344960
[ "MIT" ]
null
null
null
agent.py
shukia/2048-python
e6385ea3749098a418198e727e6976dccf344960
[ "MIT" ]
null
null
null
from logic import *
29.153846
79
0.64248
29843af5e308c3a6a1b810c3658616edbb2840d2
2,234
py
Python
config/synthia_rand_cityscapes.py
BarracudaPff/code-golf-data-pythpn
42e8858c2ebc6a061012bcadb167d29cebb85c5e
[ "MIT" ]
null
null
null
config/synthia_rand_cityscapes.py
BarracudaPff/code-golf-data-pythpn
42e8858c2ebc6a061012bcadb167d29cebb85c5e
[ "MIT" ]
null
null
null
config/synthia_rand_cityscapes.py
BarracudaPff/code-golf-data-pythpn
42e8858c2ebc6a061012bcadb167d29cebb85c5e
[ "MIT" ]
null
null
null
problem_type = "segmentation" dataset_name = "synthia_rand_cityscapes" dataset_name2 = None perc_mb2 = None model_name = "resnetFCN" freeze_layers_from = None show_model = False load_imageNet = True load_pretrained = False weights_file = "weights.hdf5" train_model = True test_model = True pred_model = False debug = Tru...
24.822222
42
0.821844
2986e8913a7519f773b1d594848f51448026d50a
583
py
Python
utils/HTMLParser.py
onyb/janitor
a46f3bf23467a27c6f5891b64c797295e5cc47d0
[ "Apache-2.0" ]
null
null
null
utils/HTMLParser.py
onyb/janitor
a46f3bf23467a27c6f5891b64c797295e5cc47d0
[ "Apache-2.0" ]
null
null
null
utils/HTMLParser.py
onyb/janitor
a46f3bf23467a27c6f5891b64c797295e5cc47d0
[ "Apache-2.0" ]
null
null
null
from bs4 import BeautifulSoup from optimizers.AdvancedJSOptimizer import AdvancedJSOptimizer from optimizers.CSSOptimizer import CSSOptimizer
32.388889
62
0.680961
461e4085634d8de9c3e950613c2eaf835255268d
5,590
py
Python
spades/main.py
kuwv/spades
9c36eff2c8fe2e4acc69a317d0c58bb8e1c2373f
[ "Apache-2.0" ]
null
null
null
spades/main.py
kuwv/spades
9c36eff2c8fe2e4acc69a317d0c58bb8e1c2373f
[ "Apache-2.0" ]
null
null
null
spades/main.py
kuwv/spades
9c36eff2c8fe2e4acc69a317d0c58bb8e1c2373f
[ "Apache-2.0" ]
null
null
null
'''Provide interface for game.''' from typing import Any, Dict, List, Optional, Union import flask from flask import Blueprint, url_for from flask_login import current_user, login_required from flask_wtf import FlaskForm from flask_sse import sse from werkzeug.wrappers import Response from wtforms import IntegerField...
31.055556
78
0.617352
461e9e37802d7e3293cd85e18609ca2b81610862
341
gyp
Python
cluster-1.59/heatmap_clustering/binding.gyp
ericaflin/libheatmap
18a1aadf4d4cea68f9fd6da20ae858479cf90dab
[ "MIT" ]
2
2020-08-13T19:00:03.000Z
2021-08-24T06:50:47.000Z
cluster-1.59/heatmap_clustering/binding.gyp
ericaflin/libheatmap
18a1aadf4d4cea68f9fd6da20ae858479cf90dab
[ "MIT" ]
null
null
null
cluster-1.59/heatmap_clustering/binding.gyp
ericaflin/libheatmap
18a1aadf4d4cea68f9fd6da20ae858479cf90dab
[ "MIT" ]
null
null
null
{ "targets": [ { "target_name": "cclust", "sources": [ "./src/heatmap_clustering_js_module.cpp" ], 'dependencies': ['bonsaiclust'] }, { 'target_name': 'bonsaiclust', 'type': 'static_library', 'sources': [ 'src/cluster.c' ], 'cflags': ['-fPIC', '-I', '-pedantic', '...
20.058824
62
0.495601
461ea3bb055956b5f646cce50edcc52ff396af68
4,041
py
Python
pcg_gazebo/parsers/urdf/__init__.py
TForce1/pcg_gazebo
9ff88016b7b6903236484958ca7c6ed9f8ffb346
[ "ECL-2.0", "Apache-2.0" ]
40
2020-02-04T18:16:49.000Z
2022-02-22T11:36:34.000Z
pcg_gazebo/parsers/urdf/__init__.py
awesomebytes/pcg_gazebo
4f335dd460ef7c771f1df78b46a92fad4a62cedc
[ "ECL-2.0", "Apache-2.0" ]
75
2020-01-23T13:40:50.000Z
2022-02-09T07:26:01.000Z
pcg_gazebo/parsers/urdf/__init__.py
GimpelZhang/gazebo_world_generator
eb7215499d0ddc972d804c988fadab1969579b1b
[ "ECL-2.0", "Apache-2.0" ]
18
2020-09-10T06:35:41.000Z
2022-02-20T19:08:17.000Z
# Copyright (c) 2019 - The Procedural Generation for Gazebo authors # For information on the respective copyright owner see the NOTICE file # # 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 # #...
26.411765
74
0.675823
461f2a3e6e5c1ff2b9ea5f5bf6bd2c1511d2a0ba
514
py
Python
homework/supporting.py
viaviare/MyFirstRepository
dab8530d16ab9746471b61b61e006d9febfed195
[ "Unlicense" ]
null
null
null
homework/supporting.py
viaviare/MyFirstRepository
dab8530d16ab9746471b61b61e006d9febfed195
[ "Unlicense" ]
null
null
null
homework/supporting.py
viaviare/MyFirstRepository
dab8530d16ab9746471b61b61e006d9febfed195
[ "Unlicense" ]
null
null
null
from selenium.webdriver.support.wait import WebDriverWait from selenium.common.exceptions import NoSuchElementException
24.47619
61
0.677043
4620512d639e2a5d97e4f0f0858dfee7bfe3ebb2
1,516
py
Python
vplsSinVlan.py
javicond3/mininetVPLS
73164f175d2a1873ccab2a317bd09aa5d09bdda6
[ "Unlicense" ]
null
null
null
vplsSinVlan.py
javicond3/mininetVPLS
73164f175d2a1873ccab2a317bd09aa5d09bdda6
[ "Unlicense" ]
null
null
null
vplsSinVlan.py
javicond3/mininetVPLS
73164f175d2a1873ccab2a317bd09aa5d09bdda6
[ "Unlicense" ]
null
null
null
"""Custom topology example Two directly connected switches plus a host for each switch: host --- switch --- switch --- host Adding the 'topos' dict with a key/value pair to generate our newly defined topology enables one to pass in '--topo=mytopo' from the command line. """ from mininet.topo import Topo topo...
26.137931
75
0.582454
46209cb73578b98d96c50b38e0aa7cf17f602e19
2,404
py
Python
modin/engines/base/io/column_stores/feather_dispatcher.py
webclinic017/modin
6e38ae4f459660460d07e7d93fe1dda4ad9214cd
[ "ECL-2.0", "Apache-2.0" ]
1
2021-10-11T08:52:27.000Z
2021-10-11T08:52:27.000Z
modin/engines/base/io/column_stores/feather_dispatcher.py
todd-yu/modin
f284bb3cfd6e53b468da09efd6edc32bafd10689
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
modin/engines/base/io/column_stores/feather_dispatcher.py
todd-yu/modin
f284bb3cfd6e53b468da09efd6edc32bafd10689
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# Licensed to Modin Development Team under one or more contributor license agreements. # See the NOTICE file distributed with this work for additional information regarding # copyright ownership. The Modin Development Team licenses this file to you under the # Apache License, Version 2.0 (the "License"); you may not u...
38.774194
89
0.688852
4620f61e29c562c8eee22b703bf2ebfcf3321f30
1,482
py
Python
rnnparser/RecursiveNN/tests_npRNN/test_tree_utils.py
uphere-co/nlp-prototype
c4623927e5c5c5f9c3e702eb36497ea1d9fd1ff3
[ "BSD-3-Clause" ]
null
null
null
rnnparser/RecursiveNN/tests_npRNN/test_tree_utils.py
uphere-co/nlp-prototype
c4623927e5c5c5f9c3e702eb36497ea1d9fd1ff3
[ "BSD-3-Clause" ]
null
null
null
rnnparser/RecursiveNN/tests_npRNN/test_tree_utils.py
uphere-co/nlp-prototype
c4623927e5c5c5f9c3e702eb36497ea1d9fd1ff3
[ "BSD-3-Clause" ]
null
null
null
import pytest from npRNN.tree_utils import Node, NodeTree
38
83
0.632928
4621fb7b46924baa48b672c2c85f2d00296c68a8
1,267
py
Python
pyrefine/script.py
jezcope/pyrefine
44872592b1c0430d942d6901d7670e7b0ae77b11
[ "MIT" ]
27
2017-03-29T09:12:43.000Z
2021-12-16T17:00:14.000Z
pyrefine/script.py
jezcope/pyrefine
44872592b1c0430d942d6901d7670e7b0ae77b11
[ "MIT" ]
7
2017-04-02T22:10:22.000Z
2021-06-01T21:25:26.000Z
pyrefine/script.py
jezcope/pyrefine
44872592b1c0430d942d6901d7670e7b0ae77b11
[ "MIT" ]
2
2019-07-31T15:03:21.000Z
2021-12-20T12:12:15.000Z
"""A script is a series of operations.""" import json import os from .ops import create def load_script(f): """Load and parse the script given. Args: f (:class:`file` or :class:`str`): Open file object or filename. Returns: :class:`Script`: The parsed script object. """ if is...
21.844828
72
0.566693
46220a2b446c7a9b49f727a4d45bc84e233eea22
571
py
Python
makeCourse/plastex/mhchem/__init__.py
dualspiral/makecourse
96c0d3137b00a400df082f160eabf8a925953067
[ "Apache-2.0" ]
null
null
null
makeCourse/plastex/mhchem/__init__.py
dualspiral/makecourse
96c0d3137b00a400df082f160eabf8a925953067
[ "Apache-2.0" ]
null
null
null
makeCourse/plastex/mhchem/__init__.py
dualspiral/makecourse
96c0d3137b00a400df082f160eabf8a925953067
[ "Apache-2.0" ]
null
null
null
from plasTeX import Command, Environment, sourceChildren from plasTeX.Base.LaTeX import Math from plasTeX.Base.TeX.Primitives import BoxCommand # mhchem package - mostly handled by mathjax # Overrive boxcommands inside MathJaX to avoid extra <script type="math/tex">
28.55
77
0.681261
4624e2bb70d8902485f3a782d8d8f3f7917f1147
5,187
py
Python
src/data_augmentation.py
pallabganguly/gestures-cnn
8778760d7a5854a5987d24d7b8ff30afb216a624
[ "MIT" ]
1
2018-05-08T15:34:50.000Z
2018-05-08T15:34:50.000Z
src/data_augmentation.py
pallabganguly/gestures-cnn
8778760d7a5854a5987d24d7b8ff30afb216a624
[ "MIT" ]
9
2018-04-25T09:09:08.000Z
2022-03-11T23:24:27.000Z
src/data_augmentation.py
pallabganguly/gestures-cnn
8778760d7a5854a5987d24d7b8ff30afb216a624
[ "MIT" ]
1
2018-06-14T08:44:48.000Z
2018-06-14T08:44:48.000Z
""" Totally untested file. Will be removed in subsequent commits """ import tensorflow as tf import matplotlib.image as mpimg import numpy as np from math import ceil, floor import os IMAGE_SIZE = 720 from math import ceil, floor # Produce each image at scaling of 90%, 75% and 60% of original image. X_imgs = os.l...
39.295455
91
0.634664
4626213aaa7096da9c7ee3b429d3bfce1126595c
1,721
py
Python
link_to_the_past/hashes.py
zsquareplusc/lttp-backup
32862ec136c9bda412256142c7d44d1564aab784
[ "BSD-3-Clause" ]
null
null
null
link_to_the_past/hashes.py
zsquareplusc/lttp-backup
32862ec136c9bda412256142c7d44d1564aab784
[ "BSD-3-Clause" ]
null
null
null
link_to_the_past/hashes.py
zsquareplusc/lttp-backup
32862ec136c9bda412256142c7d44d1564aab784
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 # encoding: utf-8 # # (C) 2012-2016 Chris Liechti <cliechti@gmx.net> # # SPDX-License-Identifier: BSD-3-Clause """\ Link To The Past - a backup tool Hash functions and commands. """ import hashlib import zlib # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - S...
20.247059
80
0.535735
462677ff68dd069f07b9a100cb78c22fa238e35f
360
py
Python
Interview/langTrans.py
dnootana/Python
2881bafe8bc378fa3cae50a747fcea1a55630c63
[ "MIT" ]
1
2021-02-19T11:00:11.000Z
2021-02-19T11:00:11.000Z
Interview/langTrans.py
dnootana/Python
2881bafe8bc378fa3cae50a747fcea1a55630c63
[ "MIT" ]
null
null
null
Interview/langTrans.py
dnootana/Python
2881bafe8bc378fa3cae50a747fcea1a55630c63
[ "MIT" ]
null
null
null
#!/usr/bin/env python3.8 table="".maketrans("0123456789","\N{Devanagari digit zero}\N{Devanagari digit one}" "\N{Devanagari digit two}\N{Devanagari digit three}" "\N{Devanagari digit four}\N{Devanagari digit five}" "\N{Devanagari digit six}\N{Devanagari digit seven}" "\N{Devanagari digit eight}\N{Devanagari digit nine...
45
83
0.75
4626c0de5deedd2af689cbda3e1e357bed965d98
4,909
py
Python
cutde/opencl.py
brendanjmeade/cutde
8d9c01ab7e6073e8a8a45af927644c9b676e5ec6
[ "CNRI-Python" ]
1
2021-04-23T21:07:29.000Z
2021-04-23T21:07:29.000Z
cutde/opencl.py
brendanjmeade/cutde
8d9c01ab7e6073e8a8a45af927644c9b676e5ec6
[ "CNRI-Python" ]
null
null
null
cutde/opencl.py
brendanjmeade/cutde
8d9c01ab7e6073e8a8a45af927644c9b676e5ec6
[ "CNRI-Python" ]
null
null
null
import logging import warnings import pyopencl import pyopencl.array logger = logging.getLogger(__name__) gpu_initialized = False gpu_ctx = None gpu_queue = None def avoid_apple_cpu(ctx): """ The Apple CPU OpenCL implementation is awful. Instead, we should just use PoCL. """ if ctx.devices[0]...
27.734463
88
0.66266
4626daaa44d52cdbb1bec3a34b51700caf38c8dc
448
py
Python
tests/test_lamost_tools.py
igomezv/astroNN
50af116f9cbfc684b63e7ddcf8829343a455722b
[ "MIT" ]
156
2017-10-22T01:29:10.000Z
2022-03-14T10:28:09.000Z
tests/test_lamost_tools.py
AbdulfattahBaalawi/astroNN
0b970dd1a8d4d5e6d611ffa52cfd3c2ffdcb4643
[ "MIT" ]
16
2017-11-02T21:29:28.000Z
2022-03-14T08:40:41.000Z
tests/test_lamost_tools.py
AbdulfattahBaalawi/astroNN
0b970dd1a8d4d5e6d611ffa52cfd3c2ffdcb4643
[ "MIT" ]
46
2017-11-01T18:56:03.000Z
2022-03-07T06:44:22.000Z
import unittest import numpy as np from astroNN.lamost import wavelength_solution, pseudo_continuum if __name__ == '__main__': unittest.main()
23.578947
64
0.734375
4627027be2fa84a4ea17d7c6b65cd28da93acd06
8,265
py
Python
phase-iii-client/services/aureas/views.py
williamegomez/AUREAS
06f5bda347481628ba2a08a854b76151a59d6e66
[ "MIT" ]
5
2019-02-12T18:46:40.000Z
2019-02-24T15:24:43.000Z
phase-iii-client/services/aureas/views.py
williamegomez/AUREAS
06f5bda347481628ba2a08a854b76151a59d6e66
[ "MIT" ]
null
null
null
phase-iii-client/services/aureas/views.py
williamegomez/AUREAS
06f5bda347481628ba2a08a854b76151a59d6e66
[ "MIT" ]
1
2019-11-29T02:28:09.000Z
2019-11-29T02:28:09.000Z
from django.http import HttpResponse from rest_framework.decorators import api_view from rest_framework.decorators import parser_classes from rest_framework.parsers import JSONParser import numpy as np import json import os from .utils.spectrogram_utils import SpectrogramUtils from .utils.feature_extraction_utils impor...
36.409692
194
0.580762
4629ec7d3ad2828b6cef4cc59b99d7273c5fdb56
1,416
py
Python
PyPoll/Homework/main.py
VioletData/python-challenge
5a59aca85426387db21b0138dfe41aca19aac40d
[ "ADSL" ]
null
null
null
PyPoll/Homework/main.py
VioletData/python-challenge
5a59aca85426387db21b0138dfe41aca19aac40d
[ "ADSL" ]
null
null
null
PyPoll/Homework/main.py
VioletData/python-challenge
5a59aca85426387db21b0138dfe41aca19aac40d
[ "ADSL" ]
null
null
null
# Modules import os import csv #Set up path for file csvpath=os.path.join("..", "Resources", "election_data.csv" ) #print(csvpath) total_votes=0 #total_profit=0 #previous_value=0 #current_value=0 #list_changes=[] print("Election Results") print("---------------------") #Open the csv file with open(csvpath, newline=...
23.6
86
0.66596
462a57a1182eb2397cc4d73242d61fbadafdf7cc
367
py
Python
test/qa-tests/buildscripts/resmokelib/logging/__init__.py
Mrliu8023/mongo-tools
b9048617a6dc788aae9286d0c2bd3fefe49d23d3
[ "Apache-2.0" ]
1
2022-02-17T10:51:19.000Z
2022-02-17T10:51:19.000Z
test/qa-tests/buildscripts/resmokelib/logging/__init__.py
Mrliu8023/mongo-tools
b9048617a6dc788aae9286d0c2bd3fefe49d23d3
[ "Apache-2.0" ]
null
null
null
test/qa-tests/buildscripts/resmokelib/logging/__init__.py
Mrliu8023/mongo-tools
b9048617a6dc788aae9286d0c2bd3fefe49d23d3
[ "Apache-2.0" ]
null
null
null
""" Extension to the logging package to support buildlogger. """ # Alias the built-in logging.Logger class for type checking arguments. Those interested in # constructing a new Logger instance should use the loggers.new_logger() function instead. from logging import Logger from . import config from . import buildlo...
24.466667
90
0.784741
462b42e0c4130840f3bc0cd918b3623bf21c3cd2
2,645
py
Python
cohesity_management_sdk/models/azure_cloud_credentials.py
chandrashekar-cohesity/management-sdk-python
9e6ec99e8a288005804b808c4e9b19fd204e3a8b
[ "Apache-2.0" ]
1
2021-01-07T20:36:22.000Z
2021-01-07T20:36:22.000Z
cohesity_management_sdk/models/azure_cloud_credentials.py
chandrashekar-cohesity/management-sdk-python
9e6ec99e8a288005804b808c4e9b19fd204e3a8b
[ "Apache-2.0" ]
null
null
null
cohesity_management_sdk/models/azure_cloud_credentials.py
chandrashekar-cohesity/management-sdk-python
9e6ec99e8a288005804b808c4e9b19fd204e3a8b
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2019 Cohesity Inc.
35.266667
81
0.654064
462c2089ebfd3afcf679c3d29b9f6e291acb4dc2
525
py
Python
src/solutions/01.py
NNRepos/AoC-2021-python-solutions
556ccc920b96cedbdc2f554a3bee28a793be4483
[ "MIT" ]
null
null
null
src/solutions/01.py
NNRepos/AoC-2021-python-solutions
556ccc920b96cedbdc2f554a3bee28a793be4483
[ "MIT" ]
null
null
null
src/solutions/01.py
NNRepos/AoC-2021-python-solutions
556ccc920b96cedbdc2f554a3bee28a793be4483
[ "MIT" ]
null
null
null
from utils.utils import * lines = get_input(__file__) lines_as_nums = lines_to_nums(lines) print("part1:", part1(lines_as_nums)) print("part2:", part2())
19.444444
87
0.590476
462c32bbc3b282511e2c46116729931f71fbbf10
1,170
py
Python
scripts/sqlite_firestore_migration.py
namuan/news-rider
2f8f5204eda717e39ab7d4c048692d5ec2eb5449
[ "MIT" ]
5
2021-04-26T20:46:30.000Z
2021-05-03T07:29:31.000Z
scripts/sqlite_firestore_migration.py
namuan/news-rider
2f8f5204eda717e39ab7d4c048692d5ec2eb5449
[ "MIT" ]
null
null
null
scripts/sqlite_firestore_migration.py
namuan/news-rider
2f8f5204eda717e39ab7d4c048692d5ec2eb5449
[ "MIT" ]
null
null
null
import datetime import os import sys from google.cloud import firestore from peewee import * sys.path.append(os.getcwd()) home_dir = os.getenv('HOME') db_file_path = os.getcwd() + '/../../data/news_rider.db' print("Reading database from {}".format(db_file_path)) old_db = SqliteDatabase(db_file_path) db = firesto...
23.877551
82
0.692308
462c4f9e4def6f4455874dce4f3095e44613b4b1
1,372
py
Python
tensorforce/core/baselines/mlp_baseline.py
youlei202/tensorforce-lei
871ef7f5c41d496aa8ad674854792ebd52ce1546
[ "Apache-2.0" ]
1
2019-12-21T03:31:33.000Z
2019-12-21T03:31:33.000Z
tensorforce/core/baselines/mlp_baseline.py
youlei202/tensorforce-lei
871ef7f5c41d496aa8ad674854792ebd52ce1546
[ "Apache-2.0" ]
null
null
null
tensorforce/core/baselines/mlp_baseline.py
youlei202/tensorforce-lei
871ef7f5c41d496aa8ad674854792ebd52ce1546
[ "Apache-2.0" ]
1
2019-12-21T03:31:39.000Z
2019-12-21T03:31:39.000Z
# Copyright 2017 reinforce.io. 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 applicable law or...
33.463415
80
0.671283
462cfd1b7c44355d2edae99099ee57b431d8d9a4
769
py
Python
km3pipe/utils/rtree.py
kabartay/km3pipe
491c425486553e8986682d2b0614918dd23cc964
[ "MIT" ]
2
2017-01-19T17:22:49.000Z
2020-04-18T14:00:38.000Z
km3pipe/utils/rtree.py
kabartay/km3pipe
491c425486553e8986682d2b0614918dd23cc964
[ "MIT" ]
null
null
null
km3pipe/utils/rtree.py
kabartay/km3pipe
491c425486553e8986682d2b0614918dd23cc964
[ "MIT" ]
null
null
null
# coding=utf-8 # Filename: h5tree.py """ Print the ROOT file structure. Usage: rtree FILE rtree (-h | --help) rtree --version Options: FILE Input file. -h --help Show this screen. """ from __future__ import division, absolute_import, print_function from km3pipe.io.root import open_rfile _...
19.225
76
0.684005
462e9733585d0e06c8930267d52894b75b0d0b14
15,952
py
Python
task_part1_learning.py
till-lu/cit_lcp_2020
b547185f8be74f57773c3d21ce5e4327b363a2f1
[ "MIT" ]
null
null
null
task_part1_learning.py
till-lu/cit_lcp_2020
b547185f8be74f57773c3d21ce5e4327b363a2f1
[ "MIT" ]
null
null
null
task_part1_learning.py
till-lu/cit_lcp_2020
b547185f8be74f57773c3d21ce5e4327b363a2f1
[ "MIT" ]
null
null
null
#!/usr/bin/env python2 # -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function, unicode_literals from psychopy.visual import Window, TextStim from psychopy.core import wait, Clock, quit from psychopy.event import clearEvents, waitKeys, Mouse from psychopy.gui import Dlg from time import...
44.558659
716
0.656281
46305fd7b6fccf0915c23423983bb7ae102bfc08
14,209
py
Python
ansible/venv/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_asm_policy_import.py
gvashchenkolineate/gvashchenkolineate_infra_trytravis
0fb18850afe0d8609693ba4b23f29c7cda17d97f
[ "MIT" ]
17
2017-06-07T23:15:01.000Z
2021-08-30T14:32:36.000Z
ansible/ansible/modules/network/f5/bigip_asm_policy_import.py
SergeyCherepanov/ansible
875711cd2fd6b783c812241c2ed7a954bf6f670f
[ "MIT" ]
9
2017-06-25T03:31:52.000Z
2021-05-17T23:43:12.000Z
ansible/ansible/modules/network/f5/bigip_asm_policy_import.py
SergeyCherepanov/ansible
875711cd2fd6b783c812241c2ed7a954bf6f670f
[ "MIT" ]
3
2018-05-26T21:31:22.000Z
2019-09-28T17:00:45.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright: (c) 2018, F5 Networks Inc. # GNU General Public License v3.0 (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', ...
29.85084
114
0.606235
4630b18f7ea854ba3d4c006459393021a0b26e65
322
py
Python
Firewall/Model/Host.py
frieagle94/firewall
9dc0357f78f128c0275baabebfef6fdf8ff35a47
[ "Apache-2.0" ]
null
null
null
Firewall/Model/Host.py
frieagle94/firewall
9dc0357f78f128c0275baabebfef6fdf8ff35a47
[ "Apache-2.0" ]
null
null
null
Firewall/Model/Host.py
frieagle94/firewall
9dc0357f78f128c0275baabebfef6fdf8ff35a47
[ "Apache-2.0" ]
null
null
null
__author__ = 'Riccardo Frigerio' ''' Oggetto HOST Attributi: - mac_address: indirizzo MAC - port: porta a cui e' collegato - dpid: switch a cui e' collegato '''
18.941176
48
0.667702
4632248180ce8a33d74a9026c30eef96e40a8172
2,466
py
Python
docker-compose/tweet_collector/tweet_streamer.py
lorenanda/tweets
926b7a1b33057e57a59dce2d4fc89e7af18962e6
[ "MIT" ]
2
2021-05-14T19:11:28.000Z
2021-06-13T23:17:32.000Z
docker-compose/tweet_collector/tweet_streamer.py
lorenanda/tweets
926b7a1b33057e57a59dce2d4fc89e7af18962e6
[ "MIT" ]
null
null
null
docker-compose/tweet_collector/tweet_streamer.py
lorenanda/tweets
926b7a1b33057e57a59dce2d4fc89e7af18962e6
[ "MIT" ]
1
2022-02-13T10:47:17.000Z
2022-02-13T10:47:17.000Z
from tweepy import OAuthHandler, Stream, API from tweepy.streaming import StreamListener import json import logging import pymongo import config client = pymongo.MongoClient(host='mongo_container', port=27018) db = client.tweets_db auth = OAuthHandler(config.CONSUMER_API_KEY, config.CONSUMER_API_SECRET) auth.set_acc...
30.825
94
0.664234
46325f61280dc8596ca2d94d27452fa3b0d497c6
2,028
py
Python
manage_it/network/models.py
ShangShungInstitute/django-manage-it
13cb23b57ce3577db7f69250741bcbfe82b69a57
[ "MIT", "Unlicense" ]
1
2015-01-20T14:34:32.000Z
2015-01-20T14:34:32.000Z
manage_it/network/models.py
ShangShungInstitute/django-manage-it
13cb23b57ce3577db7f69250741bcbfe82b69a57
[ "MIT", "Unlicense" ]
null
null
null
manage_it/network/models.py
ShangShungInstitute/django-manage-it
13cb23b57ce3577db7f69250741bcbfe82b69a57
[ "MIT", "Unlicense" ]
null
null
null
from django.db import models from django.utils.translation import ugettext_lazy as _ from assets.models import Item from catalog.models import Inventory CONNECTION_TYPES = ( (1, "Ethernet 1Gb"), (2, "Ethernet 100Mb"), (3, "WIFI"), (4, "Optic Fiber"), (5, "USB"), (6, "HDMI"), (7, "Telephone...
28.971429
76
0.65927
46346da00abc925aef8a81ab9a6362af4ad40b6c
3,940
py
Python
software/L1_mpu.py
roy-kruemcke/SCUTTLE-SLMP
c181ba451e5fecdbbfb8ac7c4c2d743526112b11
[ "MIT" ]
null
null
null
software/L1_mpu.py
roy-kruemcke/SCUTTLE-SLMP
c181ba451e5fecdbbfb8ac7c4c2d743526112b11
[ "MIT" ]
null
null
null
software/L1_mpu.py
roy-kruemcke/SCUTTLE-SLMP
c181ba451e5fecdbbfb8ac7c4c2d743526112b11
[ "MIT" ]
null
null
null
# L1_mpu.py # Author: Roy Kruemcke (roanoake) # 30 NOV 2021 # Allows for the interfacing to the MPU9250 using the smbus2 i2c module # Written for use with Raspberry Pi 4 Model B import smbus2 import numpy as np import data import time # Initialize Register Data CONFIG = 0x1A USER_CTRL = 0x6A PWR_MGMT_1, PWR_MGMT_2 = 0...
30.542636
95
0.639848
4634863621fdac26b1771cdeb54c5f5a51a3dcb7
1,448
py
Python
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GL/EXT/paletted_texture.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GL/EXT/paletted_texture.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GL/EXT/paletted_texture.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
'''Autogenerated by xml_generate script, do not edit!''' from OpenGL import platform as _p, arrays # Code generation uses this from OpenGL.raw.GL import _types as _cs # End users want this... from OpenGL.raw.GL._types import * from OpenGL.raw.GL import _errors from OpenGL.constant import Constant as _C import...
43.878788
118
0.810083
4634eaef2f0ee2edb50cfda3fdc934ed5f0de8df
1,494
py
Python
backend/apps/csyllabusapi/views/university.py
CSyllabus/webapp
06391d43d97453a135ff78ff8dcdd35846c94d30
[ "MIT" ]
3
2017-11-02T11:24:09.000Z
2017-12-08T15:33:43.000Z
backend/apps/csyllabusapi/views/university.py
CSyllabus/webapp
06391d43d97453a135ff78ff8dcdd35846c94d30
[ "MIT" ]
2
2017-11-04T10:03:44.000Z
2017-12-31T08:26:36.000Z
backend/apps/csyllabusapi/views/university.py
CSyllabus/webapp
06391d43d97453a135ff78ff8dcdd35846c94d30
[ "MIT" ]
null
null
null
from rest_framework.parsers import JSONParser, FileUploadParser from rest_framework.views import APIView from ..models import City from ..models import Country from ..models import University from ..models import Faculty from ..models import Program from rest_framework.decorators import api_view, permission_classes fr...
33.954545
111
0.726238
4636eb5b9d65657cf6249aa635cf51cca2defbb9
244
py
Python
prickly-pufferfish/python_questions/add_to_zero.py
Vthechamp22/summer-code-jam-2021
0a8bf1f22f6c73300891fd779da36efd8e1304c1
[ "MIT" ]
40
2020-08-02T07:38:22.000Z
2021-07-26T01:46:50.000Z
prickly-pufferfish/python_questions/add_to_zero.py
Vthechamp22/summer-code-jam-2021
0a8bf1f22f6c73300891fd779da36efd8e1304c1
[ "MIT" ]
134
2020-07-31T12:15:45.000Z
2020-12-13T04:42:19.000Z
prickly-pufferfish/python_questions/add_to_zero.py
Vthechamp22/summer-code-jam-2021
0a8bf1f22f6c73300891fd779da36efd8e1304c1
[ "MIT" ]
101
2020-07-31T12:00:47.000Z
2021-11-01T09:06:58.000Z
""" Write a function with a list of ints as a paramter. / Return True if any two nums sum to 0. / >>> add_to_zero([]) / False / >>> add_to_zero([1]) / False / >>> add_to_zero([1, 2, 3]) / False / >>> add_to_zero([1, 2, 3, -2]) / True / """
14.352941
53
0.569672
4636fb0bc8542fff3140160b2826c73df03573c5
827
py
Python
op_trans/asgi.py
jezzlucena/django-opp-trans
05e8b2b91a6c46cd800837ae2b683ec043243742
[ "MIT" ]
1
2021-03-03T02:22:11.000Z
2021-03-03T02:22:11.000Z
op_trans/asgi.py
jezzlucena/django-opp-trans
05e8b2b91a6c46cd800837ae2b683ec043243742
[ "MIT" ]
null
null
null
op_trans/asgi.py
jezzlucena/django-opp-trans
05e8b2b91a6c46cd800837ae2b683ec043243742
[ "MIT" ]
null
null
null
""" ASGI config for op_trans project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application from op_trans.websocket import webs...
28.517241
78
0.74607
4637594ad65e429cbd0184284c782da6df047d1a
482
py
Python
notifai_recruitment/api.py
BudzynskiMaciej/notifai_recruitment
56860db3a2dad6115747a675895b8f7947e7e12e
[ "MIT" ]
null
null
null
notifai_recruitment/api.py
BudzynskiMaciej/notifai_recruitment
56860db3a2dad6115747a675895b8f7947e7e12e
[ "MIT" ]
2
2021-05-21T13:26:26.000Z
2022-02-10T10:04:55.000Z
notifai_recruitment/api.py
BudzynskiMaciej/notifai_recruitment
56860db3a2dad6115747a675895b8f7947e7e12e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """API routes config for notifai_recruitment project. REST framework adds support for automatic URL routing to Django, and provides simple, quick and consistent way of wiring view logic to a set of URLs. For more information on this file, see https://www.django-rest-framework.org/api-guide/rou...
28.352941
106
0.778008
46385759fc36e37af911b95c5e283c3da2fdcd54
3,786
py
Python
zipline/data/bundles/equities_bundle.py
walterkissling/zipline
784580ef2271aeaa52d8e526f15c88fbb55b7547
[ "Apache-2.0" ]
null
null
null
zipline/data/bundles/equities_bundle.py
walterkissling/zipline
784580ef2271aeaa52d8e526f15c88fbb55b7547
[ "Apache-2.0" ]
null
null
null
zipline/data/bundles/equities_bundle.py
walterkissling/zipline
784580ef2271aeaa52d8e526f15c88fbb55b7547
[ "Apache-2.0" ]
null
null
null
# File to ingest an equities bundle for zipline # Import libraries import pandas as pd import numpy as np
38.242424
109
0.530639
46387a117da7cc25b8fd8335919094946b06904f
343
py
Python
model/torch_model.py
FernandoLpz/ONNX-PyTorch-TF-Caffe2
05aa07b982bd12d2c0d7ce05a94a726b7faaed91
[ "MIT" ]
3
2020-10-28T03:46:48.000Z
2021-07-22T06:45:33.000Z
model/torch_model.py
FernandoLpz/ONNX-PyTorch-TF-Caffe2
05aa07b982bd12d2c0d7ce05a94a726b7faaed91
[ "MIT" ]
null
null
null
model/torch_model.py
FernandoLpz/ONNX-PyTorch-TF-Caffe2
05aa07b982bd12d2c0d7ce05a94a726b7faaed91
[ "MIT" ]
null
null
null
import torch import torch.nn as nn
21.4375
36
0.682216
46389fb316c01f816e67750260b3ef8381f89fb1
11,529
py
Python
nereid/contrib/pagination.py
advocatetax/nereid-1
ee7ae345e3e7e46b3e13cd6e3b94c388d38a0efa
[ "BSD-3-Clause" ]
null
null
null
nereid/contrib/pagination.py
advocatetax/nereid-1
ee7ae345e3e7e46b3e13cd6e3b94c388d38a0efa
[ "BSD-3-Clause" ]
null
null
null
nereid/contrib/pagination.py
advocatetax/nereid-1
ee7ae345e3e7e46b3e13cd6e3b94c388d38a0efa
[ "BSD-3-Clause" ]
1
2021-06-04T13:02:29.000Z
2021-06-04T13:02:29.000Z
# -*- coding: utf-8 -*- # This file is part of Tryton & Nereid. The COPYRIGHT file at the top level of # this repository contains the full copyright notices and license terms. from math import ceil from sql import Select, Column from sql.functions import Function from sql.aggregate import Count from werkzeug.utils impo...
32.94
82
0.571515
4638b2719be97e9698ba7de333d5a9c1e9271178
947
py
Python
app.py
Arpan-206/Youtube-Downloader-Flask
8ac6233e238d99c4a13d4d00afa2574d156cb80e
[ "MIT" ]
3
2021-04-28T09:49:43.000Z
2022-01-03T13:03:02.000Z
app.py
Arpan-206/Youtube-Downloader-Flask
8ac6233e238d99c4a13d4d00afa2574d156cb80e
[ "MIT" ]
null
null
null
app.py
Arpan-206/Youtube-Downloader-Flask
8ac6233e238d99c4a13d4d00afa2574d156cb80e
[ "MIT" ]
null
null
null
from flask import Flask, request, send_file, render_template, url_for import pytube import logging import sys import os from hello import timed_delete from threading import Timer timed_delete() logging.basicConfig(stream=sys.stderr, level=logging.DEBUG) app = Flask(__name__)
31.566667
131
0.744456
4638cae0768af5f19dde04ebbab5eceafeebdaf5
14,103
py
Python
si_unit_pandas/base.py
domdfcoding/si_unit_pandas
6912d775f88dcfb9112199a57c14b6ce6a979d0e
[ "BSD-3-Clause" ]
null
null
null
si_unit_pandas/base.py
domdfcoding/si_unit_pandas
6912d775f88dcfb9112199a57c14b6ce6a979d0e
[ "BSD-3-Clause" ]
19
2020-12-21T18:26:24.000Z
2022-01-16T11:47:58.000Z
si_unit_pandas/base.py
domdfcoding/si_unit_pandas
6912d775f88dcfb9112199a57c14b6ce6a979d0e
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 # # base.py """ Base functionality. """ # # Copyright (c) 2020 Dominic Davis-Foster <dominic@davis-foster.co.uk> # # Based on cyberpandas # https://github.com/ContinuumIO/cyberpandas # Copyright (c) 2018, Anaconda, Inc. # # Redistribution and use in source and binary forms, with or without ...
27.069098
124
0.704602
46395d1d31524d94efb18967e41d8995a2059eda
196
py
Python
agents/admin.py
HerbertRamirez/inmo_web
3c48911d5e3ee7a75580534664874ba5e8281e55
[ "MIT" ]
null
null
null
agents/admin.py
HerbertRamirez/inmo_web
3c48911d5e3ee7a75580534664874ba5e8281e55
[ "MIT" ]
null
null
null
agents/admin.py
HerbertRamirez/inmo_web
3c48911d5e3ee7a75580534664874ba5e8281e55
[ "MIT" ]
3
2021-02-18T15:11:53.000Z
2021-02-20T17:34:01.000Z
from django.contrib import admin from .models import Agent # Register your models here. admin.site.register(Agent)
24.5
43
0.77551
463af3b646e86f201f2bd7fe58504504be2cb376
4,203
py
Python
modules/DEFA/MS_Office/compoundfiles/const.py
naaya17/carpe
fa2e3cfebe20f8839c985e5b9b78b538800172a1
[ "Apache-2.0" ]
56
2019-02-07T06:21:45.000Z
2022-03-21T08:19:24.000Z
DEFA/MS_Office/compoundfiles/const.py
sk-yaho/carpe
077ef7ba1582b3de9f5c08d63431e744b77a9e09
[ "Apache-2.0" ]
5
2020-05-25T17:29:00.000Z
2021-12-13T20:49:08.000Z
DEFA/MS_Office/compoundfiles/const.py
sk-yaho/carpe
077ef7ba1582b3de9f5c08d63431e744b77a9e09
[ "Apache-2.0" ]
31
2019-03-13T10:23:49.000Z
2021-11-04T12:14:58.000Z
#!/usr/bin/env python # vim: set et sw=4 sts=4 fileencoding=utf-8: # # A library for reading Microsoft's OLE Compound Document format # Copyright (c) 2014 Dave Hughes <dave@waveform.org.uk> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation f...
42.454545
83
0.695218
463d1c29208fd7d810aca90bed20af06afc212fd
3,272
py
Python
Validation/valid_view_point_cloud.py
dtczhl/Slimmer
c93dac6a59828016484d8bef1c71e9ccceabab9c
[ "MIT" ]
null
null
null
Validation/valid_view_point_cloud.py
dtczhl/Slimmer
c93dac6a59828016484d8bef1c71e9ccceabab9c
[ "MIT" ]
null
null
null
Validation/valid_view_point_cloud.py
dtczhl/Slimmer
c93dac6a59828016484d8bef1c71e9ccceabab9c
[ "MIT" ]
null
null
null
""" view predication for point cloud, Run valid_one_point_cloud first """ import torch import numpy as np import sys import os import pptk # ------ Configurations ------ # path to pth file pth_file = "../tmp/scene0015_00_vh_clean_2.pth.Random.100" show_gt = False # show groundtruth or not; groudtruth draw ...
30.579439
131
0.537897
463e9059d21ae44008d266e66201d33e8c741f68
1,251
py
Python
core/migrations/0009_measurement.py
Potanist/Potanist
bd9d82fe9ca8f4157b34e5174793777d6729999c
[ "BSD-3-Clause" ]
null
null
null
core/migrations/0009_measurement.py
Potanist/Potanist
bd9d82fe9ca8f4157b34e5174793777d6729999c
[ "BSD-3-Clause" ]
null
null
null
core/migrations/0009_measurement.py
Potanist/Potanist
bd9d82fe9ca8f4157b34e5174793777d6729999c
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations
39.09375
114
0.576339
4642f66823f504498e1fb09dc0db99ad096fbcd2
7,257
py
Python
mkt/purchase/models.py
muffinresearch/zamboni
045a6f07c775b99672af6d9857d295ed02fe5dd9
[ "BSD-3-Clause" ]
null
null
null
mkt/purchase/models.py
muffinresearch/zamboni
045a6f07c775b99672af6d9857d295ed02fe5dd9
[ "BSD-3-Clause" ]
null
null
null
mkt/purchase/models.py
muffinresearch/zamboni
045a6f07c775b99672af6d9857d295ed02fe5dd9
[ "BSD-3-Clause" ]
null
null
null
import datetime from django.conf import settings from django.db import models from django.utils import translation import tower from babel import Locale, numbers from jingo import env from jinja2.filters import do_dictsort from tower import ugettext as _ import amo from amo.fields import DecimalCharField from amo.he...
40.316667
79
0.606587
4643409696cd3d49a508459df5a413ef73fb761e
301
py
Python
src/kol/request/CampgroundRestRequest.py
danheath/temppykol
7f9621b44df9f9d2d9fc0a5b2a06db116b9ccfab
[ "BSD-3-Clause" ]
19
2015-02-16T08:30:49.000Z
2020-05-01T06:06:33.000Z
src/kol/request/CampgroundRestRequest.py
danheath/temppykol
7f9621b44df9f9d2d9fc0a5b2a06db116b9ccfab
[ "BSD-3-Clause" ]
5
2015-01-13T23:01:54.000Z
2016-11-30T15:23:43.000Z
src/kol/request/CampgroundRestRequest.py
danheath/temppykol
7f9621b44df9f9d2d9fc0a5b2a06db116b9ccfab
[ "BSD-3-Clause" ]
19
2015-05-28T09:36:19.000Z
2022-03-15T23:19:29.000Z
from kol.request.GenericRequest import GenericRequest
33.444444
67
0.750831
4643c3f57a3b1cef340d6b9803b645c83275e77f
849
py
Python
pdlearn/adaptor/methods.py
richlewis42/pandas-learn
4330c642e4f62e8abc6dcd58ba33daf22519f41e
[ "MIT" ]
1
2015-12-16T04:03:19.000Z
2015-12-16T04:03:19.000Z
pdlearn/adaptor/methods.py
lewisacidic/pandas-learn
4330c642e4f62e8abc6dcd58ba33daf22519f41e
[ "MIT" ]
3
2015-12-10T02:05:13.000Z
2015-12-16T04:04:16.000Z
pdlearn/adaptor/methods.py
lewisacidic/pandas-learn
4330c642e4f62e8abc6dcd58ba33daf22519f41e
[ "MIT" ]
null
null
null
#! /usr/bin/env python # -*- coding: utf-8 -*- # # This file is part of pandas-learn # https://github.com/RichLewis42/pandas-learn # # Licensed under the MIT license: # http://www.opensource.org/licenses/MIT # Copyright (c) 2015, Rich Lewis <rl403@cam.ac.uk> """ pdlearn.adaptor.methods ~~~~~~~~~~~~~~~~~~~~~~~ Module ...
22.945946
79
0.628975
4643e75f0f9e71df8892955ee0441be6f4a0dd8e
396
py
Python
BroCode/lessons/13-nested_loops.py
sofiaEkn/Python_Exercises
2ffbec63552a29c72de50ef5e5a3307195e1b546
[ "MIT" ]
null
null
null
BroCode/lessons/13-nested_loops.py
sofiaEkn/Python_Exercises
2ffbec63552a29c72de50ef5e5a3307195e1b546
[ "MIT" ]
null
null
null
BroCode/lessons/13-nested_loops.py
sofiaEkn/Python_Exercises
2ffbec63552a29c72de50ef5e5a3307195e1b546
[ "MIT" ]
null
null
null
# nested loops = The "inner loop" will finish all of it's iterations before # finishing one iteration of the "outer loop" rows = int(input("How many rows?: ")) columns = int(input("How many columns?: ")) symbol = input("Enter a symbol to use: ") #symbol = int(input("Enter a symbol to use: ")) for i in...
33
75
0.643939
46441ef13bcf6070728bb55ba5a6a680d4610fc1
2,516
py
Python
duct/sources/python/uwsgi.py
geostarling/duct
a862fc1948ed1ecce1e866cbffc7fcedcea81f55
[ "MIT" ]
12
2017-01-06T11:59:59.000Z
2021-03-16T17:57:46.000Z
duct/sources/python/uwsgi.py
geostarling/duct
a862fc1948ed1ecce1e866cbffc7fcedcea81f55
[ "MIT" ]
20
2017-01-06T12:56:39.000Z
2017-02-06T13:45:28.000Z
duct/sources/python/uwsgi.py
geostarling/duct
a862fc1948ed1ecce1e866cbffc7fcedcea81f55
[ "MIT" ]
2
2017-02-09T14:02:13.000Z
2018-10-16T13:18:17.000Z
""" .. module:: uwsgi :platform: Any :synopsis: Reads UWSGI stats .. moduleauthor:: Colin Alston <colin@imcol.in> """ import json try: from StringIO import StringIO except ImportError: from io import StringIO from zope.interface import implementer from twisted.internet import defer, reactor from twis...
24.666667
76
0.565183
46454325357264b47dbceec722a3e08a4d41a6be
22,167
py
Python
xform/utils.py
alisonamerico/Django-XForm
ad2e96455307b57ef3c485a006db478fe4352a36
[ "MIT" ]
3
2019-07-25T14:46:14.000Z
2020-12-14T22:43:46.000Z
xform/utils.py
alisonamerico/Django-XForm
ad2e96455307b57ef3c485a006db478fe4352a36
[ "MIT" ]
4
2019-09-04T17:39:04.000Z
2021-11-05T23:14:58.000Z
xform/utils.py
alisonamerico/Django-XForm
ad2e96455307b57ef3c485a006db478fe4352a36
[ "MIT" ]
1
2021-11-05T23:05:48.000Z
2021-11-05T23:05:48.000Z
import datetime import importlib import json import logging import math import mimetypes import os import re import sys import uuid import requests from urllib.parse import urljoin from wsgiref.util import FileWrapper from xml.dom import minidom, Node from django.conf import settings from django.core.files.storage ...
30.873259
96
0.606668
4645ac5dfc9f12700491f7aec71f5e520201b23f
9,050
py
Python
Phase5/testing_query.py
MrKLawrence/Course-Registration-Data-Analytics
b1a88ab9336a545965752d175d8c4796209e487c
[ "MIT" ]
null
null
null
Phase5/testing_query.py
MrKLawrence/Course-Registration-Data-Analytics
b1a88ab9336a545965752d175d8c4796209e487c
[ "MIT" ]
null
null
null
Phase5/testing_query.py
MrKLawrence/Course-Registration-Data-Analytics
b1a88ab9336a545965752d175d8c4796209e487c
[ "MIT" ]
null
null
null
import datetime from pymongo import MongoClient import pymongo import pprint try: db = MongoClient("mongodb://localhost:27017")["hkust"] f=0.05 try: print("Querying Documents...") listOfCourseWithWaitingListSize = db.course.aggregate([ { "$unwind": "$sections" }, # { "$project": { "newProduct": {"$multi...
35.629921
309
0.644309
4648df628268429b96e7a5ae13c51c1984b5c218
2,549
py
Python
aws_iot/dashboard/migrations/0003_auto_20160427_1641.py
anduslim/aws_iot
39bddc1af05313f5005b5147b9d469ad337d6f28
[ "BSD-3-Clause" ]
null
null
null
aws_iot/dashboard/migrations/0003_auto_20160427_1641.py
anduslim/aws_iot
39bddc1af05313f5005b5147b9d469ad337d6f28
[ "BSD-3-Clause" ]
null
null
null
aws_iot/dashboard/migrations/0003_auto_20160427_1641.py
anduslim/aws_iot
39bddc1af05313f5005b5147b9d469ad337d6f28
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations
32.679487
114
0.566497
464a4fad08a32bd81e6c1f0f95fd3057daa4e736
901
py
Python
investing_algorithm_framework/core/models/__init__.py
coding-kitties/investing-algorithm-framework
1156acf903345ec5e6787ee8767c68e24c4daffd
[ "Apache-2.0" ]
9
2020-09-14T13:46:32.000Z
2022-02-01T15:40:12.000Z
investing_algorithm_framework/core/models/__init__.py
coding-kitties/investing-algorithm-framework
1156acf903345ec5e6787ee8767c68e24c4daffd
[ "Apache-2.0" ]
44
2020-12-28T16:22:20.000Z
2022-03-23T22:11:26.000Z
investing_algorithm_framework/core/models/__init__.py
coding-kitties/investing-algorithm-framework
1156acf903345ec5e6787ee8767c68e24c4daffd
[ "Apache-2.0" ]
2
2020-12-25T06:14:39.000Z
2022-01-19T19:00:20.000Z
from flask import Flask from flask_sqlalchemy import SQLAlchemy db = SQLAlchemy() from investing_algorithm_framework.core.models.order_status import OrderStatus from investing_algorithm_framework.core.models.order_type import OrderType from investing_algorithm_framework.core.models.order_side import OrderSide from ...
25.742857
78
0.785794
464a949d4e46e87b22e002325b18acfc9b8c6a90
592
py
Python
src/storage-preview/azext_storage_preview/vendored_sdks/azure_storage/v2018_03_28/file/__init__.py
Mannan2812/azure-cli-extensions
e2b34efe23795f6db9c59100534a40f0813c3d95
[ "MIT" ]
207
2017-11-29T06:59:41.000Z
2022-03-31T10:00:53.000Z
src/storage-preview/azext_storage_preview/vendored_sdks/azure_storage/v2018_03_28/file/__init__.py
Mannan2812/azure-cli-extensions
e2b34efe23795f6db9c59100534a40f0813c3d95
[ "MIT" ]
4,061
2017-10-27T23:19:56.000Z
2022-03-31T23:18:30.000Z
src/storage-preview/azext_storage_preview/vendored_sdks/azure_storage/v2018_03_28/file/__init__.py
Mannan2812/azure-cli-extensions
e2b34efe23795f6db9c59100534a40f0813c3d95
[ "MIT" ]
802
2017-10-11T17:36:26.000Z
2022-03-31T22:24:32.000Z
# ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- from .file...
28.190476
76
0.540541
464a989a9cb27c1d1baa77e94436a8092fe897da
2,633
py
Python
backend/db/patient.py
wooque/openpacs
4524bc7fade0934a70a53bb311f302828cc56905
[ "MIT" ]
1
2021-01-04T23:58:54.000Z
2021-01-04T23:58:54.000Z
backend/db/patient.py
wooque/openpacs
4524bc7fade0934a70a53bb311f302828cc56905
[ "MIT" ]
null
null
null
backend/db/patient.py
wooque/openpacs
4524bc7fade0934a70a53bb311f302828cc56905
[ "MIT" ]
1
2022-03-05T12:58:09.000Z
2022-03-05T12:58:09.000Z
from db.table import Table from db.study import Study from db.series import Series from pypika.pseudocolumns import PseudoColumn
31.722892
86
0.557159
464bc6633efce25b9cc1abebeb497f50584d997d
1,424
py
Python
egs/cops/s5/local/text2json.py
Shuang777/kaldi-2016
5373fe4bd80857b53134db566cad48b8445cf3b9
[ "Apache-2.0" ]
null
null
null
egs/cops/s5/local/text2json.py
Shuang777/kaldi-2016
5373fe4bd80857b53134db566cad48b8445cf3b9
[ "Apache-2.0" ]
null
null
null
egs/cops/s5/local/text2json.py
Shuang777/kaldi-2016
5373fe4bd80857b53134db566cad48b8445cf3b9
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import sys import json if len(sys.argv) != 4: print "Usage:", __file__, "<segment> <text> <json>" print " e.g.:", __file__, "data/dev/segmetns data/dev/text trans.json" sys.exit(1) segment_filename = sys.argv[1] text_filename = sys.argv[2] output_filename = sys.argv[3] start_time = {} ...
21.907692
72
0.589888
464c2239f3ce7da17665c8d65313e5b7bfe44898
762
py
Python
codeEval/hard/levenshtein_distance.py
ferhatelmas/algo
a7149c7a605708bc01a5cd30bf5455644cefd04d
[ "WTFPL" ]
25
2015-01-21T16:39:18.000Z
2021-05-24T07:01:24.000Z
codeEval/hard/levenshtein_distance.py
ferhatelmas/algo
a7149c7a605708bc01a5cd30bf5455644cefd04d
[ "WTFPL" ]
2
2020-09-30T19:39:36.000Z
2020-10-01T17:15:16.000Z
codeEval/hard/levenshtein_distance.py
ferhatelmas/algo
a7149c7a605708bc01a5cd30bf5455644cefd04d
[ "WTFPL" ]
15
2015-01-21T16:39:27.000Z
2020-10-01T17:00:22.000Z
import sys from string import ascii_lowercase as alphabet test_cases = open(sys.argv[1], "r") words = set([test.strip() for test in test_cases]) test_cases.close() print generate_network(words, "hello")
25.4
50
0.552493
464c4a39f52a6f1f848e5df28842de523721d469
385
py
Python
models/RelSaleSizeProject.py
the-Minister-0001/cardano-nft-admin
870ae5303808056af702d7e162a249567505d4c6
[ "MIT" ]
1
2021-07-28T20:17:25.000Z
2021-07-28T20:17:25.000Z
models/RelSaleSizeProject.py
the-Minister-0001/cardano-nft-admin
870ae5303808056af702d7e162a249567505d4c6
[ "MIT" ]
null
null
null
models/RelSaleSizeProject.py
the-Minister-0001/cardano-nft-admin
870ae5303808056af702d7e162a249567505d4c6
[ "MIT" ]
null
null
null
from sqlalchemy import Column, Integer from sqlalchemy import ForeignKey from sqlalchemy.orm import declarative_base from .base import Base
29.615385
61
0.779221
464ce40b514f813772eac4adaecb88e87e70d261
1,415
py
Python
sudoku/recursive_solver.py
mkomaiha/NERS570-Sudoku
2448de19dd8ae97292b74937d397846d10176a8b
[ "MIT" ]
null
null
null
sudoku/recursive_solver.py
mkomaiha/NERS570-Sudoku
2448de19dd8ae97292b74937d397846d10176a8b
[ "MIT" ]
null
null
null
sudoku/recursive_solver.py
mkomaiha/NERS570-Sudoku
2448de19dd8ae97292b74937d397846d10176a8b
[ "MIT" ]
null
null
null
from sudoku.constants import SIZE, BOX_SIZE from sudoku import Sudoku
31.444444
61
0.467845
464ea27cbe788bd3f30824ac8262b6f8546e28e0
40
py
Python
scraper.py
souravkaranjai/python-webscraper
b4a76846d80e724059eb7cb9abcd5ec13125258a
[ "MIT" ]
null
null
null
scraper.py
souravkaranjai/python-webscraper
b4a76846d80e724059eb7cb9abcd5ec13125258a
[ "MIT" ]
null
null
null
scraper.py
souravkaranjai/python-webscraper
b4a76846d80e724059eb7cb9abcd5ec13125258a
[ "MIT" ]
null
null
null
#!/usr/bin/python3 print('Hello world')
13.333333
20
0.7
464f62901d50ef275959e48f29f0c159e6183c2e
571
py
Python
src/algoritmia/problems/binpacking/firstfitbinpacker.py
DavidLlorens/algoritmia
40ca0a89ea6de9b633fa5f697f0a28cae70816a2
[ "MIT" ]
6
2018-09-15T15:09:10.000Z
2022-02-27T01:23:11.000Z
src/algoritmia/problems/binpacking/firstfitbinpacker.py
JeromeIllgner/algoritmia
406afe7206f2411557859bf03480c16db7dcce0d
[ "MIT" ]
null
null
null
src/algoritmia/problems/binpacking/firstfitbinpacker.py
JeromeIllgner/algoritmia
406afe7206f2411557859bf03480c16db7dcce0d
[ "MIT" ]
5
2018-07-10T20:19:55.000Z
2021-03-31T03:32:22.000Z
from algoritmia.problems.binpacking.nextfitbinpacker import NextFitBinPacker
35.6875
77
0.450088
465010f857bece90ac2bd5becc8c6c4644e18f35
54
py
Python
facebook/matrixWordSearch.py
rando3/leetcode-python
b13bb35fb3cdc9813c62944547d260be2f9cab02
[ "MIT" ]
null
null
null
facebook/matrixWordSearch.py
rando3/leetcode-python
b13bb35fb3cdc9813c62944547d260be2f9cab02
[ "MIT" ]
null
null
null
facebook/matrixWordSearch.py
rando3/leetcode-python
b13bb35fb3cdc9813c62944547d260be2f9cab02
[ "MIT" ]
null
null
null
https://leetcode.com/problems/word-search/description/
54
54
0.833333
46522be46094275849b7f3b3da9bf2d51591f8c8
10,754
py
Python
contrib/make_hdf.py
scopatz/PyTables
05a74def785688abd802224a5ba44393a701ebc7
[ "BSD-3-Clause" ]
9
2021-09-28T05:20:22.000Z
2022-03-16T11:09:06.000Z
contrib/make_hdf.py
scopatz/PyTables
05a74def785688abd802224a5ba44393a701ebc7
[ "BSD-3-Clause" ]
null
null
null
contrib/make_hdf.py
scopatz/PyTables
05a74def785688abd802224a5ba44393a701ebc7
[ "BSD-3-Clause" ]
9
2018-09-14T02:42:36.000Z
2021-07-12T02:37:45.000Z
#!/usr/bin/env python from __future__ import generators import tables, cPickle, time ################################################################################# def make_col(row_type, row_name, row_item, str_len): '''for strings it will always make at least 80 char or twice mac char size''' set_len=...
30.292958
112
0.505951
465234088d4677a447f6bdb4657e058e1a45f5b8
2,234
py
Python
jinja2content.py
firemark/new-site
b7d54320f8e1cfae489108f87f64761ce2510676
[ "MIT" ]
null
null
null
jinja2content.py
firemark/new-site
b7d54320f8e1cfae489108f87f64761ce2510676
[ "MIT" ]
null
null
null
jinja2content.py
firemark/new-site
b7d54320f8e1cfae489108f87f64761ce2510676
[ "MIT" ]
null
null
null
""" jinja2content.py ---------------- DONT EDIT THIS FILE Pelican plugin that processes Markdown files as jinja templates. """ from jinja2 import Environment, FileSystemLoader, ChoiceLoader import os from pelican import signals from pelican.readers import MarkdownReader, HTMLReader, RstReader from pelican.utils imp...
31.027778
73
0.653984
465353204681d4b1df6397f2e8098a707504bf13
4,125
py
Python
task3/code/video_process.py
haohaoqian/STD
38eeb39474a46e8e66bdf4da6a0e28167e2174a2
[ "MIT" ]
1
2021-11-30T13:07:41.000Z
2021-11-30T13:07:41.000Z
task3/code/video_process.py
haohaoqian/STD
38eeb39474a46e8e66bdf4da6a0e28167e2174a2
[ "MIT" ]
null
null
null
task3/code/video_process.py
haohaoqian/STD
38eeb39474a46e8e66bdf4da6a0e28167e2174a2
[ "MIT" ]
null
null
null
import json from tqdm import tqdm from utils import * from alexnet import AlexNet def get_video_feature(net, folder_name, resize=(224, 224)): """ :param folder_name: video_0000 :param resize:(224,224) :return: 1410 ['061_foam_brick', 'green_basketball', 'salt_cylinder', 'shiny_...
39.663462
117
0.634909
4654149e1951b836beb90c90a51fb7d22a7e21c8
200
py
Python
Aulas/12aula(antigo)/readint.py
rafaelmcam/RTOs_ChibiOS
08d8e21f2c7185d2c47846f67cbfba70c706d689
[ "MIT" ]
1
2019-05-14T22:31:25.000Z
2019-05-14T22:31:25.000Z
Aulas/12aula(antigo)/readint.py
rafaelmcam/RTOs_ChibiOS
08d8e21f2c7185d2c47846f67cbfba70c706d689
[ "MIT" ]
null
null
null
Aulas/12aula(antigo)/readint.py
rafaelmcam/RTOs_ChibiOS
08d8e21f2c7185d2c47846f67cbfba70c706d689
[ "MIT" ]
null
null
null
import serial with serial.Serial("/dev/ttyUSB0", 115200) as ser: while 1: for i in range(5): n = ser.read()[0] print("{:x}".format(n)) print("--------")
18.181818
50
0.47
46548694a0ea521a51fee1aa569811ccc528f211
578
py
Python
packages/pyre/parsing/Parser.py
avalentino/pyre
7e1f0287eb7eba1c6d1ef385e5160079283ac363
[ "BSD-3-Clause" ]
25
2018-04-23T01:45:39.000Z
2021-12-10T06:01:23.000Z
packages/pyre/parsing/Parser.py
avalentino/pyre
7e1f0287eb7eba1c6d1ef385e5160079283ac363
[ "BSD-3-Clause" ]
53
2018-05-31T04:55:00.000Z
2021-10-07T21:41:32.000Z
packages/pyre/parsing/Parser.py
avalentino/pyre
7e1f0287eb7eba1c6d1ef385e5160079283ac363
[ "BSD-3-Clause" ]
12
2018-04-23T22:50:40.000Z
2022-02-20T17:27:23.000Z
# -*- coding: utf-8 -*- # # michael a.g. avzis # orthologue # (c) 1998-2021 all rights reserved # # end of file
16.514286
72
0.595156