hexsha
stringlengths
40
40
size
int64
1
1.03M
ext
stringclasses
10 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
3
239
max_stars_repo_name
stringlengths
5
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
239
max_issues_repo_name
stringlengths
5
130
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
10
max_issues_count
int64
1
67k
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
239
max_forks_repo_name
stringlengths
5
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.03M
avg_line_length
float64
1
958k
max_line_length
int64
1
1.03M
alphanum_fraction
float64
0
1
79429776ed9e3e859666dd5c433b183534f5b0ab
5,821
py
Python
convert.py
tonyngjichun/pspnet-pytorch
75297aa4fdb4f7a712ef9185be1ec805044f8328
[ "MIT" ]
56
2017-12-07T12:29:14.000Z
2021-05-14T16:45:59.000Z
convert.py
tonyngjichun/pspnet-pytorch
75297aa4fdb4f7a712ef9185be1ec805044f8328
[ "MIT" ]
7
2017-12-26T09:00:23.000Z
2019-01-14T03:55:56.000Z
convert.py
tonyngjichun/pspnet-pytorch
75297aa4fdb4f7a712ef9185be1ec805044f8328
[ "MIT" ]
16
2017-12-20T00:36:51.000Z
2020-12-31T07:41:06.000Z
#!/usr/bin/env python # coding: utf-8 # # Author: Kazuto Nakashima # URL: http://kazuto1011.github.io # Created: 2017-11-15 from __future__ import print_function import re from collections import OrderedDict import click import numpy as np import torch import yaml from addict import Dict from libs import ca...
34.241176
86
0.552482
7942980b6aa13cebcca6b812f2901652441fa6ae
6,483
py
Python
models/train_classifier.py
jeena72/disaster-response-pipeline
4621425a29e7fa2f162c725555787b6fc24f8010
[ "MIT" ]
null
null
null
models/train_classifier.py
jeena72/disaster-response-pipeline
4621425a29e7fa2f162c725555787b6fc24f8010
[ "MIT" ]
null
null
null
models/train_classifier.py
jeena72/disaster-response-pipeline
4621425a29e7fa2f162c725555787b6fc24f8010
[ "MIT" ]
null
null
null
import sys import pandas as pd import numpy as np import nltk from joblib import dump from sqlalchemy import create_engine from nltk.tokenize import word_tokenize from nltk.stem import WordNetLemmatizer from sklearn.feature_extraction.text import TfidfVectorizer, CountVectorizer from sklearn.base import BaseEstimator...
30.294393
111
0.629647
7942981bb8ea05ce9d378f0ba901a8042a2ac6ee
140
py
Python
rdr_service/lib_fhir/fhirclient_1_0_6/__init__.py
all-of-us/raw-data-repository
d28ad957557587b03ff9c63d55dd55e0508f91d8
[ "BSD-3-Clause" ]
39
2017-10-13T19:16:27.000Z
2021-09-24T16:58:21.000Z
rdr_service/lib_fhir/fhirclient_3_0_0/__init__.py
all-of-us/raw-data-repository
d28ad957557587b03ff9c63d55dd55e0508f91d8
[ "BSD-3-Clause" ]
312
2017-09-08T15:42:13.000Z
2022-03-23T18:21:40.000Z
rdr_service/lib_fhir/fhirclient_3_0_0/__init__.py
all-of-us/raw-data-repository
d28ad957557587b03ff9c63d55dd55e0508f91d8
[ "BSD-3-Clause" ]
19
2017-09-15T13:58:00.000Z
2022-02-07T18:33:20.000Z
import os.path import sys abspath = os.path.abspath(os.path.dirname(__file__)) if abspath not in sys.path: sys.path.insert(0, abspath)
20
52
0.742857
79429855c3dfba52bc80a82e0494dfde0e7d082f
5,047
py
Python
tests/test_images_color.py
JParzival/mediafier
f5da82b6bdda4bb41638860cd133aeb332329db1
[ "MIT" ]
3
2021-06-02T16:15:26.000Z
2021-06-06T22:07:05.000Z
tests/test_images_color.py
JParzival/mediafier
f5da82b6bdda4bb41638860cd133aeb332329db1
[ "MIT" ]
8
2021-06-02T17:08:33.000Z
2021-06-06T16:32:50.000Z
tests/test_images_color.py
JParzival/mediafier
f5da82b6bdda4bb41638860cd133aeb332329db1
[ "MIT" ]
null
null
null
import cv2 import os from numpy.core.defchararray import find from mediafier.image.color import modifyContrast, modifyBrightness, changeBGRColorspace, findMostCommonColor SRC_IMG_DIR = os.path.join('test_media', 'imgs_src_test') SAVE_IMG_DIR = os.path.join('test_media', 'imgs_result_test', 'color') if not os.path.e...
25.109453
156
0.490192
794298f90cedfe1848447994a942ea23ee2dc33d
116
py
Python
signalpings/urls.py
soratidus999/allianceauth-signal-pings
127d301f9511171eeef7822bb7f3cc38c0d13d56
[ "MIT" ]
1
2020-09-19T11:59:33.000Z
2020-09-19T11:59:33.000Z
signalpings/urls.py
soratidus999/allianceauth-signal-pings
127d301f9511171eeef7822bb7f3cc38c0d13d56
[ "MIT" ]
12
2020-07-14T11:16:07.000Z
2021-06-15T08:04:43.000Z
signalpings/urls.py
soratidus999/allianceauth-signal-pings
127d301f9511171eeef7822bb7f3cc38c0d13d56
[ "MIT" ]
3
2020-09-19T11:59:42.000Z
2021-08-12T04:27:59.000Z
from django.urls import path from . import views app_name = 'signalpings' urlpatterns = [ ] # no urls admmin app
11.6
28
0.724138
79429a1e3518d5017b81045b3f3039784e2efe17
3,717
py
Python
ncclient/operations/retrieve.py
MrRagga-/ncclient
d7baa5c4df3119356c6ca239701c4c67c00bc533
[ "Apache-2.0" ]
1
2021-07-22T16:21:42.000Z
2021-07-22T16:21:42.000Z
ncclient/operations/retrieve.py
MrRagga-/ncclient
d7baa5c4df3119356c6ca239701c4c67c00bc533
[ "Apache-2.0" ]
null
null
null
ncclient/operations/retrieve.py
MrRagga-/ncclient
d7baa5c4df3119356c6ca239701c4c67c00bc533
[ "Apache-2.0" ]
null
null
null
# Copyright 2009 Shikhar Bhushan # # 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 writin...
29.039063
129
0.652677
79429b0ba7e1cef55e3c24d6b0ac0bb04ab52c35
55
py
Python
syncio/__init__.py
davidbrochart/syncio
6d7451ce83186ff3d1b28bd22bfb6374938858fe
[ "MIT" ]
5
2021-10-18T08:15:24.000Z
2021-11-02T06:28:33.000Z
syncio/__init__.py
davidbrochart/syncio
6d7451ce83186ff3d1b28bd22bfb6374938858fe
[ "MIT" ]
null
null
null
syncio/__init__.py
davidbrochart/syncio
6d7451ce83186ff3d1b28bd22bfb6374938858fe
[ "MIT" ]
null
null
null
from .syncio import sync, sleep __version__ = "0.0.1"
13.75
31
0.709091
79429b3f555f9e204edc0947a8326dcf00a01f90
1,920
py
Python
google/cloud/aiplatform_v1beta1/types/lineage_subgraph.py
TheMichaelHu/python-aiplatform
e03f373a7e44c354eda88875a41c771f6d7e3ce1
[ "Apache-2.0" ]
null
null
null
google/cloud/aiplatform_v1beta1/types/lineage_subgraph.py
TheMichaelHu/python-aiplatform
e03f373a7e44c354eda88875a41c771f6d7e3ce1
[ "Apache-2.0" ]
null
null
null
google/cloud/aiplatform_v1beta1/types/lineage_subgraph.py
TheMichaelHu/python-aiplatform
e03f373a7e44c354eda88875a41c771f6d7e3ce1
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2022 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...
30.47619
79
0.702083
79429b50d41e76c2e1909a244980ca0b9f70b48c
9,099
py
Python
pirates/leveleditor/worldData/SwampAreaA.py
itsyaboyrocket/pirates
6ca1e7d571c670b0d976f65e608235707b5737e3
[ "BSD-3-Clause" ]
3
2021-02-25T06:38:13.000Z
2022-03-22T07:00:15.000Z
pirates/leveleditor/worldData/SwampAreaA.py
itsyaboyrocket/pirates
6ca1e7d571c670b0d976f65e608235707b5737e3
[ "BSD-3-Clause" ]
null
null
null
pirates/leveleditor/worldData/SwampAreaA.py
itsyaboyrocket/pirates
6ca1e7d571c670b0d976f65e608235707b5737e3
[ "BSD-3-Clause" ]
1
2021-02-25T06:38:17.000Z
2021-02-25T06:38:17.000Z
# uncompyle6 version 3.2.0 # Python bytecode 2.4 (62061) # Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)] # Embedded file name: pirates.leveleditor.worldData.SwampAreaA from pandac.PandaModules import Point3, VBase3 objectStruct = {'Objects': {'1152910301.05sdnaik...
1,516.5
8,827
0.652379
79429bcf1aeb56c9202ee557e67cec98109fd3cd
4,135
py
Python
paramak/parametric_components/poloidal_field_coil_case_fc.py
generein/paramak
cec738b278c285a17eaa69fc1f35ea4788204a8c
[ "MIT" ]
null
null
null
paramak/parametric_components/poloidal_field_coil_case_fc.py
generein/paramak
cec738b278c285a17eaa69fc1f35ea4788204a8c
[ "MIT" ]
null
null
null
paramak/parametric_components/poloidal_field_coil_case_fc.py
generein/paramak
cec738b278c285a17eaa69fc1f35ea4788204a8c
[ "MIT" ]
null
null
null
from typing import Optional, Tuple from paramak import RotateStraightShape class PoloidalFieldCoilCaseFC(RotateStraightShape): """Creates a casing for a rectangular poloidal field coil by building around an existing coil (which is passed as an argument on construction). Args: pf_coil (paramak.Po...
32.304688
83
0.561548
79429c3689c82a9d8ee2371c5c13aebcc653abca
147
py
Python
gitogether/__init__.py
nklapste/gitogether
9190ea4a1a32e62f985b3694d3a1b949f1fb819c
[ "MIT" ]
null
null
null
gitogether/__init__.py
nklapste/gitogether
9190ea4a1a32e62f985b3694d3a1b949f1fb819c
[ "MIT" ]
null
null
null
gitogether/__init__.py
nklapste/gitogether
9190ea4a1a32e62f985b3694d3a1b949f1fb819c
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- """gitogether Scripts: + :mod:`.__main__` - argparse entry point Module: """ __version__ = (0, 0, 0)
12.25
42
0.598639
79429c5fe9d35872f7b7dcd813152048010a21ef
821
py
Python
lib/taniumpy/object_types/cache_info.py
c1rdan/pytan
5e537a6dcf4136e3b9c3905a39f073396e7f044f
[ "MIT" ]
1
2019-01-29T21:22:06.000Z
2019-01-29T21:22:06.000Z
lib/taniumpy/object_types/cache_info.py
c1rdan/pytan
5e537a6dcf4136e3b9c3905a39f073396e7f044f
[ "MIT" ]
null
null
null
lib/taniumpy/object_types/cache_info.py
c1rdan/pytan
5e537a6dcf4136e3b9c3905a39f073396e7f044f
[ "MIT" ]
null
null
null
# Copyright (c) 2015 Tanium Inc # # Generated from console.wsdl version 0.0.1 # # from .base import BaseType class CacheInfo(BaseType): _soap_tag = 'cache_info' def __init__(self): BaseType.__init__( self, simple_properties={'cache_id': int, 'pa...
22.805556
53
0.545676
79429e32af6661df8b341c63293326f69baab703
1,089
py
Python
loss_fn/detection_loss_fns/__init__.py
KelOdgSmile/ml-cvnets
503ec3b4ec187cfa0ed451d0f61de22f669b0081
[ "AML" ]
1
2021-12-20T09:25:18.000Z
2021-12-20T09:25:18.000Z
loss_fn/detection_loss_fns/__init__.py
footh/ml-cvnets
d9064fe7e7a2d6a7a9817df936432856a0500a25
[ "AML" ]
null
null
null
loss_fn/detection_loss_fns/__init__.py
footh/ml-cvnets
d9064fe7e7a2d6a7a9817df936432856a0500a25
[ "AML" ]
null
null
null
# # For licensing see accompanying LICENSE file. # Copyright (C) 2020 Apple Inc. All Rights Reserved. # import importlib import os SUPPORTED_DETECTION_LOSS_FNS = [] def register_detection_loss_fn(name): def register_fn(fn): if name in SUPPORTED_DETECTION_LOSS_FNS: raise ValueError("Cannot re...
31.114286
99
0.706152
79429e5d78d7585785060aee96bc86d8d5629e84
8,606
py
Python
util/DataBank.py
F-Stuckmann/PATARA
26b5c821e356e33e949817a1475ef38e75880a03
[ "MIT" ]
2
2021-11-04T06:48:45.000Z
2022-01-19T16:25:20.000Z
util/DataBank.py
F-Stuckmann/PATARA
26b5c821e356e33e949817a1475ef38e75880a03
[ "MIT" ]
1
2021-05-05T09:05:22.000Z
2021-05-05T09:05:22.000Z
util/DataBank.py
F-Stuckmann/PATARA
26b5c821e356e33e949817a1475ef38e75880a03
[ "MIT" ]
2
2021-05-05T08:42:57.000Z
2021-11-04T06:48:49.000Z
import copy import csv import os, glob from typing import List import xmltodict import Constants from Constants import * from util.Instruction import Instruction from util.Processor import Processor from util.TestInstruction import TestInstruction class DataBank: class __Databank: def __init__(self): ...
38.591928
152
0.570067
7942a064c81545418fd8a287ae3d24160109fc05
127
py
Python
dosirak/middleware.py
drexly/tonginBlobStore
28d355b63184ad168a1467bef8a58a1a871289d2
[ "BSD-3-Clause" ]
null
null
null
dosirak/middleware.py
drexly/tonginBlobStore
28d355b63184ad168a1467bef8a58a1a871289d2
[ "BSD-3-Clause" ]
null
null
null
dosirak/middleware.py
drexly/tonginBlobStore
28d355b63184ad168a1467bef8a58a1a871289d2
[ "BSD-3-Clause" ]
1
2020-11-04T08:42:35.000Z
2020-11-04T08:42:35.000Z
class DisableCSRF(object): def process_request(self, request): setattr(request, '_dont_enforce_csrf_checks', True)
31.75
59
0.740157
7942a0b03b0b209a6077449fa4a20bf50a99c166
1,664
py
Python
test/knn_test.py
haomingdouranggouqil/cuml
4fbbc2bcf381f57333be99fa8490eccb3168b641
[ "MIT" ]
null
null
null
test/knn_test.py
haomingdouranggouqil/cuml
4fbbc2bcf381f57333be99fa8490eccb3168b641
[ "MIT" ]
null
null
null
test/knn_test.py
haomingdouranggouqil/cuml
4fbbc2bcf381f57333be99fa8490eccb3168b641
[ "MIT" ]
null
null
null
from mlcu.ml.KNN import * from sklearn import datasets #datasets模块 from sklearn.model_selection import train_test_split #分离训练集和测试集数据 from sklearn.neighbors import KNeighborsClassifier #k近邻分类器模块 from sklearn.neighbors import KNeighborsRegressor import time if __name__ == '__main__': #测试数据 train_data = ...
25.6
85
0.623197
7942a0fc718c326f0ea186fd6b41a7110909afca
9,087
py
Python
records_mover/db/driver.py
cwegrzyn/records-mover
e3b71d6c09d99d0bcd6a956b9d09d20f8abe98d2
[ "Apache-2.0" ]
36
2020-03-17T11:56:51.000Z
2022-01-19T16:03:32.000Z
records_mover/db/driver.py
cwegrzyn/records-mover
e3b71d6c09d99d0bcd6a956b9d09d20f8abe98d2
[ "Apache-2.0" ]
60
2020-03-02T23:13:29.000Z
2021-05-19T15:05:42.000Z
records_mover/db/driver.py
cwegrzyn/records-mover
e3b71d6c09d99d0bcd6a956b9d09d20f8abe98d2
[ "Apache-2.0" ]
4
2020-08-11T13:17:37.000Z
2021-11-05T21:11:52.000Z
from sqlalchemy.schema import CreateTable from ..records.records_format import BaseRecordsFormat from .loader import LoaderFromFileobj, LoaderFromRecordsDirectory from .unloader import Unloader import logging import sqlalchemy from sqlalchemy import MetaData from sqlalchemy.schema import Table from records_mover.db.quo...
44.11165
175
0.617586
7942a1cbefdf6550f59be223ea7864d115e4f3df
2,989
py
Python
find_all_sites.py
Pudit/FarewellSI126
91e92d869a6930797e8b05ab9a6920af901cde62
[ "MIT" ]
null
null
null
find_all_sites.py
Pudit/FarewellSI126
91e92d869a6930797e8b05ab9a6920af901cde62
[ "MIT" ]
null
null
null
find_all_sites.py
Pudit/FarewellSI126
91e92d869a6930797e8b05ab9a6920af901cde62
[ "MIT" ]
null
null
null
#import libraries from bs4 import BeautifulSoup from urllib.request import urlopen import urllib.error import pandas as pd #define func to find subfolder def find_folder(student_id: int): if student_id < 1 : return None elif student_id <= 50 : return "001-050" elif student_id <= 100 : ...
24.104839
94
0.653061
7942a1e66c4f7555505395cbeac8d199485809d6
1,831
py
Python
setup.py
thehomebrewnerd/featuretools
c704cea13e7ed5332712b053e80de360d54f1429
[ "BSD-3-Clause" ]
1
2019-05-31T04:40:03.000Z
2019-05-31T04:40:03.000Z
setup.py
BillyOtieno/featuretools
5a7e09edf02b463ad903c6d8c40daa86f208c0c0
[ "BSD-3-Clause" ]
null
null
null
setup.py
BillyOtieno/featuretools
5a7e09edf02b463ad903c6d8c40daa86f208c0c0
[ "BSD-3-Clause" ]
null
null
null
from os import path from setuptools import find_packages, setup from setuptools.command.build_ext import build_ext as _build_ext dirname = path.abspath(path.dirname(__file__)) with open(path.join(dirname, 'README.md')) as f: long_description = f.read() # Bootstrap numpy install class build_ext(_build_ext): ...
32.696429
71
0.676679
7942a26f6981b6ae3ec7be71fb36e552b3d4122c
9,546
py
Python
Packs/Whois/Integrations/Whois/Whois_test.py
diCagri/content
c532c50b213e6dddb8ae6a378d6d09198e08fc9f
[ "MIT" ]
null
null
null
Packs/Whois/Integrations/Whois/Whois_test.py
diCagri/content
c532c50b213e6dddb8ae6a378d6d09198e08fc9f
[ "MIT" ]
null
null
null
Packs/Whois/Integrations/Whois/Whois_test.py
diCagri/content
c532c50b213e6dddb8ae6a378d6d09198e08fc9f
[ "MIT" ]
null
null
null
import datetime import Whois import demistomock as demisto import pytest import subprocess import time import tempfile import sys from CommonServerPython import DBotScoreReliability import json INTEGRATION_NAME = 'Whois' @pytest.fixture(autouse=True) def handle_calling_context(mocker): mocker.patch.object(dem...
39.122951
120
0.621726
7942a3d5b03bf5233ad4110585a526bf6162ad3f
30,632
py
Python
tests/plugins/test_resolve_remote_source.py
chmeliik/atomic-reactor
ca5a804dcb0aecf8b6bc0c8b16a84ac6847b4d15
[ "BSD-3-Clause" ]
null
null
null
tests/plugins/test_resolve_remote_source.py
chmeliik/atomic-reactor
ca5a804dcb0aecf8b6bc0c8b16a84ac6847b4d15
[ "BSD-3-Clause" ]
16
2021-12-07T09:12:31.000Z
2022-03-30T07:24:04.000Z
tests/plugins/test_resolve_remote_source.py
chmeliik/atomic-reactor
ca5a804dcb0aecf8b6bc0c8b16a84ac6847b4d15
[ "BSD-3-Clause" ]
null
null
null
""" Copyright (c) 2019-2022 Red Hat, Inc All rights reserved. This software may be modified and distributed under the terms of the BSD license. See the LICENSE file for details. """ import base64 import io import sys import tarfile from pathlib import Path from textwrap import dedent from typing import Callable, Dict...
31.775934
99
0.614488
7942a48d10c6b50997b0302eb21dfad6d431e0aa
16,351
py
Python
train_mask_rcnn.py
maktu6/garment_segmentation
8a010fa1087ba6d0c9e77299ab13a9266750d0c1
[ "MIT" ]
2
2019-12-20T07:36:16.000Z
2020-12-31T23:40:05.000Z
train_mask_rcnn.py
maktu6/garment_segmentation
8a010fa1087ba6d0c9e77299ab13a9266750d0c1
[ "MIT" ]
null
null
null
train_mask_rcnn.py
maktu6/garment_segmentation
8a010fa1087ba6d0c9e77299ab13a9266750d0c1
[ "MIT" ]
null
null
null
"""Train Mask RCNN end to end.""" import os # disable autotune os.environ['MXNET_CUDNN_AUTOTUNE_DEFAULT'] = '0' import logging import time import numpy as np import cv2 import mxnet as mx from mxnet import gluon from mxnet import autograd import gluoncv as gcv from gluoncv import data as gdata from gluoncv import util...
48.37574
108
0.596844
7942a52862dc5a42e9c877e4070213a3bcbafebe
16
py
Python
factory-ai-vision/EdgeSolution/modules/WebModule/backend/vision_on_edge/cameras/tests/conftest.py
kaka-lin/azure-intelligent-edge-patterns
766833c7c25d2458cec697937be288202d1763bc
[ "MIT" ]
176
2019-07-03T00:20:15.000Z
2022-03-14T07:51:22.000Z
factory-ai-vision/EdgeSolution/modules/WebModule/backend/vision_on_edge/cameras/tests/conftest.py
kaka-lin/azure-intelligent-edge-patterns
766833c7c25d2458cec697937be288202d1763bc
[ "MIT" ]
121
2019-06-24T20:47:27.000Z
2022-03-28T02:16:18.000Z
factory-ai-vision/EdgeSolution/modules/WebModule/backend/vision_on_edge/cameras/tests/conftest.py
kaka-lin/azure-intelligent-edge-patterns
766833c7c25d2458cec697937be288202d1763bc
[ "MIT" ]
144
2019-06-18T18:48:43.000Z
2022-03-31T12:14:46.000Z
"""Conftest """
5.333333
11
0.5
7942a5bec2d9dd4850f3e16fdab852582f538c65
8,271
py
Python
28_train_cars_new_rotation_labels_rotation_norm.py
Florian-Barthel/stylegan2
4ef87038bf9370596cf2b729e1d1a1bc3ebcddd8
[ "BSD-Source-Code" ]
null
null
null
28_train_cars_new_rotation_labels_rotation_norm.py
Florian-Barthel/stylegan2
4ef87038bf9370596cf2b729e1d1a1bc3ebcddd8
[ "BSD-Source-Code" ]
null
null
null
28_train_cars_new_rotation_labels_rotation_norm.py
Florian-Barthel/stylegan2
4ef87038bf9370596cf2b729e1d1a1bc3ebcddd8
[ "BSD-Source-Code" ]
null
null
null
# Copyright (c) 2019, NVIDIA Corporation. All rights reserved. # # This work is made available under the Nvidia Source Code License-NC. # To view a copy of this license, visit # https://nvlabs.github.io/stylegan2/license.html import argparse import copy import sys import os import dnnlib from dnnlib import EasyDict...
40.743842
163
0.637891
7942a6b51f2c12124eae3aac1c29bba63d4ae55d
2,614
py
Python
darts/tests/test_filters.py
muliliao/darts
2b5f5c3aa81c6962f4d0d2ba5f280d42f5dc5eb0
[ "Apache-2.0" ]
null
null
null
darts/tests/test_filters.py
muliliao/darts
2b5f5c3aa81c6962f4d0d2ba5f280d42f5dc5eb0
[ "Apache-2.0" ]
null
null
null
darts/tests/test_filters.py
muliliao/darts
2b5f5c3aa81c6962f4d0d2ba5f280d42f5dc5eb0
[ "Apache-2.0" ]
null
null
null
import numpy as np import pandas as pd from .base_test_class import DartsBaseTestClass from ..models.kalman_filter import KalmanFilter from ..models.filtering_model import MovingAverage from ..timeseries import TimeSeries from ..utils import timeseries_generation as tg class KalmanFilterTestCase(DartsBaseTestClass):...
37.884058
107
0.706197
7942a72b97f8b1a9efa46c1cffd28b3ce7d2852c
481
py
Python
functions/filterForTarget.py
JRJurman/persistent-number-generator
4f531e88c94ae9ea1c6aa241e3ae9086c48fd80d
[ "MIT" ]
1
2019-04-10T04:07:50.000Z
2019-04-10T04:07:50.000Z
functions/filterForTarget.py
JRJurman/persistent-number-generator
4f531e88c94ae9ea1c6aa241e3ae9086c48fd80d
[ "MIT" ]
1
2019-04-10T04:09:43.000Z
2019-04-12T01:46:18.000Z
functions/filterForTarget.py
JRJurman/persistent-number-generator
4f531e88c94ae9ea1c6aa241e3ae9086c48fd80d
[ "MIT" ]
null
null
null
import numpy as np from functions.multiplyDigits import multiplyDigits def filterForTarget(listOfNumbers, target, base = 10): """ given a list of numbers, find which numbers multiply to get our number Example: ([20, 21, 22, 23, 24, 25, 26, 27, 28, 29], 8) -> [24] Parameters: listOfNumbers: nDim integ...
24.05
72
0.698545
7942a75029a14023e1c3082afa6492759dbd4e3b
11,523
py
Python
third_party/buildbot_8_4p1/buildbot/manhole.py
bopopescu/build
4e95fd33456e552bfaf7d94f7d04b19273d1c534
[ "BSD-3-Clause" ]
null
null
null
third_party/buildbot_8_4p1/buildbot/manhole.py
bopopescu/build
4e95fd33456e552bfaf7d94f7d04b19273d1c534
[ "BSD-3-Clause" ]
null
null
null
third_party/buildbot_8_4p1/buildbot/manhole.py
bopopescu/build
4e95fd33456e552bfaf7d94f7d04b19273d1c534
[ "BSD-3-Clause" ]
1
2020-07-23T11:05:06.000Z
2020-07-23T11:05:06.000Z
# This file is part of Buildbot. Buildbot is free software: you can # redistribute it and/or modify it under the terms of the GNU General Public # License as published by the Free Software Foundation, version 2. # # This program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without eve...
37.656863
79
0.644884
7942a8193b318d313a7b184c1634b4f772f19de5
4,520
py
Python
tests/components/modbus/conftest.py
basicpail/core
5cc54618c5af3f75c08314bf2375cc7ac40d2b7e
[ "Apache-2.0" ]
5
2020-12-15T04:09:01.000Z
2022-03-11T21:34:24.000Z
tests/components/modbus/conftest.py
basicpail/core
5cc54618c5af3f75c08314bf2375cc7ac40d2b7e
[ "Apache-2.0" ]
69
2020-08-04T09:03:43.000Z
2022-03-31T06:13:01.000Z
tests/components/modbus/conftest.py
basicpail/core
5cc54618c5af3f75c08314bf2375cc7ac40d2b7e
[ "Apache-2.0" ]
11
2020-12-16T13:48:14.000Z
2022-02-01T00:28:05.000Z
"""The tests for the Modbus sensor component.""" import copy from dataclasses import dataclass from datetime import timedelta import logging from unittest import mock from pymodbus.exceptions import ModbusException import pytest from homeassistant.components.modbus.const import MODBUS_DOMAIN as DOMAIN, TCP from homea...
29.933775
88
0.718805
7942a93999bbaf769278bc5892c43e06d41bd3ba
1,775
py
Python
Medium/275.H-IndexII.py
YuriSpiridonov/LeetCode
2dfcc9c71466ffa2ebc1c89e461ddfca92e2e781
[ "MIT" ]
39
2020-07-04T11:15:13.000Z
2022-02-04T22:33:42.000Z
Medium/275.H-IndexII.py
YuriSpiridonov/LeetCode
2dfcc9c71466ffa2ebc1c89e461ddfca92e2e781
[ "MIT" ]
1
2020-07-15T11:53:37.000Z
2020-07-15T11:53:37.000Z
Medium/275.H-IndexII.py
YuriSpiridonov/LeetCode
2dfcc9c71466ffa2ebc1c89e461ddfca92e2e781
[ "MIT" ]
20
2020-07-14T19:12:53.000Z
2022-03-02T06:28:17.000Z
""" Given an array of citations sorted in ascending order (each citation is a non-negative integer) of a researcher, write a function to compute the researcher's h-index. According to the definition of h-index on Wikipedia: "A scientist has index h if h of his/her N papers have at least h citatio...
38.586957
86
0.635493
7942a9b2c7789bb97d204f50ad37a8cbd782cdc6
163
py
Python
python/helpers/tests/generator3_tests/data/SkeletonGeneration/skeleton_regenerated_for_changed_module/before/cache/9ce58f4a1c/mod.py
tgodzik/intellij-community
f5ef4191fc30b69db945633951fb160c1cfb7b6f
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/helpers/tests/generator3_tests/data/SkeletonGeneration/skeleton_regenerated_for_changed_module/before/cache/9ce58f4a1c/mod.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
2
2022-02-19T09:45:05.000Z
2022-02-27T20:32:55.000Z
python/helpers/tests/generator3_tests/data/SkeletonGeneration/skeleton_regenerated_for_changed_module/before/cache/9ce58f4a1c/mod.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
# encoding: utf-8 # module mod # from mod.py # by generator 1000.0 # no doc # no imports # Variables with simple values version = 1 # no functions # no classes
11.642857
30
0.693252
7942aa477c947ebecd74d0dc87e0b3f4a8d3bd31
7,974
py
Python
meta_pseudo_labels/flag_utils.py
shaun95/google-research
d41bbaca1eb9bfd980ec2b3fd201c3ddb4d1f2e5
[ "Apache-2.0" ]
1
2022-03-13T21:48:52.000Z
2022-03-13T21:48:52.000Z
meta_pseudo_labels/flag_utils.py
shaun95/google-research
d41bbaca1eb9bfd980ec2b3fd201c3ddb4d1f2e5
[ "Apache-2.0" ]
null
null
null
meta_pseudo_labels/flag_utils.py
shaun95/google-research
d41bbaca1eb9bfd980ec2b3fd201c3ddb4d1f2e5
[ "Apache-2.0" ]
1
2022-03-30T07:20:29.000Z
2022-03-30T07:20:29.000Z
# coding=utf-8 # Copyright 2022 The Google Research 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 applicab...
31.027237
79
0.727489
7942aaad0418a90353515e6450eb87ada404f59b
1,000
py
Python
Week4/Tarefa 02/Exercicio_02_Ordenacao_selection_sort.py
WesGtoX/Intro-Computer-Science-with-Python-Part02
9dc53362c32575b63d8d1c06c201bc7a01bc07b6
[ "MIT" ]
null
null
null
Week4/Tarefa 02/Exercicio_02_Ordenacao_selection_sort.py
WesGtoX/Intro-Computer-Science-with-Python-Part02
9dc53362c32575b63d8d1c06c201bc7a01bc07b6
[ "MIT" ]
null
null
null
Week4/Tarefa 02/Exercicio_02_Ordenacao_selection_sort.py
WesGtoX/Intro-Computer-Science-with-Python-Part02
9dc53362c32575b63d8d1c06c201bc7a01bc07b6
[ "MIT" ]
null
null
null
def ordena(lista): tamanho_lista = len(lista) for i in range(tamanho_lista - 1): menor_visto = i for j in range(i + 1, tamanho_lista): if lista[j] < lista[menor_visto]: menor_visto = j lista[i], lista[menor_visto] = lista[menor_visto], lista[i] return lis...
23.255814
67
0.583
7942aac9d2f04b8caf7da238fb64f3f186fe9957
353
py
Python
src/genie/libs/parser/ios/show_config.py
nujo/genieparser
083b01efc46afc32abe1a1858729578beab50cd3
[ "Apache-2.0" ]
204
2018-06-27T00:55:27.000Z
2022-03-06T21:12:18.000Z
src/genie/libs/parser/ios/show_config.py
nujo/genieparser
083b01efc46afc32abe1a1858729578beab50cd3
[ "Apache-2.0" ]
468
2018-06-19T00:33:18.000Z
2022-03-31T23:23:35.000Z
src/genie/libs/parser/ios/show_config.py
nujo/genieparser
083b01efc46afc32abe1a1858729578beab50cd3
[ "Apache-2.0" ]
309
2019-01-16T20:21:07.000Z
2022-03-30T12:56:41.000Z
''' show_config.py IOS parsers for the following show commands: * show configuration lock ''' # import iosxe parser from genie.libs.parser.iosxe.show_config import ShowConfigurationLock as \ ShowConfigurationLock_iosxe class ShowConfigurationLock(ShowConfigurationLock_iosxe): """ Parser for show...
23.533333
74
0.753541
7942ab7e65542cfa4f00c046fb759fae434343f9
3,601
py
Python
venv/lib/python3.6/site-packages/channels/routing.py
AzamatGla/channelChokan
0dbcc8b701d57dcd4c8fe9c0573738c573797c21
[ "MIT" ]
null
null
null
venv/lib/python3.6/site-packages/channels/routing.py
AzamatGla/channelChokan
0dbcc8b701d57dcd4c8fe9c0573738c573797c21
[ "MIT" ]
null
null
null
venv/lib/python3.6/site-packages/channels/routing.py
AzamatGla/channelChokan
0dbcc8b701d57dcd4c8fe9c0573738c573797c21
[ "MIT" ]
null
null
null
from __future__ import unicode_literals import importlib from django.conf import settings from django.core.exceptions import ImproperlyConfigured from channels.http import AsgiHandler """ All Routing instances inside this file are also valid ASGI applications - with new Channels routing, whatever you end up with a...
33.654206
97
0.647876
7942ab81d584e5e7d97f3b522e04a1322a76faf7
7,800
py
Python
realtime-visualisation/main.py
deets/beehive-monitor
6fc0626e94f2cfc576a406fce9798319336b6006
[ "MIT" ]
null
null
null
realtime-visualisation/main.py
deets/beehive-monitor
6fc0626e94f2cfc576a406fce9798319336b6006
[ "MIT" ]
null
null
null
realtime-visualisation/main.py
deets/beehive-monitor
6fc0626e94f2cfc576a406fce9798319336b6006
[ "MIT" ]
null
null
null
# Copyright: 2021, Diez B. Roggisch, Berlin . All rights reserved. import paho.mqtt.client as mqtt import threading import queue import argparse import datetime as dt import pathlib from bokeh.models import ColumnDataSource from bokeh.plotting import curdoc, figure from bokeh.layouts import column def regroup_lin...
32.365145
131
0.593974
7942abab6a268bb91ae4bfbf4e27310935458aa3
4,304
py
Python
accountsynchr/tests/test_models.py
uw-it-aca/eventcal
1d0800fa1f218577f470de127f22a47584db37be
[ "Apache-2.0" ]
null
null
null
accountsynchr/tests/test_models.py
uw-it-aca/eventcal
1d0800fa1f218577f470de127f22a47584db37be
[ "Apache-2.0" ]
119
2016-12-17T05:02:32.000Z
2022-02-01T22:14:25.000Z
accountsynchr/tests/test_models.py
uw-it-aca/eventcal
1d0800fa1f218577f470de127f22a47584db37be
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 UW-IT, University of Washington # SPDX-License-Identifier: Apache-2.0 from django.test import TestCase from uw_gws.models import GroupReference from uw_trumba.models import TrumbaCalendar from accountsynchr.models import ( UwcalGroup, new_editor_group, new_showon_group, get_cal_name) class TestM...
44.833333
78
0.575046
7942acc9060fb2b30c2105f2ab903b1d84deb4e4
846
py
Python
biobb_ml/test/unitests/test_classification/test_k_neighbors.py
bioexcel/biobb_ml
f99346ef7885d3a62de47dab738a01db4b27467a
[ "Apache-2.0" ]
null
null
null
biobb_ml/test/unitests/test_classification/test_k_neighbors.py
bioexcel/biobb_ml
f99346ef7885d3a62de47dab738a01db4b27467a
[ "Apache-2.0" ]
5
2021-06-30T11:24:14.000Z
2021-08-04T12:53:00.000Z
biobb_ml/test/unitests/test_classification/test_k_neighbors.py
bioexcel/biobb_ml
f99346ef7885d3a62de47dab738a01db4b27467a
[ "Apache-2.0" ]
null
null
null
from biobb_common.tools import test_fixtures as fx from biobb_ml.classification.k_neighbors import k_neighbors class TestKNeighborsTrain(): def setUp(self): fx.test_setup(self,'k_neighbors') def tearDown(self): fx.test_teardown(self) pass def test_k_neighbors(self): k_nei...
40.285714
103
0.725768
7942acd5dba2d5eed64c8ce45ea754c775ad0b0a
4,813
py
Python
nova/virt/disk/vfs/api.py
vmthunder/nova
baf05caab705c5778348d9f275dc541747b7c2de
[ "Apache-2.0" ]
null
null
null
nova/virt/disk/vfs/api.py
vmthunder/nova
baf05caab705c5778348d9f275dc541747b7c2de
[ "Apache-2.0" ]
null
null
null
nova/virt/disk/vfs/api.py
vmthunder/nova
baf05caab705c5778348d9f275dc541747b7c2de
[ "Apache-2.0" ]
null
null
null
# Copyright 2012 Red Hat, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, so...
33.894366
78
0.635363
7942ad26d061b085f232f705d8d52d46f5b4ee14
232
py
Python
P08/ex03_pickle_test_in.py
ChanganXLTZ/project_test
b6aa323de105beb6281045bf7b89ed3857ed3d9f
[ "CNRI-Python" ]
1
2018-09-16T13:51:06.000Z
2018-09-16T13:51:06.000Z
P08/ex03_pickle_test_in.py
ChanganXLTZ/project_test
b6aa323de105beb6281045bf7b89ed3857ed3d9f
[ "CNRI-Python" ]
null
null
null
P08/ex03_pickle_test_in.py
ChanganXLTZ/project_test
b6aa323de105beb6281045bf7b89ed3857ed3d9f
[ "CNRI-Python" ]
null
null
null
# -*- coding:UTF-8 -*- #! /usr/bin/python3 import pickle import pprint with open('test.pkl','rb') as Input: data_1 = pickle.load(Input) data_2 = pickle.load(Input) print(data_1) pprint.pprint(data_2) print(data_2)
21.090909
37
0.659483
7942ae669276c2bcaad09fa4d19745a62ce043a0
2,301
py
Python
WrightTools/data/_brunold.py
untzag/WrightTools
05480d2f91ceeca422d9e5ac381fce1840207cb0
[ "MIT" ]
12
2017-07-11T15:58:12.000Z
2021-05-10T20:33:26.000Z
WrightTools/data/_brunold.py
untzag/WrightTools
05480d2f91ceeca422d9e5ac381fce1840207cb0
[ "MIT" ]
808
2015-04-12T00:36:08.000Z
2022-03-27T21:06:06.000Z
WrightTools/data/_brunold.py
untzag/WrightTools
05480d2f91ceeca422d9e5ac381fce1840207cb0
[ "MIT" ]
9
2017-07-22T18:54:23.000Z
2022-02-17T20:31:05.000Z
"""Brunold.""" # --- import -------------------------------------------------------------------------------------- import os import pathlib import numpy as np from ._data import Data from .. import exceptions as wt_exceptions # --- define -------------------------------------------------------------------------...
29.126582
99
0.557584
7942ae915f7490410c146420b70dc71a86c5f37e
637
py
Python
natlas-server/app/models/__init__.py
m4rcu5/natlas
d1057c5349a5443cecffb3db9a6428f7271b07ad
[ "Apache-2.0" ]
null
null
null
natlas-server/app/models/__init__.py
m4rcu5/natlas
d1057c5349a5443cecffb3db9a6428f7271b07ad
[ "Apache-2.0" ]
null
null
null
natlas-server/app/models/__init__.py
m4rcu5/natlas
d1057c5349a5443cecffb3db9a6428f7271b07ad
[ "Apache-2.0" ]
null
null
null
from app.models.agent import Agent from app.models.agent_config import AgentConfig from app.models.agent_script import AgentScript from app.models.config_item import ConfigItem from app.models.email_token import EmailToken from app.models.natlas_services import NatlasServices from app.models.rescan_task import RescanTa...
24.5
53
0.799058
7942aee6457ef82054b24475b21c8d5b4a766398
11,269
py
Python
python/dgl/nn/pytorch/conv/sageconv.py
dongbowen8/dgl
f1c6948171cc7581e582bf2028776c7e08d448a1
[ "Apache-2.0" ]
null
null
null
python/dgl/nn/pytorch/conv/sageconv.py
dongbowen8/dgl
f1c6948171cc7581e582bf2028776c7e08d448a1
[ "Apache-2.0" ]
null
null
null
python/dgl/nn/pytorch/conv/sageconv.py
dongbowen8/dgl
f1c6948171cc7581e582bf2028776c7e08d448a1
[ "Apache-2.0" ]
null
null
null
"""Torch Module for GraphSAGE layer""" # pylint: disable= no-member, arguments-differ, invalid-name import torch from torch import nn from torch.nn import functional as F from .... import function as fn from ....utils import expand_as_pair, check_eq_shape, dgl_warning class SAGEConv(nn.Module): r""" Descrip...
40.246429
99
0.560919
7942afca92c0b8d94bdf9023f3ded99f877df4dd
8,090
py
Python
sdk/cosmos/azure-cosmos/azure/cosmos/_execution_context/multi_execution_aggregator.py
xolve/azure-sdk-for-python
9f5baa19c392f77f811d936ee43450e4ea524002
[ "MIT" ]
null
null
null
sdk/cosmos/azure-cosmos/azure/cosmos/_execution_context/multi_execution_aggregator.py
xolve/azure-sdk-for-python
9f5baa19c392f77f811d936ee43450e4ea524002
[ "MIT" ]
null
null
null
sdk/cosmos/azure-cosmos/azure/cosmos/_execution_context/multi_execution_aggregator.py
xolve/azure-sdk-for-python
9f5baa19c392f77f811d936ee43450e4ea524002
[ "MIT" ]
null
null
null
# The MIT License (MIT) # Copyright (c) 2014 Microsoft Corporation # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy...
40.653266
120
0.696292
7942b1268f03d31051b5a30880cd0f1e8c953bce
1,388
py
Python
project.py
salazardetroya/2DHEVF
02cc327bcfb8a9a01bc5991a3849acaa1ebe271e
[ "MIT" ]
1
2022-01-28T03:11:10.000Z
2022-01-28T03:11:10.000Z
project.py
salazardetroya/2DHEVF
02cc327bcfb8a9a01bc5991a3849acaa1ebe271e
[ "MIT" ]
null
null
null
project.py
salazardetroya/2DHEVF
02cc327bcfb8a9a01bc5991a3849acaa1ebe271e
[ "MIT" ]
1
2021-11-15T23:26:51.000Z
2021-11-15T23:26:51.000Z
# project.py import flow from flow import FlowProject @FlowProject.label def check_100_iterations(job): return job.isfile("control_iterations_f_10.vtu") and \ job.isfile("final_output.txt")# Check the job at least has > 1500 iterations. @FlowProject.operation @flow.cmd @FlowProject.post(check_100_it...
28.916667
118
0.642651
7942b14d4182264241f1e643b25e1c9c7a4a010b
58,529
py
Python
flask/lib/python2.7/site-packages/sqlalchemy/orm/strategies.py
ccellis/WHACK2016
5ef4ddadaa60ef8ca07702a0a82df8a9776b9741
[ "BSD-3-Clause" ]
1
2018-04-09T07:37:54.000Z
2018-04-09T07:37:54.000Z
flask/lib/python2.7/site-packages/sqlalchemy/orm/strategies.py
ccellis/WHACK2016
5ef4ddadaa60ef8ca07702a0a82df8a9776b9741
[ "BSD-3-Clause" ]
1
2016-05-25T15:38:50.000Z
2016-05-25T15:38:50.000Z
flask/lib/python2.7/site-packages/sqlalchemy/orm/strategies.py
ccellis/WHACK2016
5ef4ddadaa60ef8ca07702a0a82df8a9776b9741
[ "BSD-3-Clause" ]
null
null
null
# orm/strategies.py # Copyright (C) 2005-2016 the SQLAlchemy authors and contributors # <see AUTHORS file> # # This module is part of SQLAlchemy and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php """sqlalchemy.orm.interfaces.LoaderStrategy implementations, and related Mapper...
36.151328
81
0.594457
7942b2d8d69bef44ed495b0a5dc2aa7369f59957
1,288
py
Python
src/nyko/grammar.py
stevencox/nyko
0619b4691e82d874110bae3388df1ef40865dd5e
[ "MIT" ]
null
null
null
src/nyko/grammar.py
stevencox/nyko
0619b4691e82d874110bae3388df1ef40865dd5e
[ "MIT" ]
null
null
null
src/nyko/grammar.py
stevencox/nyko
0619b4691e82d874110bae3388df1ef40865dd5e
[ "MIT" ]
null
null
null
from pyparsing import ( Combine, Word, White, Literal, delimitedList, Optional, Empty, Suppress, Group, alphas, alphanums, printables, Forward, oneOf, quotedString, QuotedString, ZeroOrMore, restOfLine, CaselessKeyword, ParserElement, LineEnd, removeQuotes, Regex, nestedExpr, pyparsing_common as ppc ) ...
29.953488
76
0.677795
7942b3ae87102044944beb6285f42147df81b775
1,321
py
Python
android/build.py
MNannig/Vulkan-Examples
9d76cea05fadf3a6eefae3094c500f84020f706b
[ "MIT" ]
2
2019-08-06T04:33:35.000Z
2019-10-06T20:03:58.000Z
android/build.py
LiangYue1981816/GraphicsSamples-Vulkan
d15daabc582d4f8b198fdd6ec5651ec4298182a1
[ "MIT" ]
null
null
null
android/build.py
LiangYue1981816/GraphicsSamples-Vulkan
d15daabc582d4f8b198fdd6ec5651ec4298182a1
[ "MIT" ]
1
2022-03-23T20:26:33.000Z
2022-03-23T20:26:33.000Z
# Single example build and deploy script import os import subprocess import sys import shutil import glob # Android SDK version used SDK_VERSION = "android-23" PROJECT_FOLDER = "" # Name/folder of the project to build if len(sys.argv) > 1: PROJECT_FOLDER = sys.argv[1] if not os.path.exists(PROJECT_FOLDER): p...
30.022727
104
0.697199
7942b48cc05d832558c769b85fc0f8f6b8518744
5,109
py
Python
seleniumbase/core/style_sheet.py
yyb27638/py_scripts
691f0cff1de712b6d325acbe535461c27fa3659c
[ "MIT" ]
5
2021-07-30T10:08:29.000Z
2022-01-23T12:22:42.000Z
seleniumbase/core/style_sheet.py
yyb27638/py_scripts
691f0cff1de712b6d325acbe535461c27fa3659c
[ "MIT" ]
null
null
null
seleniumbase/core/style_sheet.py
yyb27638/py_scripts
691f0cff1de712b6d325acbe535461c27fa3659c
[ "MIT" ]
11
2020-08-08T02:34:18.000Z
2022-01-23T12:22:43.000Z
title = '''<meta id="OGTitle" property="og:title" content="SeleniumBase"> <title>Test Report</title> <link rel="SHORTCUT ICON" href="%s" /> ''' % ( "https://raw.githubusercontent.com/seleniumbase/SeleniumBase" "/master/seleniumbase/resources/favicon.ico") style = title + '''<sty...
26.889474
79
0.517322
7942b49f4d4fe582683c0a7bf7093c28959771af
1,903
py
Python
stubs.min/System/ComponentModel/__init___parts/CharConverter.py
ricardyn/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
1
2021-02-02T13:39:16.000Z
2021-02-02T13:39:16.000Z
stubs.min/System/ComponentModel/__init___parts/CharConverter.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
stubs.min/System/ComponentModel/__init___parts/CharConverter.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
class CharConverter(TypeConverter): """ Provides a type converter to convert Unicode character objects to and from various other representations. CharConverter() """ def CanConvertFrom(self,*__args): """ CanConvertFrom(self: CharConverter,context: ITypeDescriptorContext,sourceType: Type) -> bool ...
40.489362
133
0.73463
7942b4bd1f5da5f2585853afd177ead4344e6a16
3,311
py
Python
cgi-bin/download.py
fanuware/pybrowser
910cebaee45524248c18d86605ba9e7f1b862c47
[ "MIT" ]
null
null
null
cgi-bin/download.py
fanuware/pybrowser
910cebaee45524248c18d86605ba9e7f1b862c47
[ "MIT" ]
null
null
null
cgi-bin/download.py
fanuware/pybrowser
910cebaee45524248c18d86605ba9e7f1b862c47
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import cgi import cgitb import os import sys import zipfile import mimetypes import templates from userlogger import UserLogger cgitb.enable() def getRecbin(): if not os.path.isdir('recbin') and not os.path.isdir('../recbin'): os.mkdir('recbin') return os.path.abspath('recbin' ...
29.5625
88
0.601027
7942b4e04bf63ca7bcee39b528705c213128119b
25,832
py
Python
wnf.py
saurabh6790/OFF-RISLIB
eb7866227c5ff085ea714f79576281d82365f4fe
[ "MIT" ]
null
null
null
wnf.py
saurabh6790/OFF-RISLIB
eb7866227c5ff085ea714f79576281d82365f4fe
[ "MIT" ]
null
null
null
wnf.py
saurabh6790/OFF-RISLIB
eb7866227c5ff085ea714f79576281d82365f4fe
[ "MIT" ]
null
null
null
#!/usr/bin/env python2.7 # Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors # MIT License. See license.txt from __future__ import unicode_literals import sys if __name__=="__main__": sys.path = [".", "lib", "app"] + sys.path import webnotes def main(): parsed_args = webnotes._dict(vars(setup...
32.129353
155
0.735638
7942b4f692246e4195064175c17251c84313ac8d
68,424
py
Python
perftests/resources/cross_validation.py
keynmol/fastparse
2907295ba3463ccba732b1f58c2704ffe2f22939
[ "MIT", "Unlicense" ]
929
2015-05-10T22:09:25.000Z
2021-02-20T04:28:18.000Z
perftests/resources/cross_validation.py
keynmol/fastparse
2907295ba3463ccba732b1f58c2704ffe2f22939
[ "MIT", "Unlicense" ]
212
2015-05-10T22:25:39.000Z
2021-01-19T20:13:24.000Z
perftests/resources/cross_validation.py
keynmol/fastparse
2907295ba3463ccba732b1f58c2704ffe2f22939
[ "MIT", "Unlicense" ]
160
2015-05-10T22:21:00.000Z
2021-01-27T08:01:51.000Z
""" The :mod:`sklearn.cross_validation` module includes utilities for cross- validation and performance evaluation. """ # Author: Alexandre Gramfort <alexandre.gramfort@inria.fr>, # Gael Varoquaux <gael.varoquaux@normalesup.org>, # Olivier Grisel <olivier.grisel@ensta.org> # License: BSD 3 clause fro...
35.0174
79
0.6085
7942b84baabccd7339a5ce7e7baeb83874dab736
1,647
py
Python
tests/samples.py
colltoaction/datafiles
a331b1fd0ed98b7685a1dae8c0efb73e683063d6
[ "MIT" ]
1
2019-02-14T08:08:41.000Z
2019-02-14T08:08:41.000Z
tests/samples.py
colltoaction/datafiles
a331b1fd0ed98b7685a1dae8c0efb73e683063d6
[ "MIT" ]
null
null
null
tests/samples.py
colltoaction/datafiles
a331b1fd0ed98b7685a1dae8c0efb73e683063d6
[ "MIT" ]
null
null
null
from dataclasses import dataclass, field from typing import List, Optional from datafiles import datafile from datafiles.converters import String @datafile('../tmp/sample.yml', manual=True) class Sample: bool_: bool int_: int float_: float str_: str @datafile('../tmp/sample.json', manual=True) clas...
19.607143
66
0.705525
7942b8a2544450ff15cdefc310a949f2423f8b4d
3,514
py
Python
bindings/python/ensmallen/datasets/string/agrobacteriumtumefaciensf2.py
AnacletoLAB/ensmallen_graph
b2c1b18fb1e5801712852bcc239f239e03076f09
[ "MIT" ]
5
2021-02-17T00:44:45.000Z
2021-08-09T16:41:47.000Z
bindings/python/ensmallen/datasets/string/agrobacteriumtumefaciensf2.py
AnacletoLAB/ensmallen_graph
b2c1b18fb1e5801712852bcc239f239e03076f09
[ "MIT" ]
18
2021-01-07T16:47:39.000Z
2021-08-12T21:51:32.000Z
bindings/python/ensmallen/datasets/string/agrobacteriumtumefaciensf2.py
AnacletoLAB/ensmallen
b2c1b18fb1e5801712852bcc239f239e03076f09
[ "MIT" ]
3
2021-01-14T02:20:59.000Z
2021-08-04T19:09:52.000Z
""" This file offers the methods to automatically retrieve the graph Agrobacterium tumefaciens F2. The graph is automatically retrieved from the STRING repository. References --------------------- Please cite the following if you use the data: ```bib @article{szklarczyk2019string, title={STRING v11: protein--p...
33.466667
223
0.680706
7942b96ec8c562a46a9a74e6820fee388eca74fc
766
py
Python
hist.py
aaavinash85/OpenCV_image-processing
ea9bf85454a9919ced82567c99d997314598cc5c
[ "MIT" ]
null
null
null
hist.py
aaavinash85/OpenCV_image-processing
ea9bf85454a9919ced82567c99d997314598cc5c
[ "MIT" ]
null
null
null
hist.py
aaavinash85/OpenCV_image-processing
ea9bf85454a9919ced82567c99d997314598cc5c
[ "MIT" ]
1
2021-07-25T08:17:03.000Z
2021-07-25T08:17:03.000Z
import cv2 import numpy as np import matplotlib.pyplot as plt img = cv2.imread('images/wave.png') cv2.imshow('img', img) ''' Cv2 has function to calculate the histogram cv2.calcHist([img], [channels], [mask], [size], [range]) channels - corrrespods to B G R we can calculate for individual channles or al...
25.533333
67
0.673629
7942ba397542cb0b0822df17abdba205fbdc9e7a
100,873
py
Python
tests/myapp/tests.py
jonasundderwolf/django-mptt
688f2dd3a2ff7957f2ba2f3c59349232cc1fa4b2
[ "MIT" ]
null
null
null
tests/myapp/tests.py
jonasundderwolf/django-mptt
688f2dd3a2ff7957f2ba2f3c59349232cc1fa4b2
[ "MIT" ]
null
null
null
tests/myapp/tests.py
jonasundderwolf/django-mptt
688f2dd3a2ff7957f2ba2f3c59349232cc1fa4b2
[ "MIT" ]
null
null
null
import io import os import re import sys import unittest from django.apps import apps from django.contrib.admin import ModelAdmin, site from django.contrib.admin.views.main import ChangeList from django.contrib.auth.models import Group, User from django.db.models import Q from django.db.models.query_utils import Defer...
32.750974
97
0.530647
7942bac5969c49790f808c39a3fd13a23d7be837
1,827
py
Python
examples/features/mask_sensitive.py
vedkharche538/pandas-profiling
ba0a6df3a3dd126ab36045f5a69878f31627d450
[ "MIT" ]
null
null
null
examples/features/mask_sensitive.py
vedkharche538/pandas-profiling
ba0a6df3a3dd126ab36045f5a69878f31627d450
[ "MIT" ]
null
null
null
examples/features/mask_sensitive.py
vedkharche538/pandas-profiling
ba0a6df3a3dd126ab36045f5a69878f31627d450
[ "MIT" ]
null
null
null
from pathlib import Path import pandas as pd from pandas_profiling import ProfileReport from pandas_profiling.utils.cache import cache_file if __name__ == "__main__": file_name = cache_file("auto2.dta", "http://www.stata-press.com/data/r15/auto2.dta") df = pd.read_stata(file_name) # In case that a sampl...
36.54
114
0.576355
7942bb1bad80012d5558602a969aa4128d6f41bf
82,021
py
Python
sympy/geometry/polygon.py
utkarshdeorah/sympy
dcdf59bbc6b13ddbc329431adf72fcee294b6389
[ "BSD-3-Clause" ]
1
2020-09-09T20:40:17.000Z
2020-09-09T20:40:17.000Z
sympy/geometry/polygon.py
utkarshdeorah/sympy
dcdf59bbc6b13ddbc329431adf72fcee294b6389
[ "BSD-3-Clause" ]
14
2018-02-08T10:11:03.000Z
2019-04-16T10:32:46.000Z
sympy/geometry/polygon.py
utkarshdeorah/sympy
dcdf59bbc6b13ddbc329431adf72fcee294b6389
[ "BSD-3-Clause" ]
1
2022-02-04T13:50:29.000Z
2022-02-04T13:50:29.000Z
from sympy.core import Expr, S, oo, pi, sympify from sympy.core.evalf import N from sympy.core.sorting import default_sort_key, ordered from sympy.core.symbol import _symbol, Dummy, symbols, Symbol from sympy.functions.elementary.complexes import sign from sympy.functions.elementary.piecewise import Piecewise from symp...
28.449879
140
0.532303
7942bc3c710ec4fee3cff8f67abd7eb681f9dfbc
11,179
py
Python
acapy_plugin_toolbox/holder.py
swcurran/aries-acapy-plugin-toolbox
f656e4d05dcd18c03085af765e6013b2a8ff2ff2
[ "Apache-2.0" ]
1
2019-11-20T19:10:25.000Z
2019-11-20T19:10:25.000Z
acapy_plugin_toolbox/holder.py
swcurran/aries-acapy-plugin-toolbox
f656e4d05dcd18c03085af765e6013b2a8ff2ff2
[ "Apache-2.0" ]
null
null
null
acapy_plugin_toolbox/holder.py
swcurran/aries-acapy-plugin-toolbox
f656e4d05dcd18c03085af765e6013b2a8ff2ff2
[ "Apache-2.0" ]
2
2020-01-24T19:00:49.000Z
2021-06-06T10:45:14.000Z
"""Define messages for credential holder admin protocols.""" # pylint: disable=invalid-name # pylint: disable=too-few-public-methods from marshmallow import fields from aries_cloudagent.config.injection_context import InjectionContext from aries_cloudagent.core.protocol_registry import ProtocolRegistry from aries_cl...
36.413681
94
0.709813
7942bc43e13900b2da80684c2b42799ff8c73d27
594
py
Python
pydocx/openxml/packaging/image_part.py
botzill/pydocx
98c6aa626d875278240eabea8f86a914840499b3
[ "Apache-2.0" ]
127
2015-01-12T22:35:34.000Z
2022-01-20T06:24:18.000Z
pydocx/openxml/packaging/image_part.py
turbo-q/pydocx
98c6aa626d875278240eabea8f86a914840499b3
[ "Apache-2.0" ]
156
2015-01-05T19:55:56.000Z
2020-10-14T07:01:42.000Z
pydocx/openxml/packaging/image_part.py
turbo-q/pydocx
98c6aa626d875278240eabea8f86a914840499b3
[ "Apache-2.0" ]
45
2015-02-22T18:52:08.000Z
2021-06-14T08:05:47.000Z
# coding: utf-8 from __future__ import ( absolute_import, print_function, unicode_literals, ) from pydocx.openxml.packaging.open_xml_part import OpenXmlPart class ImagePart(OpenXmlPart): ''' Represents an image part relationship within a Word document container. See also: http://msdn.microso...
23.76
126
0.673401
7942bd530c3701ec0254a4c73b2f9954d22baa8f
460
py
Python
aliyun/api/rest/Ess20140828CreateScalingRuleRequest.py
snowyxx/aliyun-python-demo
ed40887ddff440b85b77f9b2a1fcda11cca55c8b
[ "Apache-2.0" ]
null
null
null
aliyun/api/rest/Ess20140828CreateScalingRuleRequest.py
snowyxx/aliyun-python-demo
ed40887ddff440b85b77f9b2a1fcda11cca55c8b
[ "Apache-2.0" ]
null
null
null
aliyun/api/rest/Ess20140828CreateScalingRuleRequest.py
snowyxx/aliyun-python-demo
ed40887ddff440b85b77f9b2a1fcda11cca55c8b
[ "Apache-2.0" ]
null
null
null
''' Created by auto_sdk on 2014.10.14 ''' from aliyun.api.base import RestApi class Ess20140828CreateScalingRuleRequest(RestApi): def __init__(self,domain='ess.aliyuncs.com',port=80): RestApi.__init__(self,domain, port) self.AdjustmentType = None self.AdjustmentValue = None self.Cooldown = None sel...
28.75
57
0.743478
7942be45180b74cccc6b9cf62d846a30509bc52e
2,057
py
Python
qiime2/metadata/base.py
emollier/qiime2
bc9167d844fb4b42eccba8d30ace1eb10ab093c3
[ "BSD-3-Clause" ]
1
2020-11-23T02:24:42.000Z
2020-11-23T02:24:42.000Z
qiime2/metadata/base.py
emollier/qiime2
bc9167d844fb4b42eccba8d30ace1eb10ab093c3
[ "BSD-3-Clause" ]
1
2020-07-13T19:47:48.000Z
2020-07-13T19:47:48.000Z
qiime2/metadata/base.py
emollier/qiime2
bc9167d844fb4b42eccba8d30ace1eb10ab093c3
[ "BSD-3-Clause" ]
null
null
null
# ---------------------------------------------------------------------------- # Copyright (c) 2016-2020, QIIME 2 development team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file LICENSE, distributed with this software. # ------------------------------------------------...
33.721311
79
0.595041
7942c16849a2f33fba611b9b95250460bd1c8784
7,144
py
Python
main2.py
leimao/detr
cd88c4ea01257831ac677b6268e1aef7cd37eca4
[ "Apache-2.0" ]
null
null
null
main2.py
leimao/detr
cd88c4ea01257831ac677b6268e1aef7cd37eca4
[ "Apache-2.0" ]
null
null
null
main2.py
leimao/detr
cd88c4ea01257831ac677b6268e1aef7cd37eca4
[ "Apache-2.0" ]
2
2021-04-28T08:19:32.000Z
2021-06-15T11:26:30.000Z
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved import argparse import datetime import json import random import time from pathlib import Path import numpy as np import torch from torch.utils.data import DataLoader, DistributedSampler import datasets import util.misc as utils from datasets impo...
45.794872
115
0.665454
7942c2d04eddd4181c6f1e30a6c9fc174383b843
301
py
Python
preorder_iterative_bst.py
udyaluashok/Python-practice-questions
eed4ad27b663e7d0c0f7ff314ab5c524cecec62e
[ "MIT" ]
null
null
null
preorder_iterative_bst.py
udyaluashok/Python-practice-questions
eed4ad27b663e7d0c0f7ff314ab5c524cecec62e
[ "MIT" ]
null
null
null
preorder_iterative_bst.py
udyaluashok/Python-practice-questions
eed4ad27b663e7d0c0f7ff314ab5c524cecec62e
[ "MIT" ]
1
2020-08-21T04:08:42.000Z
2020-08-21T04:08:42.000Z
def preOrderTraversal(root): stack = [] stack.insert(0, root) while len(stack) > 0: current = stack.pop() print(current.value) right = current.right if right is not None: stack.insert(0, right) left = current.left if left is not None: stack.insert(0, left)
20.066667
28
0.621262
7942c3f73f500869a307c33dee1351f0af1d7ad0
5,176
py
Python
test/ibmq/test_basic_server_paths.py
npoirie1/qiskit-ibmq-provider
ffea455f0c03bf7f074b72a20197aecbc3b5c101
[ "Apache-2.0" ]
1
2021-09-03T12:26:08.000Z
2021-09-03T12:26:08.000Z
test/ibmq/test_basic_server_paths.py
chahatagarwal/qiskit-ibmq-provider
2d32a1ddbd043c22e7693fbcdd8dfb18a3d43139
[ "Apache-2.0" ]
null
null
null
test/ibmq/test_basic_server_paths.py
chahatagarwal/qiskit-ibmq-provider
2d32a1ddbd043c22e7693fbcdd8dfb18a3d43139
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # This code is part of Qiskit. # # (C) Copyright IBM 2020. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modif...
42.42623
93
0.634467
7942c62fb5b4d8d3734ddf8c23a21b0f379d76ec
759
py
Python
nni/tools/trial_tool/url_utils.py
dutxubo/nni
c16f4e1c89b54b8b80661ef0072433d255ad2d24
[ "MIT" ]
9,680
2019-05-07T01:42:30.000Z
2022-03-31T16:48:33.000Z
nni/tools/trial_tool/url_utils.py
dutxubo/nni
c16f4e1c89b54b8b80661ef0072433d255ad2d24
[ "MIT" ]
1,957
2019-05-06T21:44:21.000Z
2022-03-31T09:21:53.000Z
nni/tools/trial_tool/url_utils.py
dutxubo/nni
c16f4e1c89b54b8b80661ef0072433d255ad2d24
[ "MIT" ]
1,571
2019-05-07T06:42:55.000Z
2022-03-31T03:19:24.000Z
# Copyright (c) Microsoft Corporation. # Licensed under the MIT license. from .constants import API_ROOT_URL, BASE_URL, STDOUT_API, NNI_TRIAL_JOB_ID, NNI_EXP_ID, VERSION_API, PARAMETER_META_API def gen_send_stdout_url(ip, port): '''Generate send stdout url''' return '{0}:{1}{2}{3}/{4}/{5}'.format(BASE_URL.fo...
37.95
125
0.722003
7942c677758dda6a5f783b7492a1ff7bf5632cc7
1,425
py
Python
setup.py
Skyge/brownie
01785c803155d340fd0ea1bcfdf1b5e2670470d5
[ "MIT" ]
null
null
null
setup.py
Skyge/brownie
01785c803155d340fd0ea1bcfdf1b5e2670470d5
[ "MIT" ]
156
2020-07-20T21:23:47.000Z
2021-07-27T21:21:46.000Z
setup.py
Skyge/brownie
01785c803155d340fd0ea1bcfdf1b5e2670470d5
[ "MIT" ]
null
null
null
#!/usr/bin/python3 from setuptools import find_packages, setup with open("README.md", "r") as fh: long_description = fh.read() with open("requirements.txt", "r") as f: requirements = list(map(str.strip, f.read().split("\n")))[:-1] setup( name="eth-brownie", packages=find_packages(), version="1.7...
34.756098
116
0.650526
7942c79486b930a5715ad5c48a7366edcf919c29
1,562
py
Python
xlsxwriter/test/comparison/test_tutorial01.py
Rippling/XlsxWriter-1
be8d1cb8f8b156cf87bbe5d591f1f5475804be44
[ "BSD-2-Clause" ]
null
null
null
xlsxwriter/test/comparison/test_tutorial01.py
Rippling/XlsxWriter-1
be8d1cb8f8b156cf87bbe5d591f1f5475804be44
[ "BSD-2-Clause" ]
null
null
null
xlsxwriter/test/comparison/test_tutorial01.py
Rippling/XlsxWriter-1
be8d1cb8f8b156cf87bbe5d591f1f5475804be44
[ "BSD-2-Clause" ]
null
null
null
############################################################################### # # Tests for XlsxWriter. # # SPDX-License-Identifier: BSD-2-Clause # Copyright (c), 2013-2021, John McNamara, jmcnamara@cpan.org # from ..excel_comparison_test import ExcelComparisonTest from ...workbook import Workbook class TestCompar...
26.931034
79
0.544174
7942c8dedb0c58afe333ef52825ad9a807a2eefd
9,094
py
Python
bin/yb-prof.py
skahler-yuga/yugabyte-db
3a69097e0230bc064c260dfddb0f8fddca2c60f1
[ "Apache-2.0", "CC0-1.0" ]
1
2020-06-23T20:28:25.000Z
2020-06-23T20:28:25.000Z
bin/yb-prof.py
skahler-yuga/yugabyte-db
3a69097e0230bc064c260dfddb0f8fddca2c60f1
[ "Apache-2.0", "CC0-1.0" ]
189
2021-02-19T01:23:31.000Z
2021-04-02T01:03:14.000Z
bin/yb-prof.py
skahler-yuga/yugabyte-db
3a69097e0230bc064c260dfddb0f8fddca2c60f1
[ "Apache-2.0", "CC0-1.0" ]
1
2020-12-30T00:43:38.000Z
2020-12-30T00:43:38.000Z
#!/usr/bin/env python3 # # Copyright (c) YugaByte, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except # in compliance with the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
37.423868
99
0.548384
7942c97269e99877322e727866750e500fa15e38
16,936
py
Python
ontospy/core/entities.py
lambdamusic/Ontospy
0b2c06b5aedcc0b755ba17af935558c70a4a03fa
[ "MIT" ]
134
2017-04-09T01:39:07.000Z
2022-03-31T13:40:05.000Z
ontospy/core/entities.py
lambdamusic/Ontospy
0b2c06b5aedcc0b755ba17af935558c70a4a03fa
[ "MIT" ]
76
2017-04-14T09:45:42.000Z
2022-03-11T18:58:59.000Z
ontospy/core/entities.py
lambdamusic/Ontospy
0b2c06b5aedcc0b755ba17af935558c70a4a03fa
[ "MIT" ]
39
2017-06-04T01:51:42.000Z
2022-03-08T14:53:09.000Z
# !/usr/bin/env python # -*- coding: UTF-8 -*- from __future__ import print_function from colorama import Fore, Style import rdflib from itertools import count # http://stackoverflow.com/questions/8628123/counting-instances-of-a-class from . import * from .utils import * class RdfEntity(object): """ Pyth...
33.404339
117
0.564478
7942caf3031338dcf1da4a72b4cce99e8dafa940
5,443
py
Python
alipay/aop/api/domain/RoyaltyDetailInfos.py
articuly/alipay-sdk-python-all
0259cd28eca0f219b97dac7f41c2458441d5e7a6
[ "Apache-2.0" ]
null
null
null
alipay/aop/api/domain/RoyaltyDetailInfos.py
articuly/alipay-sdk-python-all
0259cd28eca0f219b97dac7f41c2458441d5e7a6
[ "Apache-2.0" ]
null
null
null
alipay/aop/api/domain/RoyaltyDetailInfos.py
articuly/alipay-sdk-python-all
0259cd28eca0f219b97dac7f41c2458441d5e7a6
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import simplejson as json from alipay.aop.api.constant.ParamConstants import * class RoyaltyDetailInfos(object): def __init__(self): self._amount = None self._amount_percentage = None self._batch_no = None self._desc = None se...
30.926136
85
0.589197
7942cc0241fe32295029812ef9568b7c57e7bb80
2,838
py
Python
hasher-matcher-actioner/scripts/submitter.py
ekmixon/ThreatExchange
947737affbdfabc67bb12021366683895c817de8
[ "BSD-3-Clause" ]
null
null
null
hasher-matcher-actioner/scripts/submitter.py
ekmixon/ThreatExchange
947737affbdfabc67bb12021366683895c817de8
[ "BSD-3-Clause" ]
null
null
null
hasher-matcher-actioner/scripts/submitter.py
ekmixon/ThreatExchange
947737affbdfabc67bb12021366683895c817de8
[ "BSD-3-Clause" ]
null
null
null
#! /usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved import os import time import threading import uuid import datetime import typing as t from hma_client_lib import DeployedInstanceClient class Submitter(threading.Thread): def __init__( self, client: Dep...
28.959184
102
0.593728
7942cc4b50013f1c47123d5ebadedf0900d8aabc
1,915
py
Python
data/train/python/7942cc4b50013f1c47123d5ebadedf0900d8aabcControllerManager.py
harshp8l/deep-learning-lang-detection
2a54293181c1c2b1a2b840ddee4d4d80177efb33
[ "MIT" ]
84
2017-10-25T15:49:21.000Z
2021-11-28T21:25:54.000Z
data/train/python/7942cc4b50013f1c47123d5ebadedf0900d8aabcControllerManager.py
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
5
2018-03-29T11:50:46.000Z
2021-04-26T13:33:18.000Z
data/train/python/7942cc4b50013f1c47123d5ebadedf0900d8aabcControllerManager.py
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
24
2017-11-22T08:31:00.000Z
2022-03-27T01:22:31.000Z
import os import sys import ControllerBase import Settings gControllerMan = False def GetControllerManager(): global gControllerMan if gControllerMan == False: gControllerMan = ControllerManager() return gControllerMan class ControllerManager: modules = {} controllers = {} def __init__(self): self.Impor...
28.58209
89
0.692428
7942cc86a5514339b4f0a555add7b02d3648f827
4,856
py
Python
Bot/src/tools/emoji.py
AryamanSrii/Mecha-Karen
4a5c7318f8c458495eee72a13be5db8a0113ed28
[ "Apache-2.0" ]
181
2021-05-26T17:37:40.000Z
2022-02-26T08:36:07.000Z
Bot/src/tools/emoji.py
AryamanSrii/Mecha-Karen
4a5c7318f8c458495eee72a13be5db8a0113ed28
[ "Apache-2.0" ]
24
2021-05-14T19:47:34.000Z
2021-09-06T17:16:17.000Z
Bot/src/tools/emoji.py
AryamanSrii/Mecha-Karen
4a5c7318f8c458495eee72a13be5db8a0113ed28
[ "Apache-2.0" ]
16
2021-07-02T09:40:56.000Z
2022-01-21T10:07:08.000Z
# !/usr/bin/python """ Copyright ©️: 2020 Seniatical / _-*™#7519 License: Apache 2.0 A permissive license whose main conditions require preservation of copyright and license notices. Contributors provide an express grant of patent rights. Licensed works, modifications, and larger works may be distributed under differe...
50.061856
192
0.636944
7942cce3e667098fe17f991ebe432a46ace2c61e
18,326
py
Python
research/vrgripper/vrgripper_env_models.py
IronOnet/tensor2robot
351cecbf76b71d09b56a766b981e1a15f85d9528
[ "Apache-2.0" ]
2
2021-10-31T01:06:00.000Z
2021-11-08T09:43:25.000Z
research/vrgripper/vrgripper_env_models.py
IronOnet/tensor2robot
351cecbf76b71d09b56a766b981e1a15f85d9528
[ "Apache-2.0" ]
null
null
null
research/vrgripper/vrgripper_env_models.py
IronOnet/tensor2robot
351cecbf76b71d09b56a766b981e1a15f85d9528
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # Copyright 2019 The Tensor2Robot 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 ...
40.815145
80
0.669213
7942cd64f350b473262cdcaf73d3170ccc72bcf4
147
py
Python
vote/apps.py
jjmutumi/djangotutorial
e0855f229cecea9413c3306e71782d6885eb02f7
[ "MIT" ]
null
null
null
vote/apps.py
jjmutumi/djangotutorial
e0855f229cecea9413c3306e71782d6885eb02f7
[ "MIT" ]
null
null
null
vote/apps.py
jjmutumi/djangotutorial
e0855f229cecea9413c3306e71782d6885eb02f7
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.apps import AppConfig class VoteConfig(AppConfig): name = 'vote'
18.375
39
0.727891
7942ce81f4808492e8b56a0975055d4b55dbe328
4,995
py
Python
bokeh/sphinxext/bokeh_gallery.py
RiccardoGiro/bokeh
7e1bfeea4f3d7a6296aabfeec96e79e1f5a28467
[ "BSD-3-Clause" ]
1
2020-07-02T06:06:18.000Z
2020-07-02T06:06:18.000Z
bokeh/sphinxext/bokeh_gallery.py
Deng-Fankang/bokeh
894731860c53b7c9ddd0057dee85cf064278dc0e
[ "BSD-3-Clause" ]
12
2020-08-26T20:19:29.000Z
2020-08-26T20:19:52.000Z
bokeh/sphinxext/bokeh_gallery.py
Deng-Fankang/bokeh
894731860c53b7c9ddd0057dee85cf064278dc0e
[ "BSD-3-Clause" ]
1
2020-03-06T07:38:50.000Z
2020-03-06T07:38:50.000Z
#----------------------------------------------------------------------------- # Copyright (c) 2012 - 2020, Anaconda, Inc., and Bokeh Contributors. # All rights reserved. # # The full license is in the file LICENSE.txt, distributed with this software. #-------------------------------------------------------------------...
37
119
0.498098
7942cf7ea891b9d7257503dbc179c71352c4f93a
11,193
py
Python
nssrc/com/citrix/netscaler/nitro/resource/config/wi/wisite_translationinternalip_binding.py
mahabs/nitro
be74e1e177f5c205c16126bc9b023f2348788409
[ "Apache-2.0" ]
null
null
null
nssrc/com/citrix/netscaler/nitro/resource/config/wi/wisite_translationinternalip_binding.py
mahabs/nitro
be74e1e177f5c205c16126bc9b023f2348788409
[ "Apache-2.0" ]
null
null
null
nssrc/com/citrix/netscaler/nitro/resource/config/wi/wisite_translationinternalip_binding.py
mahabs/nitro
be74e1e177f5c205c16126bc9b023f2348788409
[ "Apache-2.0" ]
null
null
null
# # Copyright (c) 2008-2015 Citrix Systems, 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 l...
35.087774
255
0.748146
7942cfe9f8c43f8bdb0e8d12d458ed41450fb5e7
5,877
py
Python
voila/exporter.py
zappyzac/voila
68e5e660226312638b13db90e249eec967cb72d2
[ "BSD-3-Clause" ]
null
null
null
voila/exporter.py
zappyzac/voila
68e5e660226312638b13db90e249eec967cb72d2
[ "BSD-3-Clause" ]
null
null
null
voila/exporter.py
zappyzac/voila
68e5e660226312638b13db90e249eec967cb72d2
[ "BSD-3-Clause" ]
null
null
null
############################################################################# # Copyright (c) 2018, Voila Contributors # # Copyright (c) 2018, QuantStack # # # # Distri...
42.89781
110
0.627021
7942d0d94f80cc55e261ea1d6244feb44cf7437e
10,763
py
Python
analemmatic.py
cmcqueen/sundials
0b7fbf7bcdef4687c1805436bdac006d777b23f2
[ "MIT" ]
null
null
null
analemmatic.py
cmcqueen/sundials
0b7fbf7bcdef4687c1805436bdac006d777b23f2
[ "MIT" ]
null
null
null
analemmatic.py
cmcqueen/sundials
0b7fbf7bcdef4687c1805436bdac006d777b23f2
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """ Calculation and generation of analemmatic sundial. References: Plus Magazine http://pass.maths.org.uk/issue11/features/sundials/index.html Wikipedia http://en.wikipedia.org/wiki/Analemmatic_sundial Calculations have been done according to the Plus Magazine reference. Dependenci...
43.574899
159
0.692929
7942d189b0df95d6e61d99380d8fa33cd19549ea
469
py
Python
src/fchecker/exceptions/exceptions.py
IncognitoCoding/fchecker
bbc70685174c70b6c396e1c93864028bffd3e22e
[ "MIT" ]
null
null
null
src/fchecker/exceptions/exceptions.py
IncognitoCoding/fchecker
bbc70685174c70b6c396e1c93864028bffd3e22e
[ "MIT" ]
null
null
null
src/fchecker/exceptions/exceptions.py
IncognitoCoding/fchecker
bbc70685174c70b6c396e1c93864028bffd3e22e
[ "MIT" ]
null
null
null
__author__ = "IncognitoCoding" __copyright__ = "Copyright 2022, exceptions" __credits__ = ["IncognitoCoding"] __license__ = "MIT" __version__ = "0.0.1" __maintainer__ = "IncognitoCoding" __status__ = "Beta" class InputFailure(Exception): """Exception raised for an input exception message.""" __module__ = "bu...
21.318182
58
0.720682
7942d1c2e6e54680695703f8d16232ea4c5d00f0
8,123
py
Python
socksOhttp/socksohttp/AES/blockfeeder.py
skelsec/socksohttp
c1713bfcd44f29790325dbb0578590bceb93499f
[ "MIT" ]
37
2018-10-12T22:44:50.000Z
2021-09-13T09:51:55.000Z
socksOhttp/socksohttp/AES/blockfeeder.py
skelsec/socksohttp
c1713bfcd44f29790325dbb0578590bceb93499f
[ "MIT" ]
1
2021-05-11T09:05:34.000Z
2021-05-11T09:05:34.000Z
socksOhttp/socksohttp/AES/blockfeeder.py
skelsec/socksohttp
c1713bfcd44f29790325dbb0578590bceb93499f
[ "MIT" ]
4
2018-10-13T15:07:20.000Z
2020-05-15T02:04:04.000Z
# The MIT License (MIT) # # Copyright (c) 2014 Richard Moore # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, mod...
35.627193
100
0.721408
7942d2074f849d13d13c7e74e732fe4c23283c96
1,192
py
Python
intro_exercise.py
ebayandelger/MSDS600
7bec34531f3fc661a0bfdfe42a974fcfd8f1f2c4
[ "MIT" ]
null
null
null
intro_exercise.py
ebayandelger/MSDS600
7bec34531f3fc661a0bfdfe42a974fcfd8f1f2c4
[ "MIT" ]
null
null
null
intro_exercise.py
ebayandelger/MSDS600
7bec34531f3fc661a0bfdfe42a974fcfd8f1f2c4
[ "MIT" ]
null
null
null
# Lines starting with # are comments and are not run by Python. """ Multi-line comments are possible with triple quotes like this. """ # pandas is a common library for working with data in Python, we usually import it like so: import pandas as pd import matplotlib.pyplot as plt # This data comes from the UCI ML reposi...
28.380952
91
0.700503
7942d2aa9655b4d764ff6b740324b2088c8e4f9b
11,045
py
Python
tests/unit_tests/test_tethys_apps/test_models/test_TethysApp.py
quyendong/tethys
99bcb524d5b2021b88d5fa15b7ed6b8acb460997
[ "BSD-2-Clause" ]
1
2020-10-08T20:38:33.000Z
2020-10-08T20:38:33.000Z
tests/unit_tests/test_tethys_apps/test_models/test_TethysApp.py
quyendong/tethys
99bcb524d5b2021b88d5fa15b7ed6b8acb460997
[ "BSD-2-Clause" ]
1
2018-04-14T19:40:54.000Z
2018-04-14T19:40:54.000Z
tests/unit_tests/test_tethys_apps/test_models/test_TethysApp.py
quyendong/tethys
99bcb524d5b2021b88d5fa15b7ed6b8acb460997
[ "BSD-2-Clause" ]
1
2021-09-07T14:47:11.000Z
2021-09-07T14:47:11.000Z
""" ******************************************************************************** * Name: test_TethysApp * Author: nswain * Created On: August 15, 2018 * Copyright: (c) Aquaveo 2018 ******************************************************************************** """ from tethys_sdk.testing import TethysTestCase from...
38.350694
118
0.657764
7942d32c11f6010092a0886fb170579f7116a515
34,081
py
Python
zipline/test_algorithms.py
mmilutinovic1313/zipline-with-algorithms
fb005461670e60e1182a7bd746abf98b54929f69
[ "Apache-2.0" ]
1
2015-07-22T06:12:56.000Z
2015-07-22T06:12:56.000Z
zipline/test_algorithms.py
mmilutinovic1313/zipline-with-algorithms
fb005461670e60e1182a7bd746abf98b54929f69
[ "Apache-2.0" ]
null
null
null
zipline/test_algorithms.py
mmilutinovic1313/zipline-with-algorithms
fb005461670e60e1182a7bd746abf98b54929f69
[ "Apache-2.0" ]
null
null
null
# # Copyright 2014 Quantopian, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
31.181153
79
0.607347
7942d36247cc0ab01377b2798b873a841c07bfc7
3,234
py
Python
mpf/devices/new_device_template.py
xsdk/mpf
f99fdfb9cbe7f13d42a914e6ace13e05214c8739
[ "MIT" ]
null
null
null
mpf/devices/new_device_template.py
xsdk/mpf
f99fdfb9cbe7f13d42a914e6ace13e05214c8739
[ "MIT" ]
null
null
null
mpf/devices/new_device_template.py
xsdk/mpf
f99fdfb9cbe7f13d42a914e6ace13e05214c8739
[ "MIT" ]
null
null
null
""" Template file for a new device driver.""" # Documentation and more info at http://missionpinball.com/framework # Search this file for 'YourNewDevice' and replace with your device name import logging from mpf.system.devices import Device class YourNewDevice(Device): config_section = 'YourNewDevices' col...
39.439024
82
0.694187
7942d378242cb6e3c6f0e8917fcaa171e5de402f
656
py
Python
Course3/Lab4/validations.py
DeniSaputra-art/it-cert-automation-practice
4bdfdcd8aedc85735b71bfa980e525a92690e950
[ "Apache-2.0" ]
null
null
null
Course3/Lab4/validations.py
DeniSaputra-art/it-cert-automation-practice
4bdfdcd8aedc85735b71bfa980e525a92690e950
[ "Apache-2.0" ]
null
null
null
Course3/Lab4/validations.py
DeniSaputra-art/it-cert-automation-practice
4bdfdcd8aedc85735b71bfa980e525a92690e950
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 import re def validate_user(username, minlen): """Checks if the received username matches the required conditions.""" if type(username) != str: raise TypeError("username must be a string") if minlen < 1: raise ValueError("minlen must be at least 1") # Userna...
26.24
74
0.646341
7942d424f593883c757a32fe159a7e374b440403
25,068
py
Python
backend/controller/dir.py
artontech/ArtonFileManager
b099c5294ab731b0a0f1eb7dbe35397df4515863
[ "Apache-2.0" ]
1
2020-11-17T12:45:47.000Z
2020-11-17T12:45:47.000Z
backend/controller/dir.py
artontech/ArtonFileManager
b099c5294ab731b0a0f1eb7dbe35397df4515863
[ "Apache-2.0" ]
null
null
null
backend/controller/dir.py
artontech/ArtonFileManager
b099c5294ab731b0a0f1eb7dbe35397df4515863
[ "Apache-2.0" ]
null
null
null
''' dir ''' import json import logging import os import shutil import tornado.gen from tornado.concurrent import run_on_executor from backend.controller.default import (DefaultHandler, DefaultWSHandler) from backend.model.attribute import Attribute from backend.model.dir import Dir from backend.model.file...
36.17316
104
0.482129
7942d48fd50dc39669e67fba02a3d5f22e5abe49
1,710
py
Python
tests/test_server_functionality.py
liannnix/ansible-samba
e1a5d1347c5336daa92dfb1b543f2a64e0e7252f
[ "MIT" ]
null
null
null
tests/test_server_functionality.py
liannnix/ansible-samba
e1a5d1347c5336daa92dfb1b543f2a64e0e7252f
[ "MIT" ]
12
2018-06-15T10:47:50.000Z
2020-03-03T12:45:16.000Z
tests/test_server_functionality.py
liannnix/ansible-samba
e1a5d1347c5336daa92dfb1b543f2a64e0e7252f
[ "MIT" ]
9
2018-05-31T08:10:11.000Z
2021-10-01T11:20:11.000Z
# coding=utf-8 """Domain controllers feature tests.""" from pytest_bdd import ( given, scenario, then, when, ) from conftest import assert_cmd import pytest @scenario('features/server_functionality.feature', 'Each domain controller can see each other') def test_each_domain_controller_can_see_each_othe...
30
104
0.704678
7942d5227845433639071f76f7e3440907f51ee2
384
py
Python
dataset/main.py
Datalab-AUTH/MSc---Lampridis---MANIFEST
9c13018313f2681dd27ef56ac0eb8470319a1749
[ "Apache-2.0" ]
3
2021-03-28T20:13:11.000Z
2021-08-23T05:52:27.000Z
dataset/main.py
Datalab-AUTH/MSc---Lampridis---MANIFEST
9c13018313f2681dd27ef56ac0eb8470319a1749
[ "Apache-2.0" ]
null
null
null
dataset/main.py
Datalab-AUTH/MSc---Lampridis---MANIFEST
9c13018313f2681dd27ef56ac0eb8470319a1749
[ "Apache-2.0" ]
null
null
null
import create_dataset def main(): data_separated = create_dataset.get_separated_dataset() data_combined = create_dataset.get_combined_dataset() print(data_separated) print(data_combined) data_separated.to_csv('data_csv/data_separated.csv', index=False) data_combined.to_csv('data_csv/data_comb...
24
69
0.755208
7942d558e88fc199a45bf86984a08b4e8641bb48
8,761
py
Python
oneflow/python/test/ops/test_nn_conv2d_padding_dynamic.py
wanghongsheng01/framework_enflame
debf613e05e3f5ea8084c3e79b60d0dd9e349526
[ "Apache-2.0" ]
1
2021-04-14T03:19:35.000Z
2021-04-14T03:19:35.000Z
oneflow/python/test/ops/test_nn_conv2d_padding_dynamic.py
wanghongsheng01/framework_enflame
debf613e05e3f5ea8084c3e79b60d0dd9e349526
[ "Apache-2.0" ]
1
2021-06-16T08:37:50.000Z
2021-06-16T08:37:50.000Z
oneflow/python/test/ops/test_nn_conv2d_padding_dynamic.py
wanghongsheng01/framework_enflame
debf613e05e3f5ea8084c3e79b60d0dd9e349526
[ "Apache-2.0" ]
null
null
null
""" Copyright 2020 The OneFlow 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 applicable law or agr...
34.904382
88
0.583267
7942d697df2653883968f241b4d85459c86b7a48
3,792
py
Python
WatchDogs_Visualisation/oldApps/pie-chart/venv/dash-test-3.py
tnreddy09/WatchDogs_StockMarketAnalysis
0c72430da633785fcb14e40d8b007c86081d515d
[ "Apache-2.0" ]
4
2020-02-05T11:26:47.000Z
2021-05-26T07:48:46.000Z
WatchDogs_Visualisation/oldApps/pie-chart/venv/dash-test-3.py
prashanth-thipparthi/WatchDogs_StockMarketAnalysis
0c72430da633785fcb14e40d8b007c86081d515d
[ "Apache-2.0" ]
null
null
null
WatchDogs_Visualisation/oldApps/pie-chart/venv/dash-test-3.py
prashanth-thipparthi/WatchDogs_StockMarketAnalysis
0c72430da633785fcb14e40d8b007c86081d515d
[ "Apache-2.0" ]
null
null
null
import dash import dash_html_components as html import dash_core_components as dcc from dash.dependencies import Output, Event, Input import plotly import plotly.graph_objs as go from WatchDogs_MongoWrapper import MongoWrapper app = dash.Dash(__name__) app.layout = html.Div([ html.Div(children=[ html.Div( ...
36.461538
95
0.466772
7942d6d122427027400b58e02483e0f1f027043e
16,524
py
Python
sdk/python/pulumi_azure_nextgen/insights/v20180416/outputs.py
test-wiz-sec/pulumi-azure-nextgen
20a695af0d020b34b0f1c336e1b69702755174cc
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure_nextgen/insights/v20180416/outputs.py
test-wiz-sec/pulumi-azure-nextgen
20a695af0d020b34b0f1c336e1b69702755174cc
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure_nextgen/insights/v20180416/outputs.py
test-wiz-sec/pulumi-azure-nextgen
20a695af0d020b34b0f1c336e1b69702755174cc
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
35.008475
194
0.643912
7942d715dc06e7e47e52d8966b8c73f0a458082f
2,372
py
Python
src/chatbot/aiml/Utils.py
johnmelodyme/chatbot
0abe20bdc291eec7dbf1df95c208f995a5b17106
[ "MIT" ]
1
2018-12-13T07:50:26.000Z
2018-12-13T07:50:26.000Z
src/chatbot/aiml/Utils.py
c4pt000/Sophia-bot
91c85d2bb58cf0cea54dacb3958ce2b966a40616
[ "MIT" ]
null
null
null
src/chatbot/aiml/Utils.py
c4pt000/Sophia-bot
91c85d2bb58cf0cea54dacb3958ce2b966a40616
[ "MIT" ]
null
null
null
""" Copyright 2003-2010 Cort Stratton. All rights reserved. Copyright 2015, 2016 Hanson Robotics 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, ...
34.376812
71
0.676644
7942d7dc5c754c363d2c6d88ad5a20066777a93a
3,154
py
Python
examples/data/ogbl_collab.py
amznero/graph-learn
edb359edc0ce2bfdd5651cff62c592ded40a0849
[ "Apache-2.0" ]
null
null
null
examples/data/ogbl_collab.py
amznero/graph-learn
edb359edc0ce2bfdd5651cff62c592ded40a0849
[ "Apache-2.0" ]
null
null
null
examples/data/ogbl_collab.py
amznero/graph-learn
edb359edc0ce2bfdd5651cff62c592ded40a0849
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 Alibaba Group Holding Limited. 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 ...
40.961039
96
0.63792
7942d81e67b9c30c4896188d9a96ec3281eb2b22
2,987
py
Python
tests/core/test_core_run.py
askanna-io/askanna-python
b6a1dec3b9911888f3d769cef46ce8c2d5cb0dfe
[ "Apache-2.0" ]
1
2021-02-22T15:53:47.000Z
2021-02-22T15:53:47.000Z
tests/core/test_core_run.py
askanna-io/askanna-python
b6a1dec3b9911888f3d769cef46ce8c2d5cb0dfe
[ "Apache-2.0" ]
null
null
null
tests/core/test_core_run.py
askanna-io/askanna-python
b6a1dec3b9911888f3d769cef46ce8c2d5cb0dfe
[ "Apache-2.0" ]
null
null
null
import unittest import responses from askanna.core import client from askanna.core.run import RunGateway a_sample_run_response = { "message_type": "status", "status": "queued", "uuid": "8b73cb55-1ea3-49e1-a294-590a16b60f3f", "short_uuid": "4F8q-nTCK-M2nA-aXUg", "name": "Run with name", "create...
29
96
0.577837
7942daeb499906d60245b81d805be6cea334d742
250
py
Python
sdf4sim/__init__.py
sglumac/sdf4sim
3e8fc3ca577c6badd7f729bd52378b4210d7fba1
[ "MIT" ]
1
2020-04-29T10:34:54.000Z
2020-04-29T10:34:54.000Z
sdf4sim/__init__.py
sglumac/sdf4sim
3e8fc3ca577c6badd7f729bd52378b4210d7fba1
[ "MIT" ]
1
2021-11-15T17:49:09.000Z
2021-11-15T17:49:09.000Z
sdf4sim/__init__.py
sglumac/sdf4sim
3e8fc3ca577c6badd7f729bd52378b4210d7fba1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Top-level package for sdf4sim.""" __author__ = """Slaven Glumac""" __email__ = 'slaven.glumac@gmail.com' __version__ = '0.6.0' from . import sdf, cs, example, autoconfig __all__ = ['sdf', 'cs', 'example', 'autoconfig']
20.833333
48
0.644
7942dba361e69c113041e6f460f4b838fd197e2a
3,440
py
Python
homeassistant/components/guardian/binary_sensor.py
ccatterina/core
36789cfc310f270bf343676eb94d123e5d0dfa83
[ "Apache-2.0" ]
6
2016-11-25T06:36:27.000Z
2021-11-16T11:20:23.000Z
homeassistant/components/guardian/binary_sensor.py
ccatterina/core
36789cfc310f270bf343676eb94d123e5d0dfa83
[ "Apache-2.0" ]
45
2020-10-15T06:47:06.000Z
2022-03-31T06:26:16.000Z
homeassistant/components/guardian/binary_sensor.py
ccatterina/core
36789cfc310f270bf343676eb94d123e5d0dfa83
[ "Apache-2.0" ]
2
2020-11-17T09:19:47.000Z
2020-12-16T03:56:09.000Z
"""Binary sensors for the Elexa Guardian integration.""" from typing import Callable, Dict from aioguardian import Client from homeassistant.components.binary_sensor import ( DEVICE_CLASS_CONNECTIVITY, DEVICE_CLASS_MOISTURE, BinarySensorEntity, ) from homeassistant.config_entries import ConfigEntry from h...
31.559633
88
0.652035
7942dc57faa0c4594e7b6b3df0e8ce3dfef73ec4
934
py
Python
setup.py
RRisto/simple_classifiy
81fcc5c6bdac39cda207526a6117bac2767d1255
[ "MIT" ]
1
2019-10-10T15:57:12.000Z
2019-10-10T15:57:12.000Z
setup.py
RRisto/simple_classifiy
81fcc5c6bdac39cda207526a6117bac2767d1255
[ "MIT" ]
3
2018-09-04T10:12:13.000Z
2018-09-07T06:38:09.000Z
setup.py
RRisto/simple_classifiy
81fcc5c6bdac39cda207526a6117bac2767d1255
[ "MIT" ]
null
null
null
from setuptools import setup def readme(): with open('readme.md') as f: return f.read() setup(name='TextClass', version='0.2', description='Classes and methods for cleaning, cleaning and classifyng texts', long_description=readme(), classifiers=[ 'Development Status :: 4 - ...
34.592593
114
0.61349
7942dccd68bb1bc52dca7d1c09de6aa0a77709ca
137,053
py
Python
sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/models/_models_py3.py
rsdoherty/azure-sdk-for-python
6bba5326677468e6660845a703686327178bb7b1
[ "MIT" ]
3
2020-06-23T02:25:27.000Z
2021-09-07T18:48:11.000Z
sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/models/_models_py3.py
rsdoherty/azure-sdk-for-python
6bba5326677468e6660845a703686327178bb7b1
[ "MIT" ]
510
2019-07-17T16:11:19.000Z
2021-08-02T08:38:32.000Z
sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/models/_models_py3.py
rsdoherty/azure-sdk-for-python
6bba5326677468e6660845a703686327178bb7b1
[ "MIT" ]
5
2019-09-04T12:51:37.000Z
2020-09-16T07:28:40.000Z
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
36.654988
409
0.654396