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
1389758aa9eb7eb25584e0a02ef64f27158cea18
2,395
py
Python
cli/polyaxon/managers/cli.py
hackerwins/polyaxon
ff56a098283ca872abfbaae6ba8abba479ffa394
[ "Apache-2.0" ]
null
null
null
cli/polyaxon/managers/cli.py
hackerwins/polyaxon
ff56a098283ca872abfbaae6ba8abba479ffa394
[ "Apache-2.0" ]
null
null
null
cli/polyaxon/managers/cli.py
hackerwins/polyaxon
ff56a098283ca872abfbaae6ba8abba479ffa394
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # # Copyright 2019 Polyaxon, 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 o...
32.808219
86
0.703967
13897ff894a1bd33edc2b806b99ab65957690746
413
py
Python
duckql/properties/tests/test_null.py
fossabot/duckql-python
b4aead825ee456d9758db89830c7bca9d5d5106e
[ "MIT" ]
4
2020-04-15T09:35:15.000Z
2021-11-11T13:03:46.000Z
duckql/properties/tests/test_null.py
fossabot/duckql-python
b4aead825ee456d9758db89830c7bca9d5d5106e
[ "MIT" ]
2
2020-04-08T12:10:56.000Z
2020-04-15T09:14:44.000Z
duckql/properties/tests/test_null.py
fossabot/duckql-python
b4aead825ee456d9758db89830c7bca9d5d5106e
[ "MIT" ]
1
2020-04-15T09:11:39.000Z
2020-04-15T09:11:39.000Z
import pytest from duckql.properties import Null
19.666667
64
0.723971
138acf726b02bf36085bf40542bda0ebebd538c5
6,190
py
Python
openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/lib/gobject-introspection/giscanner/codegen.py
sotaoverride/backup
ca53a10b72295387ef4948a9289cb78ab70bc449
[ "Apache-2.0" ]
null
null
null
openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/lib/gobject-introspection/giscanner/codegen.py
sotaoverride/backup
ca53a10b72295387ef4948a9289cb78ab70bc449
[ "Apache-2.0" ]
null
null
null
openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/lib/gobject-introspection/giscanner/codegen.py
sotaoverride/backup
ca53a10b72295387ef4948a9289cb78ab70bc449
[ "Apache-2.0" ]
null
null
null
# -*- Mode: Python -*- # GObject-Introspection - a framework for introspecting GObject libraries # Copyright (C) 2010 Red Hat, Inc. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; eith...
34.775281
85
0.593538
138ad53bc75698fb0a04af0266ae508da388a981
6,057
py
Python
nevergrad/parametrization/utils.py
mehrdad-shokri/nevergrad
7b68b00c158bf60544bc45997560edf733fb5812
[ "MIT" ]
2
2021-04-13T12:14:46.000Z
2021-07-07T14:37:50.000Z
nevergrad/parametrization/utils.py
OregonWebSells/nevergrad
c2b2a0efdca29830ccc9182d8a7ba4d8695f698d
[ "MIT" ]
1
2020-09-25T10:45:06.000Z
2020-09-25T11:51:13.000Z
nevergrad/parametrization/utils.py
OregonWebSells/nevergrad
c2b2a0efdca29830ccc9182d8a7ba4d8695f698d
[ "MIT" ]
1
2021-04-07T10:34:20.000Z
2021-04-07T10:34:20.000Z
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import os import sys import shutil import tempfile import subprocess import typing as tp from pathlib import Path from ne...
38.826923
133
0.639591
138b01aa9774bbead45a8dac1264c5149cf9f912
568
py
Python
Section 20/2.Document-transfer_files.py
airbornum/-Complete-Python-Scripting-for-Automation
bc053444f8786259086269ca1713bdb10144dd74
[ "MIT" ]
18
2020-04-13T03:14:06.000Z
2022-03-09T18:54:41.000Z
Section 20/2.Document-transfer_files.py
airbornum/-Complete-Python-Scripting-for-Automation
bc053444f8786259086269ca1713bdb10144dd74
[ "MIT" ]
null
null
null
Section 20/2.Document-transfer_files.py
airbornum/-Complete-Python-Scripting-for-Automation
bc053444f8786259086269ca1713bdb10144dd74
[ "MIT" ]
22
2020-04-29T21:12:42.000Z
2022-03-17T18:19:54.000Z
import paramiko ssh = paramiko.SSHClient() ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy()) ssh.connect(hostname='54.165.97.91',username='ec2-user',password='paramiko123',port=22) sftp_client=ssh.open_sftp() #sftp_client.get('/home/ec2-user/paramiko_download.txt','paramiko_downloaded_file.txt') #sftp_c...
43.692308
88
0.769366
138ba740eae4da2fa0a99d533446f723a2531106
1,522
py
Python
nimlime_core/utils/internal_tools.py
gmpreussner/Varriount.NimLime
33da0424248bf9360c2a7cbca4a22da7a8020785
[ "MIT" ]
null
null
null
nimlime_core/utils/internal_tools.py
gmpreussner/Varriount.NimLime
33da0424248bf9360c2a7cbca4a22da7a8020785
[ "MIT" ]
null
null
null
nimlime_core/utils/internal_tools.py
gmpreussner/Varriount.NimLime
33da0424248bf9360c2a7cbca4a22da7a8020785
[ "MIT" ]
null
null
null
# coding=utf-8 """ Internal tools for NimLime development & testing. """ from pprint import pprint import sublime try: from cProfile import Profile except ImportError: from profile import Profile from functools import wraps from pstats import Stats try: from StringIO import StringIO except ImportError: ...
20.849315
60
0.653088
138c6bcf0225f274dd1eb1c256462cdafdb949eb
2,524
py
Python
test/unit/test_monitor.py
dmvieira/driftage
830188aa341029cc2a643b2b3b50e625953a35eb
[ "Apache-2.0" ]
4
2020-09-24T23:59:54.000Z
2020-09-27T16:43:37.000Z
test/unit/test_monitor.py
dmvieira/driftage
830188aa341029cc2a643b2b3b50e625953a35eb
[ "Apache-2.0" ]
2
2021-03-06T19:55:34.000Z
2021-03-06T20:06:42.000Z
test/unit/test_monitor.py
dmvieira/driftage
830188aa341029cc2a643b2b3b50e625953a35eb
[ "Apache-2.0" ]
null
null
null
import orjson from asynctest import TestCase, Mock, patch from freezegun import freeze_time from driftage.monitor import Monitor
31.160494
75
0.587163
138d56c884e89de3d6a25a794b256d4f746b9c4d
354
py
Python
examples/todo_advanced/main.py
travisluong/fastarg
b21d5307ce6b296aa16f30bf220ca2ead8e9d4d3
[ "MIT" ]
1
2022-03-27T20:30:45.000Z
2022-03-27T20:30:45.000Z
examples/todo_advanced/main.py
travisluong/fastarg
b21d5307ce6b296aa16f30bf220ca2ead8e9d4d3
[ "MIT" ]
null
null
null
examples/todo_advanced/main.py
travisluong/fastarg
b21d5307ce6b296aa16f30bf220ca2ead8e9d4d3
[ "MIT" ]
null
null
null
import fastarg import commands.todo as todo import commands.user as user app = fastarg.Fastarg(description="productivity app", prog="todo") app.add_fastarg(todo.app, name="todo") app.add_fastarg(user.app, name="user") if __name__ == "__main__": app.run()
22.125
66
0.70339
138da1de200b7ec195fd8cfe7cb64a50fd1f3486
7,177
py
Python
tests/test_channel.py
rwilhelm/aiormq
9aa278e61d16ba18748f5f5a3fc76d0a273fd14a
[ "Apache-2.0" ]
176
2019-01-13T13:41:43.000Z
2022-03-26T04:01:03.000Z
tests/test_channel.py
rwilhelm/aiormq
9aa278e61d16ba18748f5f5a3fc76d0a273fd14a
[ "Apache-2.0" ]
79
2019-02-18T17:41:25.000Z
2022-02-25T11:09:33.000Z
tests/test_channel.py
rwilhelm/aiormq
9aa278e61d16ba18748f5f5a3fc76d0a273fd14a
[ "Apache-2.0" ]
54
2019-02-19T09:53:12.000Z
2022-03-28T13:33:29.000Z
import asyncio import uuid import pytest from aiomisc_pytest.pytest_plugin import TCPProxy import aiormq
34.671498
80
0.722029
138dbf1fa3b2ac4c4311547dd1bdd7a67de14e0b
39
py
Python
nitro-python/nssrc/com/citrix/netscaler/nitro/resource/stat/mediaclassification/__init__.py
culbertm/NSttyPython
ff9f6aedae3fb8495342cd0fc4247c819cf47397
[ "Apache-2.0" ]
2
2020-08-24T18:04:22.000Z
2020-08-24T18:04:47.000Z
nitro/resource/stat/mediaclassification/__init__.py
HanseMerkur/nitro-python
d03eb11f492a35a2a8b2a140322fbce22d25a8f7
[ "Apache-2.0" ]
null
null
null
nitro/resource/stat/mediaclassification/__init__.py
HanseMerkur/nitro-python
d03eb11f492a35a2a8b2a140322fbce22d25a8f7
[ "Apache-2.0" ]
null
null
null
__all__ = ['mediaclassification_stats']
39
39
0.820513
138e485745a6d26b22140e7cd765e64928978552
455
py
Python
balanced_parens.py
joeghodsi/interview-questions
3e4eb76891245ce978cb9171e87d60e3b292b0a8
[ "Unlicense" ]
1
2018-06-11T18:18:39.000Z
2018-06-11T18:18:39.000Z
balanced_parens.py
joeghodsi/interview-questions
3e4eb76891245ce978cb9171e87d60e3b292b0a8
[ "Unlicense" ]
null
null
null
balanced_parens.py
joeghodsi/interview-questions
3e4eb76891245ce978cb9171e87d60e3b292b0a8
[ "Unlicense" ]
null
null
null
''' Problem description: Given a string, determine whether or not the parentheses are balanced ''' def balanced_parens(str): ''' runtime: O(n) space : O(1) ''' if str is None: return True open_count = 0 for char in str: if char == '(': open_count += 1 ...
17.5
69
0.514286
138f08438e2c276d1577956212792c686c9d877c
6,333
py
Python
plaso/parsers/winreg_plugins/ccleaner.py
pyllyukko/plaso
7533db2d1035ca71d264d6281ebd5db2d073c587
[ "Apache-2.0" ]
1,253
2015-01-02T13:58:02.000Z
2022-03-31T08:43:39.000Z
plaso/parsers/winreg_plugins/ccleaner.py
pyllyukko/plaso
7533db2d1035ca71d264d6281ebd5db2d073c587
[ "Apache-2.0" ]
3,388
2015-01-02T11:17:58.000Z
2022-03-30T10:21:45.000Z
plaso/parsers/winreg_plugins/ccleaner.py
pyllyukko/plaso
7533db2d1035ca71d264d6281ebd5db2d073c587
[ "Apache-2.0" ]
376
2015-01-20T07:04:54.000Z
2022-03-04T23:53:00.000Z
# -*- coding: utf-8 -*- """Parser for the CCleaner Registry key.""" import re from dfdatetime import time_elements as dfdatetime_time_elements from plaso.containers import events from plaso.containers import time_events from plaso.lib import definitions from plaso.parsers import winreg_parser from plaso.parsers.winr...
33.331579
92
0.707879
139025981058af435a2b6721ba93a59e2cb0b119
1,296
py
Python
pushpluck/base.py
ejconlon/pushpluck
4e5b8bcff6fe3955e8f25638268569f901815b5a
[ "MIT" ]
null
null
null
pushpluck/base.py
ejconlon/pushpluck
4e5b8bcff6fe3955e8f25638268569f901815b5a
[ "MIT" ]
2
2021-04-02T03:54:12.000Z
2021-04-23T18:23:03.000Z
pushpluck/base.py
ejconlon/pushpluck
4e5b8bcff6fe3955e8f25638268569f901815b5a
[ "MIT" ]
null
null
null
from abc import ABCMeta, abstractmethod from dataclasses import dataclass from typing import Any, TypeVar X = TypeVar('X') _UNIT_SINGLETON = Unit()
24.923077
90
0.657407
139141d96476a62cf2a8695abfe754ae15ba668e
2,057
py
Python
test/cuberead/highres/test_default_high_res.py
CAB-LAB/cube-performance-test
0ca7dbb56b2937004fb63f8aafdff21fb76263d4
[ "MIT" ]
null
null
null
test/cuberead/highres/test_default_high_res.py
CAB-LAB/cube-performance-test
0ca7dbb56b2937004fb63f8aafdff21fb76263d4
[ "MIT" ]
null
null
null
test/cuberead/highres/test_default_high_res.py
CAB-LAB/cube-performance-test
0ca7dbb56b2937004fb63f8aafdff21fb76263d4
[ "MIT" ]
null
null
null
import time import pytest from test import config from test.cube_utils import CubeUtils ITERATIONS_NUM = getattr(config, 'iterations_num', 1) ROUNDS_NUM = getattr(config, 'rounds_num', 10)
33.177419
114
0.684492
139180db13c406acb2f2910c85de0dfd5a8d2472
5,545
py
Python
tests/components/test_dialogue_flow.py
dyoshiha/mindmeld
95f0e8482594f00040766a2ee687e9c9338f5a74
[ "Apache-2.0" ]
1
2019-12-12T12:44:33.000Z
2019-12-12T12:44:33.000Z
tests/components/test_dialogue_flow.py
AravindR7/mindmeld
470bba73ac56b6388146212ddaf697097e81cec3
[ "Apache-2.0" ]
null
null
null
tests/components/test_dialogue_flow.py
AravindR7/mindmeld
470bba73ac56b6388146212ddaf697097e81cec3
[ "Apache-2.0" ]
null
null
null
import pytest from mindmeld.components import Conversation def assert_reply(directives, templates, *, start_index=0, slots=None): """Asserts that the provided directives contain the specified reply Args: directives (list[dict[str, dict]]): list of directives returned by application templates ...
39.326241
99
0.741389
1395c34c642a4ba06cd80eeb8c512c19499d8a1b
1,707
py
Python
mine/src/main/python/SVM.py
nextzlog/mine
49ef0bea4796920d8696dc5f076f86c0ab17be80
[ "BSD-3-Clause" ]
3
2020-06-04T15:25:37.000Z
2020-06-06T05:09:07.000Z
mine/src/main/python/SVM.py
nextzlog/mine
49ef0bea4796920d8696dc5f076f86c0ab17be80
[ "BSD-3-Clause" ]
null
null
null
mine/src/main/python/SVM.py
nextzlog/mine
49ef0bea4796920d8696dc5f076f86c0ab17be80
[ "BSD-3-Clause" ]
null
null
null
import os,sys import webbrowser import numpy as np import matplotlib matplotlib.use('Agg') import matplotlib.cm as cm import matplotlib.pylab as plt from matplotlib import ticker plt.rcParams['font.family'] = 'monospace' fig = plt.figure() rect = fig.add_subplot(111, aspect='equal') data0 = np.loadtxt('data0.dat', del...
38.795455
140
0.671353
1395df5d636c77222d35d82dfd590f6aefe93e2b
455
py
Python
sarna/report_generator/scores.py
rsrdesarrollo/sarna
0c1f44e06a932520b70e505585a5469b77f6302e
[ "MIT" ]
25
2019-03-11T22:42:52.000Z
2022-03-15T09:49:15.000Z
sarna/report_generator/scores.py
hackingmess/sarna
0c1f44e06a932520b70e505585a5469b77f6302e
[ "MIT" ]
14
2019-01-08T08:35:51.000Z
2022-03-11T23:30:28.000Z
sarna/report_generator/scores.py
hackingmess/sarna
0c1f44e06a932520b70e505585a5469b77f6302e
[ "MIT" ]
12
2019-07-26T05:38:32.000Z
2022-03-29T09:54:49.000Z
from sarna.model.enums import Score, Language from sarna.report_generator import make_run from sarna.report_generator.locale_choice import locale_choice from sarna.report_generator.style import RenderStyle
32.5
82
0.764835
139756e066bb02143bb1f17cfc6e0e0c48ac0c56
20,000
py
Python
tests/hwsim/test_ap_open.py
waittrue/wireless
3c64f015dc62aec4da0b696f45cc4bcf41594c5d
[ "Unlicense" ]
1
2016-04-22T19:32:57.000Z
2016-04-22T19:32:57.000Z
tests/hwsim/test_ap_open.py
Acidburn0zzz/third_party-hostap
0542463c4de76fde6e8164f75b3a52ce0ddd8087
[ "Unlicense" ]
null
null
null
tests/hwsim/test_ap_open.py
Acidburn0zzz/third_party-hostap
0542463c4de76fde6e8164f75b3a52ce0ddd8087
[ "Unlicense" ]
null
null
null
# Open mode AP tests # Copyright (c) 2014, Qualcomm Atheros, Inc. # # This software may be distributed under the terms of the BSD license. # See README for more details. import logging logger = logging.getLogger() import struct import subprocess import time import os import hostapd import hwsim_utils from tshark impo...
41.237113
124
0.6295
13980d70f605aa90e6f0d5a0697ef90a4b646aec
4,708
py
Python
task_templates/pipelines/python3_pytorch_regression/model_utils.py
andreakropp/datarobot-user-models
423ab8c703a545491ad6013a0b7efa3119e2c0fc
[ "Apache-2.0" ]
null
null
null
task_templates/pipelines/python3_pytorch_regression/model_utils.py
andreakropp/datarobot-user-models
423ab8c703a545491ad6013a0b7efa3119e2c0fc
[ "Apache-2.0" ]
9
2021-11-10T20:16:41.000Z
2022-03-12T00:59:05.000Z
task_templates/pipelines/python3_pytorch_regression/model_utils.py
andreakropp/datarobot-user-models
423ab8c703a545491ad6013a0b7efa3119e2c0fc
[ "Apache-2.0" ]
1
2021-06-17T22:05:33.000Z
2021-06-17T22:05:33.000Z
#!/usr/bin/env python # coding: utf-8 # pylint: disable-all from __future__ import absolute_import from sklearn.preprocessing import LabelEncoder from pathlib import Path import torch from torch.autograd import Variable import torch.nn as nn import torch.optim as optim def train_epoch(model, opt, criterion, X, y...
31.810811
112
0.656542
13984baeb601966ec125e0ffbdce4b6e8815be83
9,894
py
Python
py/surveysim/weather.py
mlandriau/surveysim
e7a323d6c4031b1b8df25e776dbe81188fbe8860
[ "BSD-3-Clause" ]
null
null
null
py/surveysim/weather.py
mlandriau/surveysim
e7a323d6c4031b1b8df25e776dbe81188fbe8860
[ "BSD-3-Clause" ]
55
2016-11-14T21:58:11.000Z
2021-03-16T01:07:31.000Z
py/surveysim/weather.py
mlandriau/surveysim
e7a323d6c4031b1b8df25e776dbe81188fbe8860
[ "BSD-3-Clause" ]
4
2016-11-19T00:17:02.000Z
2021-02-24T14:38:46.000Z
"""Simulate stochastic observing weather conditions. The simulated conditions include seeing, transparency and the dome-open fraction. """ from __future__ import print_function, division, absolute_import from datetime import datetime import numpy as np import astropy.time import astropy.table import astropy.units a...
43.973333
92
0.63392
1398a0a81ef6551f1edec803a59f1dbf8ef55e95
8,075
py
Python
lib/csv_writer.py
takeratta/ga-dev-tools
19dcf7c750af8214e5a306fc0f8e2b28bef7bb40
[ "Apache-2.0" ]
2
2020-07-02T14:29:44.000Z
2021-12-02T09:31:36.000Z
lib/csv_writer.py
jeffreychung/ga-dev-tools
19dcf7c750af8214e5a306fc0f8e2b28bef7bb40
[ "Apache-2.0" ]
3
2022-02-19T14:08:17.000Z
2022-03-03T22:32:16.000Z
lib/csv_writer.py
colorstheforce/ga-dev-tools
46dd9652f9a7d9f8255b6d401985fdcfb8b61b25
[ "Apache-2.0" ]
1
2021-01-02T17:04:16.000Z
2021-01-02T17:04:16.000Z
# coding=utf-8 # Copyright 2015 Google Inc. 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 ap...
30.130597
78
0.687059
13991543937ea97e225d2fffa3ed5c4c26a13a38
2,924
py
Python
resdata/TensorFlow/RNN_Prediction/stockPrediction202005201318.py
yuwenxianglong/zhxsh.github.io
427d14b787e55df26e03a069288815b14ab6b534
[ "MIT" ]
null
null
null
resdata/TensorFlow/RNN_Prediction/stockPrediction202005201318.py
yuwenxianglong/zhxsh.github.io
427d14b787e55df26e03a069288815b14ab6b534
[ "MIT" ]
1
2021-03-30T04:35:57.000Z
2021-03-30T04:35:57.000Z
resdata/TensorFlow/RNN_Prediction/stockPrediction202005201318.py
yuwenxianglong/yuwenxianglong.github.io
196e32d2775ef3a3863603cb5c30023450a1944c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ @Project : RNN_Prediction @Author : Xu-Shan Zhao @Filename: stockPrediction202005201318.py @IDE : PyCharm @Time1 : 2020-05-20 13:18:46 @Time2 : 2020/5/20 13:18 @Month1 : 5 @Month2 : """ import tushare as ts import tensorflow as tf import pandas as pd from sklearn.model_selection...
28.666667
102
0.713748
13996a1a6227b5d37ae0ca02175dbff81af29e2d
29,063
py
Python
src/mushme.py
MuShMe/MuShMe
dbc9b940c827039016d7917d535882b47d7d8e5b
[ "Unlicense", "MIT" ]
1
2015-07-10T06:14:29.000Z
2015-07-10T06:14:29.000Z
src/mushme.py
MuShMe/MuShMe
dbc9b940c827039016d7917d535882b47d7d8e5b
[ "Unlicense", "MIT" ]
2
2016-01-10T04:27:12.000Z
2016-01-10T10:47:57.000Z
src/mushme.py
MuShMe/MuShMe
dbc9b940c827039016d7917d535882b47d7d8e5b
[ "Unlicense", "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from src import app import os import shutil from flask import Flask, render_template, session, request, flash, url_for, redirect from Forms import ContactForm, LoginForm, editForm, ReportForm, CommentForm, searchForm, AddPlaylist from flask.ext.mail import Message, Mail fro...
42.181422
251
0.600282
13998d176731562bde5bd78d5d04ea6a48f3fc9c
19,221
py
Python
language/labs/drkit/evaluate.py
Xtuden-com/language
70c0328968d5ffa1201c6fdecde45bbc4fec19fc
[ "Apache-2.0" ]
1,199
2018-10-16T01:30:18.000Z
2022-03-31T21:05:24.000Z
language/labs/drkit/evaluate.py
Xtuden-com/language
70c0328968d5ffa1201c6fdecde45bbc4fec19fc
[ "Apache-2.0" ]
116
2018-10-18T03:31:46.000Z
2022-03-24T13:40:50.000Z
language/labs/drkit/evaluate.py
Xtuden-com/language
70c0328968d5ffa1201c6fdecde45bbc4fec19fc
[ "Apache-2.0" ]
303
2018-10-22T12:35:12.000Z
2022-03-27T17:38:17.000Z
# coding=utf-8 # Copyright 2018 The Google AI Language Team 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 ...
33.196891
80
0.643827
139af14f3890b6a5fdebd9bc833f815258ac26c3
1,433
py
Python
tests/adv/test_pop_sfrd.py
jlashner/ares
6df2b676ded6bd59082a531641cb1dadd475c8a8
[ "MIT" ]
10
2020-03-26T01:08:10.000Z
2021-12-04T13:02:10.000Z
tests/adv/test_pop_sfrd.py
jlashner/ares
6df2b676ded6bd59082a531641cb1dadd475c8a8
[ "MIT" ]
25
2020-06-08T14:52:28.000Z
2022-03-08T02:30:54.000Z
tests/adv/test_pop_sfrd.py
jlashner/ares
6df2b676ded6bd59082a531641cb1dadd475c8a8
[ "MIT" ]
8
2020-03-24T14:11:25.000Z
2021-11-06T06:32:59.000Z
""" test_pop_models.py Author: Jordan Mirocha Affiliation: UCLA Created on: Fri Jul 15 15:23:11 PDT 2016 Description: """ import ares import matplotlib.pyplot as pl PB = ares.util.ParameterBundle if __name__ == '__main__': test()
25.589286
75
0.669923
139b3faa5c126c4a50efcad5c0824965049d5697
258
py
Python
venv/lib/python3.7/site-packages/leancloud/engine/utils.py
corgiclub/CorgiBot_telegram
a63d91a74ee497b9a405e93bd3b303367ef95268
[ "MIT" ]
null
null
null
venv/lib/python3.7/site-packages/leancloud/engine/utils.py
corgiclub/CorgiBot_telegram
a63d91a74ee497b9a405e93bd3b303367ef95268
[ "MIT" ]
null
null
null
venv/lib/python3.7/site-packages/leancloud/engine/utils.py
corgiclub/CorgiBot_telegram
a63d91a74ee497b9a405e93bd3b303367ef95268
[ "MIT" ]
null
null
null
# coding: utf-8 import time import hashlib import leancloud from leancloud._compat import to_bytes __author__ = 'asaka <lan@leancloud.rocks>'
18.428571
77
0.748062
139b6ad51a7b83cb108f4b1bb43a2ce22b27cc6e
2,377
py
Python
AirplaneLQR/chap4LQR/mavsim_chap4.py
eyler94/ee674AirplaneSim
3ba2c6e685c2688a7f372475a7cd1f55f583d10e
[ "MIT" ]
1
2020-06-07T00:14:42.000Z
2020-06-07T00:14:42.000Z
AirplaneLQR/chap4LQR/mavsim_chap4.py
eyler94/ee674AirplaneSim
3ba2c6e685c2688a7f372475a7cd1f55f583d10e
[ "MIT" ]
null
null
null
AirplaneLQR/chap4LQR/mavsim_chap4.py
eyler94/ee674AirplaneSim
3ba2c6e685c2688a7f372475a7cd1f55f583d10e
[ "MIT" ]
1
2019-06-24T22:10:48.000Z
2019-06-24T22:10:48.000Z
""" mavsimPy - Chapter 4 assignment for Beard & McLain, PUP, 2012 - Update history: 12/27/2018 - RWB 1/17/2019 - RWB """ import sys sys.path.append('..') import numpy as np import parameters.simulation_parameters as SIM from chap2.mav_viewer import mav_viewer # from chap2.video_writer import ...
30.87013
106
0.63862
139b92054f917712ecbfacdc663b9fc7eea6103f
6,010
py
Python
core/self6dpp/tools/ycbv/ycbv_pbr_so_mlBCE_Double_3_merge_train_real_uw_init_results_with_refined_poses_to_json.py
THU-DA-6D-Pose-Group/self6dpp
c267cfa55e440e212136a5e9940598720fa21d16
[ "Apache-2.0" ]
33
2021-12-15T07:11:47.000Z
2022-03-29T08:58:32.000Z
core/self6dpp/tools/ycbv/ycbv_pbr_so_mlBCE_Double_3_merge_train_real_uw_init_results_with_refined_poses_to_json.py
THU-DA-6D-Pose-Group/self6dpp
c267cfa55e440e212136a5e9940598720fa21d16
[ "Apache-2.0" ]
3
2021-12-15T11:39:54.000Z
2022-03-29T07:24:23.000Z
core/self6dpp/tools/ycbv/ycbv_pbr_so_mlBCE_Double_3_merge_train_real_uw_init_results_with_refined_poses_to_json.py
THU-DA-6D-Pose-Group/self6dpp
c267cfa55e440e212136a5e9940598720fa21d16
[ "Apache-2.0" ]
null
null
null
import os.path as osp import sys import numpy as np import mmcv from tqdm import tqdm from functools import cmp_to_key cur_dir = osp.dirname(osp.abspath(__file__)) PROJ_ROOT = osp.normpath(osp.join(cur_dir, "../../../../")) sys.path.insert(0, PROJ_ROOT) from lib.pysixd import inout, misc from lib.utils.bbox_utils impo...
52.719298
146
0.708985
139bcb633d3c2b224334dad0ddfc97013f3a8ff8
918
py
Python
tests/test_app/rest_app/rest_app/services/account_service.py
jadbin/guniflask
36253a962c056abf34884263c6919b02b921ad9c
[ "MIT" ]
12
2018-09-06T06:14:59.000Z
2021-04-18T06:30:44.000Z
tests/test_app/rest_app/rest_app/services/account_service.py
jadbin/guniflask
36253a962c056abf34884263c6919b02b921ad9c
[ "MIT" ]
null
null
null
tests/test_app/rest_app/rest_app/services/account_service.py
jadbin/guniflask
36253a962c056abf34884263c6919b02b921ad9c
[ "MIT" ]
2
2019-09-08T22:01:26.000Z
2020-08-03T07:23:29.000Z
from flask import abort from guniflask.context import service from ..config.jwt_config import jwt_manager
27.818182
102
0.59695
139ca9c9fd0f3cc444f7df8ee3874d848532508e
616
py
Python
test/library/draft/DataFrames/psahabu/AddSeries.py
jhh67/chapel
f041470e9b88b5fc4914c75aa5a37efcb46aa08f
[ "ECL-2.0", "Apache-2.0" ]
1,602
2015-01-06T11:26:31.000Z
2022-03-30T06:17:21.000Z
test/library/draft/DataFrames/psahabu/AddSeries.py
jhh67/chapel
f041470e9b88b5fc4914c75aa5a37efcb46aa08f
[ "ECL-2.0", "Apache-2.0" ]
11,789
2015-01-05T04:50:15.000Z
2022-03-31T23:39:19.000Z
test/library/draft/DataFrames/psahabu/AddSeries.py
jhh67/chapel
f041470e9b88b5fc4914c75aa5a37efcb46aa08f
[ "ECL-2.0", "Apache-2.0" ]
498
2015-01-08T18:58:18.000Z
2022-03-20T15:37:45.000Z
import pandas as pd I = ["A", "B", "C", "D", "E"] oneDigit = pd.Series([1, 2, 3, 4, 5], pd.Index(I)) twoDigit = pd.Series([10, 20, 30, 40, 50], pd.Index(I)) print "addends:" print oneDigit print twoDigit print print "sum:" print oneDigit + twoDigit print I2 = ["A", "B", "C"] I3 = ["B", "C", "D", "E"] X = pd.Series(...
16.210526
55
0.576299
139ccafc558ec94667dba3f86f2f3f760f5cf3e5
11,176
py
Python
nelly/parser.py
shawcx/nelly
8075b92e20064a117f9ab5a6d8ad261d21234111
[ "MIT" ]
null
null
null
nelly/parser.py
shawcx/nelly
8075b92e20064a117f9ab5a6d8ad261d21234111
[ "MIT" ]
null
null
null
nelly/parser.py
shawcx/nelly
8075b92e20064a117f9ab5a6d8ad261d21234111
[ "MIT" ]
null
null
null
# # (c) 2008-2020 Matthew Shaw # import sys import os import re import logging import nelly from .scanner import Scanner from .program import Program from .types import *
34.708075
99
0.54796
139d2344b35cd1e7a61819201ca64cbfee2afef8
2,363
py
Python
qcodes/utils/installation_info.py
zhinst/Qcodes
d95798bd08d57bb8cddd460fdb4a5ff25f19215c
[ "MIT" ]
1
2020-10-19T08:09:04.000Z
2020-10-19T08:09:04.000Z
qcodes/utils/installation_info.py
M1racleShih/Qcodes
c03029a6968e16379155aadc8b083a02e01876a6
[ "MIT" ]
230
2020-08-17T06:08:33.000Z
2022-03-29T12:06:58.000Z
qcodes/utils/installation_info.py
nikhartman/Qcodes
042c5e25ab9e40b20c316b4055c4842844834d1e
[ "MIT" ]
4
2017-12-11T12:13:41.000Z
2018-08-01T13:13:04.000Z
""" This module contains helper functions that provide information about how QCoDeS is installed and about what other packages are installed along with QCoDeS """ import sys from typing import Dict, List, Optional import subprocess import json import logging import requirements if sys.version_info >= (3, 8): from ...
28.130952
84
0.656792
139d2693f9221f951071ee2118de0f027b954129
1,177
py
Python
documents/views.py
brandonrobertz/foia-pdf-processing-system
025516b5e2234df16741237c4208cd484f577370
[ "MIT" ]
null
null
null
documents/views.py
brandonrobertz/foia-pdf-processing-system
025516b5e2234df16741237c4208cd484f577370
[ "MIT" ]
null
null
null
documents/views.py
brandonrobertz/foia-pdf-processing-system
025516b5e2234df16741237c4208cd484f577370
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.http import JsonResponse from .models import FieldCategory
28.02381
58
0.614274
139d4a4bd97d70f26bdab675ca59d3c9590754fc
746
py
Python
tests/test_provider_Mongey_kafka_connect.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
507
2017-07-26T02:58:38.000Z
2022-01-21T12:35:13.000Z
tests/test_provider_Mongey_kafka_connect.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
135
2017-07-20T12:01:59.000Z
2021-10-04T22:25:40.000Z
tests/test_provider_Mongey_kafka_connect.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
81
2018-02-20T17:55:28.000Z
2022-01-31T07:08:40.000Z
# tests/test_provider_Mongey_kafka-connect.py # Automatically generated by tools/makecode.py (24-Sep-2021 15:20:11 UTC) # TODO: Shortcut imports without namespace for official and supported providers. # TODO: This has to be moved into a required_providers block. # def test_version_source(): # # import terrasc...
29.84
81
0.758713
139ed09f5c5b42cbc50f76d8cc6ce28401b30b04
12,850
py
Python
application.py
nicholsont/catalog_app
011e4c35401aa1128a4cf1ca99dd808da7a759e6
[ "Unlicense" ]
null
null
null
application.py
nicholsont/catalog_app
011e4c35401aa1128a4cf1ca99dd808da7a759e6
[ "Unlicense" ]
null
null
null
application.py
nicholsont/catalog_app
011e4c35401aa1128a4cf1ca99dd808da7a759e6
[ "Unlicense" ]
null
null
null
from flask import Flask, render_template, request, redirect, jsonify, g from flask import url_for, flash, make_response from flask import session as login_session from sqlalchemy import create_engine, asc from sqlalchemy.orm import sessionmaker from models import Base, Category, Item, User from oauth2client.client impo...
39.296636
79
0.63323
139ed5391c8324e35fd54e409887ff876db4d1d0
239
py
Python
noo/impl/utils/__init__.py
nooproject/noo
238711c55faeb1226a4e5339cd587a312c4babac
[ "MIT" ]
2
2022-02-03T07:35:46.000Z
2022-02-03T16:12:25.000Z
noo/impl/utils/__init__.py
nooproject/noo
238711c55faeb1226a4e5339cd587a312c4babac
[ "MIT" ]
2
2022-03-05T02:31:38.000Z
2022-03-05T21:26:42.000Z
noo/impl/utils/__init__.py
nooproject/noo
238711c55faeb1226a4e5339cd587a312c4babac
[ "MIT" ]
1
2022-03-05T01:40:29.000Z
2022-03-05T01:40:29.000Z
from .echo import echo, set_quiet from .errors import NooException, cancel from .store import STORE, FileStore, Store __all__ = ( "FileStore", "NooException", "Store", "STORE", "cancel", "echo", "set_quiet", )
17.071429
42
0.635983
139f6d8d256ac39b6d5d2e96db49c8e71d3fc905
20,472
py
Python
ai2thor/server.py
aliang8/ai2thor
3ef92cf5437e2d60127c77bd59d5b7394eebb36c
[ "Apache-2.0" ]
1
2019-04-11T14:51:04.000Z
2019-04-11T14:51:04.000Z
ai2thor/server.py
aliang8/ai2thor
3ef92cf5437e2d60127c77bd59d5b7394eebb36c
[ "Apache-2.0" ]
null
null
null
ai2thor/server.py
aliang8/ai2thor
3ef92cf5437e2d60127c77bd59d5b7394eebb36c
[ "Apache-2.0" ]
null
null
null
# Copyright Allen Institute for Artificial Intelligence 2017 """ ai2thor.server Handles all communication with Unity through a Flask service. Messages are sent to the controller using a pair of request/response queues. """ import json import logging import sys import os import os.path try: from queue import Em...
37.289617
148
0.621483
139f98ba0220830de5e89cabcde17bead64e5fb5
625
py
Python
setup.py
ooreilly/mydocstring
077cebfb86575914d343bd3291b9e6c5e8beef94
[ "MIT" ]
13
2018-12-11T00:34:09.000Z
2022-03-22T20:41:04.000Z
setup.py
ooreilly/mydocstring
077cebfb86575914d343bd3291b9e6c5e8beef94
[ "MIT" ]
13
2018-06-15T19:42:06.000Z
2020-12-18T22:20:02.000Z
setup.py
ooreilly/mydocstring
077cebfb86575914d343bd3291b9e6c5e8beef94
[ "MIT" ]
5
2018-06-16T07:45:49.000Z
2020-12-12T07:12:00.000Z
from setuptools import setup setup(name='mydocstring', version='0.2.7', description="""A tool for extracting and converting Google-style docstrings to plain-text, markdown, and JSON.""", url='http://github.com/ooreilly/mydocstring', author="Ossian O'Reilly", license='MIT', pa...
32.894737
84
0.6048
13a03223c85f270b2a1843680f883661d539e4c0
903
py
Python
anyser/impls/bson.py
Cologler/anyser-python
52afa0a62003adcfe269f47d81863e00381d8ff9
[ "MIT" ]
null
null
null
anyser/impls/bson.py
Cologler/anyser-python
52afa0a62003adcfe269f47d81863e00381d8ff9
[ "MIT" ]
null
null
null
anyser/impls/bson.py
Cologler/anyser-python
52afa0a62003adcfe269f47d81863e00381d8ff9
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright (c) 2020~2999 - Cologler <skyoflw@gmail.com> # ---------- # # ---------- import bson import struct from ..err import SerializeError from ..abc import * from ..core import register_format
25.083333
57
0.605759
13a130fcf753fdc5859f92859bfe939d85633259
69,875
py
Python
tests/test_config_parser.py
KevinMFong/pyhocon
091830001f2d44f91f0f8281fb119c87fd1f6660
[ "Apache-2.0" ]
424
2015-01-03T02:48:46.000Z
2022-03-22T02:47:43.000Z
tests/test_config_parser.py
KevinMFong/pyhocon
091830001f2d44f91f0f8281fb119c87fd1f6660
[ "Apache-2.0" ]
251
2015-02-03T20:47:53.000Z
2022-03-19T16:45:15.000Z
tests/test_config_parser.py
KevinMFong/pyhocon
091830001f2d44f91f0f8281fb119c87fd1f6660
[ "Apache-2.0" ]
127
2015-01-09T14:31:49.000Z
2022-03-19T15:47:30.000Z
# -*- encoding: utf-8 -*- import json import os import shutil import tempfile from collections import OrderedDict from datetime import timedelta from pyparsing import ParseBaseException, ParseException, ParseSyntaxException import mock import pytest from pyhocon import (ConfigFactory, ConfigParser, ConfigSubstitution...
28.381397
120
0.44385
13a1474b58c5efbf18c61bee86e2d5e292bdda41
7,416
py
Python
scenario_runner/srunner/scenariomanager/scenario_manager.py
cgeller/WorldOnRails
d8aa9f7ae67a6b7b71a2fc5ba86bb2a44f221bef
[ "MIT" ]
447
2021-03-26T09:29:17.000Z
2022-03-30T03:03:35.000Z
scenario_runner/srunner/scenariomanager/scenario_manager.py
cgeller/WorldOnRails
d8aa9f7ae67a6b7b71a2fc5ba86bb2a44f221bef
[ "MIT" ]
56
2021-04-21T03:12:50.000Z
2022-03-30T13:34:16.000Z
scenario_runner/srunner/scenariomanager/scenario_manager.py
cgeller/WorldOnRails
d8aa9f7ae67a6b7b71a2fc5ba86bb2a44f221bef
[ "MIT" ]
82
2021-04-14T04:34:04.000Z
2022-03-29T07:35:15.000Z
#!/usr/bin/env python # Copyright (c) 2018-2020 Intel Corporation # # This work is licensed under the terms of the MIT license. # For a copy, see <https://opensource.org/licenses/MIT>. """ This module provides the ScenarioManager implementation. It must not be modified and is for reference only! """ from __future__ ...
31.965517
95
0.631338
13a20e94df54130a998b207ca8a8c8a5a8437f0f
43,104
py
Python
edb/schema/referencing.py
disfated/edgedb
8d78f4a2a578f80780be160ba5f107f5bdc79063
[ "Apache-2.0" ]
null
null
null
edb/schema/referencing.py
disfated/edgedb
8d78f4a2a578f80780be160ba5f107f5bdc79063
[ "Apache-2.0" ]
null
null
null
edb/schema/referencing.py
disfated/edgedb
8d78f4a2a578f80780be160ba5f107f5bdc79063
[ "Apache-2.0" ]
null
null
null
# # This source file is part of the EdgeDB open source project. # # Copyright 2008-present MagicStack Inc. and the EdgeDB 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...
35.015435
79
0.588994
13a2d4c2633ce0ba08875637d40181583a434b5a
1,740
py
Python
tools.py
Jakuko99/effectb
ab6688ce3679cdd2cf43038f7bfef67dabf97c1b
[ "MIT" ]
1
2021-05-31T09:21:19.000Z
2021-05-31T09:21:19.000Z
tools.py
Jakuko99/effectb
ab6688ce3679cdd2cf43038f7bfef67dabf97c1b
[ "MIT" ]
null
null
null
tools.py
Jakuko99/effectb
ab6688ce3679cdd2cf43038f7bfef67dabf97c1b
[ "MIT" ]
null
null
null
from calendar import month_name
29
77
0.468391
13a338753672931f84d30f4a3787e44f246ba8c1
583
py
Python
Bugscan_exploits-master/exp_list/exp-2307.py
csadsl/poc_exp
e3146262e7403f19f49ee2db56338fa3f8e119c9
[ "MIT" ]
11
2020-05-30T13:53:49.000Z
2021-03-17T03:20:59.000Z
Bugscan_exploits-master/exp_list/exp-2307.py
csadsl/poc_exp
e3146262e7403f19f49ee2db56338fa3f8e119c9
[ "MIT" ]
6
2020-05-13T03:25:18.000Z
2020-07-21T06:24:16.000Z
Bugscan_exploits-master/exp_list/exp-2307.py
csadsl/poc_exp
e3146262e7403f19f49ee2db56338fa3f8e119c9
[ "MIT" ]
6
2020-05-30T13:53:51.000Z
2020-12-01T21:44:26.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- #__Author__ = #_PlugName_ = Shop7z /admin/lipinadd.asp import re if __name__ == '__main__': from dummy import * audit(assign('shop7z', 'http://www.99ysbjw.com/')[1])
27.761905
80
0.603774
13a3a70ae5392650e62af677f5914bc6b6d670e2
18,444
py
Python
homeassistant/components/hue/light.py
dlangerm/core
643acbf9484fd05161d7e9f2228c9c92a5ce7d0b
[ "Apache-2.0" ]
5
2017-01-26T16:33:09.000Z
2018-07-20T13:50:47.000Z
homeassistant/components/hue/light.py
dlangerm/core
643acbf9484fd05161d7e9f2228c9c92a5ce7d0b
[ "Apache-2.0" ]
68
2018-10-04T16:01:20.000Z
2022-03-31T06:21:46.000Z
homeassistant/components/hue/light.py
dlangerm/core
643acbf9484fd05161d7e9f2228c9c92a5ce7d0b
[ "Apache-2.0" ]
7
2018-10-04T10:12:45.000Z
2021-12-29T20:55:40.000Z
"""Support for the Philips Hue lights.""" from __future__ import annotations from datetime import timedelta from functools import partial import logging import random import aiohue import async_timeout from homeassistant.components.light import ( ATTR_BRIGHTNESS, ATTR_COLOR_TEMP, ATTR_EFFECT, ATTR_FL...
32.702128
88
0.635437
13a4eaea9e2402891521cc56201ae27b7976fb0d
4,794
py
Python
src/ezdxf/math/bulge.py
dmtvanzanten/ezdxf
6fe9d0aa961e011c87768aa6511256de21a662dd
[ "MIT" ]
null
null
null
src/ezdxf/math/bulge.py
dmtvanzanten/ezdxf
6fe9d0aa961e011c87768aa6511256de21a662dd
[ "MIT" ]
null
null
null
src/ezdxf/math/bulge.py
dmtvanzanten/ezdxf
6fe9d0aa961e011c87768aa6511256de21a662dd
[ "MIT" ]
null
null
null
# Copyright (c) 2018-2021 Manfred Moitzi # License: MIT License # source: http://www.lee-mac.com/bulgeconversion.html # source: http://www.afralisp.net/archive/lisp/Bulges1.htm from typing import Any, TYPE_CHECKING, Tuple import math from ezdxf.math import Vec2 if TYPE_CHECKING: from ezdxf.eztypes import Vertex _...
32.391892
79
0.629954
13a51bb2dfcddb562cef50eb73654bc85d1b9f01
666
py
Python
Plugins/Aspose.Email Java for Python/tests/ProgrammingEmail/ManageAttachments/ManageAttachments.py
aspose-email/Aspose.Email-for-Java
cf4567e54f7979e7296c99bcae2c6477385d7735
[ "MIT" ]
24
2016-07-29T03:57:35.000Z
2022-01-18T23:42:08.000Z
Plugins/Aspose.Email Java for Python/tests/ProgrammingEmail/ManageAttachments/ManageAttachments.py
asposeemail/Aspose_Email_Java
cf4567e54f7979e7296c99bcae2c6477385d7735
[ "MIT" ]
6
2017-07-24T13:08:43.000Z
2022-01-01T21:51:25.000Z
Plugins/Aspose.Email Java for Python/tests/ProgrammingEmail/ManageAttachments/ManageAttachments.py
aspose-email/Aspose.Email-for-Java
cf4567e54f7979e7296c99bcae2c6477385d7735
[ "MIT" ]
25
2016-04-09T07:24:12.000Z
2021-12-19T13:54:21.000Z
# To change this license header, choose License Headers in Project Properties. # To change this template file, choose Tools | Templates # and open the template in the editor. #if __name__ == "__main__": # print "Hello World" from ProgrammingEmail import ManageAttachments import jpype import os.path asposeapispath...
31.714286
94
0.735736
13a54ea2fa4b8b8724c32c2f486041ebcedd4707
33,005
py
Python
mypython/keys.py
asmeurer/mypython
ae984926739cc2bb3abe70566762d7b4052ed0ae
[ "MIT" ]
27
2017-02-09T06:18:30.000Z
2022-02-16T08:32:42.000Z
mypython/keys.py
asmeurer/mypython
ae984926739cc2bb3abe70566762d7b4052ed0ae
[ "MIT" ]
1
2022-01-20T20:23:41.000Z
2022-01-20T20:23:41.000Z
mypython/keys.py
asmeurer/mypython
ae984926739cc2bb3abe70566762d7b4052ed0ae
[ "MIT" ]
2
2019-12-14T06:45:04.000Z
2021-10-04T00:28:48.000Z
from prompt_toolkit.key_binding.bindings.named_commands import (accept_line, self_insert, backward_delete_char, beginning_of_line) from prompt_toolkit.key_binding.bindings.basic import if_no_repeat from prompt_toolkit.key_binding.bindings.basic import load_basic_bindings from prompt_toolkit.key_binding.bindings.ema...
34.344433
117
0.676988
13a5765c2edbddbec6f546bc1dadb0d5693914fe
10,909
py
Python
demand/preday_model_estimation/isg.py
gusugusu1018/simmobility-prod
d30a5ba353673f8fd35f4868c26994a0206a40b6
[ "MIT" ]
50
2018-12-21T08:21:38.000Z
2022-01-24T09:47:59.000Z
demand/preday_model_estimation/isg.py
gusugusu1018/simmobility-prod
d30a5ba353673f8fd35f4868c26994a0206a40b6
[ "MIT" ]
2
2018-12-19T13:42:47.000Z
2019-05-13T04:11:45.000Z
demand/preday_model_estimation/isg.py
gusugusu1018/simmobility-prod
d30a5ba353673f8fd35f4868c26994a0206a40b6
[ "MIT" ]
27
2018-11-28T07:30:34.000Z
2022-02-05T02:22:26.000Z
from biogeme import * from headers import * from loglikelihood import * from statistics import * from nested import * #import random cons_work= Beta('cons for work', 0,-10,10,0) cons_edu = Beta('cons for education',0,-50,10,0) cons_shopping = Beta('cons for shopping',0,-10,10,0) cons_...
26.098086
94
0.735356
13a612e58dbc2d528c1a7b3b41902e48fed28775
739
py
Python
HRMS/app/__init__.py
freestyletime/HumanResourceManagement
4ec7f453fdae28d1a412d740849c9ee186757df8
[ "MIT" ]
1
2021-12-24T18:47:20.000Z
2021-12-24T18:47:20.000Z
HRMS/app/__init__.py
freestyletime/HumanResourceManagement
4ec7f453fdae28d1a412d740849c9ee186757df8
[ "MIT" ]
null
null
null
HRMS/app/__init__.py
freestyletime/HumanResourceManagement
4ec7f453fdae28d1a412d740849c9ee186757df8
[ "MIT" ]
null
null
null
# from config import Config from flask import Flask from flask_sqlalchemy import SQLAlchemy # db = SQLAlchemy() # app
19.972973
39
0.705007
13a7639121bf30f43e2268fe97c114969714293e
1,225
py
Python
listener/src/ethereum_connection.py
NicolasMenendez/oracles-dashboard
789e4a771c9f7064a19a85ef1b4f44bcbbac1a10
[ "MIT" ]
null
null
null
listener/src/ethereum_connection.py
NicolasMenendez/oracles-dashboard
789e4a771c9f7064a19a85ef1b4f44bcbbac1a10
[ "MIT" ]
null
null
null
listener/src/ethereum_connection.py
NicolasMenendez/oracles-dashboard
789e4a771c9f7064a19a85ef1b4f44bcbbac1a10
[ "MIT" ]
1
2020-01-17T12:38:39.000Z
2020-01-17T12:38:39.000Z
import json import web3
22.685185
86
0.646531
13a86b3246874d1785eb144fa791b1d302c19c30
60,991
py
Python
ross/stochastic/st_results.py
JuliaMota/ross
88c2fa69d9a583dcdc33eab8deb35c797ebf4ef8
[ "MIT" ]
null
null
null
ross/stochastic/st_results.py
JuliaMota/ross
88c2fa69d9a583dcdc33eab8deb35c797ebf4ef8
[ "MIT" ]
null
null
null
ross/stochastic/st_results.py
JuliaMota/ross
88c2fa69d9a583dcdc33eab8deb35c797ebf4ef8
[ "MIT" ]
null
null
null
"""STOCHASTIC ROSS plotting module. This module returns graphs for each type of analyses in st_rotor_assembly.py. """ import numpy as np from plotly import express as px from plotly import graph_objects as go from plotly import io as pio from plotly.subplots import make_subplots from ross.plotly_theme import tableau_...
36.763713
92
0.480202
13a8c046daa5c36fb60a09676a0be10c4e57fb9f
4,227
py
Python
code/prisonersDilemma.py
ben9583/PrisonersDilemmaTournament
8227c05f835c93a0b30feb4207a7d7c631e670a0
[ "MIT" ]
1
2021-09-16T03:38:21.000Z
2021-09-16T03:38:21.000Z
code/prisonersDilemma.py
ben9583/PrisonersDilemmaTournament
8227c05f835c93a0b30feb4207a7d7c631e670a0
[ "MIT" ]
null
null
null
code/prisonersDilemma.py
ben9583/PrisonersDilemmaTournament
8227c05f835c93a0b30feb4207a7d7c631e670a0
[ "MIT" ]
null
null
null
import os import itertools import importlib import numpy as np import random STRATEGY_FOLDER = "exampleStrats" RESULTS_FILE = "results.txt" pointsArray = [[1,5],[0,3]] # The i-j-th element of this array is how many points you receive if you do play i, and your opponent does play j. moveLabels = ["D","C"] #...
37.078947
210
0.62503
13a92427a8cdec440aec42402a7483f2303b73a6
10,075
py
Python
json_to_relation/mysqldb.py
paepcke/json_to_relation
acfa58d540f8f51d1d913d0c173ee3ded1b6c2a9
[ "BSD-3-Clause" ]
4
2015-10-10T19:09:49.000Z
2021-09-02T00:58:06.000Z
json_to_relation/mysqldb.py
paepcke/json_to_relation
acfa58d540f8f51d1d913d0c173ee3ded1b6c2a9
[ "BSD-3-Clause" ]
null
null
null
json_to_relation/mysqldb.py
paepcke/json_to_relation
acfa58d540f8f51d1d913d0c173ee3ded1b6c2a9
[ "BSD-3-Clause" ]
8
2015-05-16T14:33:33.000Z
2019-10-24T08:56:25.000Z
# Copyright (c) 2014, Stanford University # All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the ...
40.461847
757
0.60794
13a95b957fe3881893fa91e63fed84b8224215f9
611
py
Python
tools/xkeydump.py
treys/crypto-key-derivation
789900bd73160db9a0d406c7c7f00f5f299aff73
[ "MIT" ]
29
2017-11-12T08:54:03.000Z
2022-03-04T21:12:00.000Z
tools/xkeydump.py
treys/crypto-key-derivation
789900bd73160db9a0d406c7c7f00f5f299aff73
[ "MIT" ]
2
2019-03-01T05:56:52.000Z
2021-05-17T00:18:01.000Z
tools/xkeydump.py
treys/crypto-key-derivation
789900bd73160db9a0d406c7c7f00f5f299aff73
[ "MIT" ]
9
2018-04-10T08:40:25.000Z
2021-12-29T16:04:48.000Z
#!./venv/bin/python from lib.mbp32 import XKey from lib.utils import one_line_from_stdin xkey = XKey.from_xkey(one_line_from_stdin()) print(xkey) print("Version:", xkey.version) print("Depth:", xkey.depth) print("Parent FP:", xkey.parent_fp.hex()) print("Child number:", xkey.child_number_with_tick()) print("Chain cod...
32.157895
63
0.721768
13aa5a46812a4881dac4a4f78ba8019d3b73841d
616
py
Python
examples/compute_angular_resolution.py
meder411/Tangent-Images
6def4d7b8797110e54f7faa2435973771d9e9722
[ "BSD-3-Clause" ]
57
2019-12-20T09:28:29.000Z
2022-03-28T02:38:48.000Z
examples/compute_angular_resolution.py
meder411/Tangent-Images
6def4d7b8797110e54f7faa2435973771d9e9722
[ "BSD-3-Clause" ]
6
2020-06-06T16:39:35.000Z
2021-01-21T01:19:52.000Z
examples/compute_angular_resolution.py
meder411/Tangent-Images
6def4d7b8797110e54f7faa2435973771d9e9722
[ "BSD-3-Clause" ]
16
2019-12-21T08:19:33.000Z
2022-03-28T02:38:49.000Z
from spherical_distortion.util import * sample_order = 9 # Input resolution to examine ang_fov(sample_order)
36.235294
77
0.625
13abd087d6a8034a9d1a9da08f2dab574fb7be66
51,194
py
Python
polymath/srdfg/base.py
he-actlab/polymath
9b7937d0ddf7452f6cc74ee90d05f8c6acef737e
[ "Apache-2.0" ]
15
2021-05-09T05:46:04.000Z
2022-03-06T20:46:32.000Z
polymath/srdfg/base.py
he-actlab/polymath
9b7937d0ddf7452f6cc74ee90d05f8c6acef737e
[ "Apache-2.0" ]
null
null
null
polymath/srdfg/base.py
he-actlab/polymath
9b7937d0ddf7452f6cc74ee90d05f8c6acef737e
[ "Apache-2.0" ]
4
2021-08-24T07:46:29.000Z
2022-03-05T18:23:07.000Z
from polymath import UNSET_SHAPE, DEFAULT_SHAPES import builtins import operator from collections import OrderedDict, Mapping, Sequence, deque import functools from numbers import Integral, Rational, Real import contextlib import traceback import uuid import numpy as np import importlib from .graph import Graph from ....
35.725052
158
0.607239
13adaa6947a03ff103153b1b8c14da5ac9aaa4b0
392
py
Python
actors/models.py
rngallen/beyond_basics
2cfb7d97699a733251e68357a70eada3d0278680
[ "MIT" ]
null
null
null
actors/models.py
rngallen/beyond_basics
2cfb7d97699a733251e68357a70eada3d0278680
[ "MIT" ]
null
null
null
actors/models.py
rngallen/beyond_basics
2cfb7d97699a733251e68357a70eada3d0278680
[ "MIT" ]
null
null
null
from django.db import models from django.utils.translation import ugettext_lazy as _ # Create your models here.
28
81
0.729592
13aef1dee9a4b31316309780ab660b17ad23d9b2
1,285
py
Python
docs/buildscripts/docs.py
cwlalyy/mongo-c-driver
d771be13bc8f7d8b84d233de6fdc725d9bb337cc
[ "Apache-2.0" ]
13
2016-07-14T16:36:59.000Z
2018-06-01T18:06:14.000Z
docs/buildscripts/docs.py
cwlalyy/mongo-c-driver
d771be13bc8f7d8b84d233de6fdc725d9bb337cc
[ "Apache-2.0" ]
null
null
null
docs/buildscripts/docs.py
cwlalyy/mongo-c-driver
d771be13bc8f7d8b84d233de6fdc725d9bb337cc
[ "Apache-2.0" ]
9
2015-01-26T09:30:41.000Z
2016-03-15T14:48:18.000Z
"""Build the C client docs. """ from __future__ import with_statement import os import shutil import socket import subprocess import time import urllib2 def version(): """Get the driver version from doxygenConfig. """ with open("doxygenConfig") as f: for line in f.readlines(): if line....
22.155172
79
0.636576
13afb94123467877efe58458ed4c502384fb753b
1,921
py
Python
tilegame/render/rs.py
defgsus/thegame
38a627d9108f1418b94b08831fd640dd87fbba83
[ "MIT" ]
1
2021-11-05T11:49:26.000Z
2021-11-05T11:49:26.000Z
tilegame/render/rs.py
defgsus/thegame
38a627d9108f1418b94b08831fd640dd87fbba83
[ "MIT" ]
null
null
null
tilegame/render/rs.py
defgsus/thegame
38a627d9108f1418b94b08831fd640dd87fbba83
[ "MIT" ]
null
null
null
import glm import math from lib.opengl import RenderSettings
26.315068
90
0.563248
13afbf984a23501bfd2bc3f3a3b28ed6375a3779
4,865
py
Python
tools/stats/export_slow_tests.py
stungkit/pytorch
0f05e398705bf15406bce79f7ee57d3935ad2abd
[ "Intel" ]
2
2020-03-13T06:57:49.000Z
2020-05-17T04:18:14.000Z
tools/stats/export_slow_tests.py
ellhe-blaster/pytorch
e5282c3cb8bf6ad8c5161f9d0cc271edb9abed25
[ "Intel" ]
1
2022-01-10T18:39:28.000Z
2022-01-10T19:15:57.000Z
tools/stats/export_slow_tests.py
ellhe-blaster/pytorch
e5282c3cb8bf6ad8c5161f9d0cc271edb9abed25
[ "Intel" ]
1
2022-03-26T14:42:50.000Z
2022-03-26T14:42:50.000Z
#!/usr/bin/env python3 import argparse import json import os import statistics from collections import defaultdict from tools.stats.s3_stat_parser import ( get_previous_reports_for_branch, Report, Version2Report, ) from typing import cast, DefaultDict, Dict, List, Any from urllib.request import urlopen SL...
36.856061
127
0.658787
13b0a600d04c4f624b452b2451a329662c1e6704
14,128
py
Python
ml/rl/evaluation/weighted_sequential_doubly_robust_estimator.py
michaeltashman/Horizon
ee310b34adeb807bbae379a6e1703d0f725f26a9
[ "BSD-3-Clause" ]
1
2020-07-30T06:15:20.000Z
2020-07-30T06:15:20.000Z
ml/rl/evaluation/weighted_sequential_doubly_robust_estimator.py
michaeltashman/Horizon
ee310b34adeb807bbae379a6e1703d0f725f26a9
[ "BSD-3-Clause" ]
null
null
null
ml/rl/evaluation/weighted_sequential_doubly_robust_estimator.py
michaeltashman/Horizon
ee310b34adeb807bbae379a6e1703d0f725f26a9
[ "BSD-3-Clause" ]
1
2019-06-05T15:52:18.000Z
2019-06-05T15:52:18.000Z
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All rights reserved. import itertools import logging import numpy as np import scipy as sp import torch from ml.rl.evaluation.cpe import CpeEstimate from ml.rl.evaluation.evaluation_data_page import EvaluationDataPage logger = logging.getLogg...
37.674667
106
0.613675
13b1070ba0b79397d1d29eb7190ddb42cc92bb2c
678
py
Python
LeetCode/2019-08-03-384-Shuffle-an-Array.py
HeRuivio/-Algorithm
1fbe6256630758fda3af68f469471ee246730afc
[ "MIT" ]
5
2018-10-30T05:07:32.000Z
2019-06-18T08:11:38.000Z
LeetCode/2019-08-03-384-Shuffle-an-Array.py
HeRuivio/-Algorithm
1fbe6256630758fda3af68f469471ee246730afc
[ "MIT" ]
1
2020-05-09T09:05:16.000Z
2020-05-09T09:05:16.000Z
LeetCode/2019-08-03-384-Shuffle-an-Array.py
HeRuivio/-Algorithm
1fbe6256630758fda3af68f469471ee246730afc
[ "MIT" ]
2
2020-05-09T09:02:22.000Z
2020-12-09T13:23:00.000Z
# -*- coding: utf-8 -*- # @Author: # @Create Date: 2019-08-03 10:48:30 # @Last Modified by: # @Last Modified time: 2019-08-03 10:53:15 import copy import random from typing import List
21.870968
69
0.581121
13b20f00d86e94eb5e2fb0079121846394df7d95
5,255
py
Python
src/wspc/feature_selection.py
shakedna1/wspc_rep
f4492af8cec25a3f7b00687c08d30754a1c0c91f
[ "MIT" ]
null
null
null
src/wspc/feature_selection.py
shakedna1/wspc_rep
f4492af8cec25a3f7b00687c08d30754a1c0c91f
[ "MIT" ]
null
null
null
src/wspc/feature_selection.py
shakedna1/wspc_rep
f4492af8cec25a3f7b00687c08d30754a1c0c91f
[ "MIT" ]
null
null
null
import numpy as np import sklearn import pandas as pd import scipy.spatial.distance as ssd from scipy.cluster import hierarchy from scipy.stats import chi2_contingency from sklearn.base import BaseEstimator from sklearn.ensemble import RandomForestClassifier from sklearn.feature_extraction.text import CountVectorizer f...
33.259494
120
0.664891
13b2ef5da8cb4bdd6ae2ffffe9632e5405ed5cb0
5,985
py
Python
Python3/PS_scraping_selenium.py
fsj-digital/pages
8360f27e67974ed2b4f39eb64377f39c0189a224
[ "MIT" ]
5
2019-10-28T19:09:16.000Z
2021-08-19T07:44:54.000Z
Python3/PS_scraping_selenium.py
fsj-digital/pages
8360f27e67974ed2b4f39eb64377f39c0189a224
[ "MIT" ]
null
null
null
Python3/PS_scraping_selenium.py
fsj-digital/pages
8360f27e67974ed2b4f39eb64377f39c0189a224
[ "MIT" ]
6
2020-04-28T22:33:06.000Z
2021-06-22T15:53:52.000Z
from bs4 import BeautifulSoup import requests import re from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.common.exceptions import TimeoutException from selenium.webdriver.common.by import By from selenium import webdriver from seleni...
43.057554
143
0.637594
13b41f50da86c6a2be3204ada5e6385e678b7b05
5,531
py
Python
AppTest/testTCPserver.py
STRATOLOGIC/SpacePyLibrary
89fc3873c6d787ad4e391f6080d9dd3218ffc4a2
[ "MIT" ]
22
2015-01-22T13:40:22.000Z
2022-02-19T02:03:12.000Z
AppTest/testTCPserver.py
STRATOLOGIC/SpacePyLibrary
89fc3873c6d787ad4e391f6080d9dd3218ffc4a2
[ "MIT" ]
3
2018-09-28T13:14:40.000Z
2022-02-08T14:19:13.000Z
AppTest/testTCPserver.py
STRATOLOGIC/SpacePyLibrary
89fc3873c6d787ad4e391f6080d9dd3218ffc4a2
[ "MIT" ]
11
2016-06-01T11:53:56.000Z
2022-02-08T14:19:34.000Z
#!/usr/bin/env python3 #****************************************************************************** # (C) 2018, Stefan Korner, Austria * # * # The Space Python Library is free software; you can redi...
39.22695
83
0.513108
13b42a597f46ffd75065d8212ea8951934240d0a
9,253
py
Python
tests/clientlib_test.py
yoavcaspi/pre-commit
77947f212e7b88a479dbe6feebc60a9f773e8c13
[ "MIT" ]
null
null
null
tests/clientlib_test.py
yoavcaspi/pre-commit
77947f212e7b88a479dbe6feebc60a9f773e8c13
[ "MIT" ]
null
null
null
tests/clientlib_test.py
yoavcaspi/pre-commit
77947f212e7b88a479dbe6feebc60a9f773e8c13
[ "MIT" ]
null
null
null
from __future__ import unicode_literals import logging import cfgv import pytest import pre_commit.constants as C from pre_commit.clientlib import check_type_tag from pre_commit.clientlib import CONFIG_HOOK_DICT from pre_commit.clientlib import CONFIG_REPO_DICT from pre_commit.clientlib import CONFIG_SCHEMA from pre...
29.189274
78
0.556576
13b520f65af9148fce1413d5d355fa797126e985
5,494
py
Python
ikalog/ui/options.py
fetus-hina/IkaLog
bd476da541fcc296f792d4db76a6b9174c4777ad
[ "Apache-2.0" ]
285
2015-08-15T14:38:38.000Z
2022-02-18T15:00:06.000Z
ikalog/ui/options.py
fetus-hina/IkaLog
bd476da541fcc296f792d4db76a6b9174c4777ad
[ "Apache-2.0" ]
323
2015-09-24T12:21:34.000Z
2018-05-06T16:34:54.000Z
ikalog/ui/options.py
fetus-hina/IkaLog
bd476da541fcc296f792d4db76a6b9174c4777ad
[ "Apache-2.0" ]
72
2015-08-22T00:18:54.000Z
2022-02-18T14:44:20.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # IkaLog # ====== # Copyright (C) 2015 Takeshi HASEGAWA # # 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/l...
32.508876
80
0.630142
13b61f77d9db0538ba6a1a1c9673544d53143882
584
py
Python
setup.py
CyberTKR/Simple-LINELIB
8596afb6b201b13675a0ed6314b3151f6bbf208b
[ "BSD-3-Clause" ]
4
2022-02-20T11:27:29.000Z
2022-03-05T00:50:05.000Z
setup.py
CyberTKR/Simple-LINELIB
8596afb6b201b13675a0ed6314b3151f6bbf208b
[ "BSD-3-Clause" ]
null
null
null
setup.py
CyberTKR/Simple-LINELIB
8596afb6b201b13675a0ed6314b3151f6bbf208b
[ "BSD-3-Clause" ]
null
null
null
from setuptools import setup, find_packages with open("README.md", 'r',encoding="utf-8") as f: long_description = f.read() setup( name='LineBot', version='0.1.0', description='Simple-LINELIB', long_description=long_description, author='Tolg KR', author_email='tolgkr@cybertkr.com', url=...
25.391304
61
0.628425
13b64cfd2fd1152628636d4313ba611c18b0ee8d
4,552
py
Python
lib/SeparateDriver/CgwshDeviceDriverSetParameterECDB.py
multi-service-fabric/element-manager
e550d1b5ec9419f1fb3eb6e058ce46b57c92ee2f
[ "Apache-2.0" ]
null
null
null
lib/SeparateDriver/CgwshDeviceDriverSetParameterECDB.py
multi-service-fabric/element-manager
e550d1b5ec9419f1fb3eb6e058ce46b57c92ee2f
[ "Apache-2.0" ]
null
null
null
lib/SeparateDriver/CgwshDeviceDriverSetParameterECDB.py
multi-service-fabric/element-manager
e550d1b5ec9419f1fb3eb6e058ce46b57c92ee2f
[ "Apache-2.0" ]
1
2020-04-02T01:17:43.000Z
2020-04-02T01:17:43.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright(c) 2019 Nippon Telegraph and Telephone Corporation # Filename: CgwshDeviceDriverSetParameterECDB.py ''' Parameter module for Cgwsh driver configuration ''' import GlobalModule from EmCommonLog import decorater_log from DriverSetParameterECDB import Dr...
32.985507
79
0.530097
13b73188b11fd452c2465eac91ddbc3efbb01c8c
13,767
py
Python
scripts/common_lib/build_lib.py
Bhaskers-Blu-Org1/wc-devops-utilities
d8131261cb3d67ce872b541c5e2d8ff22fcbf614
[ "Apache-2.0" ]
15
2018-06-26T19:48:08.000Z
2021-01-18T13:29:16.000Z
scripts/common_lib/build_lib.py
Bhaskers-Blu-Org1/wc-devops-utilities
d8131261cb3d67ce872b541c5e2d8ff22fcbf614
[ "Apache-2.0" ]
16
2018-05-29T08:12:38.000Z
2022-02-15T15:25:14.000Z
scripts/common_lib/build_lib.py
IBM/wc-devops-utilities
d8131261cb3d67ce872b541c5e2d8ff22fcbf614
[ "Apache-2.0" ]
21
2018-05-29T11:54:05.000Z
2021-12-20T06:42:54.000Z
#!/usr/bin/env python3.6 import os import subprocess import json import argparse import zipfile import shutil import requests import datetime import re import operator import unicodedata # global list of error messages to keep track of all error msgs errorMessages = [] """ Collection of Common Functions used by Buil...
36.81016
145
0.648217
13b7df8dc09a874c18b0de4987e789a5a8c1dfcd
10,035
py
Python
src/static_grasp_kt.py
ivalab/GraspKpNet
d4b6186d74ac82a745d778892742d52a204bd1cf
[ "MIT" ]
16
2021-05-04T23:08:47.000Z
2022-01-19T08:33:14.000Z
src/static_grasp_kt.py
ivalab/GraspKpNet
d4b6186d74ac82a745d778892742d52a204bd1cf
[ "MIT" ]
2
2021-06-22T22:54:44.000Z
2021-10-04T19:23:35.000Z
src/static_grasp_kt.py
ivalab/GraspKpNet
d4b6186d74ac82a745d778892742d52a204bd1cf
[ "MIT" ]
2
2021-07-10T12:51:29.000Z
2022-02-17T06:45:54.000Z
from __future__ import absolute_import from __future__ import division from __future__ import print_function import _init_paths import os import json import cv2 import cv2.aruco as aruco import numpy as np import sys import rospy from std_msgs.msg import Bool from std_msgs.msg import Float64MultiArray from sensor_ms...
34.249147
107
0.623019
13b8dc2efbc6e5399774e3bdb1583b1ec3d22dca
13,278
py
Python
source/utils/augmentations.py
dovietchinh/multi-task-classification
23a70300a7a800bc982f87902b6aa1faaf91b489
[ "RSA-MD" ]
null
null
null
source/utils/augmentations.py
dovietchinh/multi-task-classification
23a70300a7a800bc982f87902b6aa1faaf91b489
[ "RSA-MD" ]
null
null
null
source/utils/augmentations.py
dovietchinh/multi-task-classification
23a70300a7a800bc982f87902b6aa1faaf91b489
[ "RSA-MD" ]
null
null
null
import numpy as np import cv2 import random def preprocess(img,img_size,padding=True): """[summary] Args: img (np.ndarray): images img_size (int,list,tuple): target size. eg: 224 , (224,224) or [224,224] padding (bool): padding img before resize. Prevent from image distortion. Default...
42.694534
131
0.581865
13b9386ce9cd9ff6be8dca6211a1ab2dc6917f81
7,340
py
Python
BaseTools/Source/Python/GenFds/CapsuleData.py
James992927108/uEFI_Edk2_Practice
2cac7618dfee10bfa5104a2e167c85425fde0100
[ "BSD-2-Clause" ]
6
2020-01-10T05:16:15.000Z
2022-01-06T17:41:58.000Z
BaseTools/Source/Python/GenFds/CapsuleData.py
James992927108/uEFI_Edk2_Practice
2cac7618dfee10bfa5104a2e167c85425fde0100
[ "BSD-2-Clause" ]
null
null
null
BaseTools/Source/Python/GenFds/CapsuleData.py
James992927108/uEFI_Edk2_Practice
2cac7618dfee10bfa5104a2e167c85425fde0100
[ "BSD-2-Clause" ]
3
2018-04-21T07:59:33.000Z
2018-04-23T02:06:01.000Z
## @file # generate capsule # # Copyright (c) 2007-2017, Intel Corporation. All rights reserved.<BR> # # This program and the accompanying materials # are licensed and made available under the terms and conditions of the BSD License # which accompanies this distribution. The full text of the license may be found a...
29.837398
143
0.568665
13b9d127851e263bb83cf946e93cc967e190ce5a
453
py
Python
CalculatingPi/pi_linear_plot.py
davidmallasen/Hello_MPI
8a5b5694ffc1515d2bb2dee45355f92f1b68fbed
[ "MIT" ]
null
null
null
CalculatingPi/pi_linear_plot.py
davidmallasen/Hello_MPI
8a5b5694ffc1515d2bb2dee45355f92f1b68fbed
[ "MIT" ]
null
null
null
CalculatingPi/pi_linear_plot.py
davidmallasen/Hello_MPI
8a5b5694ffc1515d2bb2dee45355f92f1b68fbed
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import numpy as np # Read data size = [] time = [] with open("pi_linear.txt") as file: for line in file.readlines(): x, y = line.split(',') size.append(int(x.strip())) time.append(float(y.strip())) # Plot data fig, ax = plt.subplots() ax.plot(size, tim...
19.695652
50
0.611479
13bb8f895f0b886cb437c77e5bc0bd429007f636
2,193
py
Python
esque_wire/protocol/structs/api/elect_preferred_leaders_response.py
real-digital/esque-wire
eb02c49f38b89ad5e5d25aad15fb4ad795e52807
[ "MIT" ]
null
null
null
esque_wire/protocol/structs/api/elect_preferred_leaders_response.py
real-digital/esque-wire
eb02c49f38b89ad5e5d25aad15fb4ad795e52807
[ "MIT" ]
7
2019-11-26T08:19:49.000Z
2021-03-15T14:27:47.000Z
esque_wire/protocol/structs/api/elect_preferred_leaders_response.py
real-digital/esque-wire
eb02c49f38b89ad5e5d25aad15fb4ad795e52807
[ "MIT" ]
null
null
null
from typing import ClassVar, List, Optional from ...constants import ApiKey, ErrorCode from ..base import ResponseData
36.55
112
0.690378
13bc25bc6434cc017d92bbc47c055999ff8c038c
3,181
py
Python
tests/stack_test.py
arthurlogilab/py_zipkin
8e733506c399967ea74c56b99a9a421e1bb1736a
[ "Apache-2.0" ]
225
2016-09-16T17:57:51.000Z
2022-02-12T22:15:32.000Z
tests/stack_test.py
arthurlogilab/py_zipkin
8e733506c399967ea74c56b99a9a421e1bb1736a
[ "Apache-2.0" ]
156
2016-09-17T03:50:04.000Z
2021-03-17T23:19:40.000Z
tests/stack_test.py
arthurlogilab/py_zipkin
8e733506c399967ea74c56b99a9a421e1bb1736a
[ "Apache-2.0" ]
53
2016-09-20T18:34:08.000Z
2021-08-31T06:14:03.000Z
import mock import pytest import py_zipkin.storage
34.576087
83
0.727759
13bd80e7104701ce224a3004f95e9aa8f8c681e9
2,293
py
Python
myapp/processes/plotter.py
cp4cds/cp4cds-wps-template
ed170fcee72146dc07c64f76ec71cc289672fd32
[ "Apache-2.0" ]
null
null
null
myapp/processes/plotter.py
cp4cds/cp4cds-wps-template
ed170fcee72146dc07c64f76ec71cc289672fd32
[ "Apache-2.0" ]
null
null
null
myapp/processes/plotter.py
cp4cds/cp4cds-wps-template
ed170fcee72146dc07c64f76ec71cc289672fd32
[ "Apache-2.0" ]
null
null
null
from pywps import Process, LiteralInput, ComplexInput, ComplexOutput from pywps import Format import logging LOGGER = logging.getLogger('PYWPS') import matplotlib # no X11 server ... must be run first # https://github.com/matplotlib/matplotlib/issues/3466/ matplotlib.use('Agg') import matplotlib.pylab as plt import...
32.295775
115
0.613171
13be33895810fafc0b133ddfa170c7d200a7bd44
56
py
Python
json_schema_checker/composed/__init__.py
zorgulle/json_schema_checker
20cac68f899528619e5059f0e1fbee0a0f7219d6
[ "MIT" ]
null
null
null
json_schema_checker/composed/__init__.py
zorgulle/json_schema_checker
20cac68f899528619e5059f0e1fbee0a0f7219d6
[ "MIT" ]
null
null
null
json_schema_checker/composed/__init__.py
zorgulle/json_schema_checker
20cac68f899528619e5059f0e1fbee0a0f7219d6
[ "MIT" ]
null
null
null
from .composed import List from .composed import IntList
28
29
0.839286
13beebf4acd9b21bb28b852b68ff91457137cd72
9,767
py
Python
backend/social_quiz.py
jmigual/socialQuiz
3d9d0980961619b555732899121d8ce6366fa96f
[ "MIT" ]
null
null
null
backend/social_quiz.py
jmigual/socialQuiz
3d9d0980961619b555732899121d8ce6366fa96f
[ "MIT" ]
null
null
null
backend/social_quiz.py
jmigual/socialQuiz
3d9d0980961619b555732899121d8ce6366fa96f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import json import os.path import random import re from flask import Flask, send_from_directory from flask import request, abort from flaskrun.flaskrun import flask_run import datab.social_database as db app = Flask(__name__) # Regular expression to only accept certain files fileChecker = r...
33.221088
115
0.61288
13bef8558df71652db939d620d20eb4457b48c53
10,282
py
Python
astacus/node/snapshotter.py
aiven/astacus
2d64e1f33e01d50a41127f41d9da3d1ab0ce0387
[ "Apache-2.0" ]
19
2020-06-22T12:17:59.000Z
2022-02-18T00:12:17.000Z
astacus/node/snapshotter.py
aiven/astacus
2d64e1f33e01d50a41127f41d9da3d1ab0ce0387
[ "Apache-2.0" ]
7
2020-06-24T05:16:20.000Z
2022-02-28T07:35:31.000Z
astacus/node/snapshotter.py
aiven/astacus
2d64e1f33e01d50a41127f41d9da3d1ab0ce0387
[ "Apache-2.0" ]
2
2020-09-05T21:23:08.000Z
2022-02-17T15:02:37.000Z
""" Copyright (c) 2020 Aiven Ltd See LICENSE for details """ from astacus.common import magic, utils from astacus.common.ipc import SnapshotFile, SnapshotHash, SnapshotState from astacus.common.progress import increase_worth_reporting, Progress from pathlib import Path from typing import Optional import base64 impo...
41.128
122
0.642774
13c016b99333655007d9a8cc82e9391a0d3526d8
6,671
py
Python
colcon_gradle/task/gradle/build.py
richiware/colcon-gradle
00b121def8c15abd1dca310d0ea4e1f34f98f4d1
[ "Apache-2.0" ]
null
null
null
colcon_gradle/task/gradle/build.py
richiware/colcon-gradle
00b121def8c15abd1dca310d0ea4e1f34f98f4d1
[ "Apache-2.0" ]
null
null
null
colcon_gradle/task/gradle/build.py
richiware/colcon-gradle
00b121def8c15abd1dca310d0ea4e1f34f98f4d1
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 Esteve Fernandez # Licensed under the Apache License, Version 2.0 from distutils import dir_util import glob import os from pathlib import Path import shutil from colcon_core.environment import create_environment_scripts from colcon_core.logging import colcon_logger from colcon_core.plugin_system imp...
37.268156
95
0.644431
13c18896742aca9b72a3db6ff3b991575fad3170
5,092
py
Python
model_compression_toolkit/keras/quantizer/gradient_ptq/utils.py
eladc-git/model_optimization
46d1c893ca23e61d8ef7597184ad2ba6e2ae6e7a
[ "Apache-2.0" ]
null
null
null
model_compression_toolkit/keras/quantizer/gradient_ptq/utils.py
eladc-git/model_optimization
46d1c893ca23e61d8ef7597184ad2ba6e2ae6e7a
[ "Apache-2.0" ]
null
null
null
model_compression_toolkit/keras/quantizer/gradient_ptq/utils.py
eladc-git/model_optimization
46d1c893ca23e61d8ef7597184ad2ba6e2ae6e7a
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 Sony Semiconductors Israel, Inc. 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 b...
34.876712
125
0.626866
13c2b5d7ceaee0819464ed2dba5f6801b590f3e0
9,421
py
Python
pygments/lexers/tnt.py
btashton/pygments
ceaad0372055ed0064121020fea032fdda429779
[ "BSD-2-Clause" ]
1
2020-05-04T00:34:41.000Z
2020-05-04T00:34:41.000Z
pygments/lexers/tnt.py
btashton/pygments
ceaad0372055ed0064121020fea032fdda429779
[ "BSD-2-Clause" ]
1
2019-03-08T20:01:19.000Z
2019-03-08T20:01:19.000Z
pygments/lexers/tnt.py
btashton/pygments
ceaad0372055ed0064121020fea032fdda429779
[ "BSD-2-Clause" ]
1
2019-03-08T19:44:02.000Z
2019-03-08T19:44:02.000Z
# -*- coding: utf-8 -*- """ pygments.lexers.tnt ~~~~~~~~~~~~~~~~~~~ Lexer for Typographic Number Theory. :copyright: Copyright 2019-2020 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ import re from pygments.lexer import Lexer from pygments.token import Text, Commen...
37.987903
85
0.519478
13c2bfaf0d362a6c304791ee3c1accf9f548727b
1,233
py
Python
contacts/urls.py
cheradenine/Django-CRM
692572ced050d314c1f880af8b4000c97cbf7440
[ "MIT" ]
2
2019-08-30T14:42:45.000Z
2019-09-01T01:49:38.000Z
contacts/urls.py
cheradenine/Django-CRM
692572ced050d314c1f880af8b4000c97cbf7440
[ "MIT" ]
8
2020-06-05T20:58:52.000Z
2022-03-11T23:48:48.000Z
contacts/urls.py
gthreepwood/Django-CRM
12de7e6c622d9d7483c210212c8b7fe3dbde2739
[ "MIT" ]
1
2019-05-31T16:06:24.000Z
2019-05-31T16:06:24.000Z
from django.urls import path from contacts.views import ( ContactsListView, CreateContactView, ContactDetailView, UpdateContactView, RemoveContactView, GetContactsView, AddCommentView, UpdateCommentView, DeleteCommentView, AddAttachmentsView, DeleteAttachmentsView) app_name = 'contacts' urlpatterns =...
36.264706
77
0.691809
13c4fe2bf0cd10d5be8344221103967c7cea77fd
12,883
py
Python
windows/winobject/network.py
marpie/PythonForWindows
b253bc5873e7d97087ed22f2753b51fc6880ec18
[ "BSD-3-Clause" ]
1
2018-11-15T11:15:56.000Z
2018-11-15T11:15:56.000Z
windows/winobject/network.py
killvxk/PythonForWindows
b253bc5873e7d97087ed22f2753b51fc6880ec18
[ "BSD-3-Clause" ]
null
null
null
windows/winobject/network.py
killvxk/PythonForWindows
b253bc5873e7d97087ed22f2753b51fc6880ec18
[ "BSD-3-Clause" ]
1
2020-12-25T12:59:10.000Z
2020-12-25T12:59:10.000Z
import windows import ctypes import socket import struct from windows import winproxy import windows.generated_def as gdef from windows.com import interfaces as cominterfaces from windows.generated_def.winstructs import * from windows.generated_def.windef import * class TCP6Connection(MIB_TCP6ROW_OWNER_PID): ""...
28.756696
134
0.623613
13c55ddf22e3a453950de6b6142214790512cd06
4,269
py
Python
LIM_scripts/func_curry.py
Bhare8972/LOFAR-LIM
89f25be8c02cb8980c2e237da3eaac279d40a06a
[ "MIT" ]
3
2019-04-21T13:13:02.000Z
2020-10-15T12:44:23.000Z
LIM_scripts/func_curry.py
Bhare8972/LOFAR-LIM
89f25be8c02cb8980c2e237da3eaac279d40a06a
[ "MIT" ]
null
null
null
LIM_scripts/func_curry.py
Bhare8972/LOFAR-LIM
89f25be8c02cb8980c2e237da3eaac279d40a06a
[ "MIT" ]
2
2018-11-06T18:34:33.000Z
2019-04-04T14:16:57.000Z
#!/usr/bin/env python3 # Coded by Massimiliano Tomassoli, 2012. # # - Thanks to b49P23TIvg for suggesting that I should use a set operation # instead of repeated membership tests. # - Thanks to Ian Kelly for pointing out that # - "minArgs = None" is better than "minArgs = -1", # - "if args" is better than ...
38.809091
84
0.444601
13c5d0054209f9afb389d03f1764cab446c01a96
742
py
Python
src/messages.py
Ewpratten/chat
4cc8461e442b6530b7874f234b1a2261f3db8456
[ "MIT" ]
null
null
null
src/messages.py
Ewpratten/chat
4cc8461e442b6530b7874f234b1a2261f3db8456
[ "MIT" ]
null
null
null
src/messages.py
Ewpratten/chat
4cc8461e442b6530b7874f234b1a2261f3db8456
[ "MIT" ]
null
null
null
greeting = """ --------------- BEGIN SESSION --------------- You have connected to a chat server. Welcome! :: About Chat is a small piece of server software written by Evan Pratten to allow people to talk to eachother from any computer as long as it has an internet connection. (Even an arduino!). Check out the proje...
32.26087
45
0.690027
13c625629058a335547038a4cdc3550a5d9f78a2
3,572
py
Python
Prediction.py
khayam-hafezi/CRNN-keras-persian
3f99838e5b3b0e0ca79899e25b0648940b7fdfac
[ "MIT" ]
null
null
null
Prediction.py
khayam-hafezi/CRNN-keras-persian
3f99838e5b3b0e0ca79899e25b0648940b7fdfac
[ "MIT" ]
null
null
null
Prediction.py
khayam-hafezi/CRNN-keras-persian
3f99838e5b3b0e0ca79899e25b0648940b7fdfac
[ "MIT" ]
null
null
null
import cv2 import itertools, os, time import numpy as np from Model import get_Model from parameter import letters import argparse from keras import backend as K K.set_learning_phase(0) Region = {"A": " ", "B": " ", "C": " ", "D": " ", "E": " ", "F": " ", "G": " ", "H": " ", "I": " ", "J": " ", "K": " ", "L"...
32.472727
129
0.555151
13c705bea50bc8d33e8f2c2e57d0e51683dbf67b
8,038
py
Python
torcharrow/_interop.py
OswinC/torcharrow
45a57c45afeffee488c51e3387179292b3504a6c
[ "BSD-3-Clause" ]
null
null
null
torcharrow/_interop.py
OswinC/torcharrow
45a57c45afeffee488c51e3387179292b3504a6c
[ "BSD-3-Clause" ]
null
null
null
torcharrow/_interop.py
OswinC/torcharrow
45a57c45afeffee488c51e3387179292b3504a6c
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) Facebook, Inc. and its affiliates. from typing import List, Optional, cast # Skipping analyzing 'numpy': found module but no type hints or library stubs import numpy as np # type: ignore import numpy.ma as ma # type: ignore # Skipping analyzing 'pandas': found module but no type hints or library stu...
31.155039
99
0.61682
13c7d55115d132308c18e527238726863764f8de
3,883
py
Python
research/gan/image_compression/eval.py
jdavidagudelo/tensorflow-models
6f019beec73b01861363bf717706e27f4210b979
[ "Apache-2.0" ]
1
2021-05-17T01:42:29.000Z
2021-05-17T01:42:29.000Z
research/gan/image_compression/eval.py
jdavidagudelo/tensorflow-models
6f019beec73b01861363bf717706e27f4210b979
[ "Apache-2.0" ]
null
null
null
research/gan/image_compression/eval.py
jdavidagudelo/tensorflow-models
6f019beec73b01861363bf717706e27f4210b979
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 The TensorFlow 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 applica...
38.83
80
0.702807
13c974d988a5a072e9adfbe93d6a9ef5022a8ab3
1,712
py
Python
source/dump_query_results.py
CheyenneNS/metrics
cfeeac6d01d99679897a998b193d630ada169c61
[ "MIT" ]
null
null
null
source/dump_query_results.py
CheyenneNS/metrics
cfeeac6d01d99679897a998b193d630ada169c61
[ "MIT" ]
null
null
null
source/dump_query_results.py
CheyenneNS/metrics
cfeeac6d01d99679897a998b193d630ada169c61
[ "MIT" ]
null
null
null
#!/usr/local/bin/python import os import mysql.connector as mysql metrics_mysql_password = os.environ['METRICS_MYSQL_PWD'] sql_host = os.environ['SQL_HOST'] metrics = os.environ['QUERY_ON'] def dump_query_results(): """ This is a simple SQL table dump of a given query so we can supply users with custom ...
33.568627
164
0.675234
13c9e31c590bfc0b0cb4adceaddaadb36e84b31a
538
py
Python
desktop_local_tests/windows/test_windows_packet_capture_disrupt_force_public_dns_servers.py
UAEKondaya1/expressvpn_leak_testing
9e4cee899ac04f7820ac351fa55efdc0c01370ba
[ "MIT" ]
219
2017-12-12T09:42:46.000Z
2022-03-13T08:25:13.000Z
desktop_local_tests/windows/test_windows_packet_capture_disrupt_force_public_dns_servers.py
UAEKondaya1/expressvpn_leak_testing
9e4cee899ac04f7820ac351fa55efdc0c01370ba
[ "MIT" ]
11
2017-12-14T08:14:51.000Z
2021-08-09T18:37:45.000Z
desktop_local_tests/windows/test_windows_packet_capture_disrupt_force_public_dns_servers.py
UAEKondaya1/expressvpn_leak_testing
9e4cee899ac04f7820ac351fa55efdc0c01370ba
[ "MIT" ]
45
2017-12-14T07:26:36.000Z
2022-03-11T09:36:56.000Z
from desktop_local_tests.local_packet_capture_test_case_with_disrupter import LocalPacketCaptureTestCaseWithDisrupter from desktop_local_tests.windows.windows_dns_force_public_dns_servers_disrupter import WindowsDNSForcePublicDNSServersDisrupter
53.8
127
0.877323
13ca0867e3b5094c9f6e2eb05d9af7e3c93bd96a
16,159
py
Python
kivy/loader.py
geojeff/kivy
25ab20e5b0e87269531abe1f8cc76bf270bcc755
[ "MIT" ]
1
2017-11-15T08:59:23.000Z
2017-11-15T08:59:23.000Z
kivy/loader.py
5y/kivy
6bee66946f5434ca92921a8bc9559d82ec955896
[ "MIT" ]
null
null
null
kivy/loader.py
5y/kivy
6bee66946f5434ca92921a8bc9559d82ec955896
[ "MIT" ]
3
2015-07-18T11:03:59.000Z
2018-03-17T01:32:42.000Z
''' Asynchronous data loader ======================== This is the Asynchronous Loader. You can use it to load an image and use it, even if data are not yet available. You must specify a default loading image for using a such loader:: from kivy import * image = Loader.image('mysprite.png') You can also load i...
31.684314
80
0.590692
13ca207f4f2fb0793c69bd95418294b71cd89e2c
467
py
Python
Season 01 - Intro to Python/Episode 13 - Join.py
Pythobit/Python-tutorial
b0743eaa9c237c3578131ead1b3f2c295f11b7ee
[ "MIT" ]
3
2021-02-19T18:33:00.000Z
2021-08-03T14:56:50.000Z
Season 01 - Intro to Python/Episode 13 - Join.py
barawalojas/Python-tutorial
3f4b2b073e421888b3d62ff634658317d9abcb9b
[ "MIT" ]
1
2021-07-10T14:37:57.000Z
2021-07-20T09:51:39.000Z
Season 01 - Intro to Python/Episode 13 - Join.py
barawalojas/Python-tutorial
3f4b2b073e421888b3d62ff634658317d9abcb9b
[ "MIT" ]
1
2021-08-02T05:39:38.000Z
2021-08-02T05:39:38.000Z
# 13. Join # it allows to print list a bit better friends = ['Pythobit','boy','Pythoman'] print(f'My friends are {friends}.') # Output - My friends are ['Pythobit', 'boy', 'Pythoman']. # So, the Output needs to be a bit clearer. friends = ['Pythobit','boy','Pythoman'] friend = ', '.join(friends) print(f'My friend...
38.916667
98
0.663812
13caf57909dc254d637b57702b6b442c435e3b48
2,327
py
Python
buildsettings.py
randomizax/polygon-label
5091bd54aee5166d418b240f34d7a5c336685c06
[ "MIT" ]
null
null
null
buildsettings.py
randomizax/polygon-label
5091bd54aee5166d418b240f34d7a5c336685c06
[ "MIT" ]
null
null
null
buildsettings.py
randomizax/polygon-label
5091bd54aee5166d418b240f34d7a5c336685c06
[ "MIT" ]
null
null
null
# settings file for builds. # if you want to have custom builds, copy this file to "localbuildsettings.py" and make changes there. # possible fields: # resourceBaseUrl - optional - the URL base for external resources (all resources embedded in standard IITC) # distUrlBase - optional - the base URL to use for update c...
42.309091
151
0.701762
13cbb884947e5c5ee43f164c1fde11e81811776b
4,399
py
Python
osaka/storage/sftp.py
riverma/osaka
f9ed386936500303c629d7213d91215085bcf346
[ "Apache-2.0" ]
2
2018-05-08T03:13:49.000Z
2022-02-09T08:48:06.000Z
osaka/storage/sftp.py
riverma/osaka
f9ed386936500303c629d7213d91215085bcf346
[ "Apache-2.0" ]
6
2019-02-06T19:12:09.000Z
2022-02-08T04:29:49.000Z
osaka/storage/sftp.py
riverma/osaka
f9ed386936500303c629d7213d91215085bcf346
[ "Apache-2.0" ]
12
2018-04-08T12:58:29.000Z
2022-03-31T18:35:53.000Z
from __future__ import print_function from __future__ import unicode_literals from __future__ import division from __future__ import absolute_import from builtins import int from future import standard_library standard_library.install_aliases() import os import os.path import stat import urllib.parse import paramiko...
30.130137
90
0.562855
13cc4a79cdbfb09ff64440ffca1bacc5cc651798
4,192
py
Python
thesis/pettingzoo/butterfly/cooperative_pong/cake_paddle.py
heavenlysf/thesis
646553c45860f337c91a48ab7f666a174784472f
[ "MIT" ]
null
null
null
thesis/pettingzoo/butterfly/cooperative_pong/cake_paddle.py
heavenlysf/thesis
646553c45860f337c91a48ab7f666a174784472f
[ "MIT" ]
null
null
null
thesis/pettingzoo/butterfly/cooperative_pong/cake_paddle.py
heavenlysf/thesis
646553c45860f337c91a48ab7f666a174784472f
[ "MIT" ]
null
null
null
import os os.environ["PYGAME_HIDE_SUPPORT_PROMPT"] = "hide" import pygame RENDER_RATIO = 2
34.644628
77
0.530057
13cd2bb4addf837c7a09ba721bc230b691ca3e1b
2,080
py
Python
src/internal_representation_analysis/decoder/StateDataset.py
aidkilda/understanding-drl-navigation
0d637c2390a935ec1182d4f2d5165644d98d6404
[ "MIT" ]
null
null
null
src/internal_representation_analysis/decoder/StateDataset.py
aidkilda/understanding-drl-navigation
0d637c2390a935ec1182d4f2d5165644d98d6404
[ "MIT" ]
null
null
null
src/internal_representation_analysis/decoder/StateDataset.py
aidkilda/understanding-drl-navigation
0d637c2390a935ec1182d4f2d5165644d98d6404
[ "MIT" ]
null
null
null
import random from internal_representation_analysis.network import ActorCriticFFNetwork from internal_representation_analysis.scene_loader import THORDiscreteEnvironment as Environment from internal_representation_analysis.constants import MINI_BATCH_SIZE
38.518519
96
0.669712
13cd2ed4d981d4b892a318dfe3960eb2c118e4ce
3,147
py
Python
test_dataset_model.py
ferrine/PerceptualSimilarity
2ff66e86b12dbfbc337991def71b09e3b86d4b12
[ "BSD-2-Clause" ]
null
null
null
test_dataset_model.py
ferrine/PerceptualSimilarity
2ff66e86b12dbfbc337991def71b09e3b86d4b12
[ "BSD-2-Clause" ]
null
null
null
test_dataset_model.py
ferrine/PerceptualSimilarity
2ff66e86b12dbfbc337991def71b09e3b86d4b12
[ "BSD-2-Clause" ]
null
null
null
import numpy as np from models import dist_model as dm from data import data_loader as dl import argparse from IPython import embed parser = argparse.ArgumentParser() parser.add_argument("--dataset_mode", type=str, default="2afc", help="[2afc,jnd]") parser.add_argument( "--datasets", type=str, nargs="+", ...
30.553398
218
0.67048