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
795a2ecd36ec112ae3ea6735548db7655f19b1bd
35,167
py
Python
poptics/gui.py
will-hossack/Poptics
4093876e158eb16421dfd4e57818210b11381429
[ "MIT" ]
null
null
null
poptics/gui.py
will-hossack/Poptics
4093876e158eb16421dfd4e57818210b11381429
[ "MIT" ]
null
null
null
poptics/gui.py
will-hossack/Poptics
4093876e158eb16421dfd4e57818210b11381429
[ "MIT" ]
null
null
null
""" Set of gui classes and methods. Warning: these GUI do not work very smoothly with Spyder / IPython because the Spyder graphics window is a PyQT widget and there is some odd interactations, in particular when you close the main window it tend to hang the Sypder IPhthon console and you have ...
32.927903
124
0.647425
795a2ee06136642c9c340a5300a363fc170f44d8
1,367
py
Python
snorkel/parser/corpus_parser.py
silencehero/snorkel
afe2563a91e3d292d1a1d8a1ca6a2d39e8cd09c2
[ "Apache-2.0" ]
2
2019-01-08T02:30:35.000Z
2019-03-13T07:00:34.000Z
snorkel/parser/corpus_parser.py
silencehero/snorkel
afe2563a91e3d292d1a1d8a1ca6a2d39e8cd09c2
[ "Apache-2.0" ]
null
null
null
snorkel/parser/corpus_parser.py
silencehero/snorkel
afe2563a91e3d292d1a1d8a1ca6a2d39e8cd09c2
[ "Apache-2.0" ]
2
2018-12-01T17:10:01.000Z
2018-12-28T09:16:41.000Z
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals from builtins import * from .corenlp import StanfordCoreNLPServer from ..models import Candidate, Context, Sentence from ..udf import UDF, UDFRunner class CorpusParser(...
34.175
76
0.648135
795a2fa28fc683d242f84a51c4820ef0ee430244
4,965
py
Python
climate.py
partikus/tech-controllers
eadbc6892751e1e63f4bef5990ba72b63b294aa6
[ "MIT" ]
null
null
null
climate.py
partikus/tech-controllers
eadbc6892751e1e63f4bef5990ba72b63b294aa6
[ "MIT" ]
null
null
null
climate.py
partikus/tech-controllers
eadbc6892751e1e63f4bef5990ba72b63b294aa6
[ "MIT" ]
null
null
null
"""Support for Tech HVAC system.""" import logging import json from typing import List, Optional from homeassistant.components.climate import ClimateEntity from homeassistant.components.climate.const import ( HVAC_MODE_HEAT, HVAC_MODE_COOL, HVAC_MODE_HEAT_COOL, HVAC_MODE_OFF, CURRENT_HVAC_HEAT, ...
32.032258
120
0.633031
795a309613d3d8afdcf46f0c02f746711c589b4c
2,134
py
Python
callback.py
wtma/TripleNet
1ae35ff3c8ebab8ec85e86adb2526aa509628e94
[ "Apache-2.0" ]
27
2019-10-26T08:17:31.000Z
2021-07-12T07:54:01.000Z
callback.py
wtma/TripleNet
1ae35ff3c8ebab8ec85e86adb2526aa509628e94
[ "Apache-2.0" ]
3
2019-10-21T13:42:31.000Z
2020-05-19T16:05:28.000Z
callback.py
chatopera/triplenet
3051d4b707e964e18dd909f89c40c0e703f26683
[ "Apache-2.0" ]
6
2019-11-27T15:09:17.000Z
2021-04-15T12:43:10.000Z
from keras.callbacks import ModelCheckpoint from keras.callbacks import Callback from evaluate import evaluate_ubuntu, evaluate_douban import codecs import json import os class SaveModelCallback(Callback): def __init__(self, args, single_model): """ :param single_model: keras can only save single g...
41.843137
103
0.606842
795a30df006d482b157e92931a25722838708355
905
py
Python
episode_8/ian.py
ChucklesJM/Three-Hundred-Lines
9c0d59eeeffcb5565175fe24d95952fb1b34ffa1
[ "MIT" ]
1
2020-08-16T05:04:41.000Z
2020-08-16T05:04:41.000Z
episode_8/ian.py
jackmitcheltree/Three-Hundred-Lines
9c0d59eeeffcb5565175fe24d95952fb1b34ffa1
[ "MIT" ]
null
null
null
episode_8/ian.py
jackmitcheltree/Three-Hundred-Lines
9c0d59eeeffcb5565175fe24d95952fb1b34ffa1
[ "MIT" ]
1
2020-08-16T05:05:28.000Z
2020-08-16T05:05:28.000Z
import time start = time.time() # #- #~ Find the value of n <= m for which n/phi(n) is maximimized ~# def sieve_of_Eratosthenes(n): # returns list of primes less than n A = [True]*n for i in range(2,int(n**(0.5))+1): if A[i] == True: j = i**2 while j < n: ...
21.547619
66
0.41105
795a31a770943d7cd4a032200b47019d26633134
39,293
py
Python
sdk/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2018_01_01_preview/aio/operations/_event_hubs_operations.py
vbarbaresi/azure-sdk-for-python
397ba46c51d001ff89c66b170f5576cf8f49c05f
[ "MIT" ]
8
2021-01-13T23:44:08.000Z
2021-03-17T10:13:36.000Z
sdk/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2018_01_01_preview/aio/operations/_event_hubs_operations.py
vbarbaresi/azure-sdk-for-python
397ba46c51d001ff89c66b170f5576cf8f49c05f
[ "MIT" ]
4
2019-04-17T17:57:49.000Z
2020-04-24T21:11:22.000Z
sdk/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2018_01_01_preview/aio/operations/_event_hubs_operations.py
vbarbaresi/azure-sdk-for-python
397ba46c51d001ff89c66b170f5576cf8f49c05f
[ "MIT" ]
1
2019-04-05T18:17:43.000Z
2019-04-05T18:17:43.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 ...
52.181939
268
0.677347
795a31fb56501a00d9138af144a1fa07b5151b8a
4,036
py
Python
sdk/python/pulumi_vsphere/get_tag_category.py
pulumi/pulumi-vsphere
a4536cd49860323bd57cbf2a127c5b57c9f9b60c
[ "ECL-2.0", "Apache-2.0" ]
38
2018-09-17T18:56:29.000Z
2022-03-26T03:07:20.000Z
sdk/python/pulumi_vsphere/get_tag_category.py
pulumi/pulumi-vsphere
a4536cd49860323bd57cbf2a127c5b57c9f9b60c
[ "ECL-2.0", "Apache-2.0" ]
75
2018-09-17T13:18:24.000Z
2022-03-31T21:32:30.000Z
sdk/python/pulumi_vsphere/get_tag_category.py
pulumi/pulumi-vsphere
a4536cd49860323bd57cbf2a127c5b57c9f9b60c
[ "ECL-2.0", "Apache-2.0" ]
2
2019-10-05T10:30:01.000Z
2020-09-30T11:16:59.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** 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, overload from . import ...
33.915966
135
0.671952
795a343218326c8ca4a7891eba280d93bf5bdf52
218
py
Python
src/DesviosCondicionais/index5.py
santa-python/python-workshop
00a17b96218625933681df85f73268326adbeb22
[ "MIT" ]
1
2019-03-16T14:49:27.000Z
2019-03-16T14:49:27.000Z
src/DesviosCondicionais/index5.py
santa-python/python-workshop
00a17b96218625933681df85f73268326adbeb22
[ "MIT" ]
null
null
null
src/DesviosCondicionais/index5.py
santa-python/python-workshop
00a17b96218625933681df85f73268326adbeb22
[ "MIT" ]
null
null
null
string = input('digite o que quiser:') occurrence = input('digite sua ocorrência:') while len(occurrence) > 1: occurrence = input('digite apenas uma letra:') if occurrence in string: print('achei') else: print(':(')
27.25
47
0.706422
795a36344af12b19be5e075b7e50331865a83544
67,333
py
Python
spyder/widgets/collectionseditor.py
scottwedge/spyder
e1afd4c78a4572a0ac1992dc2d134dfaf4b4d804
[ "MIT" ]
null
null
null
spyder/widgets/collectionseditor.py
scottwedge/spyder
e1afd4c78a4572a0ac1992dc2d134dfaf4b4d804
[ "MIT" ]
null
null
null
spyder/widgets/collectionseditor.py
scottwedge/spyder
e1afd4c78a4572a0ac1992dc2d134dfaf4b4d804
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # ----------------------------------------------------------------------------- # Copyright © Spyder Project Contributors # # Licensed under the terms of the MIT License # (see spyder/__init__.py for details) # ---------------------------------------------------------------------------- ...
38.454026
87
0.555478
795a3696b517eb7666adf08472e8313398550160
8,439
py
Python
awx/main/tests/functional/models/test_notifications.py
vin-c/awx
72de660ea1039039ffd7e7c72d72e5a44ffcbdf7
[ "Apache-2.0" ]
1
2020-04-10T21:29:52.000Z
2020-04-10T21:29:52.000Z
awx/main/tests/functional/models/test_notifications.py
vin-c/awx
72de660ea1039039ffd7e7c72d72e5a44ffcbdf7
[ "Apache-2.0" ]
12
2021-06-17T07:32:11.000Z
2022-03-29T22:11:45.000Z
awx/main/tests/functional/models/test_notifications.py
srflaxu40/awx
c984c2fa49cc445f610d7cca4c2b3191572b01ae
[ "Apache-2.0" ]
1
2021-09-02T16:59:42.000Z
2021-09-02T16:59:42.000Z
# -*- coding: utf-8 -*- from copy import deepcopy import datetime import pytest #from awx.main.models import NotificationTemplates, Notifications, JobNotificationMixin from awx.main.models import (AdHocCommand, InventoryUpdate, Job, JobNotificationMixin, ProjectUpdate, SystemJob, Workflow...
57.80137
120
0.397322
795a36c6393c6920fe98783c72e86f002136d8ce
5,415
py
Python
pyspedas/analysis/time_clip.py
amanotk/pyspedas
ba38f9a318fe96911a0fb3d6fce53e8b1a534ff4
[ "MIT" ]
null
null
null
pyspedas/analysis/time_clip.py
amanotk/pyspedas
ba38f9a318fe96911a0fb3d6fce53e8b1a534ff4
[ "MIT" ]
null
null
null
pyspedas/analysis/time_clip.py
amanotk/pyspedas
ba38f9a318fe96911a0fb3d6fce53e8b1a534ff4
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ File: time_clip.py Description: Time clip of data. Parameters: names: str/list of str List of pytplot names. new_names: str/list of str List of new_names for pytplot variables. If '', then pytplot variables are replaced. If not given, then a ...
37.867133
175
0.582271
795a36e9dab00a40b69bbb67e94bbf5c0503b2e6
1,711
py
Python
src/CmdBoxHandler.py
lookwhoistalkingpython/VoiceEditor
7fb57b1f97d052ea023f6bee2c2669195f76c21c
[ "MIT" ]
2
2020-08-29T21:28:28.000Z
2021-11-05T12:50:40.000Z
src/CmdBoxHandler.py
lookwhoistalkinguvm/VoiceEditorUVM
0769d65cf90c6d82504f22fabdf7957ae03a9699
[ "MIT" ]
null
null
null
src/CmdBoxHandler.py
lookwhoistalkinguvm/VoiceEditorUVM
0769d65cf90c6d82504f22fabdf7957ae03a9699
[ "MIT" ]
1
2021-04-07T11:12:53.000Z
2021-04-07T11:12:53.000Z
# #Copyright 2020 Carsten Thiele # #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, modify, merge, publish, distribute, ...
34.22
104
0.799532
795a3718fc711bf89475e02b558d67f326f367b1
1,968
py
Python
app/core/tests/test_models.py
wolfiee007/recipe-app-api
e6f99afa4a009ae71b4b06803e0b618a75ac0536
[ "MIT" ]
null
null
null
app/core/tests/test_models.py
wolfiee007/recipe-app-api
e6f99afa4a009ae71b4b06803e0b618a75ac0536
[ "MIT" ]
6
2020-05-15T10:53:08.000Z
2022-02-10T14:31:30.000Z
app/core/tests/test_models.py
wolfiee007/recipe-app-api
e6f99afa4a009ae71b4b06803e0b618a75ac0536
[ "MIT" ]
null
null
null
from django.test import TestCase from django.contrib.auth import get_user_model from core import models def sample_user(email='test@wolfiee.com', password='123456'): "Create a sample user" return get_user_model().objects.create_user(email,password) class ModelTests(TestCase): def test_create_user_with_em...
31.741935
68
0.643293
795a37a525f02d1c5a44598119cf7361e3466fd3
434
py
Python
yatube/posts/admin.py
Apocalyptic434/hw02_community
04e105d6ed2f76c4b1bb08b7c8af49d5c994d04a
[ "MIT" ]
null
null
null
yatube/posts/admin.py
Apocalyptic434/hw02_community
04e105d6ed2f76c4b1bb08b7c8af49d5c994d04a
[ "MIT" ]
null
null
null
yatube/posts/admin.py
Apocalyptic434/hw02_community
04e105d6ed2f76c4b1bb08b7c8af49d5c994d04a
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Group, Post @admin.register(Group) class GroupAdmin(admin.ModelAdmin): pass @admin.register(Post) class PostAdmin(admin.ModelAdmin): list_display = ('pk', 'text', 'pub_date', 'author', 'group',) list_editable = ('group',) search_fields = ('text',...
22.842105
65
0.679724
795a389312a38eff8fb58a601fdae8cab19b2883
118,814
py
Python
keras/layers/convolutional.py
mdand2000/keras-team-keras
5eecd55a6f1d6d149b42f9b76aa53d4c5ab8d3eb
[ "MIT" ]
2
2019-09-17T22:01:41.000Z
2020-05-30T05:48:14.000Z
keras/layers/convolutional.py
mdand2000/keras-team-keras
5eecd55a6f1d6d149b42f9b76aa53d4c5ab8d3eb
[ "MIT" ]
null
null
null
keras/layers/convolutional.py
mdand2000/keras-team-keras
5eecd55a6f1d6d149b42f9b76aa53d4c5ab8d3eb
[ "MIT" ]
3
2019-08-12T18:15:17.000Z
2021-06-20T19:40:13.000Z
# -*- coding: utf-8 -*- """Convolutional layers. """ from __future__ import absolute_import from __future__ import division from __future__ import print_function from .. import backend as K from .. import activations from .. import initializers from .. import regularizers from .. import constraints from ..engine.base_...
44.835472
123
0.577541
795a3905e70de94d67bfa6ebd9b0dd4c12b195ea
81
py
Python
cvk/apps.py
cvk007/ML_Model
8437257cc84c7a0ac42e7b6728431494f145882b
[ "MIT" ]
null
null
null
cvk/apps.py
cvk007/ML_Model
8437257cc84c7a0ac42e7b6728431494f145882b
[ "MIT" ]
null
null
null
cvk/apps.py
cvk007/ML_Model
8437257cc84c7a0ac42e7b6728431494f145882b
[ "MIT" ]
null
null
null
from django.apps import AppConfig class CvkConfig(AppConfig): name = 'cvk'
13.5
33
0.728395
795a3a6caa5ae5b7e488b465f0707922ca3b00a7
3,415
py
Python
tools/pot/openvino/tools/pot/graph/graph_utils.py
ytorzuk-altran/openvino
68d460a3bb578a738ba0e4d0e1f2e321afa73ab0
[ "Apache-2.0" ]
1
2021-02-01T06:35:55.000Z
2021-02-01T06:35:55.000Z
tools/pot/openvino/tools/pot/graph/graph_utils.py
ytorzuk-altran/openvino
68d460a3bb578a738ba0e4d0e1f2e321afa73ab0
[ "Apache-2.0" ]
58
2020-11-06T12:13:45.000Z
2022-03-28T13:20:11.000Z
tools/pot/openvino/tools/pot/graph/graph_utils.py
maindude111/openvino
c23025dfd2e3da57981e7fc7328074e3895759ea
[ "Apache-2.0" ]
1
2021-02-15T01:13:57.000Z
2021-02-15T01:13:57.000Z
# Copyright (C) 2020-2021 Intel Corporation # SPDX-License-Identifier: Apache-2.0 import os import tempfile from copy import deepcopy from openvino.tools.mo.graph.graph import Graph from openvino.tools.mo.utils.ir_reader.restore_graph import restore_graph_from_ir, save_restored_graph from openvino.tools.mo.utils.logge...
40.654762
118
0.738507
795a3a7443236be65b274f11e4a326c064a0662a
192
py
Python
sqlite-view.py
tbaschak/hpkp-pinfail
afdb0cce1586bbc195c472ec5a03597f3bd3f822
[ "MIT" ]
1
2016-04-17T09:49:33.000Z
2016-04-17T09:49:33.000Z
sqlite-view.py
tbaschak/hpkp-pinfail
afdb0cce1586bbc195c472ec5a03597f3bd3f822
[ "MIT" ]
null
null
null
sqlite-view.py
tbaschak/hpkp-pinfail
afdb0cce1586bbc195c472ec5a03597f3bd3f822
[ "MIT" ]
null
null
null
#!/usr/bin/env python import sqlite3 conn = sqlite3.connect('hpkp.sqlite') c = conn.cursor() # Create table for row in c.execute('''SELECT * FROM reports'''): print row conn.close()
14.769231
50
0.666667
795a3ab858c7c5243577f55a2e16559b2804e47d
10,097
py
Python
test/test_state_network_size_request.py
vericred/vericred-python
be45691c821a595c3d77a561b2ca33049b1239b4
[ "Apache-2.0" ]
3
2016-08-10T23:39:11.000Z
2021-08-25T02:39:39.000Z
test/test_state_network_size_request.py
vericred/vericred-python
be45691c821a595c3d77a561b2ca33049b1239b4
[ "Apache-2.0" ]
2
2016-05-27T12:44:08.000Z
2016-08-24T18:19:36.000Z
test/test_state_network_size_request.py
vericred/vericred-python
be45691c821a595c3d77a561b2ca33049b1239b4
[ "Apache-2.0" ]
4
2016-05-27T08:18:14.000Z
2021-08-25T02:41:18.000Z
# coding: utf-8 """ Vericred API Vericred's API allows you to search for Health Plans that a specific doctor accepts. ## Getting Started Visit our [Developer Portal](https://developers.vericred.com) to create an account. Once you have created an account, you can create one Application for Production and an...
40.388
228
0.669407
795a3d94272c99104a4b71e6c1019931e189ac43
1,757
py
Python
neutron/extensions/l2_adjacency.py
cleo4zheng/neutron
6d65318308edfd984bdd0ff1ac7fef9486a040f7
[ "Apache-2.0" ]
4
2018-08-05T00:43:03.000Z
2021-10-13T00:45:45.000Z
neutron/extensions/l2_adjacency.py
cleo4zheng/neutron
6d65318308edfd984bdd0ff1ac7fef9486a040f7
[ "Apache-2.0" ]
8
2018-06-14T14:50:16.000Z
2018-11-13T16:30:42.000Z
neutron/extensions/l2_adjacency.py
cleo4zheng/neutron
6d65318308edfd984bdd0ff1ac7fef9486a040f7
[ "Apache-2.0" ]
7
2018-06-12T18:57:04.000Z
2019-05-09T15:42:30.000Z
# Copyright (c) 2016 NEC Technologies Ltd. # 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...
29.779661
78
0.676153
795a3edcf461d2d1576f2303e1566ecd225c5f43
2,404
py
Python
tensorflow/python/data/experimental/ops/counter.py
yage99/tensorflow
c7fa71b32a3635eb25596ae80d007b41007769c4
[ "Apache-2.0" ]
78
2020-08-04T12:36:25.000Z
2022-03-25T04:23:40.000Z
tensorflow/python/data/experimental/ops/counter.py
sseung0703/tensorflow
be084bd7a4dd241eb781fc704f57bcacc5c9b6dd
[ "Apache-2.0" ]
203
2019-06-14T23:53:10.000Z
2022-02-10T02:27:23.000Z
tensorflow/python/data/experimental/ops/counter.py
sseung0703/tensorflow
be084bd7a4dd241eb781fc704f57bcacc5c9b6dd
[ "Apache-2.0" ]
66
2020-05-15T10:05:12.000Z
2022-02-14T07:28:18.000Z
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
35.880597
80
0.698003
795a3f029819973136f92b1daa9efc9b0d762635
25
py
Python
src/wta/__init__.py
kaist-irnlp/SparseColBERT
f0f0ed4acff5dc3c747f13315de0fe7ea50b5b70
[ "MIT" ]
null
null
null
src/wta/__init__.py
kaist-irnlp/SparseColBERT
f0f0ed4acff5dc3c747f13315de0fe7ea50b5b70
[ "MIT" ]
null
null
null
src/wta/__init__.py
kaist-irnlp/SparseColBERT
f0f0ed4acff5dc3c747f13315de0fe7ea50b5b70
[ "MIT" ]
null
null
null
from .wta import WTAModel
25
25
0.84
795a3f58ec603bb6ef567a91c2c2f86a4cf7cc8f
3,055
py
Python
experiments/20200328/StationA-48samples.py
emilyjunkins/covid19
ab57fa9e9d601eef25a12847ca868d86a4799ca2
[ "Apache-2.0" ]
11
2020-03-30T07:20:15.000Z
2022-03-20T08:41:35.000Z
experiments/20200328/StationA-48samples.py
emilyjunkins/covid19
ab57fa9e9d601eef25a12847ca868d86a4799ca2
[ "Apache-2.0" ]
4
2020-03-31T19:36:37.000Z
2020-05-13T14:06:27.000Z
experiments/20200328/StationA-48samples.py
emilyjunkins/covid19
ab57fa9e9d601eef25a12847ca868d86a4799ca2
[ "Apache-2.0" ]
7
2020-04-07T12:20:25.000Z
2021-12-04T02:32:43.000Z
metadata = { 'protocolName': 'BP Genomics Station A 48 Samples', 'author': 'Chaz <chaz@opentrons.com', 'source': 'Custom Protocol Request', 'apiLevel': '2.2' } def run(protocol): tips200 = [protocol.load_labware('opentrons_96_tiprack_300ul', '9')] tips20 = [protocol.load_labware('opentrons_96_...
34.715909
79
0.627496
795a3fb9ededa5ce7050157031c1327f66345df2
202
py
Python
ClassCode/P7/create_ndarray.py
tsyet12/ClassCode
db1db97f71a6f31769d58739c6687863bc6b88c4
[ "MIT" ]
null
null
null
ClassCode/P7/create_ndarray.py
tsyet12/ClassCode
db1db97f71a6f31769d58739c6687863bc6b88c4
[ "MIT" ]
null
null
null
ClassCode/P7/create_ndarray.py
tsyet12/ClassCode
db1db97f71a6f31769d58739c6687863bc6b88c4
[ "MIT" ]
null
null
null
import numpy as np x_zero= np.zeros((2,3)) print(x_zero) x_arange=np.arange(100) print(x_arange) x_linspace=np.linspace(1,10,100) print(x_linspace) x_indices=np.indices((5,5)) print(x_indices)
10.631579
32
0.732673
795a40e5bc41eda01ee92d1ee998ffd333ba2b03
4,701
py
Python
datasets/wikisql/wikisql_data.py
IBM/row-column-intersection
fbc4214d7f92f9602a1b219b4336a940de3d6ee4
[ "Apache-2.0" ]
29
2021-04-20T07:15:41.000Z
2022-03-01T06:32:40.000Z
datasets/wikisql/wikisql_data.py
IBM/row-column-intersection
fbc4214d7f92f9602a1b219b4336a940de3d6ee4
[ "Apache-2.0" ]
4
2021-04-25T06:49:13.000Z
2021-10-07T11:00:14.000Z
datasets/wikisql/wikisql_data.py
IBM/row-column-intersection
fbc4214d7f92f9602a1b219b4336a940de3d6ee4
[ "Apache-2.0" ]
5
2021-04-28T21:52:41.000Z
2022-02-21T07:16:35.000Z
import json from tqdm import tqdm from datasets.wikisql.wikisql_dbengine import DBEngine from lib.query import Query from lib.common import count_lines import os from util.line_corpus import jsonl_lines, write_open from util.args_help import fill_from_args from datasets.wikisql.tables2agg_classify import write_agg_clas...
38.85124
95
0.562859
795a414ca8d27b1c2dd9ace96c58e06ff6c3966b
428
py
Python
broker/eudat/login_eudat_test.py
ebloc/EBlocBroker
8e0a8be0fb4e998b0b7214c3eb3eff20b90a8253
[ "MIT" ]
null
null
null
broker/eudat/login_eudat_test.py
ebloc/EBlocBroker
8e0a8be0fb4e998b0b7214c3eb3eff20b90a8253
[ "MIT" ]
null
null
null
broker/eudat/login_eudat_test.py
ebloc/EBlocBroker
8e0a8be0fb4e998b0b7214c3eb3eff20b90a8253
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from broker import config from broker.config import env from broker.libs import eudat eudat.login(env.OC_USER, env.LOG_PATH.joinpath(".eudat_client.txt"), env.OC_CLIENT) oc = config.oc print("running: `oc.list('.')`") _list = oc.list(".") for item in _list: print(item) # for item in _list: ...
22.526316
83
0.658879
795a4165a660ce360f80ebcaca6823f1bbdd69f8
37,102
py
Python
venv/Lib/site-packages/werkzeug/utils.py
camehu2022/cotacao_moeda
0f161b58184c783e64b76803596862c45fb4a947
[ "MIT" ]
null
null
null
venv/Lib/site-packages/werkzeug/utils.py
camehu2022/cotacao_moeda
0f161b58184c783e64b76803596862c45fb4a947
[ "MIT" ]
null
null
null
venv/Lib/site-packages/werkzeug/utils.py
camehu2022/cotacao_moeda
0f161b58184c783e64b76803596862c45fb4a947
[ "MIT" ]
null
null
null
import codecs import io import mimetypes import os import pkgutil import re import sys import typing as t import unicodedata import warnings from datetime import datetime from html.entities import name2codepoint from time import time from zlib import adler32 from ._internal import _DictAccessorProperty from ._internal...
33.729091
88
0.623929
795a41fae2e45b7288b9b1ec646a798b3175b0c0
254
py
Python
built_in.py
aadilmughal786/ACulator-Tkinter
8953d7c2b4598e104140f265e5b9cd330ea1bc02
[ "MIT" ]
1
2021-06-03T21:14:27.000Z
2021-06-03T21:14:27.000Z
built_in.py
aadilmughal786/ACulator
8953d7c2b4598e104140f265e5b9cd330ea1bc02
[ "MIT" ]
null
null
null
built_in.py
aadilmughal786/ACulator
8953d7c2b4598e104140f265e5b9cd330ea1bc02
[ "MIT" ]
null
null
null
#-------------------- Built-in --------------------------- #-------------------------- variables ----------------------- #---------------------------- objects -------------------------- #---------------------------- functions -------------------------
36.285714
65
0.125984
795a425b90dd48adb3812efcc61c304be668e808
10,573
py
Python
topaz/frame.py
ruby-compiler-survey/topaz
bf4a56adbe03ae9ab4984729c733fcbc64a164c4
[ "BSD-3-Clause" ]
241
2015-01-02T18:49:09.000Z
2022-03-15T15:08:45.000Z
topaz/frame.py
ruby-compiler-survey/topaz
bf4a56adbe03ae9ab4984729c733fcbc64a164c4
[ "BSD-3-Clause" ]
16
2015-05-04T21:31:08.000Z
2020-06-04T22:49:36.000Z
topaz/frame.py
ruby-compiler-survey/topaz
bf4a56adbe03ae9ab4984729c733fcbc64a164c4
[ "BSD-3-Clause" ]
24
2015-02-15T05:35:11.000Z
2022-03-22T13:29:04.000Z
from rpython.rlib import jit from topaz.closure import LocalCell from topaz.objects.hashobject import W_HashObject from topaz.objects.functionobject import W_FunctionObject class BaseFrame(object): _attrs_ = ["backref", "escaped", "back_last_instr"] def __init__(self): self.backref = jit.vref_None ...
38.447273
102
0.565592
795a428a572922a0feb1cd52d26aa45d17997124
976
py
Python
q2_types/distance_matrix/tests/test_type.py
Leo-Simpson/q2-types
2946fda4fe2817fde1646ddcdc8e8ebf41abe5a4
[ "BSD-3-Clause" ]
null
null
null
q2_types/distance_matrix/tests/test_type.py
Leo-Simpson/q2-types
2946fda4fe2817fde1646ddcdc8e8ebf41abe5a4
[ "BSD-3-Clause" ]
null
null
null
q2_types/distance_matrix/tests/test_type.py
Leo-Simpson/q2-types
2946fda4fe2817fde1646ddcdc8e8ebf41abe5a4
[ "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.655172
78
0.633197
795a433ae6b46f0506af6a061d713f0e8d955006
1,175
tac
Python
server/smtpserver.tac
thepatrick/smtp2web
15ee20199134ce1edc97aa9094a7005ec0230dad
[ "Apache-2.0" ]
1
2015-03-12T10:42:11.000Z
2015-03-12T10:42:11.000Z
server/smtpserver.tac
thepatrick/smtp2web
15ee20199134ce1edc97aa9094a7005ec0230dad
[ "Apache-2.0" ]
null
null
null
server/smtpserver.tac
thepatrick/smtp2web
15ee20199134ce1edc97aa9094a7005ec0230dad
[ "Apache-2.0" ]
null
null
null
# Copyright 2008 arachnid AT notdot.net, # 2010 Patrick Quinn-Graham # # 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...
34.558824
79
0.764255
795a438faef16b0fa56f4a39b523269717696e81
475
py
Python
book/timed.py
tebeka/pythonwise
56f8cb7aa792c3ad6a3dc754e15f6a04890d694a
[ "BSD-3-Clause" ]
21
2016-11-16T20:08:56.000Z
2021-12-11T23:13:05.000Z
book/timed.py
tebeka/pythonwise
56f8cb7aa792c3ad6a3dc754e15f6a04890d694a
[ "BSD-3-Clause" ]
1
2020-10-05T08:35:31.000Z
2020-10-05T08:35:31.000Z
book/timed.py
tebeka/pythonwise
56f8cb7aa792c3ad6a3dc754e15f6a04890d694a
[ "BSD-3-Clause" ]
8
2016-11-12T22:54:55.000Z
2021-02-10T10:46:23.000Z
from time import monotonic, sleep from functools import wraps def timed(fn): """Timing decorator""" @wraps(fn) def wrapper(*args, **kw): start = monotonic() try: return fn(*args, **kw) finally: duration = monotonic() - start print('{} took {:.2f}...
20.652174
68
0.557895
795a439eb05239c6ac408caceb0f4368efa46369
7,640
py
Python
demisto_sdk/commands/lint/tests/test_linter/docker_runner_test.py
yalonso7/demisto-sdk
4b832078cdadb0b604a064532975e8be68ac726a
[ "MIT" ]
null
null
null
demisto_sdk/commands/lint/tests/test_linter/docker_runner_test.py
yalonso7/demisto-sdk
4b832078cdadb0b604a064532975e8be68ac726a
[ "MIT" ]
null
null
null
demisto_sdk/commands/lint/tests/test_linter/docker_runner_test.py
yalonso7/demisto-sdk
4b832078cdadb0b604a064532975e8be68ac726a
[ "MIT" ]
null
null
null
from unittest.mock import DEFAULT import pytest from demisto_sdk.commands.common.constants import TYPE_PWSH, TYPE_PYTHON from demisto_sdk.commands.lint import linter from demisto_sdk.commands.lint.linter import Linter class TestCreateImage: def test_build_image_no_errors(self, linter_obj: Linter, demisto_content...
50.263158
123
0.593717
795a485916c904bb66ddb7f69063625cb3c8e211
5,847
py
Python
predict.py
Ceciliawangwang/image_segmentation_deeplabv3
32b2c9a272a903023d78ebc3a2523147522346b4
[ "MIT" ]
null
null
null
predict.py
Ceciliawangwang/image_segmentation_deeplabv3
32b2c9a272a903023d78ebc3a2523147522346b4
[ "MIT" ]
null
null
null
predict.py
Ceciliawangwang/image_segmentation_deeplabv3
32b2c9a272a903023d78ebc3a2523147522346b4
[ "MIT" ]
null
null
null
from torch.utils.data import dataset from tqdm import tqdm import network import utils import os import random import argparse import numpy as np import time from torch.utils import data from datasets import VOCSegmentation, Cityscapes, cityscapes from torchvision import transforms as T from metrics import StreamSegMe...
39.506757
120
0.625278
795a4921f4452766e97a972d83c88355294f68a1
641
py
Python
adjMatrix.py
deka1105/Playbooks
c1f2157681ca5371688ff8a457f097962f81beff
[ "MIT" ]
null
null
null
adjMatrix.py
deka1105/Playbooks
c1f2157681ca5371688ff8a457f097962f81beff
[ "MIT" ]
null
null
null
adjMatrix.py
deka1105/Playbooks
c1f2157681ca5371688ff8a457f097962f81beff
[ "MIT" ]
null
null
null
import pandas as pd allCol = ['0A','1B','2C','3D','4E','5F','6G','7H','8I','9J','10K','12L','12M','13N'] sol = { 0:[11,], 1:[2,6,7,8,9,10,11], 3:[6,7,8,9,10,11], 4:[4,], 5:[11,], 7:[6,9], 10:[11,], 12:[2,9,10,11]} adj_matrix = pd.DataFrame() adj_matrix['Row Names'] = allCol def createAdj(): glob...
23.740741
84
0.460218
795a49504684b96cc7037822c4f9e94bd817a1a6
11,205
py
Python
src/_cffi_src/openssl/evp.py
hanzhichao/cryptography
98c534d8c83474b93891e8447bf822bbd7fa6f85
[ "PSF-2.0", "Apache-2.0", "BSD-3-Clause" ]
null
null
null
src/_cffi_src/openssl/evp.py
hanzhichao/cryptography
98c534d8c83474b93891e8447bf822bbd7fa6f85
[ "PSF-2.0", "Apache-2.0", "BSD-3-Clause" ]
null
null
null
src/_cffi_src/openssl/evp.py
hanzhichao/cryptography
98c534d8c83474b93891e8447bf822bbd7fa6f85
[ "PSF-2.0", "Apache-2.0", "BSD-3-Clause" ]
null
null
null
# This file is dual licensed under the terms of the Apache License, Version # 2.0, and the BSD License. See the LICENSE file in the root of this repository # for complete details. INCLUDES = """ #include <openssl/evp.h> """ TYPES = """ typedef ... EVP_CIPHER; typedef ... EVP_CIPHER_CTX; typedef ... EVP_MD; typedef ....
38.242321
79
0.735564
795a49972034beb2859bf32375a487c14ca6255b
1,759
py
Python
python/Microsoftpython/Class 23:inheritance/class 23:inheritance.py
HeisenbergChueng/python-studynote
fc032316a6e69ee538c7592b548e7319a33a7954
[ "CC0-1.0" ]
453
2021-12-13T16:13:22.000Z
2021-12-19T01:30:05.000Z
python/Microsoftpython/Class 23:inheritance/class 23:inheritance.py
HeisenbergChueng/python-studynote
fc032316a6e69ee538c7592b548e7319a33a7954
[ "CC0-1.0" ]
null
null
null
python/Microsoftpython/Class 23:inheritance/class 23:inheritance.py
HeisenbergChueng/python-studynote
fc032316a6e69ee538c7592b548e7319a33a7954
[ "CC0-1.0" ]
59
2021-12-13T16:14:17.000Z
2021-12-15T17:14:11.000Z
# 以下為本課借用上堂課的例子 class Person: def __init__(self,name): self.name = name def say_hello(self): print("Hello," + self.name) # 以下為本課例子,子類Student繼承自Person,繼承的關係是person包含了student,student是person的一部份 # 可以用英文表達繼承就是,student is a person但不是所有person都是student class Student(Person): # 在子類Student中,若要使用父類Person...
33.826923
95
0.739625
795a4b6ff2c1f7aac6a9a38023794b6eb28b8124
1,682
py
Python
polygon_area/gui/qt4/widgets/__init__.py
nycholas/polygon-area
748e9a36d022234c8d4f17546b1e2b6dcd5ed1fe
[ "BSD-3-Clause" ]
2
2017-01-02T15:31:36.000Z
2021-06-30T11:15:06.000Z
polygon_area/gui/qt4/widgets/__init__.py
nycholas/polygon-area
748e9a36d022234c8d4f17546b1e2b6dcd5ed1fe
[ "BSD-3-Clause" ]
null
null
null
polygon_area/gui/qt4/widgets/__init__.py
nycholas/polygon-area
748e9a36d022234c8d4f17546b1e2b6dcd5ed1fe
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Calculate the area of the polygon. # Copyright (c) 2011, Nycholas de Oliveira e Oliveira <nycholas@gmail.com> # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditio...
54.258065
78
0.776457
795a4c111bccd2da6bdfc16e2c69b2de8500e236
3,686
py
Python
bouncing_box/player.py
JSlowgrove/Bouncing-Box
e9334616e1946cdb7426680e423bd458002613dd
[ "MIT" ]
null
null
null
bouncing_box/player.py
JSlowgrove/Bouncing-Box
e9334616e1946cdb7426680e423bd458002613dd
[ "MIT" ]
null
null
null
bouncing_box/player.py
JSlowgrove/Bouncing-Box
e9334616e1946cdb7426680e423bd458002613dd
[ "MIT" ]
null
null
null
"""A module that contains the class and functions for the Player.""" import pygame class Player: """ This class contains all of the functions and variables that is used by the Player. """ # The Player's sprite. Universal to all instances of Player. sprite = pygame.image.load('assets/images/pla...
25.07483
79
0.556972
795a4c1bfcd51d93ac77149dbb23b12fc1c26f21
2,784
py
Python
data/ansible-module-template.py
trskop/hsansible
00b2c5894edcdd6a4af710e28497b3b327fdd87c
[ "BSD-3-Clause" ]
12
2015-01-06T23:59:53.000Z
2021-01-02T13:58:26.000Z
data/ansible-module-template.py
trskop/hsansible
00b2c5894edcdd6a4af710e28497b3b327fdd87c
[ "BSD-3-Clause" ]
1
2021-10-06T12:44:10.000Z
2022-01-12T11:21:42.000Z
data/ansible-module-template.py
trskop/hsansible
00b2c5894edcdd6a4af710e28497b3b327fdd87c
[ "BSD-3-Clause" ]
2
2020-04-25T17:25:26.000Z
2021-11-07T21:13:49.000Z
#!/usr/bin/env python # This file was generated using $program$ $version$ from a template # with following copyringht notice. # # Copyright (c) 2013, Peter Trsko <peter.trsko@gmail.com> # # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provide...
31.280899
77
0.716236
795a4c54b99ed7e4be96bc8c923f102ba27ab299
43
py
Python
web_delta/__init__.py
N-Buchanan/web_delta
1497d9624ae4afa59d7c44176c479845c4993130
[ "MIT" ]
null
null
null
web_delta/__init__.py
N-Buchanan/web_delta
1497d9624ae4afa59d7c44176c479845c4993130
[ "MIT" ]
null
null
null
web_delta/__init__.py
N-Buchanan/web_delta
1497d9624ae4afa59d7c44176c479845c4993130
[ "MIT" ]
null
null
null
from .web_delta import WebDelta, RateLimit
21.5
42
0.837209
795a4e1be944f02468700a1982c30f5d5020fcb8
579
py
Python
dpnp/pca/GPU/pca.py
geexie/dpbench
7d41409ded3c816f35003bc5aea071852bceb892
[ "BSD-2-Clause" ]
8
2021-03-26T15:17:58.000Z
2022-01-21T21:56:19.000Z
dpnp/pca/GPU/pca.py
geexie/dpbench
7d41409ded3c816f35003bc5aea071852bceb892
[ "BSD-2-Clause" ]
22
2021-03-30T21:20:57.000Z
2022-02-22T13:42:17.000Z
dpnp/pca/GPU/pca.py
geexie/dpbench
7d41409ded3c816f35003bc5aea071852bceb892
[ "BSD-2-Clause" ]
7
2021-03-23T11:00:43.000Z
2022-02-02T12:28:55.000Z
# Copyright (C) 2017-2018 Intel Corporation # # SPDX-License-Identifier: MIT import dpctl import base_pca import dpnp as np def pca_impl(data): tdata = data.T m = np.empty(tdata.shape[0]) # for i in range(tdata.shape[0]): # m[i] = np.mean(tdata[i]) m = np.mean(tdata, axis=1) c = data - m ...
16.542857
44
0.604491
795a4f0d8015ce6760c1a41920b9b867b5f291ba
167
py
Python
tests/src/helpers/write.py
NVinity/fson
276b4bba05ad23a5725e5f9e631682fa62f0367b
[ "MIT" ]
null
null
null
tests/src/helpers/write.py
NVinity/fson
276b4bba05ad23a5725e5f9e631682fa62f0367b
[ "MIT" ]
null
null
null
tests/src/helpers/write.py
NVinity/fson
276b4bba05ad23a5725e5f9e631682fa62f0367b
[ "MIT" ]
null
null
null
##### type_1 #---# def type_1(data,sink_file_name): #&&&# with open(sink_file_name, "w") as sink_file: sink_file.write(data) #---# return ##### type_1
18.555556
48
0.580838
795a4fc28e89d6456c1ac8ed1e083d75a41fba93
21,542
py
Python
Structured/models/building_blocks/transformers.py
hlzhang109/TransTEE
00e6977147a6dcb3e83f1fe70cd1f4cbef7321a4
[ "MIT" ]
11
2022-02-08T12:50:06.000Z
2022-03-08T15:03:37.000Z
Structured/models/building_blocks/transformers.py
hlzhang109/TransTEE
00e6977147a6dcb3e83f1fe70cd1f4cbef7321a4
[ "MIT" ]
1
2022-03-30T08:32:24.000Z
2022-03-31T14:01:04.000Z
Structured/models/building_blocks/transformers.py
hlzhang109/TransTEE
00e6977147a6dcb3e83f1fe70cd1f4cbef7321a4
[ "MIT" ]
null
null
null
import copy from typing import Optional, Any import numpy as np import torch from torch import Tensor, nn from torch.nn.parameter import Parameter import torch.nn.functional as F from torch.nn.modules.module import Module from torch.nn.modules.container import ModuleList from torch.nn.modules.batchnorm import BatchNorm...
44.416495
130
0.653003
795a50a82805e75b9e254c7503f91714c5db3370
18,166
py
Python
Lib/test/test_pkgutil.py
rng-dynamics/RustPython
6165aadcc4e80e0f48f3e784e17b3c7f80d21a8a
[ "CC-BY-4.0", "MIT" ]
null
null
null
Lib/test/test_pkgutil.py
rng-dynamics/RustPython
6165aadcc4e80e0f48f3e784e17b3c7f80d21a8a
[ "CC-BY-4.0", "MIT" ]
null
null
null
Lib/test/test_pkgutil.py
rng-dynamics/RustPython
6165aadcc4e80e0f48f3e784e17b3c7f80d21a8a
[ "CC-BY-4.0", "MIT" ]
null
null
null
from test.support import run_unittest from test.support.import_helper import unload, CleanImport from test.support.warnings_helper import check_warnings import unittest import sys import importlib from importlib.util import spec_from_file_location import pkgutil import os import os.path import tempfile import shutil im...
35.972277
101
0.613564
795a524760b05d544d0c40a4462f847b574b64c0
1,706
py
Python
app/core/migrations/0001_initial.py
utkj97/recipe-app-api
9379a921480b904a1bfd2eb5a20f7f4bed473860
[ "MIT" ]
null
null
null
app/core/migrations/0001_initial.py
utkj97/recipe-app-api
9379a921480b904a1bfd2eb5a20f7f4bed473860
[ "MIT" ]
null
null
null
app/core/migrations/0001_initial.py
utkj97/recipe-app-api
9379a921480b904a1bfd2eb5a20f7f4bed473860
[ "MIT" ]
null
null
null
# Generated by Django 2.2.1 on 2019-05-31 15:51 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0011_update_proxy_permissions'), ] operations = [ migrations.CreateModel( name='UserModel', ...
50.176471
266
0.638335
795a5286b40fc4660e9a6cc6189c0d1aa07dc5ac
7,352
py
Python
venv/lib/python3.6/site-packages/ansible_collections/mellanox/onyx/plugins/modules/onyx_lldp_interface.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
1
2020-01-22T13:11:23.000Z
2020-01-22T13:11:23.000Z
venv/lib/python3.6/site-packages/ansible_collections/mellanox/onyx/plugins/modules/onyx_lldp_interface.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
12
2020-02-21T07:24:52.000Z
2020-04-14T09:54:32.000Z
venv/lib/python3.6/site-packages/ansible_collections/mellanox/onyx/plugins/modules/onyx_lldp_interface.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
null
null
null
#!/usr/bin/python # # Copyright: Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type DOCUMENTATION = ''' --- module: onyx_lldp_interface author: "Samer Deeb (@samerd)" short_d...
32.675556
111
0.642002
795a52f438de5631d67d31e7432ba5f5d15e705d
3,655
py
Python
nets/components/bidir_text_net.py
acvander/kaggle_real_or_not
737d949b1f8446e734ed5113b84b5b199a7aee3c
[ "MIT" ]
null
null
null
nets/components/bidir_text_net.py
acvander/kaggle_real_or_not
737d949b1f8446e734ed5113b84b5b199a7aee3c
[ "MIT" ]
10
2020-02-11T19:07:36.000Z
2022-02-09T23:35:13.000Z
nets/components/bidir_text_net.py
acvander/kaggle_real_or_not
737d949b1f8446e734ed5113b84b5b199a7aee3c
[ "MIT" ]
null
null
null
from typing import Dict import numpy as np import tensorflow as tf from tensorflow.keras import layers def _add_multiple_lstms(input_layer, num_lstms: int, size: int): lstm_layers = [] # initial layer lstm_layers.append( layers.Bidirectional(layers.LSTM(size, ...
46.265823
78
0.555951
795a52f974123d50aafb1af1d2d91aa8b5604008
1,881
py
Python
src/django_delayed_union/union.py
roverdotcom/django-delayed-union
b4faae250b1d4755691fb0fd20ff59a3e67c0984
[ "BSD-3-Clause" ]
8
2018-12-10T17:00:30.000Z
2021-11-15T09:52:54.000Z
src/django_delayed_union/union.py
andrew-cybsafe/django-delayed-union
b4faae250b1d4755691fb0fd20ff59a3e67c0984
[ "BSD-3-Clause" ]
20
2018-03-19T15:55:16.000Z
2022-01-17T12:06:22.000Z
src/django_delayed_union/union.py
andrew-cybsafe/django-delayed-union
b4faae250b1d4755691fb0fd20ff59a3e67c0984
[ "BSD-3-Clause" ]
4
2018-09-04T11:16:47.000Z
2021-07-29T14:12:08.000Z
from .base import DelayedQuerySet class DelayedUnionQuerySet(DelayedQuerySet): def __init__(self, *querysets, **kwargs): kwargs.setdefault('all', False) unexpected_kwarg = next((k for k in kwargs.keys() if k != 'all'), None) if unexpected_kwarg: raise TypeError( ...
34.2
82
0.592238
795a5447e3fec1af3fad27c2fc3b53d312f894f3
96
py
Python
src/robots/concurrency/signals.py
severin-lemaignan/pyrobots
d5dd3bd54375e85802de7225556ad519b8b4e89d
[ "0BSD" ]
11
2017-03-06T17:19:59.000Z
2021-11-04T07:45:33.000Z
src/robots/concurrency/signals.py
severin-lemaignan/pyrobots
d5dd3bd54375e85802de7225556ad519b8b4e89d
[ "0BSD" ]
2
2018-08-18T12:43:47.000Z
2019-04-23T13:03:26.000Z
src/robots/concurrency/signals.py
severin-lemaignan/pyrobots
d5dd3bd54375e85802de7225556ad519b8b4e89d
[ "0BSD" ]
3
2018-04-24T10:25:53.000Z
2021-08-25T04:34:35.000Z
# coding=utf-8 class ActionCancelled(UserWarning): pass class ActionPaused(UserWarning): pass
16
40
0.802083
795a54ced94851d86bdf85ee9e55f7a38e84457b
7,939
py
Python
tests/unit/baskerville_tests/features_tests/test_feature_unique_query_rate.py
equalitie/baskerville
433551d03aee85d5c983ff6b25b388155b54190d
[ "CC-BY-4.0" ]
25
2020-05-19T11:20:47.000Z
2021-09-20T03:15:28.000Z
tests/unit/baskerville_tests/features_tests/test_feature_unique_query_rate.py
mkaranasou/baskerville
433551d03aee85d5c983ff6b25b388155b54190d
[ "CC-BY-4.0" ]
29
2020-05-26T13:21:48.000Z
2021-09-21T06:52:28.000Z
tests/unit/baskerville_tests/features_tests/test_feature_unique_query_rate.py
deflect-ca/baskerville
9659f4b39ab66fcf5329a4eccff15e97245b04f0
[ "CC-BY-4.0" ]
4
2020-06-11T07:00:16.000Z
2021-05-07T09:10:36.000Z
# Copyright (c) 2020, eQualit.ie inc. # All rights reserved. # # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. from pyspark.sql import functions as F, types as T from baskerville.util.enums import FeatureComputeType from baskerville.fe...
33.92735
81
0.557627
795a54d7d0dc99dbc510d61c493c71017f4f63d9
259
py
Python
lib/oeqa/runtime/cases/rubygems_rubygems_gssapi.py
tuxable-ltd/meta-rubygems
e80630e79b64e1be8339e1add0ab07644ec99425
[ "BSD-2-Clause" ]
null
null
null
lib/oeqa/runtime/cases/rubygems_rubygems_gssapi.py
tuxable-ltd/meta-rubygems
e80630e79b64e1be8339e1add0ab07644ec99425
[ "BSD-2-Clause" ]
141
2021-02-04T16:22:13.000Z
2022-03-27T08:29:40.000Z
lib/oeqa/runtime/cases/rubygems_rubygems_gssapi.py
tuxable-ltd/meta-rubygems
e80630e79b64e1be8339e1add0ab07644ec99425
[ "BSD-2-Clause" ]
3
2021-02-04T14:02:01.000Z
2022-02-02T16:46:52.000Z
from rubygems_utils import RubyGemsTestUtils class RubyGemsTestrubygems_gssapi(RubyGemsTestUtils): def test_gem_list_rubygems_gssapi(self): self.gem_is_installed("gssapi") def test_load_gssapi(self): self.gem_is_loadable("gssapi")
23.545455
53
0.772201
795a54e770b276bf976cfd6b2540a944b855a2eb
587
py
Python
rxbp/typing.py
MichaelSchneeberger/rx_backpressure
16173827498bf1bbee3344933cb9efbfd19699f5
[ "Apache-2.0" ]
24
2018-11-22T21:04:49.000Z
2021-11-08T11:18:09.000Z
rxbp/typing.py
MichaelSchneeberger/rx_backpressure
16173827498bf1bbee3344933cb9efbfd19699f5
[ "Apache-2.0" ]
1
2019-02-06T15:58:46.000Z
2019-02-12T20:31:50.000Z
rxbp/typing.py
MichaelSchneeberger/rx_backpressure
16173827498bf1bbee3344933cb9efbfd19699f5
[ "Apache-2.0" ]
1
2021-01-26T12:41:37.000Z
2021-01-26T12:41:37.000Z
from typing import TypeVar, Union, Iterator, List # value send over a Flowable ValueType = TypeVar('ValueType') # Instead of calling on_next method for each value in a sequence, rxbp # sends these values in a batch. This can be done either by putting them in a # list or in an iterator. Putting the values in an iterat...
45.153846
83
0.773424
795a56dff1dd8b1d54914c9b7ae391fa276294e7
1,722
py
Python
Code/odooerp/odoo-8.0/openerp/addons/sale/res_partner.py
zhupangithub/WEBERP
714512082ec5c6db07cbf6af0238ceefe2d2c1a5
[ "MIT" ]
1
2019-12-29T11:53:56.000Z
2019-12-29T11:53:56.000Z
odoo/addons/sale/res_partner.py
tuanquanghpvn/odoo8-tutorial
52d25f1ca5f233c431cb9d3b24b79c3b4fb5127e
[ "MIT" ]
null
null
null
odoo/addons/sale/res_partner.py
tuanquanghpvn/odoo8-tutorial
52d25f1ca5f233c431cb9d3b24b79c3b4fb5127e
[ "MIT" ]
3
2020-10-08T14:42:10.000Z
2022-01-28T14:12:29.000Z
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU...
41
111
0.61324
795a56fd2fff4af62fd84a6faf7235a1a8d1a66f
43,544
py
Python
sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_public_ip_addresses_operations.py
praveenkuttappan/azure-sdk-for-python
4b79413667b7539750a6c7dde15737013a3d4bd5
[ "MIT" ]
2,728
2015-01-09T10:19:32.000Z
2022-03-31T14:50:33.000Z
sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_public_ip_addresses_operations.py
v-xuto/azure-sdk-for-python
9c6296d22094c5ede410bc83749e8df8694ccacc
[ "MIT" ]
17,773
2015-01-05T15:57:17.000Z
2022-03-31T23:50:25.000Z
sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_public_ip_addresses_operations.py
v-xuto/azure-sdk-for-python
9c6296d22094c5ede410bc83749e8df8694ccacc
[ "MIT" ]
1,916
2015-01-19T05:05:41.000Z
2022-03-31T19:36:44.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 ...
51.714964
395
0.675202
795a5716f468fb828fe6e92bf021f430022907ff
1,386
py
Python
distro/src/bin/atlas_admin.py
mario-renau-alstom/atlas
05b27be8b8bccddc2c2d0c4d11dca2c97bd7ee8d
[ "Apache-2.0" ]
1,248
2017-07-24T09:56:27.000Z
2022-03-30T01:19:24.000Z
distro/src/bin/atlas_admin.py
mario-renau-alstom/atlas
05b27be8b8bccddc2c2d0c4d11dca2c97bd7ee8d
[ "Apache-2.0" ]
89
2017-09-27T00:06:49.000Z
2022-03-31T19:11:28.000Z
distro/src/bin/atlas_admin.py
mario-renau-alstom/atlas
05b27be8b8bccddc2c2d0c4d11dca2c97bd7ee8d
[ "Apache-2.0" ]
757
2017-07-24T10:01:06.000Z
2022-03-31T06:48:47.000Z
#!/usr/bin/env python # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "Li...
33.804878
104
0.743146
795a58c4e050f65936c48229d107cba0c3a87619
1,165
py
Python
setup.py
ccin2p3/tmux2html
20fb2409e7350d45814135a7421df35a98a61834
[ "MIT" ]
695
2016-03-30T03:18:44.000Z
2022-03-15T12:00:06.000Z
setup.py
ccin2p3/tmux2html
20fb2409e7350d45814135a7421df35a98a61834
[ "MIT" ]
17
2016-03-30T16:53:17.000Z
2022-03-11T19:22:34.000Z
setup.py
ccin2p3/tmux2html
20fb2409e7350d45814135a7421df35a98a61834
[ "MIT" ]
16
2016-03-31T01:43:22.000Z
2020-10-11T08:35:29.000Z
from setuptools import setup, find_packages desc = ''' tmux2html captures full tmux windows or individual panes then parses their contents into HTML. '''.strip() setup( name='tmux2html', version='0.1.11', author='Tommy Allen', author_email='tommy@esdf.io', description=desc, packages=find_packa...
29.871795
63
0.620601
795a5903e285f999416224d24f8f070b5204b5ff
5,531
py
Python
exporter/exp/gltf2_blender_batch_export.py
rhammond17/Blender2MSFS2
51ed5e6624e6e072ee03bb7123013ccce4159fbd
[ "Apache-2.0" ]
25
2021-07-01T04:48:08.000Z
2022-03-15T00:20:55.000Z
exporter/exp/gltf2_blender_batch_export.py
rhammond17/Blender2MSFS2
51ed5e6624e6e072ee03bb7123013ccce4159fbd
[ "Apache-2.0" ]
9
2021-10-14T12:58:11.000Z
2022-03-22T05:10:05.000Z
exporter/exp/gltf2_blender_batch_export.py
rhammond17/Blender2MSFS2
51ed5e6624e6e072ee03bb7123013ccce4159fbd
[ "Apache-2.0" ]
4
2021-12-18T22:26:00.000Z
2022-03-16T14:00:27.000Z
################################################################################################### # # Copyright 2020 Otmar Nitsche # # 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 # # htt...
40.669118
115
0.67203
795a5a565aad2fc266a0bb8e3454b51811d3e717
1,115
py
Python
python-package/polymnie/vcf.py
BioShock38/Parser
ef1a2503a36e66148effe88bad6c178c8dc8d5a2
[ "Apache-2.0" ]
null
null
null
python-package/polymnie/vcf.py
BioShock38/Parser
ef1a2503a36e66148effe88bad6c178c8dc8d5a2
[ "Apache-2.0" ]
null
null
null
python-package/polymnie/vcf.py
BioShock38/Parser
ef1a2503a36e66148effe88bad6c178c8dc8d5a2
[ "Apache-2.0" ]
null
null
null
import numpy as np import vcfnp def vcf2snp(filename, missing=3, cache=True): """ Return a SNP matrix based on a VCF file. This take a VCF file and create a SNP matrix. It will keep only the SNP with 2 variants. This function is based on the vcfnp package. :param filename: The path of the VCF fi...
27.195122
82
0.64574
795a5b33a0979bd600ffa97e2fd30e5fdb0d633b
8,819
py
Python
vpn_critic.py
christsa/hide-rl
47dc3dfd93b817831473c07137a6a6e7f2eda549
[ "Apache-2.0" ]
3
2021-09-17T15:16:17.000Z
2021-12-15T14:24:39.000Z
vpn_critic.py
christsa/hide-rl
47dc3dfd93b817831473c07137a6a6e7f2eda549
[ "Apache-2.0" ]
null
null
null
vpn_critic.py
christsa/hide-rl
47dc3dfd93b817831473c07137a6a6e7f2eda549
[ "Apache-2.0" ]
null
null
null
from torch.nn import functional as F from torch import nn import torch import numpy as np from utils import layer from radam import RAdam from vpn import MVProp import utils from torch_critic import Critic as ClassicCritic class CriticModel(nn.Module): def __init__(self, env, layer_number, FLAGS): super()....
46.415789
183
0.66198
795a5b51529def4f6f915ae9e46bc564de7e2bd6
3,391
py
Python
RestApi/settings.py
Lovekesh-GH/Restapi
e66c057b67356545564f348f1d067e2eb5f89e66
[ "MIT" ]
null
null
null
RestApi/settings.py
Lovekesh-GH/Restapi
e66c057b67356545564f348f1d067e2eb5f89e66
[ "MIT" ]
null
null
null
RestApi/settings.py
Lovekesh-GH/Restapi
e66c057b67356545564f348f1d067e2eb5f89e66
[ "MIT" ]
null
null
null
""" Django settings for RestApi project. Generated by 'django-admin startproject' using Django 3.2.5. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ import os fr...
24.751825
91
0.700678
795a5b714c8a05faad47fe157204198f09ac97e8
576
py
Python
decorators.py
EvertonAlauk/flask-restplus-users
d07554659d5229ce2a67e4770e42f85166682192
[ "Apache-2.0" ]
null
null
null
decorators.py
EvertonAlauk/flask-restplus-users
d07554659d5229ce2a67e4770e42f85166682192
[ "Apache-2.0" ]
null
null
null
decorators.py
EvertonAlauk/flask-restplus-users
d07554659d5229ce2a67e4770e42f85166682192
[ "Apache-2.0" ]
1
2020-07-03T06:26:12.000Z
2020-07-03T06:26:12.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import jwt from flask import request from flask import jsonify from flask_restplus import abort from functools import wraps from config import SECRET_KEY def token_required(f): @wraps(f) def decorated(*args, **kwargs): token = request.args.get('token') ...
25.043478
51
0.631944
795a5be14c23b2cb103061869e0e451b1a40782e
5,085
py
Python
tests/unit/lms/services/course_test.py
mattdricker/lms
40b8a04f95e69258c6c0d7ada543f4b527918ecf
[ "BSD-2-Clause" ]
null
null
null
tests/unit/lms/services/course_test.py
mattdricker/lms
40b8a04f95e69258c6c0d7ada543f4b527918ecf
[ "BSD-2-Clause" ]
null
null
null
tests/unit/lms/services/course_test.py
mattdricker/lms
40b8a04f95e69258c6c0d7ada543f4b527918ecf
[ "BSD-2-Clause" ]
null
null
null
import datetime from unittest.mock import sentinel import pytest from lms.models import Course, CourseGroupsExportedFromH, LegacyCourse from lms.services.course import course_service_factory from tests import factories pytestmark = pytest.mark.usefixtures("application_instance_service") class TestCourseService: ...
37.116788
88
0.670993
795a5d29712969348381266fb7f630e288eda13c
4,771
py
Python
devernaysubpix/edge_detector.py
mostlyuseful/devernaysubpix
cfd0bfe3308e70a66d758988259bb2f176bea12b
[ "MIT" ]
null
null
null
devernaysubpix/edge_detector.py
mostlyuseful/devernaysubpix
cfd0bfe3308e70a66d758988259bb2f176bea12b
[ "MIT" ]
null
null
null
devernaysubpix/edge_detector.py
mostlyuseful/devernaysubpix
cfd0bfe3308e70a66d758988259bb2f176bea12b
[ "MIT" ]
2
2018-08-20T01:54:27.000Z
2019-04-09T03:22:12.000Z
import numpy as np from scipy.ndimage import filters from bidict import bidict def image_gradient(image, sigma): image = np.asfarray(image) gx = filters.gaussian_filter(image, sigma, order=[0, 1]) gy = filters.gaussian_filter(image, sigma, order=[1, 0]) return gx, gy class CurvePoint(object): __...
30.006289
99
0.501153
795a5d3d7db4f587ed70e5199fd3a5959c5992d9
1,074
py
Python
flask/testsuite/deprecations.py
Khan/flask
e78e2a1641e5b7ad538d93154ee59445f4d4eaf7
[ "BSD-3-Clause" ]
137
2015-01-12T19:29:04.000Z
2022-02-25T04:51:02.000Z
flask/testsuite/deprecations.py
Khan/flask
e78e2a1641e5b7ad538d93154ee59445f4d4eaf7
[ "BSD-3-Clause" ]
24
2015-01-06T08:36:13.000Z
2019-04-08T13:59:05.000Z
flask/testsuite/deprecations.py
Khan/flask
e78e2a1641e5b7ad538d93154ee59445f4d4eaf7
[ "BSD-3-Clause" ]
57
2015-01-01T00:42:44.000Z
2022-03-10T20:54:41.000Z
# -*- coding: utf-8 -*- """ flask.testsuite.deprecations ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Tests deprecation support. :copyright: (c) 2011 by Armin Ronacher. :license: BSD, see LICENSE for more details. """ from __future__ import with_statement import flask import unittest from flask.testsuite import...
25.571429
72
0.608939
795a5d4c7ea461b751d848f57b8c756d54419bd4
879
py
Python
src/foreign_if/python/UT/src/eigen/test_015.py
XpressAI/frovedis
bda0f2c688fb832671c5b542dd8df1c9657642ff
[ "BSD-2-Clause" ]
63
2018-06-21T14:11:59.000Z
2022-03-30T11:24:36.000Z
src/foreign_if/python/UT/src/eigen/test_015.py
XpressAI/frovedis
bda0f2c688fb832671c5b542dd8df1c9657642ff
[ "BSD-2-Clause" ]
5
2018-09-22T14:01:53.000Z
2021-12-27T16:11:05.000Z
src/foreign_if/python/UT/src/eigen/test_015.py
XpressAI/frovedis
bda0f2c688fb832671c5b542dd8df1c9657642ff
[ "BSD-2-Clause" ]
12
2018-08-23T15:59:44.000Z
2022-02-20T06:47:22.000Z
#!/usr/bin/env python import sys import numpy as np from frovedis.exrpc.server import FrovedisServer from frovedis.linalg import eigsh desc = "Testing eigsh() for which = 'LM': " # initializing the Frovedis server argvs = sys.argv argc = len(argvs) if argc < 2: print ('Please give frovedis_server calling command...
29.3
81
0.60182
795a5d50eab9d23a088ce3b31219daf2dbff0f6a
20,803
py
Python
many_constraints/intersectional_fairness.py
deepneuralmachine/google-research
d2ce2cf0f5c004f8d78bfeddf6e88e88f4840231
[ "Apache-2.0" ]
23,901
2018-10-04T19:48:53.000Z
2022-03-31T21:27:42.000Z
many_constraints/intersectional_fairness.py
deepneuralmachine/google-research
d2ce2cf0f5c004f8d78bfeddf6e88e88f4840231
[ "Apache-2.0" ]
891
2018-11-10T06:16:13.000Z
2022-03-31T10:42:34.000Z
many_constraints/intersectional_fairness.py
deepneuralmachine/google-research
d2ce2cf0f5c004f8d78bfeddf6e88e88f4840231
[ "Apache-2.0" ]
6,047
2018-10-12T06:31:02.000Z
2022-03-31T13:59:28.000Z
# coding=utf-8 # Copyright 2021 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...
38.381919
103
0.700812
795a5ddb857141b583c7f3a8e54a079cd107ef23
1,293
py
Python
core/urls.py
thirawr/django-datafreezer-sample
ef007e9ea583c963c012224fbab133154214cf0c
[ "MIT" ]
null
null
null
core/urls.py
thirawr/django-datafreezer-sample
ef007e9ea583c963c012224fbab133154214cf0c
[ "MIT" ]
null
null
null
core/urls.py
thirawr/django-datafreezer-sample
ef007e9ea583c963c012224fbab133154214cf0c
[ "MIT" ]
null
null
null
"""core URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-based...
36.942857
80
0.723898
795a5e12e78abf9e16c87926f1c66013b10b9e95
707
py
Python
serpapi_async/walmart_search.py
pualien/google-search-results-python
a7e013194fa14ea9d2e077b41f1d25da0440ecb5
[ "MIT" ]
null
null
null
serpapi_async/walmart_search.py
pualien/google-search-results-python
a7e013194fa14ea9d2e077b41f1d25da0440ecb5
[ "MIT" ]
null
null
null
serpapi_async/walmart_search.py
pualien/google-search-results-python
a7e013194fa14ea9d2e077b41f1d25da0440ecb5
[ "MIT" ]
null
null
null
from serpapi_async.serp_api_client import * from serpapi_async.serp_api_client_exception import SerpApiClientException from serpapi_async.constant import * class WalmartSearch(SerpApiClient): """WalmartSearch enables to search google scholar and parse the result. ```python from serpapi import WalmartSearch...
33.666667
90
0.738331
795a5e2a164192967de5a43ef8592e96fd899e9d
5,289
py
Python
ppcls/engine/evaluation/classification.py
BurrowsWang/PaddleClas
c30b72c867c648bdd460c6bfcb062f561a0f312e
[ "Apache-2.0" ]
2
2020-09-16T12:33:50.000Z
2021-04-12T12:25:39.000Z
ppcls/engine/evaluation/classification.py
dyning/PaddleClas
c30b72c867c648bdd460c6bfcb062f561a0f312e
[ "Apache-2.0" ]
null
null
null
ppcls/engine/evaluation/classification.py
dyning/PaddleClas
c30b72c867c648bdd460c6bfcb062f561a0f312e
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
39.470149
85
0.585744
795a5f2d56cf388dcce9971fff4fbc43708154dc
1,451
py
Python
RBDtector/util/settings.py
aroethen/RBDtector
7c9c73d231a29d8ccf56d7eec69ae117ae781c0c
[ "MIT" ]
null
null
null
RBDtector/util/settings.py
aroethen/RBDtector
7c9c73d231a29d8ccf56d7eec69ae117ae781c0c
[ "MIT" ]
null
null
null
RBDtector/util/settings.py
aroethen/RBDtector
7c9c73d231a29d8ccf56d7eec69ae117ae781c0c
[ "MIT" ]
null
null
null
# Internally used sample rate RATE = 256 # Signal names of EMG channels in EDF files to be evaluated for RSWA SIGNALS_TO_EVALUATE = ['EMG', 'PLM l', 'PLM r', 'AUX', 'Akti.'] CHIN = 0 LEGS = [1, 2] ARMS = [3, 4] # Artifact types to be excluded from evaluation FLOW = False HUMAN_ARTIFACTS = False SNORE = True # Use...
30.229167
108
0.600965
795a5f5f78f3fd5f920db4546dfe0d82c667d9d5
2,216
py
Python
core/src/trezor/ui/num_pad.py
Kayuii/trezor-crypto
6556616681a4e2d7e18817e8692d4f6e041dee01
[ "MIT" ]
null
null
null
core/src/trezor/ui/num_pad.py
Kayuii/trezor-crypto
6556616681a4e2d7e18817e8692d4f6e041dee01
[ "MIT" ]
1
2019-02-08T00:22:42.000Z
2019-02-13T09:41:54.000Z
core/src/trezor/ui/num_pad.py
Kayuii/trezor-crypto
6556616681a4e2d7e18817e8692d4f6e041dee01
[ "MIT" ]
2
2019-02-07T23:57:09.000Z
2020-10-21T07:07:27.000Z
from trezor import res, ui from trezor.ui import display from trezor.ui.button import BTN_CLICKED, Button ITEMS_PER_PAGE = 10 PLUS_BUTTON_POSITION = 11 BACK_BUTTON_POSITION = 9 def digit_area(i): return ui.grid(i + 3) # skip the first line class NumPad(ui.Widget): def __init__(self, label: str, start: int...
31.657143
90
0.561823
795a5f8f6b37a2c5ffa0ee2084aeff2c4f0e2ba9
477
py
Python
test/test_jump.py
mind-owner/Cyberbrain
07dcfc0b910558420e61a7a2ff687703c0bd7aeb
[ "MIT" ]
2,440
2019-09-21T04:21:55.000Z
2022-03-30T09:47:47.000Z
test/test_jump.py
laike9m/cb-experimental
ef92fee10e3fd4ff4bcee38bf8356b0d645519e3
[ "MIT" ]
103
2019-09-21T15:19:59.000Z
2022-03-28T06:27:40.000Z
test/test_jump.py
laike9m/cb-experimental
ef92fee10e3fd4ff4bcee38bf8356b0d645519e3
[ "MIT" ]
162
2019-07-16T08:03:18.000Z
2022-03-30T02:51:21.000Z
from cyberbrain import Binding, InitialValue, Symbol def test_jump(tracer, check_golden_file): a = [] b = "b" c = "c" tracer.start() if a: # POP_JUMP_IF_FALSE pass # JUMP_FORWARD else: x = 1 if not a: # POP_JUMP_IF_TRUE x = 2 x = a != b != c # JUMP_IF_FA...
19.08
82
0.597484
795a5fa768d6fa3c4752d4cf7afbd1dab9c73e7b
42,023
py
Python
fairseq/models/transformer.py
xfdywy/fairseq
a914bb46c9ba4cca8eb9d32bef2a1ae770954d97
[ "BSD-3-Clause" ]
117
2019-07-05T04:37:01.000Z
2022-02-17T04:32:31.000Z
fairseq/models/transformer.py
xfdywy/fairseq
a914bb46c9ba4cca8eb9d32bef2a1ae770954d97
[ "BSD-3-Clause" ]
16
2019-07-30T07:12:29.000Z
2021-01-18T03:52:55.000Z
fairseq/models/transformer.py
xfdywy/fairseq
a914bb46c9ba4cca8eb9d32bef2a1ae770954d97
[ "BSD-3-Clause" ]
31
2019-07-05T12:09:27.000Z
2022-03-03T05:41:27.000Z
# Copyright (c) 2017-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the license found in the LICENSE file in # the root directory of this source tree. An additional grant of patent rights # can be found in the PATENTS file in the same directory. import math import torch import t...
45.578091
119
0.652119
795a60557f5c77b0aca1473e3227ea51e6f2961e
1,154
py
Python
stor/consensus/coinbase.py
Stor-Network/stor-blockchain
3c3cd1a3b99592e88160107ca5b81afc0937b992
[ "Apache-2.0" ]
19
2021-06-29T20:06:09.000Z
2022-02-09T04:33:00.000Z
stor/consensus/coinbase.py
Stor-Network/stor-blockchain
3c3cd1a3b99592e88160107ca5b81afc0937b992
[ "Apache-2.0" ]
8
2021-07-04T03:21:51.000Z
2021-12-27T07:56:09.000Z
stor/consensus/coinbase.py
Stor-Network/stor-blockchain
3c3cd1a3b99592e88160107ca5b81afc0937b992
[ "Apache-2.0" ]
6
2021-10-04T17:15:30.000Z
2022-03-15T08:40:01.000Z
from blspy import G1Element from stor.types.blockchain_format.coin import Coin from stor.types.blockchain_format.sized_bytes import bytes32 from stor.util.ints import uint32, uint64 from stor.wallet.puzzles.p2_delegated_puzzle_or_hidden_puzzle import puzzle_for_pk def create_puzzlehash_for_pk(pub_key: G1Element) -> ...
39.793103
111
0.805893
795a606a3905f97e2ba80e23b414c121eb65ebfd
11,391
py
Python
main.py
nymann/BlackBoard-Course-Downloader
36bfee64ef87ac7d372596e7c69ae155068fad4a
[ "MIT" ]
1
2020-03-24T09:06:16.000Z
2020-03-24T09:06:16.000Z
main.py
nymann/BlackBoard-Course-Downloader
36bfee64ef87ac7d372596e7c69ae155068fad4a
[ "MIT" ]
null
null
null
main.py
nymann/BlackBoard-Course-Downloader
36bfee64ef87ac7d372596e7c69ae155068fad4a
[ "MIT" ]
null
null
null
from blackboard import BlackBoardContent, BlackBoardClient, BlackBoardAttachment, BlackBoardEndPoints, \ BlackBoardCourse, BlackBoardInstitute import argparse import sys import json import os import getpass def get_arguments(): parser = argparse.ArgumentParser(description='') parser.add_argument( ...
37.470395
118
0.588359
795a60daa3fea4af0f505d9ce73f9436f32951c8
2,618
py
Python
tests/rules/test_git_push_pull.py
WorkInProgress-Development/theplease
9b9a2dcee3efa0e1b4f197fc55904c9327dc13ba
[ "MIT" ]
null
null
null
tests/rules/test_git_push_pull.py
WorkInProgress-Development/theplease
9b9a2dcee3efa0e1b4f197fc55904c9327dc13ba
[ "MIT" ]
null
null
null
tests/rules/test_git_push_pull.py
WorkInProgress-Development/theplease
9b9a2dcee3efa0e1b4f197fc55904c9327dc13ba
[ "MIT" ]
null
null
null
import pytest from theplease.rules.git_push_pull import match, get_new_command from theplease.types import Command git_err = ''' To /tmp/foo ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to '/tmp/bar' hint: Updates were rejected because the tip of your current branch is be...
35.378378
77
0.689076
795a60efe41d4cf2010b80549736f97b27549fe9
17,815
py
Python
xd_xd/aa/road_networks/wkt_to_graph.py
SpaceNetChallenge/SpaceNet_Optimized_Routing_Solutions
3fbc215de6b05904a5b54b2c7cde7e61074ae38d
[ "Apache-2.0" ]
27
2020-03-04T05:54:48.000Z
2022-01-05T07:07:44.000Z
xd_xd/aa/road_networks/wkt_to_graph.py
CosmiQ/SpaceNet_Optimized_Routing_Solutions
3fbc215de6b05904a5b54b2c7cde7e61074ae38d
[ "Apache-2.0" ]
1
2020-07-14T10:35:50.000Z
2020-07-14T10:35:50.000Z
xd_xd/aa/road_networks/wkt_to_graph.py
SpaceNetChallenge/SpaceNet_Optimized_Routing_Solutions
3fbc215de6b05904a5b54b2c7cde7e61074ae38d
[ "Apache-2.0" ]
7
2020-03-07T21:42:57.000Z
2022-01-07T10:49:50.000Z
import os import time import utm import numpy as np import networkx as nx import osmnx as ox import shapely from shapely.geometry import mapping, Point, LineString from osgeo import gdal, ogr, osr import matplotlib.pyplot as plt def wkt_to_graph(wkt_list, im_file, conf, out_graph_file): min_subgraph_length_pix =...
35.347222
118
0.554701
795a616bdc92785f8c1d4a43d6bbaf9980eeffe8
13,368
py
Python
solo/client.py
ddrown/solo-python
34ab83d1bcdcbcecb49bdfe4d408fe2ea8be1399
[ "Apache-2.0", "MIT" ]
1
2020-03-05T21:29:38.000Z
2020-03-05T21:29:38.000Z
solo/client.py
ddrown/solo-python
34ab83d1bcdcbcecb49bdfe4d408fe2ea8be1399
[ "Apache-2.0", "MIT" ]
null
null
null
solo/client.py
ddrown/solo-python
34ab83d1bcdcbcecb49bdfe4d408fe2ea8be1399
[ "Apache-2.0", "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright 2019 SoloKeys Developers # # Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or # http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or # http://opensource.org/licenses/MIT>, at your option. This file may not be # copied, modified, or distribute...
32.764706
121
0.562837
795a617759511ae2451a3e134ef368b9dd8e0cec
13,040
py
Python
v3/v3.0/moveloot_standalone.py
gavinIRL/RHBot
1e22ae5ca7b67ebd6a72c23d9f46d5a8eb6e99cf
[ "MIT" ]
null
null
null
v3/v3.0/moveloot_standalone.py
gavinIRL/RHBot
1e22ae5ca7b67ebd6a72c23d9f46d5a8eb6e99cf
[ "MIT" ]
60
2021-03-29T14:29:49.000Z
2021-05-03T06:06:19.000Z
v3/v3.0/moveloot_standalone.py
gavinIRL/RHBot
1e22ae5ca7b67ebd6a72c23d9f46d5a8eb6e99cf
[ "MIT" ]
null
null
null
# This will be the upgraded v2 move and loot only file # But with quick restart capability and modular design # No longer meant to be used as main file import cv2 as cv import os from time import time, sleep import numpy as np from pynput.keyboard import Key, Listener, KeyCode from windowcapture import WindowCapture f...
43.178808
90
0.62477
795a61edcbb34a80b968f3913f92612d1361a3ed
4,993
py
Python
python/tvm/micro/build.py
XiaoSong9905/tvm
48940f697e15d5b50fa1f032003e6c700ae1e423
[ "Apache-2.0" ]
4,640
2017-08-17T19:22:15.000Z
2019-11-04T15:29:46.000Z
python/tvm/micro/build.py
XiaoSong9905/tvm
48940f697e15d5b50fa1f032003e6c700ae1e423
[ "Apache-2.0" ]
3,022
2020-11-24T14:02:31.000Z
2022-03-31T23:55:31.000Z
python/tvm/micro/build.py
XiaoSong9905/tvm
48940f697e15d5b50fa1f032003e6c700ae1e423
[ "Apache-2.0" ]
1,352
2017-08-17T19:30:38.000Z
2019-11-04T16:09:29.000Z
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
30.820988
96
0.689966
795a6201ec41c913993971484313314b04d81c3c
2,608
py
Python
dialogue-engine/test/programytest/parser/template/node_tests/test_oob.py
cotobadesign/cotoba-agent-oss
3833d56e79dcd7529c3e8b3a3a8a782d513d9b12
[ "MIT" ]
104
2020-03-30T09:40:00.000Z
2022-03-06T22:34:25.000Z
dialogue-engine/test/programytest/parser/template/node_tests/test_oob.py
cotobadesign/cotoba-agent-oss
3833d56e79dcd7529c3e8b3a3a8a782d513d9b12
[ "MIT" ]
25
2020-06-12T01:36:35.000Z
2022-02-19T07:30:44.000Z
dialogue-engine/test/programytest/parser/template/node_tests/test_oob.py
cotobadesign/cotoba-agent-oss
3833d56e79dcd7529c3e8b3a3a8a782d513d9b12
[ "MIT" ]
10
2020-04-02T23:43:56.000Z
2021-05-14T13:47:01.000Z
""" Copyright (c) 2020 COTOBA DESIGN, Inc. 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, modify, merge, publish, distri...
38.352941
126
0.733512
795a624eacf0c93b9fcb5e566be26540c54cb9e7
2,127
py
Python
src/pynwb/io/file.py
campagnola/pynwb
b3f1034909ac4462378e79d0e438dc5b803e5fbf
[ "BSD-3-Clause-LBNL" ]
null
null
null
src/pynwb/io/file.py
campagnola/pynwb
b3f1034909ac4462378e79d0e438dc5b803e5fbf
[ "BSD-3-Clause-LBNL" ]
null
null
null
src/pynwb/io/file.py
campagnola/pynwb
b3f1034909ac4462378e79d0e438dc5b803e5fbf
[ "BSD-3-Clause-LBNL" ]
null
null
null
from ..form.build import ObjectMapper from .. import register_map from ..file import NWBFile @register_map(NWBFile) class NWBFileMap(ObjectMapper): def __init__(self, spec): super(NWBFileMap, self).__init__(spec) raw_ts_spec = self.spec.get_group('acquisition').get_neurodata_type('NWBDataInterfac...
42.54
97
0.684532
795a62c977241d0ee631d23f5101da28a02d41bf
1,207
py
Python
crds/python23.py
nden/crds
b72f14cf07531ca70b61daa6b58e762e5899afa4
[ "BSD-3-Clause" ]
null
null
null
crds/python23.py
nden/crds
b72f14cf07531ca70b61daa6b58e762e5899afa4
[ "BSD-3-Clause" ]
null
null
null
crds/python23.py
nden/crds
b72f14cf07531ca70b61daa6b58e762e5899afa4
[ "BSD-3-Clause" ]
null
null
null
import sys if sys.version_info >= (3,0,0): long = int string_types = (str,) from urllib.request import urlopen from html import unescape import configparser import pickle def unicode_to_str(input): """Recursively convert .json inputs with unicode to simple Python strings.""" ...
24.632653
85
0.633803
795a634be17bee11e1525cd5ac571111710e845f
1,478
py
Python
galaxy/main/migrations/0028_auto_20151125_1231.py
SamyCoenen/galaxy
7c17ef45e53b0fc2fe8a2c70a99f3947604e0b0e
[ "Apache-2.0" ]
null
null
null
galaxy/main/migrations/0028_auto_20151125_1231.py
SamyCoenen/galaxy
7c17ef45e53b0fc2fe8a2c70a99f3947604e0b0e
[ "Apache-2.0" ]
null
null
null
galaxy/main/migrations/0028_auto_20151125_1231.py
SamyCoenen/galaxy
7c17ef45e53b0fc2fe8a2c70a99f3947604e0b0e
[ "Apache-2.0" ]
null
null
null
# NOTE(cutwater): This migration is replaced by v2_4_0 and should be # deleted once superseding migration is merged into master. from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('main', '0027_auto_20151125_0009'), ] operations = [ migrat...
30.163265
68
0.575778
795a642ff93c8024e3771894d70ca27bf092a29c
2,094
py
Python
examples/demowlcutils.py
Juniper/py-jnpr-wlc
b614c3ade0c00c50c42ec76e602151969f31faf3
[ "Apache-2.0", "BSD-3-Clause" ]
2
2015-04-14T10:35:18.000Z
2017-02-13T05:12:01.000Z
examples/demowlcutils.py
Juniper/py-jnpr-wlc
b614c3ade0c00c50c42ec76e602151969f31faf3
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
examples/demowlcutils.py
Juniper/py-jnpr-wlc
b614c3ade0c00c50c42ec76e602151969f31faf3
[ "Apache-2.0", "BSD-3-Clause" ]
4
2015-07-09T12:07:05.000Z
2020-02-05T10:26:32.000Z
import sys, os from sys import argv as ARGV from jnpr.wlc import WirelessLanController as WLC from lxml import etree from pprint import pprint as pp import argparse from getpass import getpass from urllib2 import HTTPError ### --------------------------------------------------------------------------- ### parse the c...
25.851852
100
0.562082
795a66a4db153158a614d89a6f5acde528385253
656
py
Python
highlevel/util/clock.py
outech-robotic/code
b57acba3faae606f4d0c3cf210bc0716d7fef4e7
[ "MIT" ]
7
2020-04-15T16:42:56.000Z
2021-12-25T10:12:13.000Z
highlevel/util/clock.py
outech-robotic/code
b57acba3faae606f4d0c3cf210bc0716d7fef4e7
[ "MIT" ]
37
2020-04-15T15:49:31.000Z
2022-02-27T03:53:48.000Z
highlevel/util/clock.py
outech-robotic/code
b57acba3faae606f4d0c3cf210bc0716d7fef4e7
[ "MIT" ]
null
null
null
""" Clock to get the time. """ import time from abc import ABC, abstractmethod class Clock(ABC): """ Clock to get the time. This class can be replaced by a stub to "fake" time. """ @abstractmethod def time(self) -> float: """ Equivalent to time.time(). """ class RealC...
17.72973
56
0.579268
795a676cdb710e2944d458c320435a06c0ddb9b3
632
py
Python
tangram/urls.py
gutard/django-tangram
3dcde4c779feea2c8542af7716dfc8ff9c009c6a
[ "BSD-3-Clause" ]
null
null
null
tangram/urls.py
gutard/django-tangram
3dcde4c779feea2c8542af7716dfc8ff9c009c6a
[ "BSD-3-Clause" ]
2
2019-11-09T11:04:33.000Z
2019-11-09T11:08:51.000Z
tangram/urls.py
gutard/django-tangram
3dcde4c779feea2c8542af7716dfc8ff9c009c6a
[ "BSD-3-Clause" ]
null
null
null
from django.conf.urls import patterns, url urlpatterns = patterns("tangram.views", url("^respos/inscription/$", "inscription", name="inscription"), url("^respos/fiches-action/$", "fiches", name="fiches"), url("^respos/fiches-action/(?P<pk>\d+)/$", "fiche", name="fiche"), url("^respos/fiches-action/ajou...
48.615385
97
0.636076
795a678c07ae25038c4790bd9c320c8d81f9f8f0
1,887
py
Python
configs/atss/atss_r50_fpn_1x_coco.py
GreysonPhoenix/mmdetection
5223e4fa62f418a3f1acd7f877bb0dfada234cdc
[ "Apache-2.0" ]
null
null
null
configs/atss/atss_r50_fpn_1x_coco.py
GreysonPhoenix/mmdetection
5223e4fa62f418a3f1acd7f877bb0dfada234cdc
[ "Apache-2.0" ]
null
null
null
configs/atss/atss_r50_fpn_1x_coco.py
GreysonPhoenix/mmdetection
5223e4fa62f418a3f1acd7f877bb0dfada234cdc
[ "Apache-2.0" ]
null
null
null
_base_ = [ '../_base_/datasets/coco_detection.py', '../_base_/schedules/schedule_1x.py', '../_base_/default_runtime.py' ] model = dict( type='ATSS', pretrained='torchvision://resnet50', backbone=dict( type='ResNet', depth=50, num_stages=4, out_indices=(0, 1, 2, 3), ...
29.952381
73
0.555909
795a67f3f19c775c7773919963adcee72a0bb206
57,693
py
Python
homeassistant/core.py
erogleva/core
994ae09f69afe772150a698953c0d7386a745de2
[ "Apache-2.0" ]
1
2020-10-15T10:45:39.000Z
2020-10-15T10:45:39.000Z
homeassistant/core.py
erogleva/core
994ae09f69afe772150a698953c0d7386a745de2
[ "Apache-2.0" ]
52
2020-07-14T14:12:26.000Z
2022-03-31T06:24:02.000Z
homeassistant/core.py
erogleva/core
994ae09f69afe772150a698953c0d7386a745de2
[ "Apache-2.0" ]
null
null
null
""" Core components of Home Assistant. Home Assistant is a Home Automation framework for observing the state of entities and react to changes. """ import asyncio import datetime import enum import functools from ipaddress import ip_address import logging import os import pathlib import re import threading from time im...
32.854784
101
0.608757
795a68a3cd3f2b8d2d5ad1d9003bd9c095ebe603
1,826
py
Python
app/resources/teams.py
dpfg/kicker-scorer-api
38dcf85e8e80a7a6a2213fb80f7f480c74f87cac
[ "MIT" ]
null
null
null
app/resources/teams.py
dpfg/kicker-scorer-api
38dcf85e8e80a7a6a2213fb80f7f480c74f87cac
[ "MIT" ]
null
null
null
app/resources/teams.py
dpfg/kicker-scorer-api
38dcf85e8e80a7a6a2213fb80f7f480c74f87cac
[ "MIT" ]
null
null
null
from app.resources import CommunityBasedResource from flask import jsonify from app.decorators import json_content from app.util import is_not_valid_entity_name from app.models import Team, Player from app.service import PlayerService, TeamService from app import db class TeamsResource(CommunityBasedResource): de...
34.45283
90
0.648412
795a6ba64247707783e91d651820bfc490310feb
12,949
py
Python
MuJoCo/Walker2d/utilities.py
NickKaparinos/OpenAI-Gym-Projects
84d02d3b268bbc6017f98c0948c603cfd416f5c2
[ "MIT" ]
8
2021-10-09T07:50:26.000Z
2022-03-06T18:38:36.000Z
MuJoCo/Walker2d/utilities.py
NickKaparinos/OpenAI-Gym-Projects
84d02d3b268bbc6017f98c0948c603cfd416f5c2
[ "MIT" ]
null
null
null
MuJoCo/Walker2d/utilities.py
NickKaparinos/OpenAI-Gym-Projects
84d02d3b268bbc6017f98c0948c603cfd416f5c2
[ "MIT" ]
1
2022-02-04T16:34:42.000Z
2022-02-04T16:34:42.000Z
""" Open AI Gym Walker2d-v2 Nick Kaparinos 2021 """ import time import warnings from os import listdir, makedirs from typing import Any, Dict, Optional import cv2 import matplotlib.pyplot as plt import numpy as np import pandas as pd import seaborn as sns import torch from stable_baselines3.common.callbacks import Ba...
34.997297
102
0.617036
795a6bb4e966d7b1ed1c27ed5a9d84f01c0a4271
7,583
py
Python
leader/leader_arango2hbase.py
RogerJTX/kbpPipeline_ExpertSystem
53f998ccb04ec9e932363818e037c3c5b225f05b
[ "MIT" ]
3
2021-01-29T17:09:55.000Z
2021-07-12T11:37:29.000Z
leader/leader_arango2hbase.py
RogerJTX/kbpPipeline_ExpertSystem
53f998ccb04ec9e932363818e037c3c5b225f05b
[ "MIT" ]
null
null
null
leader/leader_arango2hbase.py
RogerJTX/kbpPipeline_ExpertSystem
53f998ccb04ec9e932363818e037c3c5b225f05b
[ "MIT" ]
1
2022-02-11T11:09:03.000Z
2022-02-11T11:09:03.000Z
#!/home/apollo/anaconda3/bin/python3 #-*- coding: utf-8 -*- #****************************************************************************** # Author : jtx # Last modified: 2020-08-31 14:08 # Filename : leader_arango2hbase.py # Description : 高管实体;从分区中读取数据调用pipeline处理,并存入HBASE结构化文档库;每天跑数据 #********************...
40.989189
134
0.583015
795a6c2d22f8e70d88698bcc340f27ca21920623
1,387
py
Python
tao_triton/python/types/user_data.py
thtang-nv/tao-toolkit-triton-apps
de72ae4fe96986db620b542feed917f4430ac768
[ "MIT" ]
24
2021-08-31T04:34:31.000Z
2022-03-25T18:52:33.000Z
tao_triton/python/types/user_data.py
thtang-nv/tao-toolkit-triton-apps
de72ae4fe96986db620b542feed917f4430ac768
[ "MIT" ]
8
2021-11-03T09:45:16.000Z
2022-03-24T12:05:33.000Z
tao_triton/python/types/user_data.py
thtang-nv/tao-toolkit-triton-apps
de72ae4fe96986db620b542feed917f4430ac768
[ "MIT" ]
7
2021-12-02T06:09:57.000Z
2022-03-23T22:36:47.000Z
# Copyright (c) 2021, NVIDIA CORPORATION. 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 use, copy, ...
39.628571
72
0.754867
795a6c5d8345e070069f011b179b9851465e5e86
81
py
Python
apps/operations/views.py
HuChangShan/MyMOOC
4f82a70da58dbd06f4bf2200ac320595421b5625
[ "MIT" ]
null
null
null
apps/operations/views.py
HuChangShan/MyMOOC
4f82a70da58dbd06f4bf2200ac320595421b5625
[ "MIT" ]
null
null
null
apps/operations/views.py
HuChangShan/MyMOOC
4f82a70da58dbd06f4bf2200ac320595421b5625
[ "MIT" ]
null
null
null
# encoding:utf-8 from django.shortcuts import render # Create your views here.
13.5
35
0.765432
795a6d279a93270ad709f9f9c4c58c3948f5f291
1,810
py
Python
cogs/error_handling.py
roooof/RoboBilly
50cdf286bd4c90c4ae0d296a45921877ca063263
[ "MIT" ]
null
null
null
cogs/error_handling.py
roooof/RoboBilly
50cdf286bd4c90c4ae0d296a45921877ca063263
[ "MIT" ]
null
null
null
cogs/error_handling.py
roooof/RoboBilly
50cdf286bd4c90c4ae0d296a45921877ca063263
[ "MIT" ]
null
null
null
import discord from discord.ext import commands import difflib, math QUESTION_MARK_ICON = "https://cdn.discordapp.com/emojis/512367613339369475.png" class ErrorHandling(commands.Cog): def __init__(self, bot): self.bot = bot @commands.Cog.listener() async def on_command_error(self, ctx, error): ...
36.938776
114
0.652486
795a6dcc28d5cc8c390cdb1c80f2721146dd1c09
36,020
py
Python
src/radical/entk/appman/appmanager.py
tirkarthi/radical.entk
ea84d8e85d82eb1dbf752d8f547c0f8872dc50a9
[ "MIT" ]
null
null
null
src/radical/entk/appman/appmanager.py
tirkarthi/radical.entk
ea84d8e85d82eb1dbf752d8f547c0f8872dc50a9
[ "MIT" ]
null
null
null
src/radical/entk/appman/appmanager.py
tirkarthi/radical.entk
ea84d8e85d82eb1dbf752d8f547c0f8872dc50a9
[ "MIT" ]
null
null
null
__copyright__ = 'Copyright 2017-2018, http://radical.rutgers.edu' __author__ = 'Vivek Balasubramanian <vivek.balasubramaniana@rutgers.edu>' __license__ = 'MIT' import os import json import pika import time import threading as mt import radical.utils as ru from .. import exceptions as ree from ..pipeline ...
37.134021
84
0.519517
795a6ec13f109723129ae258c0a06b9ca5b440c9
13,013
py
Python
Gems/Blast/Editor/Scripts/asset_builder_blast.py
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
1
2021-09-13T00:01:12.000Z
2021-09-13T00:01:12.000Z
Gems/Blast/Editor/Scripts/asset_builder_blast.py
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
null
null
null
Gems/Blast/Editor/Scripts/asset_builder_blast.py
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
1
2021-07-20T11:07:25.000Z
2021-07-20T11:07:25.000Z
""" Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution. SPDX-License-Identifier: Apache-2.0 OR MIT """ def install_user_site(): import os import sys import azlmbr.paths executableBinFolder = azlmbr.p...
40.287926
155
0.732729
795a6feb6ab04afaebecc44660c2ba6b73e7832c
1,419
py
Python
src/home/views.py
miguelaav/dev
5ade9d0b393f48c9cc3b160b6ede4a03c29addea
[ "bzip2-1.0.6" ]
null
null
null
src/home/views.py
miguelaav/dev
5ade9d0b393f48c9cc3b160b6ede4a03c29addea
[ "bzip2-1.0.6" ]
6
2020-06-05T20:02:33.000Z
2022-03-11T23:43:11.000Z
src/home/views.py
miguelaav/dev
5ade9d0b393f48c9cc3b160b6ede4a03c29addea
[ "bzip2-1.0.6" ]
null
null
null
from django.shortcuts import render from django.views import View from django.views.generic import ListView from menuResponse.models import MenuResponseModel from menu.models import MenuCreateModel # Vista HomeView # Descripción: Procesa la vista del Home mostrando el listado de peticiones realizadas al menu del dia...
34.609756
145
0.768147
795a702c2ad40be966ea5b7785d20db55a49914d
6,669
py
Python
bindings/python/ensmallen_graph/datasets/string/methylophagafrappieri.py
caufieldjh/ensmallen_graph
14e98b1cdbc73193a84a913d7d4f2b2b3eb2c43a
[ "MIT" ]
null
null
null
bindings/python/ensmallen_graph/datasets/string/methylophagafrappieri.py
caufieldjh/ensmallen_graph
14e98b1cdbc73193a84a913d7d4f2b2b3eb2c43a
[ "MIT" ]
null
null
null
bindings/python/ensmallen_graph/datasets/string/methylophagafrappieri.py
caufieldjh/ensmallen_graph
14e98b1cdbc73193a84a913d7d4f2b2b3eb2c43a
[ "MIT" ]
null
null
null
""" This file offers the methods to automatically retrieve the graph Methylophaga frappieri. The graph is automatically retrieved from the STRING repository. Report --------------------- At the time of rendering these methods (please see datetime below), the graph had the following characteristics: Datetime: 2021...
35.285714
223
0.702954