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
906fc90146a02fc91c29a4ca6a8d89955a76d227
1,542
py
Python
setup.py
sriz1/mudslide
78aa8a1bda4080eacd777da7ff6bcbfd9afe129c
[ "MIT" ]
4
2020-09-05T00:17:27.000Z
2022-01-25T19:44:32.000Z
setup.py
sriz1/mudslide
78aa8a1bda4080eacd777da7ff6bcbfd9afe129c
[ "MIT" ]
null
null
null
setup.py
sriz1/mudslide
78aa8a1bda4080eacd777da7ff6bcbfd9afe129c
[ "MIT" ]
6
2020-11-20T15:42:03.000Z
2022-02-10T02:43:29.000Z
from setuptools import setup from distutils.util import convert_path main_ns = {} ver_path = convert_path('mudslide/version.py') with open(ver_path) as ver_file: exec(ver_file.read(), main_ns) setup( name='mudslide', packages=['mudslide'], version=main_ns['__version__'], license='MIT', descrip...
30.84
95
0.624514
906fe64b74d7a1e64be5829e3ead36fd43b1f23d
1,361
py
Python
src/sklearn/sklearn_random_forest_test.py
monkeychen/python-tutorial
a24785da6b4d857200b819ad4d960885b1ef7a20
[ "Apache-2.0" ]
null
null
null
src/sklearn/sklearn_random_forest_test.py
monkeychen/python-tutorial
a24785da6b4d857200b819ad4d960885b1ef7a20
[ "Apache-2.0" ]
null
null
null
src/sklearn/sklearn_random_forest_test.py
monkeychen/python-tutorial
a24785da6b4d857200b819ad4d960885b1ef7a20
[ "Apache-2.0" ]
null
null
null
import csv import joblib from sklearn.metrics import accuracy_score data = [] features = [] targets = [] feature_names = [] users = [] with open('satisfaction_feature_names.csv') as name_file: column_name_file = csv.reader(name_file) feature_names = next(column_name_file)[2:394] with open('cza_satisfaction_tr...
27.22
68
0.648788
9070d5bf65f2cf491385a39c1e6e52e356fd0952
573
py
Python
py/test.py
BEARUBC/grasp-kernel
ea2c9b698a2c457e798eff909941dc6e7c852bb2
[ "Apache-2.0" ]
1
2021-05-31T22:05:10.000Z
2021-05-31T22:05:10.000Z
py/test.py
BEARUBC/grasp-kernel-wrapper
ea2c9b698a2c457e798eff909941dc6e7c852bb2
[ "Apache-2.0" ]
null
null
null
py/test.py
BEARUBC/grasp-kernel-wrapper
ea2c9b698a2c457e798eff909941dc6e7c852bb2
[ "Apache-2.0" ]
1
2021-05-31T18:54:55.000Z
2021-05-31T18:54:55.000Z
print("Hello World") # test = TestClass()
18.483871
39
0.612565
9070ee6ae571936274c18044e8321cc9866dd425
2,836
py
Python
tests/utils/_process_nonwin.py
chrahunt/quicken
2dd00a5f024d7b114b211aad8a2618ec8f101956
[ "MIT" ]
3
2019-11-12T17:56:08.000Z
2022-03-12T03:43:10.000Z
tests/utils/_process_nonwin.py
chrahunt/quicken
2dd00a5f024d7b114b211aad8a2618ec8f101956
[ "MIT" ]
47
2018-12-10T04:08:58.000Z
2022-03-20T14:54:36.000Z
tests/utils/_process_nonwin.py
chrahunt/quicken
2dd00a5f024d7b114b211aad8a2618ec8f101956
[ "MIT" ]
1
2019-11-12T17:55:17.000Z
2019-11-12T17:55:17.000Z
"""Utilities for managing child processes within a scope - this ensures tests run cleanly even on failure and also gives us a mechanism to get debug info for our children. """ import logging import os import sys from contextlib import contextmanager from typing import ContextManager, List import psutil import process...
26.504673
80
0.665374
9071096add8b5a4db338073c96e92750aa128c1f
2,516
py
Python
data/meneame/parse_meneame.py
segurac/DeepQA
b7f95e6e14ba9469f17a2a43df87f2a69e431eeb
[ "Apache-2.0" ]
null
null
null
data/meneame/parse_meneame.py
segurac/DeepQA
b7f95e6e14ba9469f17a2a43df87f2a69e431eeb
[ "Apache-2.0" ]
null
null
null
data/meneame/parse_meneame.py
segurac/DeepQA
b7f95e6e14ba9469f17a2a43df87f2a69e431eeb
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # Copyright 2016 Carlos Segura. 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/LI...
27.955556
79
0.534181
90740254e2ea619dbf9f847e862986ac065aaf0a
4,087
py
Python
dfstools/tests/test_relationship_tools.py
orekunrin/comp410_summer2020
ab69d578a981ad0262f76baeccb5d16e8d2e182a
[ "Apache-2.0" ]
null
null
null
dfstools/tests/test_relationship_tools.py
orekunrin/comp410_summer2020
ab69d578a981ad0262f76baeccb5d16e8d2e182a
[ "Apache-2.0" ]
null
null
null
dfstools/tests/test_relationship_tools.py
orekunrin/comp410_summer2020
ab69d578a981ad0262f76baeccb5d16e8d2e182a
[ "Apache-2.0" ]
null
null
null
import unittest import pandas as pd import git import os from dfstools import get_dataset_dtypes from dfstools import find_related_cols_by_name from dfstools import find_related_cols_by_content from dfstools import find_parent_child_relationships from dfstools import pecan_cookies_load_data if __name__ == '__main__'...
49.841463
111
0.477857
907488d52d48e24b4d69fb2af57f6618dc2c3ce3
2,836
py
Python
Calculator.py
KunalKatiyar/Calculator
74044d32b08738ef288ccfae6bb322e6ab05f608
[ "MIT" ]
null
null
null
Calculator.py
KunalKatiyar/Calculator
74044d32b08738ef288ccfae6bb322e6ab05f608
[ "MIT" ]
null
null
null
Calculator.py
KunalKatiyar/Calculator
74044d32b08738ef288ccfae6bb322e6ab05f608
[ "MIT" ]
null
null
null
import sys from PyQt5.QtWidgets import QApplication, QWidget, QPushButton, QHBoxLayout, QGroupBox, QDialog, QVBoxLayout, QGridLayout,QMainWindow, QApplication, QWidget, QPushButton, QAction, QLineEdit, QMessageBox from PyQt5.QtGui import QIcon from PyQt5.QtCore import pyqtSlot if __name__ == '__main__': ...
35.45
203
0.605783
9074ea5b2e3ca5610b7441955b3420b7ffce9518
1,446
py
Python
analysis/src/util/_concepts.py
Domiii/code-dbgs
afe4d500273570e0b141ca0384cda3b52a191417
[ "Apache-2.0" ]
95
2020-01-20T08:51:20.000Z
2022-03-31T23:27:28.000Z
analysis/src/util/_concepts.py
Domiii/code-dbgs
afe4d500273570e0b141ca0384cda3b52a191417
[ "Apache-2.0" ]
274
2020-07-11T11:10:10.000Z
2022-03-31T14:03:39.000Z
analysis/src/util/_concepts.py
Domiii/code-dbgs
afe4d500273570e0b141ca0384cda3b52a191417
[ "Apache-2.0" ]
9
2020-07-15T07:04:20.000Z
2022-03-27T17:11:58.000Z
# // ########################################################################### # // Queries # // ########################################################################### # -> get a single cell of a df (use `iloc` with `row` + `col` as arguments) df.iloc[0]['staticContextId'] # -> get one column as a list allFunc...
34.428571
106
0.540111
907638a652d8418902c98ee951701aa5ff8b7dc1
2,279
py
Python
src/py/proto/v3/diff/UniversalDiff_pb2.py
zifter/conf_protobuf
1a8639d6f2a2535ece30dde840c99ba8261b5d7d
[ "MIT" ]
null
null
null
src/py/proto/v3/diff/UniversalDiff_pb2.py
zifter/conf_protobuf
1a8639d6f2a2535ece30dde840c99ba8261b5d7d
[ "MIT" ]
null
null
null
src/py/proto/v3/diff/UniversalDiff_pb2.py
zifter/conf_protobuf
1a8639d6f2a2535ece30dde840c99ba8261b5d7d
[ "MIT" ]
null
null
null
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: v3/diff/UniversalDiff.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflec...
31.219178
203
0.777095
9076fc2a93a37415e1783c15ba456852ac6cdab0
4,549
py
Python
src/onevision/data/augment/image_box_augment.py
phlong3105/onevision
90552b64df7213e7fbe23c80ffd8a89583289433
[ "MIT" ]
2
2022-03-28T09:46:38.000Z
2022-03-28T14:12:32.000Z
src/onevision/data/augment/image_box_augment.py
phlong3105/onevision
90552b64df7213e7fbe23c80ffd8a89583289433
[ "MIT" ]
null
null
null
src/onevision/data/augment/image_box_augment.py
phlong3105/onevision
90552b64df7213e7fbe23c80ffd8a89583289433
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ """ from __future__ import annotations import numpy as np import torch from torch import Tensor from onevision.data.augment.base import BaseAugment from onevision.data.augment.utils import apply_transform_op from onevision.data.data_class import ObjectAnnotation fro...
32.726619
94
0.473071
907746020f32a1228d26593b0db9dbd5b8907c24
2,087
py
Python
dataviz/euvotes.py
Udzu/pudzu
5a0302830b052fc54feba891eb7bf634957a9d90
[ "MIT" ]
119
2017-07-22T15:02:30.000Z
2021-08-02T10:42:59.000Z
dataviz/euvotes.py
Udzu/pudzu
5a0302830b052fc54feba891eb7bf634957a9d90
[ "MIT" ]
null
null
null
dataviz/euvotes.py
Udzu/pudzu
5a0302830b052fc54feba891eb7bf634957a9d90
[ "MIT" ]
28
2017-08-04T14:28:41.000Z
2019-11-27T23:46:14.000Z
from pudzu.charts import * from pudzu.sandbox.bamboo import * import seaborn as sns # generate map df = pd.read_csv("datasets/euvotes.csv").set_index('country') palette = tmap(RGBA, sns.cubehelix_palette(11, start=0.2, rot=-0.75)) ranges = [20000000,10000000,5000000,2000000,1000000,500000,200000,100000,0] map = map_...
44.404255
148
0.684236
9078e83afbdbc37dbf8bc13a26fcecb893de7fcb
6,264
py
Python
WarmUpSTE.py
jrolf/jse-api
72cf6ce9f5fb54564872795f058cb06afe34ca75
[ "MIT" ]
1
2019-09-19T23:20:57.000Z
2019-09-19T23:20:57.000Z
WarmUpSTE.py
jrolf/jse-api
72cf6ce9f5fb54564872795f058cb06afe34ca75
[ "MIT" ]
1
2019-09-19T23:24:38.000Z
2019-09-19T23:24:38.000Z
WarmUpSTE.py
jrolf/jse-api
72cf6ce9f5fb54564872795f058cb06afe34ca75
[ "MIT" ]
1
2019-09-19T20:12:10.000Z
2019-09-19T20:12:10.000Z
import pandas as pd import numpy as np from copy import * from bisect import * from scipy.optimize import curve_fit from sklearn.metrics import * from collections import defaultdict as defd import datetime,pickle from DemandHelper import * import warnings warnings.filterwarnings("ignore") ####################...
25.463415
81
0.543423
907a8e9bf17e1ccce65533dabf9db7c106ceba56
1,088
py
Python
Section 3/cnn3.py
PacktPublishing/Python-Deep-Learning-for-Beginners-
90f110158cbf0ce02fd4d5d09e3b2034428d9992
[ "MIT" ]
7
2019-02-16T02:52:12.000Z
2021-11-08T13:10:46.000Z
Section 3/cnn3.py
PacktPublishing/Python-Deep-Learning-for-Beginners-
90f110158cbf0ce02fd4d5d09e3b2034428d9992
[ "MIT" ]
null
null
null
Section 3/cnn3.py
PacktPublishing/Python-Deep-Learning-for-Beginners-
90f110158cbf0ce02fd4d5d09e3b2034428d9992
[ "MIT" ]
14
2018-11-18T04:33:38.000Z
2021-08-14T03:29:18.000Z
import keras from keras.datasets import mnist from keras.models import Sequential from keras.layers import Dense, Flatten from keras.layers import Conv2D, MaxPooling2D model = Sequential() model.add(Conv2D(32, kernel_size=(3, 3), activation='relu', input_shape=(128, 128, 1))) model.ad...
31.085714
51
0.669118
907b2f51dc7dc8191cd5bf95004855d172a84d81
15,373
py
Python
k1lib/selector.py
157239n/k1lib
285520b8364ad5b21cb736b44471aa939e692e9b
[ "MIT" ]
1
2021-08-11T19:10:08.000Z
2021-08-11T19:10:08.000Z
k1lib/selector.py
157239n/k1lib
285520b8364ad5b21cb736b44471aa939e692e9b
[ "MIT" ]
null
null
null
k1lib/selector.py
157239n/k1lib
285520b8364ad5b21cb736b44471aa939e692e9b
[ "MIT" ]
null
null
null
# AUTOGENERATED FILE! PLEASE DON'T EDIT """ This module is for selecting a subnetwork using CSS so that you can do special things to them. Checkout the tutorial section for a walkthrough. This is exposed automatically with:: from k1lib.imports import * selector.select # exposed """ from torch import nn; import k...
43.426554
280
0.656866
907cab399c56f59d773c9098dcb9ad23a5c47d44
3,482
py
Python
plugins/General/wxRaven_WebBrowser.py
sLiinuX/wxRaven
a513a029fa1ff2059ee262c524b4b2b45111f1a6
[ "MIT" ]
11
2021-12-20T15:32:17.000Z
2022-03-16T03:54:02.000Z
plugins/General/wxRaven_WebBrowser.py
sLiinuX/wxRaven
a513a029fa1ff2059ee262c524b4b2b45111f1a6
[ "MIT" ]
156
2021-12-31T21:01:31.000Z
2022-03-20T21:57:31.000Z
plugins/General/wxRaven_WebBrowser.py
sLiinuX/wxRaven
a513a029fa1ff2059ee262c524b4b2b45111f1a6
[ "MIT" ]
3
2022-01-21T14:52:43.000Z
2022-02-12T05:32:19.000Z
''' Created on 22 fvr. 2022 @author: slinux ''' from .wxRavenGeneralDesign import wxRavenWebBrowser from wxRavenGUI.application.wxcustom.CustomLoading import * from wxRavenGUI.application.wxcustom import * import wx.html2 as webview import sys import logging from wxRavenGUI.application.wxcustom.CustomUserIO import U...
30.017241
269
0.601091
907d53bdf5f863a5b666758a3f35cfee8a3a43e9
4,097
py
Python
backend/pollr-eb2/lib/python3.5/site-packages/ebcli/operations/upgradeops.py
saarthak24/Pollr
9fbdd19f48ed873899093c7d034ed4e0d017c19d
[ "MIT" ]
2
2017-11-16T15:02:43.000Z
2017-11-20T17:41:16.000Z
backend/pollr-eb2/lib/python3.5/site-packages/ebcli/operations/upgradeops.py
saarthak24/Pollr
9fbdd19f48ed873899093c7d034ed4e0d017c19d
[ "MIT" ]
10
2020-01-28T22:12:06.000Z
2022-03-11T23:16:53.000Z
backend/pollr-eb2/lib/python3.5/site-packages/ebcli/operations/upgradeops.py
saarthak24/Pollr
9fbdd19f48ed873899093c7d034ed4e0d017c19d
[ "MIT" ]
2
2017-11-16T14:59:03.000Z
2017-11-16T23:52:13.000Z
# Copyright 2017 Amazon.com, Inc. or its affiliates. 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. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file accompa...
35.626087
78
0.661948
907e1b4a54a9e37e87ee07e0eb6f6b12a199f562
2,719
py
Python
src/perimeterator/enumerator/elb.py
vvondra/perimeterator
6f750b5c8e6ff151472911bb45c6f11c0a6cd8ff
[ "MIT" ]
null
null
null
src/perimeterator/enumerator/elb.py
vvondra/perimeterator
6f750b5c8e6ff151472911bb45c6f11c0a6cd8ff
[ "MIT" ]
null
null
null
src/perimeterator/enumerator/elb.py
vvondra/perimeterator
6f750b5c8e6ff151472911bb45c6f11c0a6cd8ff
[ "MIT" ]
null
null
null
''' Perimeterator - Enumerator for AWS ELBs (Public IPs). ''' import logging import boto3 from perimeterator.helper import aws_elb_arn from perimeterator.helper import dns_lookup
37.246575
77
0.543582
907f3c024ac75afd4ff1f45c65ec5e6e22c38567
1,685
py
Python
binarycheck.py
pnordin/trimeol
2f58db29df9b28f249c1b9fa851f04119158bbd5
[ "MIT" ]
null
null
null
binarycheck.py
pnordin/trimeol
2f58db29df9b28f249c1b9fa851f04119158bbd5
[ "MIT" ]
null
null
null
binarycheck.py
pnordin/trimeol
2f58db29df9b28f249c1b9fa851f04119158bbd5
[ "MIT" ]
null
null
null
"""Module to help guess whether a file is binary or text. Requirements: Python 2.7+ Recommended: Python 3 """ def is_binary_file(fname): """Attempt to guess if 'fname' is a binary file heuristically. This algorithm has many flaws. Use with caution. It assumes that if a part of the file has NUL b...
25.923077
66
0.626113
9080c3b939a2c1af97171c5d7d2b2932cf209fec
8,329
py
Python
spiketoolkit/validation/quality_metric_classes/snr.py
seankmartin/spiketoolkit
38261d95045b1cd689363579c10ab3aa0a1ab7c0
[ "MIT" ]
null
null
null
spiketoolkit/validation/quality_metric_classes/snr.py
seankmartin/spiketoolkit
38261d95045b1cd689363579c10ab3aa0a1ab7c0
[ "MIT" ]
null
null
null
spiketoolkit/validation/quality_metric_classes/snr.py
seankmartin/spiketoolkit
38261d95045b1cd689363579c10ab3aa0a1ab7c0
[ "MIT" ]
null
null
null
import numpy as np import spikemetrics.metrics as metrics from .utils.thresholdcurator import ThresholdCurator from .quality_metric import QualityMetric import spiketoolkit as st from spikemetrics.utils import Epoch, printProgressBar from collections import OrderedDict from .parameter_dictionaries import get_recording_...
46.792135
231
0.623724
90818fc965fccbf18cf4f96b17fab97a599e1aaa
824
py
Python
parser/fase2/team16/main.py
webdev188/tytus
847071edb17b218f51bb969d335a8ec093d13f94
[ "MIT" ]
null
null
null
parser/fase2/team16/main.py
webdev188/tytus
847071edb17b218f51bb969d335a8ec093d13f94
[ "MIT" ]
null
null
null
parser/fase2/team16/main.py
webdev188/tytus
847071edb17b218f51bb969d335a8ec093d13f94
[ "MIT" ]
4
2020-12-19T17:12:13.000Z
2021-01-07T20:29:53.000Z
# This is a sample Python script. # Press Mays+F10 to execute it or replace it with your code. # Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings. import Gramatica as g import interprete as Inter import ts as TS import jsonMode as JSON_INGE import jsonMode as json import...
18.311111
98
0.694175
90825885fb1011eb6a66d72e387d9a860b8e8b3f
19,132
py
Python
stsynphot/tests/test_parser.py
tddesjardins/stsynphot_refactor
d7c6cdd006a2173fe0ee367a3a9f10f72acafe38
[ "MIT", "BSD-3-Clause" ]
5
2017-07-18T20:02:34.000Z
2022-03-10T06:46:22.000Z
stsynphot/tests/test_parser.py
tddesjardins/stsynphot_refactor
d7c6cdd006a2173fe0ee367a3a9f10f72acafe38
[ "MIT", "BSD-3-Clause" ]
103
2016-05-26T03:40:24.000Z
2021-12-29T23:03:13.000Z
stsynphot/tests/test_parser.py
tddesjardins/stsynphot_refactor
d7c6cdd006a2173fe0ee367a3a9f10f72acafe38
[ "MIT", "BSD-3-Clause" ]
9
2016-12-14T12:56:18.000Z
2021-09-11T22:50:01.000Z
# Licensed under a 3-clause BSD style license - see LICENSE.rst """Test spparser.py module, which uses spark.py. .. note:: Only testing to see if the parser makes the right kind of objects. Quality of the data is tested in other modules. """ # STDLIB import os # THIRD-PARTY import pytest from astropy impor...
33.447552
79
0.559011
9082f22e3410593d0f53f454a62bd2d756d1a9be
554
py
Python
rsbroker/urls.py
land-pack/RsBroker
d556fda09582e0540cac0eabc163a984e8fc1c44
[ "Apache-2.0" ]
null
null
null
rsbroker/urls.py
land-pack/RsBroker
d556fda09582e0540cac0eabc163a984e8fc1c44
[ "Apache-2.0" ]
null
null
null
rsbroker/urls.py
land-pack/RsBroker
d556fda09582e0540cac0eabc163a984e8fc1c44
[ "Apache-2.0" ]
null
null
null
from __future__ import absolute_import import os from tornado.web import StaticFileHandler from rsbroker.views import websocket from rsbroker.views.error import NotFoundErrorHandler settings = dict( template_path=os.path.join(os.path.dirname(__file__), "templates"), static_path=os.path.join(os.path.dirname(...
20.518519
71
0.714801
9083f275a59b9bf245934e27e32ceb9469c2cb0d
6,465
py
Python
tests/pheweb/load/command_flags_test.py
stellakeppo/pheweb
10ea317dbe9419fa77f99e6b735fa9a3290ccd5e
[ "MIT" ]
4
2018-11-03T13:58:52.000Z
2020-03-06T09:19:03.000Z
tests/pheweb/load/command_flags_test.py
stellakeppo/pheweb
10ea317dbe9419fa77f99e6b735fa9a3290ccd5e
[ "MIT" ]
92
2018-05-17T18:07:01.000Z
2022-03-29T00:37:30.000Z
tests/pheweb/load/command_flags_test.py
stellakeppo/pheweb
10ea317dbe9419fa77f99e6b735fa9a3290ccd5e
[ "MIT" ]
4
2020-07-01T12:20:55.000Z
2022-01-24T20:09:15.000Z
# -*- coding: utf-8 -*- """ Unit testing for command flags. This tests the various command flags and there helper methods. """ import argparse import typing import uuid import pytest from pheweb.load.command_flags import ( FLAG_CHROMOSOME, add_chromosome_flag, OUTPUT_COLUMN_CHROMOSOME, FLAG_POSITION...
26.174089
88
0.692653
9085232046fc5765251336d07c6534499f1401bb
4,388
py
Python
sandbox/error-correct-pass2.py
sadeepdarshana/khmer
bee54c4f579611d970c59367323d31d3545cafa6
[ "CNRI-Python" ]
558
2015-05-22T15:03:21.000Z
2022-03-23T04:49:17.000Z
sandbox/error-correct-pass2.py
sadeepdarshana/khmer
bee54c4f579611d970c59367323d31d3545cafa6
[ "CNRI-Python" ]
1,057
2015-05-14T20:27:04.000Z
2022-03-08T09:29:36.000Z
sandbox/error-correct-pass2.py
sadeepdarshana/khmer
bee54c4f579611d970c59367323d31d3545cafa6
[ "CNRI-Python" ]
193
2015-05-18T10:13:34.000Z
2021-12-10T11:58:01.000Z
#! /usr/bin/env python # This file is part of khmer, https://github.com/dib-lab/khmer/, and is # Copyright (C) 2011-2015, Michigan State University. # Copyright (C) 2015, The Regents of the University of California. # # Redistribution and use in source and binary forms, with or without # modification, are permitted pro...
35.104
78
0.66773
908535dac0f891e497250dce7197eb9409ed8be9
7,745
py
Python
metadata-ingestion/tests/integration/azure_ad/test_azure_ad.py
zhoxie-cisco/datahub
254a73e6ca9b1ec6002fcf013ed42cb6a754d1ad
[ "Apache-2.0" ]
1
2021-11-16T03:45:33.000Z
2021-11-16T03:45:33.000Z
metadata-ingestion/tests/integration/azure_ad/test_azure_ad.py
zhoxie-cisco/datahub
254a73e6ca9b1ec6002fcf013ed42cb6a754d1ad
[ "Apache-2.0" ]
4
2022-03-02T03:01:24.000Z
2022-03-23T00:57:33.000Z
metadata-ingestion/tests/integration/azure_ad/test_azure_ad.py
zhoxie-cisco/datahub
254a73e6ca9b1ec6002fcf013ed42cb6a754d1ad
[ "Apache-2.0" ]
5
2021-07-26T08:37:42.000Z
2021-11-16T05:41:02.000Z
import json import pathlib from unittest.mock import patch from freezegun import freeze_time from datahub.ingestion.run.pipeline import Pipeline from datahub.ingestion.source.identity.azure_ad import AzureADConfig from tests.test_helpers import mce_helpers FROZEN_TIME = "2021-08-24 09:00:00" def load_test_resou...
39.314721
123
0.629438
9085eea801b451acd44298bd5d756b5655efe26d
138
py
Python
edit/core/optimizer/__init__.py
tpoisonooo/basicVSR_mge
53df836a7dcc075083ef7c9ff7cabea69fec3192
[ "Apache-2.0" ]
28
2021-03-23T09:00:33.000Z
2022-03-10T03:55:00.000Z
edit/core/optimizer/__init__.py
tpoisonooo/basicVSR_mge
53df836a7dcc075083ef7c9ff7cabea69fec3192
[ "Apache-2.0" ]
2
2021-04-17T20:08:55.000Z
2022-02-01T17:48:55.000Z
edit/core/optimizer/__init__.py
tpoisonooo/basicVSR_mge
53df836a7dcc075083ef7c9ff7cabea69fec3192
[ "Apache-2.0" ]
5
2021-05-19T07:35:56.000Z
2022-01-13T02:11:50.000Z
from .builder import build_optimizers, MGE_OPTIMIZERS, build_gradmanagers from .default_constructor import DefaultOptimizerConstructor
23
73
0.876812
908733eb70f6006bbe7cab4fd64970e3aec01842
8,352
py
Python
src/python/config/parser/test_parsing.py
ncsa/NCSA-Genomics_MGC_GenomeGPS_CromwelWDL
4611896ea1bb50df50120752712e8d4b32a6d023
[ "MIT" ]
null
null
null
src/python/config/parser/test_parsing.py
ncsa/NCSA-Genomics_MGC_GenomeGPS_CromwelWDL
4611896ea1bb50df50120752712e8d4b32a6d023
[ "MIT" ]
null
null
null
src/python/config/parser/test_parsing.py
ncsa/NCSA-Genomics_MGC_GenomeGPS_CromwelWDL
4611896ea1bb50df50120752712e8d4b32a6d023
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import unittest from config.parser.parsing import Parser
53.538462
120
0.578544
9088061118cf617385915ed728847f4d1b206103
862
py
Python
scripts/aggregate_membership.py
LibrariesHacked/wuthering-hacks
c8e87dda86b05aaf9c23a5606472dc72c0aff603
[ "CC0-1.0", "MIT" ]
5
2016-10-02T13:49:29.000Z
2020-02-12T00:09:14.000Z
scripts/aggregate_membership.py
LibrariesHacked/wuthering-hacks
c8e87dda86b05aaf9c23a5606472dc72c0aff603
[ "CC0-1.0", "MIT" ]
null
null
null
scripts/aggregate_membership.py
LibrariesHacked/wuthering-hacks
c8e87dda86b05aaf9c23a5606472dc72c0aff603
[ "CC0-1.0", "MIT" ]
null
null
null
## Requires Python v3 and pandas (pip install pandas) ## This script takes the newcastle membership csv and attempts ## to reduce the file size as much as possible through aggregation and lookups ## Two lookup files to provide library names and dates are also created. import csv import os import re from datetime impor...
30.785714
100
0.732019
9088b5572da41984c1697dbaf7d670a85f1c124c
10,535
py
Python
mdl/contracts/contract.py
fafhrd91/mdl
daada030649305df02f65b77ebdf41cf976a870e
[ "Apache-2.0" ]
3
2016-12-28T09:31:27.000Z
2017-01-09T18:38:46.000Z
mdl/contracts/contract.py
fafhrd91/mdl
daada030649305df02f65b77ebdf41cf976a870e
[ "Apache-2.0" ]
1
2019-05-04T18:14:24.000Z
2019-05-04T18:14:24.000Z
mdl/contracts/contract.py
fafhrd91/mdl
daada030649305df02f65b77ebdf41cf976a870e
[ "Apache-2.0" ]
null
null
null
"""Interface contract object""" from __future__ import absolute_import import six import sys import logging from contracts.interface import ContractException, ContractNotRespected from .extension import ID from ..declarations import implementer from ..verify import verifyObject from ..interface import InterfaceClass ...
31.541916
79
0.57608
908923bb1a1d3dddbedc40a59f1c9790842c688e
3,979
py
Python
hourglass/train.py
ziqi123/AutoParking
bc2c86fe93892c0502cc7cf689d8ec072d2974d1
[ "Apache-2.0" ]
null
null
null
hourglass/train.py
ziqi123/AutoParking
bc2c86fe93892c0502cc7cf689d8ec072d2974d1
[ "Apache-2.0" ]
null
null
null
hourglass/train.py
ziqi123/AutoParking
bc2c86fe93892c0502cc7cf689d8ec072d2974d1
[ "Apache-2.0" ]
null
null
null
import numpy as np import torch import torchvision.transforms as transforms from dataloader.dataloader_hourglass import heatmap_Dataloader import os from network import KFSGNet import torchvision.transforms as transforms os.environ['CUDA_VISIBLE_DEVICES'] = '2' # Device configuration device = torch.device('cuda' if t...
27.631944
133
0.619754
9089cafc79c7a1e8e0abc38c3cabc190f618f305
1,648
py
Python
wpa-psk/wpa-psk.py
ranisalt/rsaur
8b8e8f596a35e8aff53ccff0fc941deacdc885a4
[ "MIT" ]
null
null
null
wpa-psk/wpa-psk.py
ranisalt/rsaur
8b8e8f596a35e8aff53ccff0fc941deacdc885a4
[ "MIT" ]
null
null
null
wpa-psk/wpa-psk.py
ranisalt/rsaur
8b8e8f596a35e8aff53ccff0fc941deacdc885a4
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import sys from argparse import ArgumentParser from getpass import getpass from hashlib import pbkdf2_hmac from signal import signal, SIGINT signal = signal(SIGINT, die) iwd = """[Security] PreSharedKey={psk}""" supplicant = """network={{ ssid={ssid} #psk={passphrase} psk={psk} }}...
28.912281
182
0.703277
908ab1d5d4950850ce0d224a0c7fe40fe59aa364
2,406
py
Python
cms/management/commands/subcommands/copy_lang.py
mightyiam/django-cms
09bf76d2f3d81fdaebcfb7e9ed4ecd4769fa8c25
[ "BSD-3-Clause" ]
2
2018-05-17T02:49:49.000Z
2019-08-20T02:07:44.000Z
cms/management/commands/subcommands/copy_lang.py
mightyiam/django-cms
09bf76d2f3d81fdaebcfb7e9ed4ecd4769fa8c25
[ "BSD-3-Clause" ]
2
2019-02-13T07:58:23.000Z
2019-02-13T07:58:27.000Z
cms/management/commands/subcommands/copy_lang.py
mightyiam/django-cms
09bf76d2f3d81fdaebcfb7e9ed4ecd4769fa8c25
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from optparse import make_option from django.conf import settings from django.core.management.base import BaseCommand, CommandError from cms.api import copy_plugins_to_language from cms.models import Title, Page from cms.utils.i18n import get_language_list
37.59375
119
0.588944
908b0f1eabec4449e380288689a4979deb9e601d
424
py
Python
easyml/mainsite/migrations/0015_auto_20181014_1837.py
evancasey1/EasyML
69f0c246cb7e1d6f7167eb504c30693088e703fd
[ "MIT" ]
null
null
null
easyml/mainsite/migrations/0015_auto_20181014_1837.py
evancasey1/EasyML
69f0c246cb7e1d6f7167eb504c30693088e703fd
[ "MIT" ]
null
null
null
easyml/mainsite/migrations/0015_auto_20181014_1837.py
evancasey1/EasyML
69f0c246cb7e1d6f7167eb504c30693088e703fd
[ "MIT" ]
1
2020-10-25T08:14:33.000Z
2020-10-25T08:14:33.000Z
# Generated by Django 2.1.2 on 2018-10-14 18:37 from django.db import migrations import picklefield.fields
21.2
72
0.629717
908bf756c481540c4c44d86144640fa2370be038
1,563
py
Python
adsrefpipe/refparsers/handler.py
golnazads/ADSReferencePipeline
802f26a9e085e6ff5de43f3b5642b2d9fad52cbb
[ "MIT" ]
null
null
null
adsrefpipe/refparsers/handler.py
golnazads/ADSReferencePipeline
802f26a9e085e6ff5de43f3b5642b2d9fad52cbb
[ "MIT" ]
null
null
null
adsrefpipe/refparsers/handler.py
golnazads/ADSReferencePipeline
802f26a9e085e6ff5de43f3b5642b2d9fad52cbb
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from adsrefpipe.refparsers.CrossRefXML import CrossReftoREFs from adsrefpipe.refparsers.ElsevierXML import ELSEVIERtoREFs from adsrefpipe.refparsers.JATSxml import JATStoREFs from adsrefpipe.refparsers.IOPxml import IOPtoREFs from adsrefpipe.refparsers.SpringerXML import SPRINGERtoREFs from ads...
32.5625
67
0.723608
908cafca02ccd9dbc79045504cbba8cbd1494065
12,221
py
Python
src/onegov/translator_directory/layout.py
politbuero-kampagnen/onegov-cloud
20148bf321b71f617b64376fe7249b2b9b9c4aa9
[ "MIT" ]
null
null
null
src/onegov/translator_directory/layout.py
politbuero-kampagnen/onegov-cloud
20148bf321b71f617b64376fe7249b2b9b9c4aa9
[ "MIT" ]
null
null
null
src/onegov/translator_directory/layout.py
politbuero-kampagnen/onegov-cloud
20148bf321b71f617b64376fe7249b2b9b9c4aa9
[ "MIT" ]
null
null
null
from cached_property import cached_property from purl import URL from onegov.translator_directory import _ from onegov.core.elements import Block, Link, LinkGroup, Confirm, Intercooler from onegov.core.utils import linkify from onegov.org.layout import DefaultLayout as BaseLayout from onegov.translator_directory.colle...
31.17602
79
0.469274
908cc9c6b5ff8ca35a1dc06753afe50c50104b9d
1,169
py
Python
src/dsanalizer/informations.py
perqu/Dataset-Analizer
c12ca74bd4f1e5969f0d90d6115a87ff3afd7f59
[ "MIT" ]
null
null
null
src/dsanalizer/informations.py
perqu/Dataset-Analizer
c12ca74bd4f1e5969f0d90d6115a87ff3afd7f59
[ "MIT" ]
null
null
null
src/dsanalizer/informations.py
perqu/Dataset-Analizer
c12ca74bd4f1e5969f0d90d6115a87ff3afd7f59
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np import io
33.4
100
0.544055
908ec7d6f30da870417cfcc9194599857d219fff
5,861
py
Python
src/packagedcode/cargo.py
Siddhant-K-code/scancode-toolkit
d1e725d3603a8f96c25f7e3f7595c68999b92a67
[ "Apache-2.0", "CC-BY-4.0" ]
1,511
2015-07-01T15:29:03.000Z
2022-03-30T13:40:05.000Z
src/packagedcode/cargo.py
Siddhant-K-code/scancode-toolkit
d1e725d3603a8f96c25f7e3f7595c68999b92a67
[ "Apache-2.0", "CC-BY-4.0" ]
2,695
2015-07-01T16:01:35.000Z
2022-03-31T19:17:44.000Z
src/packagedcode/cargo.py
Siddhant-K-code/scancode-toolkit
d1e725d3603a8f96c25f7e3f7595c68999b92a67
[ "Apache-2.0", "CC-BY-4.0" ]
540
2015-07-01T15:08:19.000Z
2022-03-31T12:13:11.000Z
# Copyright (c) nexB Inc. and others. All rights reserved. # ScanCode is a trademark of nexB Inc. # SPDX-License-Identifier: Apache-2.0 # See http://www.apache.org/licenses/LICENSE-2.0 for the license text. # See https://github.com/nexB/scancode-toolkit for support or download. # See https://aboutcode.org for more inf...
28.590244
99
0.61696
90918aea55bbacc028653f4732ff48d1cf1a76ea
10,268
py
Python
tests/testing/units.py
mandaltj/gem5_chips
b9c0c602241ffda7851c1afb32fa01f295bb98fd
[ "BSD-3-Clause" ]
135
2016-10-21T03:31:49.000Z
2022-03-25T01:22:20.000Z
tests/testing/units.py
mandaltj/gem5_chips
b9c0c602241ffda7851c1afb32fa01f295bb98fd
[ "BSD-3-Clause" ]
35
2017-03-10T17:57:46.000Z
2022-02-18T17:34:16.000Z
tests/testing/units.py
mandaltj/gem5_chips
b9c0c602241ffda7851c1afb32fa01f295bb98fd
[ "BSD-3-Clause" ]
48
2016-12-08T12:03:13.000Z
2022-02-16T09:16:13.000Z
#!/usr/bin/env python2.7 # # Copyright (c) 2016 ARM Limited # All rights reserved # # The license below extends only to copyright in the software and shall # not be construed as granting a license to any other intellectual # property including but not limited to intellectual property relating # to a hardware implementa...
34.689189
79
0.602357
9091ee961b1819c72143e6265ce0d0dcec7d5ad2
19,042
py
Python
mythic-docker/app/routes/routes.py
rmusser01/Mythic
48d3f6b0b1bbb4858e5f43a5c6528644b0751bc9
[ "BSD-3-Clause" ]
934
2020-08-13T15:32:30.000Z
2022-03-31T20:41:21.000Z
mythic-docker/app/routes/routes.py
rmusser01/Mythic
48d3f6b0b1bbb4858e5f43a5c6528644b0751bc9
[ "BSD-3-Clause" ]
88
2020-08-13T18:59:11.000Z
2022-03-31T23:48:18.000Z
mythic-docker/app/routes/routes.py
rmusser01/Mythic
48d3f6b0b1bbb4858e5f43a5c6528644b0751bc9
[ "BSD-3-Clause" ]
161
2020-08-13T17:28:03.000Z
2022-03-19T14:56:34.000Z
from app import ( mythic, links, nginx_port, listen_port, mythic_admin_password, mythic_admin_user, default_operation_name, mythic_db ) import app import asyncpg import redis from peewee_async import Manager from sanic.response import json from sanic import response from ...
41.21645
173
0.589014
9092b9fc5566c9c58a04dd93c04224cbbceb0b64
1,911
py
Python
sdl2/blendmode.py
namelivia/py-sdl2
c1bdf43501224d5f0a125dbce70198100ec7be82
[ "CC0-1.0" ]
222
2017-08-19T00:51:59.000Z
2022-02-05T19:39:33.000Z
sdl2/blendmode.py
namelivia/py-sdl2
c1bdf43501224d5f0a125dbce70198100ec7be82
[ "CC0-1.0" ]
103
2017-08-20T17:13:05.000Z
2022-02-05T20:20:01.000Z
sdl2/blendmode.py
namelivia/py-sdl2
c1bdf43501224d5f0a125dbce70198100ec7be82
[ "CC0-1.0" ]
54
2017-08-20T17:13:00.000Z
2022-01-14T23:51:13.000Z
from ctypes import c_int from .dll import _bind __all__ = [ # Enums "SDL_BlendMode", "SDL_BLENDMODE_NONE", "SDL_BLENDMODE_BLEND", "SDL_BLENDMODE_ADD", "SDL_BLENDMODE_MOD", "SDL_BLENDMODE_MUL", "SDL_BLENDMODE_INVALID", "SDL_BlendOperation", "SDL_BLENDOPERATION_ADD", "SDL_BLENDOPERATION_SUBTRACT...
31.327869
204
0.791209
9093d4d8bd3bc3c9e386b961c6079deedbc45036
204
py
Python
python_code/cutils/viz/__init__.py
IBM/oct-glaucoma-vf-estimate
ea79352547f33fe05ee532ab9faad6a5e4811a76
[ "Apache-2.0" ]
null
null
null
python_code/cutils/viz/__init__.py
IBM/oct-glaucoma-vf-estimate
ea79352547f33fe05ee532ab9faad6a5e4811a76
[ "Apache-2.0" ]
null
null
null
python_code/cutils/viz/__init__.py
IBM/oct-glaucoma-vf-estimate
ea79352547f33fe05ee532ab9faad6a5e4811a76
[ "Apache-2.0" ]
null
null
null
from .vizutils import viz_overlaymask, display_side2side, display_side2sidev1, stack_patches, figure2image, get_heatmap, visualize_probmaps from .vizutils import get_heatmap_multiple, figure2image_save
68
140
0.872549
90948ab3b394c7cb6e8df8160515b81630f1c311
4,510
py
Python
lib/site_config.py
bruceravel/xraylarch
a8179208872d43bd23453fa0c64680e11bc2b5ed
[ "BSD-3-Clause" ]
null
null
null
lib/site_config.py
bruceravel/xraylarch
a8179208872d43bd23453fa0c64680e11bc2b5ed
[ "BSD-3-Clause" ]
null
null
null
lib/site_config.py
bruceravel/xraylarch
a8179208872d43bd23453fa0c64680e11bc2b5ed
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python """ site configuration for larch: init_files: list of larch files run (in order) on startup module_path: list of directories to search for larch code history_file: """ from __future__ import print_function import sys import os from os.path import exists, abspath, join from .utils impor...
29.86755
77
0.614634
909490610fb0cdfc5860262dba5b4c657bee2b6b
2,898
py
Python
gpath/path_similarity.py
insilichem/gpathfinder
e6c7df14d473857acb007efbae3cc7b4fee1b330
[ "Apache-2.0" ]
5
2020-03-22T20:21:47.000Z
2022-03-08T07:50:25.000Z
gpath/path_similarity.py
insilichem/gpathfinder
e6c7df14d473857acb007efbae3cc7b4fee1b330
[ "Apache-2.0" ]
2
2020-04-09T10:49:26.000Z
2022-03-08T04:37:27.000Z
gpath/path_similarity.py
insilichem/gpathfinder
e6c7df14d473857acb007efbae3cc7b4fee1b330
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- ############## # GPathFinder: Identification of ligand pathways by a multi-objective # genetic algorithm # # https://github.com/insilichem/gpathfinder # # Copyright 2019 Jos-Emilio Snchez Aparicio, Giuseppe Sciortino, # Daniel Villadrich Herrmannsdoerfer, Pablo Orenes Chu...
36.683544
77
0.689786
9096de4357058d79ebeafc310708bd4b4560fdc0
1,666
py
Python
Schedule/groupagenda/urls.py
f0rdream/party-time
3b596043627383859042a6e70167e4304bab9a92
[ "MIT" ]
null
null
null
Schedule/groupagenda/urls.py
f0rdream/party-time
3b596043627383859042a6e70167e4304bab9a92
[ "MIT" ]
null
null
null
Schedule/groupagenda/urls.py
f0rdream/party-time
3b596043627383859042a6e70167e4304bab9a92
[ "MIT" ]
null
null
null
from django.conf.urls import url, include from .views import (GroupListAPIView, GroupCreateAPIView, AgendaListAPIView, AgendaDetailAPIView, AgendaCreateAPIView, AgendaPostAPIView, agenda_create, ...
57.448276
120
0.614046
90988846045a582c1eb61f51d1fdf6a5c9b664f2
312
py
Python
examples/admin.py
kimbackdoo/Web-Cralwer
6a92ec00ea2273f228b8c304cd596ad9120c4709
[ "MIT" ]
null
null
null
examples/admin.py
kimbackdoo/Web-Cralwer
6a92ec00ea2273f228b8c304cd596ad9120c4709
[ "MIT" ]
null
null
null
examples/admin.py
kimbackdoo/Web-Cralwer
6a92ec00ea2273f228b8c304cd596ad9120c4709
[ "MIT" ]
null
null
null
from django.contrib import admin # Register your models here. #models Shop from .models import Shop from .models import Parsed_data from .models import Img_data from .models import Other admin.site.register(Shop) admin.site.register(Parsed_data) admin.site.register(Img_data) admin.site.register(Other)
22.285714
32
0.814103
909914b3df8b80013e491c569d64a1ce700cd6e4
630
py
Python
main_test_dad.py
AdamLohSg/GTA
bf6a745a6e28e365466e76360a15ca10ce61e009
[ "Apache-2.0" ]
8
2022-01-19T20:47:36.000Z
2022-03-20T05:11:04.000Z
main_test_dad.py
AdamLohSg/GTA
bf6a745a6e28e365466e76360a15ca10ce61e009
[ "Apache-2.0" ]
2
2022-02-17T06:14:25.000Z
2022-02-17T08:43:57.000Z
main_test_dad.py
AdamLohSg/GTA
bf6a745a6e28e365466e76360a15ca10ce61e009
[ "Apache-2.0" ]
5
2022-02-15T04:16:27.000Z
2022-03-29T01:21:41.000Z
import torch from models.gta import GraphTemporalEmbedding if __name__ == '__main__': device = torch.device('cuda' if torch.cuda.is_available() else 'cpu') x = torch.randn(32, 96, 122) model = GraphTemporalEmbedding(122, 96, 3) y = model(x) print(y.size()) # model = AdaGraphSage(num_nodes=10, s...
39.375
78
0.647619
909acbc6fed7077e7d615e7ea5b4fd6ba9538288
954
py
Python
CSS/spiraleFile.py
NsiLycee/premiere
2814a21860e227e2db01ea201b1c4d99723a0562
[ "Unlicense" ]
null
null
null
CSS/spiraleFile.py
NsiLycee/premiere
2814a21860e227e2db01ea201b1c4d99723a0562
[ "Unlicense" ]
null
null
null
CSS/spiraleFile.py
NsiLycee/premiere
2814a21860e227e2db01ea201b1c4d99723a0562
[ "Unlicense" ]
null
null
null
''' Auteur : Jol Dendaletche But : trac une figure gomtrique l'aide de la bibliothque Turtle Le projet utilise l'objet file pour itrer le calcul de chaque nouveau point Les coordonnes des points d'un polygone sont placs dans une file l'algorithme consiste calculer les coor...
45.428571
121
0.697065
909acc24e11a5c6671af7463f6c79ae6bbfe3286
20,420
py
Python
network/modules/spconv_unet.py
alexisgroshenry/NPM3D_DSNet
d1a2ec071728dcb3c733ecdee3a27f4534b67f33
[ "MIT" ]
null
null
null
network/modules/spconv_unet.py
alexisgroshenry/NPM3D_DSNet
d1a2ec071728dcb3c733ecdee3a27f4534b67f33
[ "MIT" ]
null
null
null
network/modules/spconv_unet.py
alexisgroshenry/NPM3D_DSNet
d1a2ec071728dcb3c733ecdee3a27f4534b67f33
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- # author: Xinge # @file: spconv_unet.py # @time: 2020/06/22 15:01 import time import numpy as np import spconv import torch import torch.nn.functional as F from torch import nn
41.588595
145
0.645495
909ad865d21f2537f3949dbc416292efd7136d09
45
py
Python
scivision_test_plugin/__init__.py
acocac/scivision-test-plugin
0ebeabe256287a83d8a268649085f18dc3ddfc9f
[ "BSD-3-Clause" ]
null
null
null
scivision_test_plugin/__init__.py
acocac/scivision-test-plugin
0ebeabe256287a83d8a268649085f18dc3ddfc9f
[ "BSD-3-Clause" ]
null
null
null
scivision_test_plugin/__init__.py
acocac/scivision-test-plugin
0ebeabe256287a83d8a268649085f18dc3ddfc9f
[ "BSD-3-Clause" ]
null
null
null
from .model import DummyModel, ImageNetModel
22.5
44
0.844444
909b082c85db7f41252c1dd15a6d1058abd2c236
2,330
py
Python
prml/dimreduction/bayesian_pca.py
andresmasegosa/PRML-CoreSets
fb768debb15e3ff6f5b65b7224915a41c1493f3d
[ "MIT" ]
null
null
null
prml/dimreduction/bayesian_pca.py
andresmasegosa/PRML-CoreSets
fb768debb15e3ff6f5b65b7224915a41c1493f3d
[ "MIT" ]
null
null
null
prml/dimreduction/bayesian_pca.py
andresmasegosa/PRML-CoreSets
fb768debb15e3ff6f5b65b7224915a41c1493f3d
[ "MIT" ]
null
null
null
import numpy as np from prml.dimreduction.pca import PCA
36.40625
101
0.529185
909b242da63999e1207271fb27d3b19ba2f0e8e9
11,492
py
Python
mne/time_frequency/psd.py
jnvandermeer/mne-python
143a1fbfd2a68a0ce8d700da9299564de0b92334
[ "BSD-3-Clause" ]
null
null
null
mne/time_frequency/psd.py
jnvandermeer/mne-python
143a1fbfd2a68a0ce8d700da9299564de0b92334
[ "BSD-3-Clause" ]
2
2016-02-27T13:43:15.000Z
2018-07-18T19:44:45.000Z
mne/time_frequency/psd.py
jnvandermeer/mne-python
143a1fbfd2a68a0ce8d700da9299564de0b92334
[ "BSD-3-Clause" ]
1
2017-03-05T20:44:07.000Z
2017-03-05T20:44:07.000Z
# Authors : Alexandre Gramfort, alexandre.gramfort@telecom-paristech.fr (2011) # Denis A. Engemann <denis.engemann@gmail.com> # License : BSD 3-clause import numpy as np from ..parallel import parallel_func from ..io.pick import _pick_data_channels from ..utils import logger, verbose, _time_mask from ..fixe...
38.563758
79
0.62661
909b464aebeffe98a01bbc3d1080af46d979ef36
5,690
py
Python
culturebank/models.py
Anaphory/culturebank
9a408cb25fafcb14bbdd96278bebfbc898d32d00
[ "Apache-2.0" ]
null
null
null
culturebank/models.py
Anaphory/culturebank
9a408cb25fafcb14bbdd96278bebfbc898d32d00
[ "Apache-2.0" ]
null
null
null
culturebank/models.py
Anaphory/culturebank
9a408cb25fafcb14bbdd96278bebfbc898d32d00
[ "Apache-2.0" ]
null
null
null
from zope.interface import implementer from sqlalchemy import ( Column, String, Integer, Float, ForeignKey, CheckConstraint, ) from sqlalchemy.orm import relationship, backref from clld import interfaces from clld.db.meta import Base, CustomModelMixin from clld.db.versioned import Versioned fro...
38.187919
100
0.727065
909b5fdd491dd149598afad1dcf2d6d1cdc7dcc1
600
py
Python
src/models/layers/feature.py
icycookies/dd_benchmark
5551c0654d3dc30d72b817096d0877a02f28f116
[ "MIT" ]
2
2021-08-01T13:02:41.000Z
2021-08-01T14:39:44.000Z
src/models/layers/feature.py
icycookies/dd_benchmark
5551c0654d3dc30d72b817096d0877a02f28f116
[ "MIT" ]
null
null
null
src/models/layers/feature.py
icycookies/dd_benchmark
5551c0654d3dc30d72b817096d0877a02f28f116
[ "MIT" ]
1
2021-08-01T14:39:45.000Z
2021-08-01T14:39:45.000Z
import torch import torch.nn as nn
31.578947
99
0.576667
909b69d30b3ae1f1f238868bd4ff4b5d2afdace9
27,662
py
Python
src/kanone/adapter/tx.py
doncatnip/kanone
1f149f69f4f9dbb49dd29153fd0366cde68c2b85
[ "Unlicense" ]
5
2015-06-14T22:56:10.000Z
2017-05-29T07:59:35.000Z
src/kanone/adapter/tx.py
doncatnip/kanone
1f149f69f4f9dbb49dd29153fd0366cde68c2b85
[ "Unlicense" ]
5
2019-03-19T13:39:26.000Z
2020-11-03T20:01:46.000Z
src/kanone/adapter/tx.py
doncatnip/kanone
1f149f69f4f9dbb49dd29153fd0366cde68c2b85
[ "Unlicense" ]
null
null
null
""" Twisted adapter for Kanone """ from twisted.python.failure import Failure from twisted.internet import defer from ..lib import Invalid from ..util import varargs2kwargs import logging, sys log = logging.getLogger( __name__ ) # hacky and redundant, but it'll do for now .. # TODO: move to proper twisted specific c...
30.431243
132
0.521654
909bb64980267ae4a08d2d7a1f0a4d2581917497
1,579
py
Python
sandbox/graph-size.py
maarten1983/khmer
417aaa57f0659685c01887a6910de1c08d0a73e5
[ "BSD-3-Clause" ]
1
2019-11-02T15:12:44.000Z
2019-11-02T15:12:44.000Z
sandbox/graph-size.py
ibest/khmer
fbc307abd64363b329745709846d77444ce0c025
[ "BSD-3-Clause" ]
null
null
null
sandbox/graph-size.py
ibest/khmer
fbc307abd64363b329745709846d77444ce0c025
[ "BSD-3-Clause" ]
null
null
null
#! /usr/bin/env python2 # # This file is part of khmer, http://github.com/ged-lab/khmer/, and is # Copyright (C) Michigan State University, 2009-2013. It is licensed under # the three-clause BSD license; see doc/LICENSE.txt. # Contact: khmer-project@idyll.org # import khmer import sys import screed import os.path from ...
23.567164
76
0.664345
909c067225e930569a068986504ae450bf7106ff
3,187
py
Python
ferry/crawler/fetch_demand.py
coursetable/ferry
f369b9588557c359af8589f2575a03493d6b08b6
[ "MIT" ]
4
2020-11-12T19:37:06.000Z
2021-12-14T01:38:39.000Z
ferry/crawler/fetch_demand.py
coursetable/ferry
f369b9588557c359af8589f2575a03493d6b08b6
[ "MIT" ]
96
2020-09-08T05:17:17.000Z
2022-03-31T23:12:51.000Z
ferry/crawler/fetch_demand.py
coursetable/ferry
f369b9588557c359af8589f2575a03493d6b08b6
[ "MIT" ]
2
2021-03-03T23:02:40.000Z
2021-06-17T23:33:05.000Z
""" Fetches demand statistics. Modified from Dan Zhao Original article: https://yaledailynews.com/blog/2020/01/10/yales-most-popular-courses/ Github: https://github.com/iamdanzhao/yale-popular-classes README: https://github.com/iamdanzhao/yale-popular-classes/blob/master/data-guide/course_data_guide.md """ import ...
29.509259
94
0.671478
909dc9969f5cc018e88da564d8e3efacb5bc1be6
406
py
Python
migrate_db.py
qxf2/interview-scheduler
ef17350cec70c66c7136671789ed188231a5fcba
[ "MIT" ]
2
2021-05-06T17:02:21.000Z
2021-05-19T19:41:21.000Z
migrate_db.py
qxf2/interview-scheduler
ef17350cec70c66c7136671789ed188231a5fcba
[ "MIT" ]
9
2019-08-01T18:49:35.000Z
2021-04-01T12:52:35.000Z
migrate_db.py
qxf2/interview-scheduler
ef17350cec70c66c7136671789ed188231a5fcba
[ "MIT" ]
18
2019-07-23T16:26:17.000Z
2022-01-21T10:33:41.000Z
from flask import Flask from flask_sqlalchemy import SQLAlchemy from qxf2_scheduler import models from qxf2_scheduler import db from qxf2_scheduler.__init__ import app from flask_script import Manager from flask_migrate import Migrate,MigrateCommand migrate=Migrate(app, db,render_as_batch=True) manager=Manager(app) m...
25.375
48
0.830049
909e429cd3c93b342a1a4e97e4084847d6b07a78
3,476
py
Python
main.py
tarunsinghal92/indeedscrapperlatest
2c7fd920d115764192bf5f7bf8fd3d30aa6ec2b4
[ "MIT" ]
15
2019-07-31T11:48:28.000Z
2022-02-25T13:55:23.000Z
main.py
tarunsinghal92/indeedscrapperlatest
2c7fd920d115764192bf5f7bf8fd3d30aa6ec2b4
[ "MIT" ]
null
null
null
main.py
tarunsinghal92/indeedscrapperlatest
2c7fd920d115764192bf5f7bf8fd3d30aa6ec2b4
[ "MIT" ]
14
2019-02-20T21:44:39.000Z
2022-02-16T11:35:27.000Z
# import packages import requests import pandas as pd import time from functions import * # limit per sity max_results_per_city = 100 # db of city city_set = ['New+York','Toronto','Las+Vegas'] # job roles job_set = ['business+analyst','data+scientist'] # file num file = 1 # from where to skip SKIPPER = 0 # lo...
29.709402
183
0.467779
909f78a9a426fedd3532cae3c362b0e27f684e37
4,973
py
Python
L0_serial.py
RL-WWW/ISST
42b656686fa9660794007a0bc00a7177937410e9
[ "BSD-3-Clause" ]
5
2021-01-24T13:19:45.000Z
2021-04-05T15:49:35.000Z
L0_serial.py
RL-WWW/ISST
42b656686fa9660794007a0bc00a7177937410e9
[ "BSD-3-Clause" ]
null
null
null
L0_serial.py
RL-WWW/ISST
42b656686fa9660794007a0bc00a7177937410e9
[ "BSD-3-Clause" ]
null
null
null
# Import Libraries import numpy as np import cv2 import argparse import time # Import User Libraries import L0_helpers # Image File Path image_r = "images/flowers.jpg" image_w = "out_serial.png" # L0 minimization parameters kappa = 2.0 _lambda = 2e-2 # Verbose output verbose = False if __name__ == '__main__': # ...
26.593583
90
0.575508
909f8409bcfac0d98c71ec79e9110765c9b7b295
2,565
py
Python
data_processing/signal_downsampling.py
HassanHayat08/Interpretable-CNN-for-Big-Five-Personality-Traits-using-Audio-Data
7149e78736611f07a1c7c4adbdf24ae03011e549
[ "MIT" ]
9
2020-09-26T23:52:49.000Z
2021-10-04T00:08:23.000Z
data_processing/signal_downsampling.py
HassanHayat08/Interpretable-CNN-for-Big-Five-Personality-Traits-using-Audio-Data
7149e78736611f07a1c7c4adbdf24ae03011e549
[ "MIT" ]
null
null
null
data_processing/signal_downsampling.py
HassanHayat08/Interpretable-CNN-for-Big-Five-Personality-Traits-using-Audio-Data
7149e78736611f07a1c7c4adbdf24ae03011e549
[ "MIT" ]
2
2021-04-06T13:02:24.000Z
2021-12-06T09:03:24.000Z
### Interpretable cnn for big five personality traits using audio data ### ### This script downsamples 41000 kz signal into 4000 kz signal ### from __future__ import absolute_import, division, print_function import pathlib import random import csv import numpy as np from scipy.io import wavfile import tensorflow as t...
29.482759
121
0.670955
90a1865751cb26e76fdfe2385bd5686fe05ca8bb
1,858
py
Python
ai_flow/model_center/entity/_model_repo_object.py
flink-extended/ai-flow
d1427a243097d94d77fedbe1966500ae26975a13
[ "Apache-2.0" ]
79
2021-10-15T07:32:27.000Z
2022-03-28T04:10:19.000Z
ai_flow/model_center/entity/_model_repo_object.py
flink-extended/ai-flow
d1427a243097d94d77fedbe1966500ae26975a13
[ "Apache-2.0" ]
153
2021-10-15T05:23:46.000Z
2022-02-23T06:07:10.000Z
ai_flow/model_center/entity/_model_repo_object.py
flink-extended/ai-flow
d1427a243097d94d77fedbe1966500ae26975a13
[ "Apache-2.0" ]
23
2021-10-15T02:36:37.000Z
2022-03-17T02:59:27.000Z
# # Copyright 2022 The AI Flow 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 applicable law or agreed to in w...
28.584615
91
0.697524
90a2c66069c33df69aa851c8c0f49466dd43d14e
2,127
py
Python
model_search/search/common_test.py
LinqCod/model_search
d90bc39994bc2a5f5028035ac954f796eda03310
[ "Apache-2.0" ]
null
null
null
model_search/search/common_test.py
LinqCod/model_search
d90bc39994bc2a5f5028035ac954f796eda03310
[ "Apache-2.0" ]
null
null
null
model_search/search/common_test.py
LinqCod/model_search
d90bc39994bc2a5f5028035ac954f796eda03310
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
32.227273
74
0.649741
90a3029cbc5a3d0ba677696927ab7f1da401c62e
588
py
Python
model-builder/skrutil/deprecate_util.py
DaYeSquad/worktilerwdemo
03fbc18dcba4881628cf790f2f0cd7e6f9aa130f
[ "MIT" ]
5
2016-05-13T15:23:41.000Z
2019-05-29T08:23:25.000Z
model-builder/skrutil/deprecate_util.py
DaYeSquad/worktilerwdemo
03fbc18dcba4881628cf790f2f0cd7e6f9aa130f
[ "MIT" ]
null
null
null
model-builder/skrutil/deprecate_util.py
DaYeSquad/worktilerwdemo
03fbc18dcba4881628cf790f2f0cd7e6f9aa130f
[ "MIT" ]
2
2016-06-08T08:22:42.000Z
2019-02-25T08:46:54.000Z
import warnings def deprecated(func): """This is a decorator which can be used to mark functions as deprecated. It will result in a warning being emmitted when the function is used.""" newFunc.__name__ = func.__name__ newFunc.__doc__ = func.__doc__ newFunc.__dict__.update(func.__dict__) re...
34.588235
72
0.681973
90a3bca5369f1537b322d1766cb9151ec9a0af0c
3,181
py
Python
models.py
sheldonjinqi/CIS680_BicycleGAN
a1d32ad9ba39c61e07838f5b6391b6d2ab0765c4
[ "MIT" ]
null
null
null
models.py
sheldonjinqi/CIS680_BicycleGAN
a1d32ad9ba39c61e07838f5b6391b6d2ab0765c4
[ "MIT" ]
null
null
null
models.py
sheldonjinqi/CIS680_BicycleGAN
a1d32ad9ba39c61e07838f5b6391b6d2ab0765c4
[ "MIT" ]
null
null
null
from torchvision.models import resnet18 import torch.nn.functional as F import torch.nn as nn import numpy as np import torch import pdb ############################## # Encoder ############################## ############################## # Generator ############################## #################...
30.586538
106
0.563345
90a433b0faab6ec973b072f69d11760a7c0bb8ef
3,381
py
Python
oem_storage_file/main.py
OpenEntityMap/oem-storage-file
cce7e3979c413273aaa224799cfe6b86bad7627e
[ "BSD-3-Clause" ]
null
null
null
oem_storage_file/main.py
OpenEntityMap/oem-storage-file
cce7e3979c413273aaa224799cfe6b86bad7627e
[ "BSD-3-Clause" ]
null
null
null
oem_storage_file/main.py
OpenEntityMap/oem-storage-file
cce7e3979c413273aaa224799cfe6b86bad7627e
[ "BSD-3-Clause" ]
null
null
null
from oem_framework.models.core import ModelRegistry from oem_framework.plugin import Plugin from oem_framework.storage import ProviderStorage from oem_storage_file.core.base import BaseFileStorage from oem_storage_file.database import DatabaseFileStorage import appdirs import os # # Index methods # ...
27.266129
89
0.615794
90a450c6bb8a1da60bd0c096428df1ba30321115
1,565
py
Python
scripts/slave/recipe_modules/v8/gclient_config.py
bopopescu/chromium-build
f8e42c70146c1b668421ee6358dc550a955770a3
[ "BSD-3-Clause" ]
null
null
null
scripts/slave/recipe_modules/v8/gclient_config.py
bopopescu/chromium-build
f8e42c70146c1b668421ee6358dc550a955770a3
[ "BSD-3-Clause" ]
null
null
null
scripts/slave/recipe_modules/v8/gclient_config.py
bopopescu/chromium-build
f8e42c70146c1b668421ee6358dc550a955770a3
[ "BSD-3-Clause" ]
1
2020-07-22T09:16:32.000Z
2020-07-22T09:16:32.000Z
# Copyright 2013 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import DEPS CONFIG_CTX = DEPS['gclient'].CONFIG_CTX ChromiumGitURL = DEPS['gclient'].config.ChromiumGitURL
30.686275
79
0.709904
90a4ede6bfdb471d923545a3e19b34b37a9df384
7,038
py
Python
parser/fase2/team28/models/Other/funcion.py
jossiebk/tytus
de6ce433d61609d4eaa5d0dbbd2ce13aaa573544
[ "MIT" ]
null
null
null
parser/fase2/team28/models/Other/funcion.py
jossiebk/tytus
de6ce433d61609d4eaa5d0dbbd2ce13aaa573544
[ "MIT" ]
null
null
null
parser/fase2/team28/models/Other/funcion.py
jossiebk/tytus
de6ce433d61609d4eaa5d0dbbd2ce13aaa573544
[ "MIT" ]
null
null
null
from models.instructions.shared import Instruction from models.Other.ambito import Ambito from controllers.three_address_code import ThreeAddressCode from controllers.procedures import Procedures from models.instructions.Expression.expression import DATA_TYPE, PrimitiveData
34.331707
90
0.596903
90a5135d7b2c7cb2a555e6f77c99a227c0fdaa11
2,386
py
Python
podcast/download.py
jessstringham/podcasts
04de6cc5cd7d27ee6ab56c0c7950526b606ec201
[ "MIT" ]
1
2018-05-08T09:26:45.000Z
2018-05-08T09:26:45.000Z
podcast/download.py
jessstringham/podcasts
04de6cc5cd7d27ee6ab56c0c7950526b606ec201
[ "MIT" ]
null
null
null
podcast/download.py
jessstringham/podcasts
04de6cc5cd7d27ee6ab56c0c7950526b606ec201
[ "MIT" ]
1
2020-12-13T18:04:00.000Z
2020-12-13T18:04:00.000Z
import typing import urllib.error import urllib.request from podcast.files import download_location from podcast.info import build_info_content from podcast.info import InfoContent from podcast.models import Channel from podcast.models import get_podcast_audio_link from podcast.models import NewStatus from podcast.mod...
33.605634
79
0.723386
90a586abf2c437f6ccd419108bdf5f296a7fed74
5,630
py
Python
tests/model/test_ocrd_page.py
j23d/core
b063737a5cc4701fb507328b5940919848934ef1
[ "Apache-2.0" ]
null
null
null
tests/model/test_ocrd_page.py
j23d/core
b063737a5cc4701fb507328b5940919848934ef1
[ "Apache-2.0" ]
null
null
null
tests/model/test_ocrd_page.py
j23d/core
b063737a5cc4701fb507328b5940919848934ef1
[ "Apache-2.0" ]
null
null
null
from tests.base import TestCase, main, assets from ocrd_models.ocrd_page import ( AlternativeImageType, PcGtsType, PageType, TextRegionType, TextLineType, WordType, GlyphType, parseString, parse, to_xml ) simple_page = """\ <PcGts xmlns="http://schema.primaresearch.org/PAGE/gt...
43.307692
298
0.649556
90a811a1c9219aef26a6c2b2f33c1210f92378af
643
py
Python
athena/athena/algorithms/NetworkAnalysis/Components.py
aculich/openmappr
c9e5b4cfc974a6eda9cbc8a0ea6f8a96ce35efba
[ "MIT" ]
19
2018-04-05T23:33:33.000Z
2022-03-24T00:18:20.000Z
athena/athena/algorithms/NetworkAnalysis/Components.py
aculich/openmappr
c9e5b4cfc974a6eda9cbc8a0ea6f8a96ce35efba
[ "MIT" ]
13
2018-01-10T23:31:11.000Z
2018-07-20T12:55:02.000Z
athena/athena/algorithms/NetworkAnalysis/Components.py
aculich/openmappr
c9e5b4cfc974a6eda9cbc8a0ea6f8a96ce35efba
[ "MIT" ]
5
2018-02-12T05:33:19.000Z
2019-09-21T22:43:02.000Z
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*- """ Created on Wed Aug 13 15:35:50 2014 @author: rich """ import networkx as nx # assign component IDs to graph components, id=0 is giant component
26.791667
82
0.659409
90a821eadcd600fc9ceb85786e62d6539b2c7ae3
9,603
py
Python
tools/netconf.py
jpfluger/radiucal
42666478baaa93da05fdc5ab8f3b53df68b993e6
[ "BSD-3-Clause" ]
5
2019-12-15T09:47:02.000Z
2022-03-16T03:18:55.000Z
tools/netconf.py
jpfluger/radiucal
42666478baaa93da05fdc5ab8f3b53df68b993e6
[ "BSD-3-Clause" ]
null
null
null
tools/netconf.py
jpfluger/radiucal
42666478baaa93da05fdc5ab8f3b53df68b993e6
[ "BSD-3-Clause" ]
1
2021-03-27T08:11:53.000Z
2021-03-27T08:11:53.000Z
#!/usr/bin/python """composes the config from user definitions.""" import argparse import os import users import users.__config__ import importlib import csv # file indicators IND_DELIM = "_" USER_INDICATOR = "user" + IND_DELIM VLAN_INDICATOR = "vlan" + IND_DELIM AUTH_PHASE_ONE = "PEAP" AUTH_PHASE_TWO = "MSCHAPV2" ...
30.389241
79
0.53754
90a9c694ad7055aeb7e214346c75ba596c28d602
3,673
py
Python
twitter_scrapper.py
juanlucruz/SportEventLocator
1ac8236f9fdd60917b9a7ee6bb6ca1fa5f6fa71e
[ "Apache-2.0" ]
null
null
null
twitter_scrapper.py
juanlucruz/SportEventLocator
1ac8236f9fdd60917b9a7ee6bb6ca1fa5f6fa71e
[ "Apache-2.0" ]
null
null
null
twitter_scrapper.py
juanlucruz/SportEventLocator
1ac8236f9fdd60917b9a7ee6bb6ca1fa5f6fa71e
[ "Apache-2.0" ]
null
null
null
# Import the Twython class from twython import Twython, TwythonStreamer import json # import pandas as pd import csv import datetime # Create a class that inherits TwythonStreamer if __name__ == "__main__": main()
33.390909
88
0.58263
90aa48820bf97867a9816268e697f65885c29466
389
py
Python
tools/bin/filter_cassandra_attributes.py
fruch/scylla-tools-java
3fdce3d357b64402799742f61d3cc33b6f8fcfbb
[ "Apache-2.0" ]
null
null
null
tools/bin/filter_cassandra_attributes.py
fruch/scylla-tools-java
3fdce3d357b64402799742f61d3cc33b6f8fcfbb
[ "Apache-2.0" ]
null
null
null
tools/bin/filter_cassandra_attributes.py
fruch/scylla-tools-java
3fdce3d357b64402799742f61d3cc33b6f8fcfbb
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python2 import sys; from yaml import load, dump, load_all from cassandra_attributes import * if __name__ == "__main__": main()
25.933333
109
0.637532
90aa5dbc6e140871e083e339d177b3478bf2b89d
526
py
Python
ci/test_filename.py
climateamante/linode.docs
9a2d26db11ab439f354bb9027eb62eda7453ff0b
[ "CC-BY-4.0" ]
null
null
null
ci/test_filename.py
climateamante/linode.docs
9a2d26db11ab439f354bb9027eb62eda7453ff0b
[ "CC-BY-4.0" ]
null
null
null
ci/test_filename.py
climateamante/linode.docs
9a2d26db11ab439f354bb9027eb62eda7453ff0b
[ "CC-BY-4.0" ]
null
null
null
import pytest import itertools # Cartesian product of file names and extensions # e.g. README.txt, README.md, CHANGELOG.txt, CHANGELOG.md ... file_extensions = ['txt', 'md'] names = ['README', 'CHANGELOG', 'CONTRIBUTING', 'LICENSE', 'CODE_OF_CONDUCT'] exempt_files = [('.'.join(x)) for x in itertools.product(names, fil...
35.066667
81
0.709125
90aa7fec2a73694bfef5aa1b7617bf2c7fb170fa
1,570
py
Python
test/test_sshtransport.py
stribika/sshlabs
421e62433aab0e21456254a0b2c5feb830d0c77c
[ "Unlicense" ]
76
2015-01-24T19:18:31.000Z
2021-03-11T11:17:14.000Z
test/test_sshtransport.py
stribika/sshlabs
421e62433aab0e21456254a0b2c5feb830d0c77c
[ "Unlicense" ]
8
2015-01-24T18:59:57.000Z
2017-06-07T13:07:34.000Z
test/test_sshtransport.py
stribika/sshlabs
421e62433aab0e21456254a0b2c5feb830d0c77c
[ "Unlicense" ]
21
2015-01-24T18:56:52.000Z
2021-03-10T14:33:14.000Z
import sys import unittest sys.path.append("../main") from sshtransport import *
32.708333
107
0.658599
90ab146abe91415bc0bc793fedf75c04fb9406e9
7,357
py
Python
activity-classification/main_scenario_baseline.py
bstollnitz/grad-school-portfolio
484e00cc4857de2eda6848f61a1e6fbf26309d42
[ "MIT" ]
2
2019-10-24T16:40:44.000Z
2020-06-21T03:56:18.000Z
activity-classification/main_scenario_baseline.py
bstollnitz/portfolio
484e00cc4857de2eda6848f61a1e6fbf26309d42
[ "MIT" ]
null
null
null
activity-classification/main_scenario_baseline.py
bstollnitz/portfolio
484e00cc4857de2eda6848f61a1e6fbf26309d42
[ "MIT" ]
null
null
null
import random import time from pathlib import Path from typing import Dict, List, Tuple import numpy as np import torch from torch.utils import data from torch.utils.tensorboard import SummaryWriter import utils_graph import utils_io import utils_nn from feed_forward import FeedForward from hyperparameters import Hyp...
35.887805
85
0.703819
90ab4c6f6273b660fe6334ebc9b6fb8fce97ce8e
868
py
Python
2020/day04/day4_part1.py
dstjacques/AdventOfCode
75bfb46a01487430d552ea827f0cf8ae3368f686
[ "MIT" ]
null
null
null
2020/day04/day4_part1.py
dstjacques/AdventOfCode
75bfb46a01487430d552ea827f0cf8ae3368f686
[ "MIT" ]
null
null
null
2020/day04/day4_part1.py
dstjacques/AdventOfCode
75bfb46a01487430d552ea827f0cf8ae3368f686
[ "MIT" ]
null
null
null
input = """ ecl:gry pid:860033327 eyr:2020 hcl:#fffffd byr:1937 iyr:2017 cid:147 hgt:183cm iyr:2013 ecl:amb cid:350 eyr:2023 pid:028048884 hcl:#cfa07d byr:1929 hcl:#ae17e1 iyr:2013 eyr:2024 ecl:brn pid:760753108 byr:1931 hgt:179cm hcl:#cfa07d eyr:2025 pid:166559648 iyr:2011 ecl:brn hgt:59in """ count = 0 for i ...
25.529412
122
0.615207
90ad0d873a774414aef935d258105887a6980e80
3,322
py
Python
flit_core/flit_core/tests/test_common.py
rahul-deepsource/flit
5d5be0a9c6f77a2dbbffd3369ad8ac7813a926bf
[ "BSD-3-Clause" ]
null
null
null
flit_core/flit_core/tests/test_common.py
rahul-deepsource/flit
5d5be0a9c6f77a2dbbffd3369ad8ac7813a926bf
[ "BSD-3-Clause" ]
null
null
null
flit_core/flit_core/tests/test_common.py
rahul-deepsource/flit
5d5be0a9c6f77a2dbbffd3369ad8ac7813a926bf
[ "BSD-3-Clause" ]
1
2021-06-24T10:21:43.000Z
2021-06-24T10:21:43.000Z
import os.path as osp from unittest import TestCase import pytest from flit_core.common import ( Module, get_info_from_module, InvalidVersion, NoVersionError, check_version, normalize_file_permissions, Metadata ) samples_dir = osp.join(osp.dirname(__file__), 'samples')
35.340426
112
0.599639
90af463579adb14e899b746a24caf95a35d80b1b
3,017
py
Python
flumine/markets/market.py
jsphon/flumine
bd5cacf9793d53a99595fe4694aeb9b8d2962abb
[ "MIT" ]
null
null
null
flumine/markets/market.py
jsphon/flumine
bd5cacf9793d53a99595fe4694aeb9b8d2962abb
[ "MIT" ]
null
null
null
flumine/markets/market.py
jsphon/flumine
bd5cacf9793d53a99595fe4694aeb9b8d2962abb
[ "MIT" ]
null
null
null
import datetime import logging from typing import Optional from betfairlightweight.resources.bettingresources import MarketBook, MarketCatalogue from .blotter import Blotter from ..events import events logger = logging.getLogger(__name__)
33.153846
88
0.670534
90b067d91d1317f4e26b80f4ccf8b819d42bc981
206
py
Python
{{cookiecutter.project_name}}/tests/conftest.py
nelsonHolic/common-fastapi-microservice
06a995264ced42a59565f1f703bab7bfed8e7cc1
[ "MIT" ]
1
2021-12-14T17:08:24.000Z
2021-12-14T17:08:24.000Z
{{cookiecutter.project_name}}/tests/conftest.py
nelsonHolic/common-fastapi-microservice
06a995264ced42a59565f1f703bab7bfed8e7cc1
[ "MIT" ]
null
null
null
{{cookiecutter.project_name}}/tests/conftest.py
nelsonHolic/common-fastapi-microservice
06a995264ced42a59565f1f703bab7bfed8e7cc1
[ "MIT" ]
null
null
null
import pytest from fastapi.testclient import TestClient from {{cookiecutter.project_name}}.app import app
18.727273
49
0.757282
90b264bddefd9c5d8b81c5073da1b99d48704da6
2,228
py
Python
scripts/naive_search.py
simonbowly/lp-generators
937c44074c234333b6a5408c3e18f498c2205948
[ "MIT" ]
9
2020-01-02T23:07:36.000Z
2022-01-26T10:04:04.000Z
scripts/naive_search.py
simonbowly/lp-generators
937c44074c234333b6a5408c3e18f498c2205948
[ "MIT" ]
null
null
null
scripts/naive_search.py
simonbowly/lp-generators
937c44074c234333b6a5408c3e18f498c2205948
[ "MIT" ]
1
2020-01-02T23:08:26.000Z
2020-01-02T23:08:26.000Z
import itertools import multiprocessing import json import numpy as np from tqdm import tqdm from lp_generators.features import coeff_features, solution_features from lp_generators.performance import clp_simplex_performance from search_operators import lp_column_neighbour, lp_row_neighbour from seeds import cli_see...
33.253731
81
0.685817
90b42e2cf853da75296b6d0c2d2e8e3942e4a7bb
1,066
py
Python
tests/test_list_.py
aefalcon/iterable_collections
8e3b4ea84083a100413f23af30ea27dfd4b838ff
[ "MIT" ]
4
2018-06-05T14:07:56.000Z
2021-04-17T12:09:23.000Z
tests/test_list_.py
aefalcon/iterable_collections
8e3b4ea84083a100413f23af30ea27dfd4b838ff
[ "MIT" ]
1
2018-07-10T19:53:54.000Z
2018-07-10T19:58:38.000Z
tests/test_list_.py
aefalcon/iterable_collections
8e3b4ea84083a100413f23af30ea27dfd4b838ff
[ "MIT" ]
2
2020-01-29T10:51:11.000Z
2021-11-11T21:37:24.000Z
import unittest from iterable_collections import collect
29.611111
68
0.605066
90b5ceb756a46b298c1cfb2d69501dea6821b502
8,354
py
Python
parcels/parcels/examples/example_peninsula.py
pdnooteboom/NA_forams
789b45d8cc14225f31242c9c648f4f36c76d2fc4
[ "MIT" ]
1
2021-04-12T16:07:42.000Z
2021-04-12T16:07:42.000Z
parcels/parcels/examples/example_peninsula.py
pdnooteboom/NA_forams
789b45d8cc14225f31242c9c648f4f36c76d2fc4
[ "MIT" ]
null
null
null
parcels/parcels/examples/example_peninsula.py
pdnooteboom/NA_forams
789b45d8cc14225f31242c9c648f4f36c76d2fc4
[ "MIT" ]
1
2021-04-12T16:07:45.000Z
2021-04-12T16:07:45.000Z
from parcels import FieldSet, ParticleSet, ScipyParticle, JITParticle, Variable from parcels import AdvectionRK4, AdvectionEE, AdvectionRK45 from argparse import ArgumentParser import numpy as np import math # NOQA import pytest from datetime import timedelta as delta ptype = {'scipy': ScipyParticle, 'jit': JITParti...
43.061856
112
0.649988
90b614eb6ed41d954f776b1b26da34eda803102b
456
py
Python
TestBegin.py
FrankWangJQ/HttpRunner-master
f0456a5b7b9d23ddb54415b1ea5951416e9601ef
[ "MIT" ]
null
null
null
TestBegin.py
FrankWangJQ/HttpRunner-master
f0456a5b7b9d23ddb54415b1ea5951416e9601ef
[ "MIT" ]
null
null
null
TestBegin.py
FrankWangJQ/HttpRunner-master
f0456a5b7b9d23ddb54415b1ea5951416e9601ef
[ "MIT" ]
null
null
null
from httprunner import HttpRunner import time kwargs = { "failfast":False, #"dot_env_path": "/path/to/.env" } runner = HttpRunner(**kwargs) # runner.run("/Users/wangjianqing/PycharmProjects/HttpRunner-master/tests/testcases/Release/-.yml") runner.gen_html_report(html_report_name="reportTestForBetaYunZS",ht...
26.823529
192
0.800439
90b636cded4c580440a67538e3ed1bce323607f4
2,186
py
Python
pyaz/synapse/sql/pool/classification/recommendation/__init__.py
py-az-cli/py-az-cli
9a7dc44e360c096a5a2f15595353e9dad88a9792
[ "MIT" ]
null
null
null
pyaz/synapse/sql/pool/classification/recommendation/__init__.py
py-az-cli/py-az-cli
9a7dc44e360c096a5a2f15595353e9dad88a9792
[ "MIT" ]
null
null
null
pyaz/synapse/sql/pool/classification/recommendation/__init__.py
py-az-cli/py-az-cli
9a7dc44e360c096a5a2f15595353e9dad88a9792
[ "MIT" ]
1
2022-02-03T09:12:01.000Z
2022-02-03T09:12:01.000Z
''' Manage sensitivity classification recommendations. ''' from ...... pyaz_utils import _call_az def list(name, resource_group, workspace_name, filter=None, included_disabled=None, skip_token=None): ''' List the recommended sensitivity classifications of a given SQL pool. Required Parameters: - name ...
42.038462
128
0.718664
90b74a470408ddeb782e48bf20e39ffd4457275e
1,755
py
Python
dipy/utils/tests/test_arrfuncs.py
martcous/dipy
6bff5655f03db19bde5aa951ffb91987983a889b
[ "MIT" ]
null
null
null
dipy/utils/tests/test_arrfuncs.py
martcous/dipy
6bff5655f03db19bde5aa951ffb91987983a889b
[ "MIT" ]
null
null
null
dipy/utils/tests/test_arrfuncs.py
martcous/dipy
6bff5655f03db19bde5aa951ffb91987983a889b
[ "MIT" ]
null
null
null
""" Testing array utilities """ import sys import numpy as np from ..arrfuncs import as_native_array, pinv, eigh from numpy.testing import (assert_array_almost_equal, assert_array_equal) from nose.tools import assert_true, assert_false, assert_equal, assert_raises NATIVE_ORDER = '<' if ...
29.745763
77
0.616524
90b769e3d5d7b99ed6ee9f9dfa67655328ca1e58
1,571
py
Python
ProgressBar.py
ArisKots1992/Similar-World-News-Articles
426aef1d6d9566e66ad634bc8468d554d887551c
[ "MIT" ]
1
2017-09-09T13:53:09.000Z
2017-09-09T13:53:09.000Z
ProgressBar.py
ArisKots1992/Similar-World-News-Articles
426aef1d6d9566e66ad634bc8468d554d887551c
[ "MIT" ]
null
null
null
ProgressBar.py
ArisKots1992/Similar-World-News-Articles
426aef1d6d9566e66ad634bc8468d554d887551c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import time import sys import math #HOMEMADE WITHOUT ONLINE CODE by Aris #LIENCE BY ARIS
29.092593
84
0.57352
90b7ba0980ae3d667866aa6f68a2acda5b4f0621
1,895
py
Python
src/vtra/plot/rail_network_map.py
GFDRR/vietnam-transport
71f6fc8cb7f1ca7bccb9a29d544869b442e68bfc
[ "MIT" ]
3
2018-07-09T12:15:46.000Z
2020-12-03T07:02:23.000Z
src/vtra/plot/rail_network_map.py
GFDRR/vietnam-transport
71f6fc8cb7f1ca7bccb9a29d544869b442e68bfc
[ "MIT" ]
1
2019-05-09T21:57:20.000Z
2019-05-09T21:57:20.000Z
src/vtra/plot/rail_network_map.py
GFDRR/vietnam-transport
71f6fc8cb7f1ca7bccb9a29d544869b442e68bfc
[ "MIT" ]
2
2018-07-23T12:49:21.000Z
2021-06-03T11:00:44.000Z
"""Rail network map """ import os import sys from collections import OrderedDict import cartopy.crs as ccrs import cartopy.io.shapereader as shpreader import matplotlib.pyplot as plt from vtra.utils import * if __name__ == '__main__': main()
28.712121
77
0.604749
90b801d343545a11009f0b5ecc8dd2af2c9f92ca
3,189
py
Python
ecommerce_project/apps/ecommerce/migrations/0001_initial.py
mlopezf2019/guadalupe_sowos_examen_3
813f960f2428ac5d753a02888134ac3992e9018e
[ "MIT" ]
null
null
null
ecommerce_project/apps/ecommerce/migrations/0001_initial.py
mlopezf2019/guadalupe_sowos_examen_3
813f960f2428ac5d753a02888134ac3992e9018e
[ "MIT" ]
null
null
null
ecommerce_project/apps/ecommerce/migrations/0001_initial.py
mlopezf2019/guadalupe_sowos_examen_3
813f960f2428ac5d753a02888134ac3992e9018e
[ "MIT" ]
null
null
null
# Generated by Django 3.1.1 on 2020-09-27 20:02 from django.db import migrations, models import django.db.models.deletion
41.415584
123
0.54688
90b9151bc28db99fb5989633cea86f3faad362ff
4,471
py
Python
pydl/pydlspec2d/tests/test_spec1d.py
jhennawi/pydl
3926aab6fd57c27e13d571156077de41343881c1
[ "BSD-3-Clause" ]
null
null
null
pydl/pydlspec2d/tests/test_spec1d.py
jhennawi/pydl
3926aab6fd57c27e13d571156077de41343881c1
[ "BSD-3-Clause" ]
null
null
null
pydl/pydlspec2d/tests/test_spec1d.py
jhennawi/pydl
3926aab6fd57c27e13d571156077de41343881c1
[ "BSD-3-Clause" ]
null
null
null
# Licensed under a 3-clause BSD style license - see LICENSE.rst # -*- coding: utf-8 -*- import numpy as np import os from astropy.tests.helper import raises from astropy.utils.data import get_pkg_data_filename from .. import Pydlspec2dException from ..spec1d import (HMF, findspec, spec_append, spec_path, template_metad...
38.543103
79
0.47193
90b979db4f0ee9199884997c5ba3cb24bb11e60e
7,800
py
Python
final/good_evaluate.py
wuyuMk7/CSCI8980
9cceffcac7975ee158655f3953e27b502fc383ea
[ "MIT" ]
null
null
null
final/good_evaluate.py
wuyuMk7/CSCI8980
9cceffcac7975ee158655f3953e27b502fc383ea
[ "MIT" ]
null
null
null
final/good_evaluate.py
wuyuMk7/CSCI8980
9cceffcac7975ee158655f3953e27b502fc383ea
[ "MIT" ]
null
null
null
from __future__ import absolute_import from __future__ import division from __future__ import print_function import sys import os from absl import flags import numpy as np import skimage.io as io import cv2 import matplotlib.pyplot as plt # import tensorflow as tf # from psbody.mesh import Mesh from smpl_webuser.seria...
34.513274
145
0.680385
90b9c9ce2f3208b12b35d5e78f9d7d9be8454378
92
py
Python
quick-scan.py
B3ND1X/py-air-script
d6756cc2b5ec2a7e7950b13b09c78c776488fd6e
[ "Apache-2.0" ]
2
2021-11-19T10:40:07.000Z
2022-02-28T16:39:49.000Z
quick-scan.py
B3ND1X/py-air-script
d6756cc2b5ec2a7e7950b13b09c78c776488fd6e
[ "Apache-2.0" ]
null
null
null
quick-scan.py
B3ND1X/py-air-script
d6756cc2b5ec2a7e7950b13b09c78c776488fd6e
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python import os os.system("sudo ./scan.py") os.system("sudo ./enable-wifi.py")
15.333333
34
0.673913
90b9ca60618e207e4f11df9555b71806b45d69af
1,538
py
Python
src/classifier/classifier_tuning/tune_sklearn.py
krangelie/bias-in-german-nlg
9fbaf50fde7d41d64692ae90c41beae61bc78d44
[ "MIT" ]
14
2021-08-24T12:36:37.000Z
2022-03-18T12:14:36.000Z
src/classifier/classifier_tuning/tune_sklearn.py
krangelie/bias-in-german-nlg
9fbaf50fde7d41d64692ae90c41beae61bc78d44
[ "MIT" ]
null
null
null
src/classifier/classifier_tuning/tune_sklearn.py
krangelie/bias-in-german-nlg
9fbaf50fde7d41d64692ae90c41beae61bc78d44
[ "MIT" ]
1
2021-10-21T20:22:55.000Z
2021-10-21T20:22:55.000Z
from sklearn.ensemble import RandomForestClassifier import xgboost
27.963636
71
0.683355
90ba1f62b3ac0c6dc5b223b48142b7f90d52dc27
4,958
py
Python
textgenrnn/model.py
cosandr/textgenrnn
b2140c1a5704e866ff934fbfad4e14f3c827d439
[ "MIT" ]
null
null
null
textgenrnn/model.py
cosandr/textgenrnn
b2140c1a5704e866ff934fbfad4e14f3c827d439
[ "MIT" ]
null
null
null
textgenrnn/model.py
cosandr/textgenrnn
b2140c1a5704e866ff934fbfad4e14f3c827d439
[ "MIT" ]
null
null
null
from keras.optimizers import RMSprop from keras.layers import Input, Embedding, Dense, LSTM, Bidirectional, GRU from keras.layers import concatenate, Reshape, SpatialDropout1D from keras.models import Model from keras import backend as K from .AttentionWeightedAverage import AttentionWeightedAverage def textgenrnn_mo...
40.308943
103
0.583905
90bbeed86ea6726d8cf4682e4d77c05a1d88ab5a
121,331
py
Python
tests/adapters/switches/brocade_test.py
FrancoisLopez/netman
a40d3235f7ea0cdaf52daab97b0d5ad20857b00e
[ "Apache-2.0" ]
38
2015-11-30T10:11:42.000Z
2022-02-10T18:31:44.000Z
tests/adapters/switches/brocade_test.py
FrancoisLopez/netman
a40d3235f7ea0cdaf52daab97b0d5ad20857b00e
[ "Apache-2.0" ]
143
2015-12-10T19:00:42.000Z
2020-08-20T13:51:42.000Z
tests/adapters/switches/brocade_test.py
FrancoisLopez/netman
a40d3235f7ea0cdaf52daab97b0d5ad20857b00e
[ "Apache-2.0" ]
15
2015-12-14T23:03:30.000Z
2019-01-15T19:35:45.000Z
# Copyright 2015 Internap. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, so...
52.365559
170
0.645779
90bd59aae81c9889080df91dbd28e4a9b304ffd9
1,384
py
Python
eahub/base/models.py
walambert/eahub.org
21b6111b2626e4739c249d0881d16fbc818094cb
[ "MIT" ]
36
2019-02-22T23:07:14.000Z
2022-02-10T13:24:27.000Z
eahub/base/models.py
walambert/eahub.org
21b6111b2626e4739c249d0881d16fbc818094cb
[ "MIT" ]
717
2019-02-21T22:07:55.000Z
2022-02-26T15:17:49.000Z
eahub/base/models.py
walambert/eahub.org
21b6111b2626e4739c249d0881d16fbc818094cb
[ "MIT" ]
19
2019-04-14T14:37:56.000Z
2022-02-14T22:05:16.000Z
import uuid from authtools import models as authtools_models from django.core.validators import URLValidator from django.db import models from django.utils import timezone from solo.models import SingletonModel
28.833333
85
0.710983
90bee561f7ee7014b2253c39a50c061487d0ec34
2,106
py
Python
scripts/math/generate_matrix_test.py
chr15murray/ledger
85be05221f19598de8c6c58652139a1f2d9e362f
[ "Apache-2.0" ]
96
2018-08-23T16:49:05.000Z
2021-11-25T00:47:16.000Z
scripts/math/generate_matrix_test.py
chr15murray/ledger
85be05221f19598de8c6c58652139a1f2d9e362f
[ "Apache-2.0" ]
1,011
2018-08-17T12:25:21.000Z
2021-11-18T09:30:19.000Z
scripts/math/generate_matrix_test.py
chr15murray/ledger
85be05221f19598de8c6c58652139a1f2d9e362f
[ "Apache-2.0" ]
65
2018-08-20T20:05:40.000Z
2022-02-26T23:54:35.000Z
import numpy as np types = ["int", "float", "double"] rngs = {"int": randi, "float": np.random.randn, "double": np.random.randn} embodiments = { "function": "R.%s(A,B).AllClose(C)", "op": "(A %s B).AllClose(C)", "inline_op": "(R = A, R %s B).AllClose(C)", "inline_function": "( R = A, R.%s(B) ).AllCl...
25.071429
85
0.417854
90c01fddb271dd8ab9c578d5f65f7244cd0b0416
2,824
py
Python
Lab 2/utils/inference_utils.py
davedecoder/aws-deepcomposer-samples
34f94a04436dc3fa0ded8c353e0f3260f1b3305e
[ "MIT-0" ]
6
2021-10-11T12:39:01.000Z
2022-03-27T16:01:41.000Z
notebooks/AWS DeepComposer/reinvent-labs/lab-2/utils/inference_utils.py
jesussantana/AWS-Machine-Learning-Foundations
526eddb486fe8398cafcc30184c4ecce49df5816
[ "MIT" ]
null
null
null
notebooks/AWS DeepComposer/reinvent-labs/lab-2/utils/inference_utils.py
jesussantana/AWS-Machine-Learning-Foundations
526eddb486fe8398cafcc30184c4ecce49df5816
[ "MIT" ]
5
2020-05-16T13:06:52.000Z
2020-11-14T11:56:26.000Z
# Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. # Permission is hereby granted, free of charge, to any person obtaining a copy of # this software and associated documentation files (the "Software"), to deal in # the Software without restriction, including without limitation the rights to # us...
46.295082
127
0.725921
90c06ceec71cc460139a2abcafcd42b40b0a56a8
315
py
Python
python/aisdk/player_movement.py
THUAI-Team/thuai2022-aisdk
84d3239f3edd13cd9ffd9ad61c12890f393d8b88
[ "MIT" ]
null
null
null
python/aisdk/player_movement.py
THUAI-Team/thuai2022-aisdk
84d3239f3edd13cd9ffd9ad61c12890f393d8b88
[ "MIT" ]
null
null
null
python/aisdk/player_movement.py
THUAI-Team/thuai2022-aisdk
84d3239f3edd13cd9ffd9ad61c12890f393d8b88
[ "MIT" ]
null
null
null
from enum import Enum from sys import stderr
22.5
44
0.714286
90c0801975d3d3c99714cb7e0cfc32ffb8ce7205
251
py
Python
diagnosticApp/admin.py
LASI-UFPI/diagnostic-imaging
7afd732dd76fe92bf6a2eba48e69fa4102a978cc
[ "MIT" ]
null
null
null
diagnosticApp/admin.py
LASI-UFPI/diagnostic-imaging
7afd732dd76fe92bf6a2eba48e69fa4102a978cc
[ "MIT" ]
10
2021-04-04T19:07:41.000Z
2022-03-12T00:54:50.000Z
diagnosticApp/admin.py
LASI-UFPI/diagnostic-imaging
7afd732dd76fe92bf6a2eba48e69fa4102a978cc
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Image
35.857143
131
0.776892