hexsha
stringlengths
40
40
size
int64
2
1.05M
ext
stringclasses
9 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
193
max_stars_repo_name
stringlengths
6
109
max_stars_repo_head_hexsha
stringlengths
40
78
max_stars_repo_licenses
listlengths
1
10
max_stars_count
int64
1
36.6k
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
4
193
max_issues_repo_name
stringlengths
6
109
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
10
max_issues_count
int64
1
29.8k
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
4
193
max_forks_repo_name
stringlengths
6
109
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
listlengths
1
10
max_forks_count
int64
1
11.2k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
2
1.05M
avg_line_length
float64
1
404k
max_line_length
int64
1
1.03M
alphanum_fraction
float64
0
1
ff922acda74c4b7558d48c6ed4c4b6648c7bb8fd
3,141
py
Python
launch_ros/launch_ros/actions/set_parameter.py
dawonn-haval/launch_ros
bd54a040ac1b043474ede4c12af7c867d9143008
[ "Apache-2.0" ]
1
2020-09-28T12:56:29.000Z
2020-09-28T12:56:29.000Z
launch_ros/launch_ros/actions/set_parameter.py
dawonn-haval/launch_ros
bd54a040ac1b043474ede4c12af7c867d9143008
[ "Apache-2.0" ]
null
null
null
launch_ros/launch_ros/actions/set_parameter.py
dawonn-haval/launch_ros
bd54a040ac1b043474ede4c12af7c867d9143008
[ "Apache-2.0" ]
1
2021-03-05T12:28:35.000Z
2021-03-05T12:28:35.000Z
# Copyright 2020 Open Source Robotics Foundation, 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...
34.516484
81
0.660299
ff9237e081bf50c3c77f72e916e665bdbbd7fa63
499
py
Python
PedSimulation/example/listener.py
HDL951236874/PedSimulation
153882289477c93306c38f9e3a41f9cfeb53f261
[ "Apache-2.0" ]
1
2018-08-15T17:42:58.000Z
2018-08-15T17:42:58.000Z
PedSimulation/example/listener.py
HDL951236874/PedSimulation
153882289477c93306c38f9e3a41f9cfeb53f261
[ "Apache-2.0" ]
null
null
null
PedSimulation/example/listener.py
HDL951236874/PedSimulation
153882289477c93306c38f9e3a41f9cfeb53f261
[ "Apache-2.0" ]
null
null
null
from PedSimulation.scene import SceneListener from PedSimulation.entity import Agent, RotateAgent import math class PedestrianEscapeListener(SceneListener): def on_added(self): pass def on_begin(self): pass def on_stepped(self): for agent in list(set(self.scene.entities_of_type(Ag...
26.263158
120
0.693387
ff92768c92ee65ffc768fff3fccb0c773839d44d
765
py
Python
chapter8/exercises/EG8-01 Finding the largest sales.py
munnep/begin_to_code_with_python
3ef14d90785526b6b26d262a7627eee73791d7d0
[ "MIT" ]
null
null
null
chapter8/exercises/EG8-01 Finding the largest sales.py
munnep/begin_to_code_with_python
3ef14d90785526b6b26d262a7627eee73791d7d0
[ "MIT" ]
null
null
null
chapter8/exercises/EG8-01 Finding the largest sales.py
munnep/begin_to_code_with_python
3ef14d90785526b6b26d262a7627eee73791d7d0
[ "MIT" ]
null
null
null
# EG8-01 Finding the largest sales from BTCInput import * sales1=read_int('Enter the sales for stand 1: ') sales2=read_int('Enter the sales for stand 2: ') sales3=read_int('Enter the sales for stand 3: ') sales4=read_int('Enter the sales for stand 4: ') sales5=read_int('Enter the sales for stand 5: ') sales6=read_int...
38.25
58
0.742484
ff927f860e68df84335e1ab95e5301ebd18b6fb0
1,672
py
Python
logs_processing/fields.py
varepsilon/cas-eval
62503e0182f9c1057c787d2338147626eb06a984
[ "Apache-2.0" ]
78
2016-09-12T09:04:00.000Z
2022-01-18T11:52:03.000Z
logs_processing/fields.py
varepsilon/cas-eval
62503e0182f9c1057c787d2338147626eb06a984
[ "Apache-2.0" ]
null
null
null
logs_processing/fields.py
varepsilon/cas-eval
62503e0182f9c1057c787d2338147626eb06a984
[ "Apache-2.0" ]
23
2017-04-09T11:09:39.000Z
2021-11-11T19:36:07.000Z
# Copyright 2016 Google 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,...
30.962963
132
0.670455
ff92976c3fda499f14affa1c552e336efa70b5b8
6,108
py
Python
03 Deep Neural Networks/optimal_network/nn_optimal.py
dkorenci/udacity_deeplearn
149273733a8075381baf33fb0aa1b17a4a681dde
[ "Apache-2.0" ]
null
null
null
03 Deep Neural Networks/optimal_network/nn_optimal.py
dkorenci/udacity_deeplearn
149273733a8075381baf33fb0aa1b17a4a681dde
[ "Apache-2.0" ]
null
null
null
03 Deep Neural Networks/optimal_network/nn_optimal.py
dkorenci/udacity_deeplearn
149273733a8075381baf33fb0aa1b17a4a681dde
[ "Apache-2.0" ]
null
null
null
''' Further performance optimizations of previous networks by adding more layers and learning rate decay. ''' import tensorflow as tf import numpy as np from tensorflow.python.framework import dtypes from notmnist.dataset import loadDataset from notmnist.settings import * ds = loadDataset('notMNIST_reformatted_1d_im...
45.924812
118
0.633923
ff92aeae2d125965b16ea6385c92a64241890b6d
3,071
py
Python
test/unit/rmq_2_sysmon/non_proc_msg.py
mjpernot/rmq-sysmon
728f696a451b6c870feb22e53be09bfcd7ed3c77
[ "MIT" ]
null
null
null
test/unit/rmq_2_sysmon/non_proc_msg.py
mjpernot/rmq-sysmon
728f696a451b6c870feb22e53be09bfcd7ed3c77
[ "MIT" ]
null
null
null
test/unit/rmq_2_sysmon/non_proc_msg.py
mjpernot/rmq-sysmon
728f696a451b6c870feb22e53be09bfcd7ed3c77
[ "MIT" ]
null
null
null
#!/usr/bin/python # Classification (U) """Program: non_proc_msg.py Description: Unit testing of non_proc_msg in rmq_2_sysmon.py. Usage: test/unit/rmq_2_sysmon/non_proc_msg.py Arguments: """ # Libraries and Global Variables # Standard import sys import os if sys.version_info < (2, 7): i...
20.75
76
0.617388
ff92d4ae18d01ef80917a417ee33da8c768c5745
6,999
py
Python
src/python/tests/appengine/handlers/testcase_list_test.py
fengjixuchui/clusterfuzz
ef89be3934936d1086b4a21bffca5506c8cb93be
[ "Apache-2.0" ]
3
2020-12-30T07:00:55.000Z
2021-03-16T10:55:05.000Z
src/python/tests/appengine/handlers/testcase_list_test.py
fengjixuchui/clusterfuzz
ef89be3934936d1086b4a21bffca5506c8cb93be
[ "Apache-2.0" ]
1
2019-06-07T21:29:28.000Z
2019-06-07T21:29:28.000Z
src/python/tests/appengine/handlers/testcase_list_test.py
fengjixuchui/clusterfuzz
ef89be3934936d1086b4a21bffca5506c8cb93be
[ "Apache-2.0" ]
1
2020-04-25T16:37:10.000Z
2020-04-25T16:37:10.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
35.170854
112
0.682097
ff93069eef270931d3236116d1d8ad680a0fefc3
9,398
py
Python
src/formats/anvil/anvil_world.py
BluCodeGH/Amulet-Map-Editor
7d1d2243fc29095b3cffe8aa4979235444ba6738
[ "MIT" ]
1
2020-08-26T22:42:16.000Z
2020-08-26T22:42:16.000Z
src/formats/anvil/anvil_world.py
BluCodeGH/Amulet-Map-Editor
7d1d2243fc29095b3cffe8aa4979235444ba6738
[ "MIT" ]
null
null
null
src/formats/anvil/anvil_world.py
BluCodeGH/Amulet-Map-Editor
7d1d2243fc29095b3cffe8aa4979235444ba6738
[ "MIT" ]
null
null
null
from __future__ import annotations import struct import zlib from io import BytesIO from typing import List, Tuple, Union from collections import defaultdict import numpy from api import WorldFormat from nbt import nbt from os import path from api.world import World from api.block import Block from api import nbt_t...
33.091549
92
0.581187
ff930d48143a88c965761adee1544bf0a099e397
147
py
Python
archive/nexus-api-v2/Mongo/URLs/Interfaces/__init__.py
cloud-hybrid/delta
402b00ed5aaa32ccef628361e9635879b7ace44f
[ "BSD-3-Clause" ]
null
null
null
archive/nexus-api-v2/Mongo/URLs/Interfaces/__init__.py
cloud-hybrid/delta
402b00ed5aaa32ccef628361e9635879b7ace44f
[ "BSD-3-Clause" ]
null
null
null
archive/nexus-api-v2/Mongo/URLs/Interfaces/__init__.py
cloud-hybrid/delta
402b00ed5aaa32ccef628361e9635879b7ace44f
[ "BSD-3-Clause" ]
1
2022-01-03T05:33:15.000Z
2022-01-03T05:33:15.000Z
from Mongo import * from Mongo.URLs import * from Mongo.URLs.Imports import * from API.ASGI.Authentication.Context import Interface as Authorizer
24.5
67
0.809524
ff932f0f3b5b12eba6b30ba3e4e94aa3b6aee70f
1,341
py
Python
mesonwrap/version_test.py
mesonbuild/wrapweb
c616627d7448fcadd601e838bedf1d717474cb1c
[ "Apache-2.0" ]
22
2015-05-30T12:40:58.000Z
2020-01-02T10:46:11.000Z
mesonwrap/version_test.py
mesonbuild/wrapweb
c616627d7448fcadd601e838bedf1d717474cb1c
[ "Apache-2.0" ]
102
2015-05-30T17:12:02.000Z
2020-01-25T11:20:35.000Z
mesonwrap/version_test.py
mesonbuild/wrapweb
c616627d7448fcadd601e838bedf1d717474cb1c
[ "Apache-2.0" ]
8
2018-02-27T14:59:24.000Z
2020-01-24T18:13:16.000Z
import unittest from mesonwrap import version class VersionTest(unittest.TestCase): def test_semantic(self): versions = [ ('1.2.3', 8), ('1.2.11', 1), ('1.2.11', 2), ('11.2.3', 9), ('11.2.3', 11), ] sorted_versions = sorted(vers...
26.294118
57
0.493661
ff93653d87b4dbc3aff15598b8182caa60a79ee2
5,968
py
Python
sdks/python/appcenter_sdk/models/ServiceBillingPlans.py
Brantone/appcenter-sdks
eeb063ecf79908b6e341fb00196d2cd9dc8f3262
[ "MIT" ]
null
null
null
sdks/python/appcenter_sdk/models/ServiceBillingPlans.py
Brantone/appcenter-sdks
eeb063ecf79908b6e341fb00196d2cd9dc8f3262
[ "MIT" ]
6
2019-10-23T06:38:53.000Z
2022-01-22T07:57:58.000Z
sdks/python/appcenter_sdk/models/ServiceBillingPlans.py
Brantone/appcenter-sdks
eeb063ecf79908b6e341fb00196d2cd9dc8f3262
[ "MIT" ]
2
2019-10-23T06:31:05.000Z
2021-08-21T17:32:47.000Z
# coding: utf-8 """ App Center Client Microsoft Visual Studio App Center API # noqa: E501 OpenAPI spec version: preview Contact: benedetto.abbenanti@gmail.com Project Repository: https://github.com/b3nab/appcenter-sdks """ import pprint import re # noqa: F401 import six class ServiceBilling...
34.49711
132
0.653485
ff9374cc77b39589efcf914b2389a060699bbc92
443
py
Python
alipay/aop/api/response/AlipayOpenSearchBoxOfflineResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
null
null
null
alipay/aop/api/response/AlipayOpenSearchBoxOfflineResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
null
null
null
alipay/aop/api/response/AlipayOpenSearchBoxOfflineResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse class AlipayOpenSearchBoxOfflineResponse(AlipayResponse): def __init__(self): super(AlipayOpenSearchBoxOfflineResponse, self).__init__() def parse_response_content(self, resp...
27.6875
107
0.781038
ff937f851a2810eaabb14694bf584aa01980c9de
4,655
py
Python
egs/word_embedding/steps/tfrnnlm/backup/skip-gram.py
charlesliucn/LanMIT
537dab22335a21285699776ce66d95cb14c3db52
[ "Apache-2.0" ]
17
2019-07-08T08:34:50.000Z
2021-11-19T13:39:29.000Z
egs/word_embedding/steps/tfrnnlm/backup/skip-gram.py
charlesliucn/kaldi-lm
537dab22335a21285699776ce66d95cb14c3db52
[ "Apache-2.0" ]
null
null
null
egs/word_embedding/steps/tfrnnlm/backup/skip-gram.py
charlesliucn/kaldi-lm
537dab22335a21285699776ce66d95cb14c3db52
[ "Apache-2.0" ]
null
null
null
# -*- coding:utf-8 -*- import os import sys import math import reader import random import collections import numpy as np import tensorflow as tf reload(sys) sys.setdefaultencoding("utf-8") os.environ["CUDA_VISIBLE_DEVICES"] = "5" config = tf.ConfigProto() config.gpu_options.per_process_gpu_memory_fraction = 0.5 se...
33.014184
91
0.724597
ff9381590a6da527bc04ecee4d31cae237d018f1
162
py
Python
src/sino/scom/exeptions.py
hesso-valais/scom
80172c6536ed72b83901af5ea6b42e653a657c4b
[ "MIT" ]
5
2021-01-03T07:58:43.000Z
2021-12-15T23:13:44.000Z
src/sino/scom/exeptions.py
hesso-valais/scom
80172c6536ed72b83901af5ea6b42e653a657c4b
[ "MIT" ]
2
2020-02-12T15:08:08.000Z
2021-12-22T15:10:28.000Z
src/sino/scom/exeptions.py
studer-innotec/scom
80172c6536ed72b83901af5ea6b42e653a657c4b
[ "MIT" ]
1
2021-12-23T22:14:53.000Z
2021-12-23T22:14:53.000Z
# -*- coding: utf-8 -*- class ResponseFrameException(Exception): def __init__(self, message): super(ResponseFrameException, self).__init__(message)
23.142857
61
0.703704
ff9391e44e347cdb1d21578fd12cc7ff2282bea1
1,106
py
Python
common/sample_bokeh_chart.py
ONSBigData/bokeh_seed
09fdce9574f8f156123a6e9d7c5d97bbcec2489d
[ "MIT" ]
null
null
null
common/sample_bokeh_chart.py
ONSBigData/bokeh_seed
09fdce9574f8f156123a6e9d7c5d97bbcec2489d
[ "MIT" ]
null
null
null
common/sample_bokeh_chart.py
ONSBigData/bokeh_seed
09fdce9574f8f156123a6e9d7c5d97bbcec2489d
[ "MIT" ]
null
null
null
from bokeh.models import ColumnDataSource, HoverTool from bokeh.plotting import figure import pandas as pd import os def get_bar_chart(part, dimension, nresults): field = '{}_{}'.format(part, dimension) dir_path = os.path.dirname(os.path.realpath(__file__)) df = pd.read_csv(dir_path + '/bundled_data/iris....
25.72093
78
0.592224
ff93ac72ca65586bca2b08b3975c6367263f7abd
457
py
Python
goods/migrations/0009_trainimage_traintype.py
huachao2017/goodsdl
3616d53b90696a97a5d56a064e2a14d484b821d7
[ "Apache-2.0" ]
3
2018-10-16T09:36:12.000Z
2019-04-15T03:12:49.000Z
goods/migrations/0009_trainimage_traintype.py
huachao2017/goodsdl
3616d53b90696a97a5d56a064e2a14d484b821d7
[ "Apache-2.0" ]
null
null
null
goods/migrations/0009_trainimage_traintype.py
huachao2017/goodsdl
3616d53b90696a97a5d56a064e2a14d484b821d7
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2017-11-20 16:55 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('goods', '0008_image_deviceid'), ] operations = [ migrations.AddField( ...
21.761905
57
0.621444
ff93dd15ef2679ecac574b984975ed67415d410b
1,562
py
Python
scan_models/main.py
jessielaf/django-scan-models
ec32ee49c42cb5e567cbae8b9bff2eb3cc18261a
[ "MIT" ]
29
2020-03-18T19:37:18.000Z
2021-12-07T09:36:51.000Z
scan_models/main.py
jessielaf/django-scan-models
ec32ee49c42cb5e567cbae8b9bff2eb3cc18261a
[ "MIT" ]
null
null
null
scan_models/main.py
jessielaf/django-scan-models
ec32ee49c42cb5e567cbae8b9bff2eb3cc18261a
[ "MIT" ]
null
null
null
import json import os from pathlib import Path from django.apps import apps from scan_models.parser.main import FieldParser from scan_models.settings import get_setting def scan_model(model_name: str, output: str, location_prefix: str = ""): """ Scan the model and output it to a file Args: mode...
27.892857
103
0.680538
ff93e1065754250bde1d6ed589eb3bf4dc619114
34,261
py
Python
mrcnn/utils.py
Tauffer-Consulting/Mask_RCNN
a421160f5a337a72548b78a5064095c71791e0a1
[ "MIT" ]
23,299
2017-11-01T23:43:28.000Z
2022-03-31T07:09:31.000Z
mrcnn/utils.py
Tauffer-Consulting/Mask_RCNN
a421160f5a337a72548b78a5064095c71791e0a1
[ "MIT" ]
2,642
2017-11-01T23:55:06.000Z
2022-03-31T06:06:30.000Z
mrcnn/utils.py
Tauffer-Consulting/Mask_RCNN
a421160f5a337a72548b78a5064095c71791e0a1
[ "MIT" ]
11,244
2017-11-02T00:04:58.000Z
2022-03-31T02:36:09.000Z
""" Mask R-CNN Common utility functions and classes. Copyright (c) 2017 Matterport, Inc. Licensed under the MIT License (see LICENSE for details) Written by Waleed Abdulla """ import sys import os import logging import math import random import numpy as np import tensorflow as tf import scipy import skimage.color imp...
37.690869
104
0.614022
ff93f9817af3fcd505e30fb67be669cc6f5411a0
13,228
py
Python
torcherist/dataset/ontology/onet.py
cnut1648/torcherist
2e1f7a878814126d6faff81e7214ea35ae1d0902
[ "MIT" ]
null
null
null
torcherist/dataset/ontology/onet.py
cnut1648/torcherist
2e1f7a878814126d6faff81e7214ea35ae1d0902
[ "MIT" ]
null
null
null
torcherist/dataset/ontology/onet.py
cnut1648/torcherist
2e1f7a878814126d6faff81e7214ea35ae1d0902
[ "MIT" ]
null
null
null
import io import csv import logging from cached_property import cached_property import requests from collections.abc import MutableMapping, KeysView from . import CompetencyOntology, Competency, Occupation from torcherist.config import dataset_dir from pathlib import Path logger = logging.getLogger(__name__) logger...
39.020649
119
0.622316
ff9403df147ffea673246fa138c47e70c270fb81
6,773
py
Python
gaphor/UML/profiles/tests/test_classifier_stereotypes.py
Xander982/gaphor
b5c55fa18b79b80d9c14ee0cb0ce8a9963e90f86
[ "Apache-2.0" ]
null
null
null
gaphor/UML/profiles/tests/test_classifier_stereotypes.py
Xander982/gaphor
b5c55fa18b79b80d9c14ee0cb0ce8a9963e90f86
[ "Apache-2.0" ]
null
null
null
gaphor/UML/profiles/tests/test_classifier_stereotypes.py
Xander982/gaphor
b5c55fa18b79b80d9c14ee0cb0ce8a9963e90f86
[ "Apache-2.0" ]
null
null
null
""" Test classifier stereotypes attributes using component items. """ from gaphor import UML from gaphor.tests import TestCase from gaphor.UML.components.component import ComponentItem def compartments(item): return item.shape.children[1:] class StereotypesAttributesTestCase(TestCase): def setUp(self): ...
31.798122
102
0.62882
ff9408f755e2e2548f9e3dccab8223bc3accbe2f
3,852
py
Python
tests/users/test_users_notes_create.py
marqeta/marqeta-python
66fa690eb910825c510a391720b0fe717fac0234
[ "MIT" ]
21
2019-04-12T09:02:17.000Z
2022-02-18T11:39:06.000Z
tests/users/test_users_notes_create.py
marqeta/marqeta-python
66fa690eb910825c510a391720b0fe717fac0234
[ "MIT" ]
1
2020-07-22T21:27:40.000Z
2020-07-23T17:38:43.000Z
tests/users/test_users_notes_create.py
marqeta/marqeta-python
66fa690eb910825c510a391720b0fe717fac0234
[ "MIT" ]
10
2019-05-08T14:20:37.000Z
2021-09-20T18:09:26.000Z
import unittest from marqeta.errors import MarqetaError from tests.lib.client import get_client class TestUsersNotesCreate(unittest.TestCase): """Tests for the users.notes.create endpoint.""" @classmethod def setUpClass(cls): """Setup for each test in the class.""" cls.client = get_clie...
29.181818
80
0.628505
ff9418f77a556879851d65974f7cb80439bb5840
4,743
py
Python
benchmarks/message_producer.py
jwenjian/naz
905ce81703e5bb0068915d48e72fc9dca8cda4ab
[ "MIT" ]
null
null
null
benchmarks/message_producer.py
jwenjian/naz
905ce81703e5bb0068915d48e72fc9dca8cda4ab
[ "MIT" ]
null
null
null
benchmarks/message_producer.py
jwenjian/naz
905ce81703e5bb0068915d48e72fc9dca8cda4ab
[ "MIT" ]
null
null
null
import sys import random import string import asyncio import logging import naz from app import my_naz_client, country_code async def send_messages(): """ - generate a random message of between 1-254 bytes. - generate a random msisdn - send the message """ source_addr = "NazBenchmarksInc" ...
34.369565
100
0.424204
ff94347d797a0e939d17122c0690353a633bd831
8,491
py
Python
armi/utils/pathTools.py
albeanth/armi
3755ffd2fcd1f7b6c557ef3e3f36126706a84c70
[ "Apache-2.0" ]
null
null
null
armi/utils/pathTools.py
albeanth/armi
3755ffd2fcd1f7b6c557ef3e3f36126706a84c70
[ "Apache-2.0" ]
null
null
null
armi/utils/pathTools.py
albeanth/armi
3755ffd2fcd1f7b6c557ef3e3f36126706a84c70
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 TerraPower, LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
28.979522
118
0.651984
ff943c6b450fcd6847c5e5c4f05a3d0151b1be6e
317
py
Python
Python279/Scripts/datediff-script.py
Edeleon4/PoolShark
e59d353b90ae3f6ad2e5995c1fee2a5870a4bf8f
[ "MIT" ]
null
null
null
Python279/Scripts/datediff-script.py
Edeleon4/PoolShark
e59d353b90ae3f6ad2e5995c1fee2a5870a4bf8f
[ "MIT" ]
null
null
null
Python279/Scripts/datediff-script.py
Edeleon4/PoolShark
e59d353b90ae3f6ad2e5995c1fee2a5870a4bf8f
[ "MIT" ]
null
null
null
#!C:\Python279\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'dateutils==0.6.6','console_scripts','datediff' __requires__ = 'dateutils==0.6.6' import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.exit( load_entry_point('dateutils==0.6.6', 'console_scripts', 'datediff')() )
28.818182
77
0.706625
ff944fe041067b898030f2cf5294fb957e65d230
3,035
py
Python
src/ggrc_gdrive_integration/models/object_folder.py
Killswitchz/ggrc-core
2460df94daf66727af248ad821462692917c97a9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/ggrc_gdrive_integration/models/object_folder.py
Killswitchz/ggrc-core
2460df94daf66727af248ad821462692917c97a9
[ "ECL-2.0", "Apache-2.0" ]
10
2018-07-06T00:04:23.000Z
2021-02-26T21:13:20.000Z
src/ggrc_gdrive_integration/models/object_folder.py
Killswitchz/ggrc-core
2460df94daf66727af248ad821462692917c97a9
[ "ECL-2.0", "Apache-2.0" ]
1
2017-11-11T22:16:56.000Z
2017-11-11T22:16:56.000Z
# Copyright (C) 2017 Google Inc. # Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> from ggrc import db from ggrc.builder import simple_property from ggrc.models import reflection from ggrc.models.mixins import Base from ggrc.utils import create_stub class ObjectFolder(Base, db.Model): ...
29.754902
79
0.69687
ff9455ba3dc0f64c693d657c9024e2d3a9f9f54e
1,360
py
Python
styleguide/radio_checkbox_example.py
connectthefuture/calc
7f0dc01d9265f26a36c2b9b5ee779fe876e4a494
[ "CC0-1.0" ]
null
null
null
styleguide/radio_checkbox_example.py
connectthefuture/calc
7f0dc01d9265f26a36c2b9b5ee779fe876e4a494
[ "CC0-1.0" ]
1
2021-06-10T23:13:04.000Z
2021-06-10T23:13:04.000Z
styleguide/radio_checkbox_example.py
connectthefuture/calc
7f0dc01d9265f26a36c2b9b5ee779fe876e4a494
[ "CC0-1.0" ]
null
null
null
from django import forms from django.shortcuts import render from django.contrib import messages from frontend.widgets import UswdsRadioSelect, UswdsCheckbox class ExampleForm(forms.Form): radios = forms.ChoiceField( widget=UswdsRadioSelect, choices=( ('1', 'First'), ('2',...
24.285714
73
0.581618
ff94746f4b58c679464c4fae15e0894d73ef618d
1,538
py
Python
custom_components/cololight/__init__.py
BazaJayGee66/homeassistant_cololight
becc5f7355fce53e0110d3433730e133c45ece62
[ "MIT" ]
25
2020-06-03T12:59:02.000Z
2022-03-27T03:34:41.000Z
custom_components/cololight/__init__.py
JuzzWuzz/homeassistant_cololight
e796f35f50625095fad3b2a840ca3ded50dd2266
[ "MIT" ]
14
2020-06-13T09:42:48.000Z
2022-02-17T16:14:55.000Z
custom_components/cololight/__init__.py
JuzzWuzz/homeassistant_cololight
e796f35f50625095fad3b2a840ca3ded50dd2266
[ "MIT" ]
7
2020-06-30T22:20:25.000Z
2021-12-29T12:45:07.000Z
""" cololight """ from homeassistant.components.light import DOMAIN as LIGHT_DOMAIN from homeassistant.config_entries import ConfigEntry from homeassistant.helpers.typing import HomeAssistantType from homeassistant.core import callback from homeassistant.const import CONF_NAME DOMAIN = "cololight" async def async_se...
29.576923
84
0.751625
ff947662e90ce0a520a1135f90eb4daa5eb737b7
1,387
py
Python
test/run-test.py
domoritz/jupyterlab
f4b8596666b1228a9a016df2d42ed2fae423e66c
[ "BSD-3-Clause" ]
null
null
null
test/run-test.py
domoritz/jupyterlab
f4b8596666b1228a9a016df2d42ed2fae423e66c
[ "BSD-3-Clause" ]
null
null
null
test/run-test.py
domoritz/jupyterlab
f4b8596666b1228a9a016df2d42ed2fae423e66c
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. from __future__ import print_function, absolute_import from os.path import join as pjoin import json import os import sys from jupyterlab.tests.test_app import TestApp HERE = os.path.abspath(os.path.dirname(__file__...
30.152174
73
0.628695
ff94880e7168b41aa9a1deb851a7361eebc1cc6b
26,065
py
Python
tools/interop_matrix/client_matrix.py
tomerv/grpc
27662173e750107a4520d5d6972544d67a6a0203
[ "Apache-2.0" ]
4
2018-10-12T17:18:41.000Z
2020-06-21T19:31:47.000Z
tools/interop_matrix/client_matrix.py
stanley-cheung/grpc
7d6000082a0e79a5307d04454a572a924a4d940d
[ "BSD-3-Clause" ]
9
2021-06-01T23:18:19.000Z
2022-02-22T17:54:02.000Z
tools/interop_matrix/client_matrix.py
stanley-cheung/grpc
7d6000082a0e79a5307d04454a572a924a4d940d
[ "BSD-3-Clause" ]
1
2022-01-18T07:59:33.000Z
2022-01-18T07:59:33.000Z
# Copyright 2017 gRPC authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing...
46.627907
86
0.495799
ff94aaebb0e7fe4474149f5b38185473e936f87a
4,803
py
Python
alipay/aop/api/domain/StructureServiceInfo.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
213
2018-08-27T16:49:32.000Z
2021-12-29T04:34:12.000Z
alipay/aop/api/domain/StructureServiceInfo.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
29
2018-09-29T06:43:00.000Z
2021-09-02T03:27:32.000Z
alipay/aop/api/domain/StructureServiceInfo.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
59
2018-08-27T16:59:26.000Z
2022-03-25T10:08:15.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class StructureServiceInfo(object): def __init__(self): self._alcohol = None self._booking = None self._box = None self._byo = None self._chinese_svc = None ...
27.289773
73
0.534874
ff94d83e4baf4659ff076813c038db8321ee3b0e
6,428
py
Python
dvc/stage/utils.py
codito/dvc
edd83446591fcdbb5f1e58754755b68195dd2b1c
[ "Apache-2.0" ]
null
null
null
dvc/stage/utils.py
codito/dvc
edd83446591fcdbb5f1e58754755b68195dd2b1c
[ "Apache-2.0" ]
null
null
null
dvc/stage/utils.py
codito/dvc
edd83446591fcdbb5f1e58754755b68195dd2b1c
[ "Apache-2.0" ]
null
null
null
import os import pathlib from itertools import product from funcy import lsplit, rpartial from dvc import dependency, output from dvc.utils.fs import path_isin from ..dependency import ParamsDependency from ..hash_info import HashInfo from ..tree.local import LocalTree from ..tree.s3 import S3Tree from ..utils impor...
30.178404
79
0.663037
ff94da52b95bd4dea06999809279a06c89dd6887
6,211
py
Python
test/result_dir/code_only.py
Pierre-Thibault/neo-insert-imports
c20399d5666b2c3590be7f40c8be1130343bbadc
[ "MIT" ]
1
2015-05-07T02:44:52.000Z
2015-05-07T02:44:52.000Z
test/result_dir/code_only.py
Pierre-Thibault/neo-insert-imports
c20399d5666b2c3590be7f40c8be1130343bbadc
[ "MIT" ]
null
null
null
test/result_dir/code_only.py
Pierre-Thibault/neo-insert-imports
c20399d5666b2c3590be7f40c8be1130343bbadc
[ "MIT" ]
null
null
null
# Static analyzer import helpers: (STATIC_IMPORT_MARK) if 0: import gluon global cache; cache = gluon.cache.Cache() global LOAD; LOAD = gluon.compileapp.LoadFactory() import gluon.compileapp.local_import_aux as local_import #@UnusedImport from gluon.contrib.gql import GQLDB #@UnusedImport from...
47.776923
75
0.755917
ff9504969b728e6a1139e43d49fd0d5523fc114e
9,684
py
Python
src/cltl/brain/long_term_memory.py
leolani/cltl-knowledgerepresentation
df936348e57453ffbb2e82343cf12322c26f3ced
[ "MIT" ]
2
2021-08-19T06:14:07.000Z
2022-02-15T18:55:47.000Z
src/cltl/brain/long_term_memory.py
leolani/cltl-knowledgerepresentation
df936348e57453ffbb2e82343cf12322c26f3ced
[ "MIT" ]
13
2021-07-21T07:16:50.000Z
2022-02-24T22:06:05.000Z
src/cltl/brain/long_term_memory.py
leolani/cltl-knowledgerepresentation
df936348e57453ffbb2e82343cf12322c26f3ced
[ "MIT" ]
1
2021-06-28T18:57:39.000Z
2021-06-28T18:57:39.000Z
from cltl.brain.LTM_question_processing import create_query from cltl.brain.LTM_statement_processing import model_graphs, _link_leolani, _link_entity, \ create_claim_graph from cltl.brain.basic_brain import BasicBrain from cltl.brain.infrastructure import Thoughts, Triple from cltl.brain.reasoners import LocationRe...
46.557692
120
0.634036
ff957620ad4f79441b68cd0bea592684f3d947bc
2,455
py
Python
utils/image_utils.py
axki/srzoo
305c5b29d6b82f1d0e5edd39cd9f36650212dca2
[ "Apache-2.0" ]
null
null
null
utils/image_utils.py
axki/srzoo
305c5b29d6b82f1d0e5edd39cd9f36650212dca2
[ "Apache-2.0" ]
null
null
null
utils/image_utils.py
axki/srzoo
305c5b29d6b82f1d0e5edd39cd9f36650212dca2
[ "Apache-2.0" ]
null
null
null
import numpy as np #import tensorflow as tf import tensorflow.compat.v1 as tf tf.disable_v2_behavior() class ImageReader: def __init__(self): # image reading graph self.tf_graph = tf.Graph() with self.tf_graph.as_default(): self.tf_image_path = tf.placeholder(tf.string, []) tf_image ...
28.882353
105
0.645214
ff95ad7db5f79e22368121b96005d0a38078a5d8
8,763
py
Python
ogrzewanie.py
TomaszHorak/Proszkowska10
ed163721006aeaac2b5508838fab264add248c72
[ "MIT" ]
null
null
null
ogrzewanie.py
TomaszHorak/Proszkowska10
ed163721006aeaac2b5508838fab264add248c72
[ "MIT" ]
null
null
null
ogrzewanie.py
TomaszHorak/Proszkowska10
ed163721006aeaac2b5508838fab264add248c72
[ "MIT" ]
null
null
null
from __future__ import print_function from Obszar import Obszar import constants import threading CZAS_PRZERWY_DZIALANIA = 5 #w sekundach DEFAULT_TEMP_MIN = 17.0 DEFAULT_TEMP_MAX = 24.5 HISTEREZA = 0.2 OGRZ_ZOSIA = 'ogrz_zosia' OGRZ_ZOSIA_PIN = 17 OGRZ_SALON = 'ogrz_salon' OGRZ_SALON_PIN = 16 OGRZ_ST...
42.129808
120
0.629579
ff95bb20a6a65ce55ec4f2872764f8ad0812312c
159,988
py
Python
sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_generated/v7_0/models/_models_py3.py
vincenttran-msft/azure-sdk-for-python
348b56f9f03eeb3f7b502eed51daf494ffff874d
[ "MIT" ]
1
2022-03-09T08:59:13.000Z
2022-03-09T08:59:13.000Z
sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_generated/v7_0/models/_models_py3.py
vincenttran-msft/azure-sdk-for-python
348b56f9f03eeb3f7b502eed51daf494ffff874d
[ "MIT" ]
null
null
null
sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_generated/v7_0/models/_models_py3.py
vincenttran-msft/azure-sdk-for-python
348b56f9f03eeb3f7b502eed51daf494ffff874d
[ "MIT" ]
1
2022-03-04T06:21:56.000Z
2022-03-04T06:21:56.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 ...
37.529439
145
0.641704
ff95ce86495605b83dd764d39c683de12a18a981
2,782
py
Python
data/tracking/sampler/_sampling_algos/sequence_sampling/triplet/MOT.py
zhangzhengde0225/SwinTrack
526be17f8ef266cb924c6939bd8dda23e9b73249
[ "MIT" ]
143
2021-12-03T02:33:36.000Z
2022-03-29T00:01:48.000Z
data/tracking/sampler/_sampling_algos/sequence_sampling/triplet/MOT.py
zhangzhengde0225/SwinTrack
526be17f8ef266cb924c6939bd8dda23e9b73249
[ "MIT" ]
33
2021-12-03T10:32:05.000Z
2022-03-31T02:13:55.000Z
data/tracking/sampler/_sampling_algos/sequence_sampling/triplet/MOT.py
zhangzhengde0225/SwinTrack
526be17f8ef266cb924c6939bd8dda23e9b73249
[ "MIT" ]
24
2021-12-04T06:46:42.000Z
2022-03-30T07:57:47.000Z
from datasets.MOT.dataset import MultipleObjectTrackingDatasetSequence_MemoryMapped from ..SiamFC.MOT import _sampling_one_track_in_sequence_and_generate_object_visible_mask, _get_positive_frame_image_and_bbox, _get_frame_image_and_bbox import numpy as np from ._algo import do_triplet_sampling_positive_only, do_triplet...
67.853659
213
0.673257
ff95cef2d165f34ffffb058f87ad485ea6d92767
467
py
Python
alipay/aop/api/response/AlipayMarketingActivityVoucherStopResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
213
2018-08-27T16:49:32.000Z
2021-12-29T04:34:12.000Z
alipay/aop/api/response/AlipayMarketingActivityVoucherStopResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
29
2018-09-29T06:43:00.000Z
2021-09-02T03:27:32.000Z
alipay/aop/api/response/AlipayMarketingActivityVoucherStopResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
59
2018-08-27T16:59:26.000Z
2022-03-25T10:08:15.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse class AlipayMarketingActivityVoucherStopResponse(AlipayResponse): def __init__(self): super(AlipayMarketingActivityVoucherStopResponse, self).__init__() def parse_response_co...
29.1875
115
0.792291
ff95e3902478707d54f71e671398f4b33c24c41e
2,830
py
Python
tensor2tensor/models/video/savp_params.py
shankharaj29/tensor2tensor
b89ba51a6fa9e0c20009cfb57ee8de04f7138392
[ "Apache-2.0" ]
1
2019-02-16T10:39:45.000Z
2019-02-16T10:39:45.000Z
tensor2tensor/models/video/savp_params.py
PedroLelis/tensor2tensor
5a867d031bd493eeb7d2776e1118d1594ff0a623
[ "Apache-2.0" ]
null
null
null
tensor2tensor/models/video/savp_params.py
PedroLelis/tensor2tensor
5a867d031bd493eeb7d2776e1118d1594ff0a623
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # Copyright 2018 The Tensor2Tensor 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...
32.159091
74
0.769965
ff95e3bd663c5d2fdb30ddb936d3648b19cc908f
2,289
py
Python
tests/using_classes/DeleteObject/test_delete_object.py
praveenbommalibits/JSONManipulator
51c6d9ad916d07d96643599ec05faa1abd6da82b
[ "MIT" ]
null
null
null
tests/using_classes/DeleteObject/test_delete_object.py
praveenbommalibits/JSONManipulator
51c6d9ad916d07d96643599ec05faa1abd6da82b
[ "MIT" ]
null
null
null
tests/using_classes/DeleteObject/test_delete_object.py
praveenbommalibits/JSONManipulator
51c6d9ad916d07d96643599ec05faa1abd6da82b
[ "MIT" ]
null
null
null
import pytest import json import os import sys from JSONManipulator import DeleteObject def test_delete_object(): # -- testing the examples case with open( os.path.join( sys.path[0], "tests/books_after_set_up.json" ), "r" ) as file: initial_file_contents = ...
28.259259
79
0.557449
ff9611316e778451d853435ecc03e870ac61972f
1,140
py
Python
oscar/lib/python2.7/site-packages/phonenumbers/data/region_NE.py
sainjusajan/django-oscar
466e8edc807be689b0a28c9e525c8323cc48b8e1
[ "BSD-3-Clause" ]
null
null
null
oscar/lib/python2.7/site-packages/phonenumbers/data/region_NE.py
sainjusajan/django-oscar
466e8edc807be689b0a28c9e525c8323cc48b8e1
[ "BSD-3-Clause" ]
null
null
null
oscar/lib/python2.7/site-packages/phonenumbers/data/region_NE.py
sainjusajan/django-oscar
466e8edc807be689b0a28c9e525c8323cc48b8e1
[ "BSD-3-Clause" ]
null
null
null
"""Auto-generated file, do not edit by hand. NE metadata""" from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata PHONE_METADATA_NE = PhoneMetadata(id='NE', country_code=227, international_prefix='00', general_desc=PhoneNumberDesc(national_number_pattern='[0289]\\d{7}', possible_length=(8,))...
95
202
0.689474
ff964d442f21f0dad9c39537d1d2d8465c9c9b7f
1,248
py
Python
csv_permissions/types.py
AllianceSoftware/django-csvpermissions
4f0137bc579b383b5378b0cf2ccdf5e2d4f40f85
[ "BSD-2-Clause" ]
1
2021-09-30T03:01:22.000Z
2021-09-30T03:01:22.000Z
csv_permissions/types.py
AllianceSoftware/django-csvpermissions
4f0137bc579b383b5378b0cf2ccdf5e2d4f40f85
[ "BSD-2-Clause" ]
9
2021-02-09T22:50:23.000Z
2021-11-22T17:08:13.000Z
csv_permissions/types.py
AllianceSoftware/django-csvpermissions
4f0137bc579b383b5378b0cf2ccdf5e2d4f40f85
[ "BSD-2-Clause" ]
null
null
null
import dataclasses from pathlib import Path from typing import Callable from typing import Optional from typing import Type from django.apps import AppConfig from django.db.models import Model # a permission name PermName = str # a user type UserType = str # a callable to check whether a user has a permission for a...
27.130435
72
0.71875
ff9653eb449e1bd8c28f3be1246ec9ce1f3c4b16
828
py
Python
leetcode/Share Purchase/soln.py
saisankargochhayat/algo_quest
a24f9a22c019ab31d56bd5a7ca5ba790d54ce5dc
[ "Apache-2.0" ]
3
2017-02-15T20:55:04.000Z
2018-09-26T18:48:24.000Z
leetcode/Share Purchase/soln.py
saisankargochhayat/algo_quest
a24f9a22c019ab31d56bd5a7ca5ba790d54ce5dc
[ "Apache-2.0" ]
4
2017-10-07T18:59:20.000Z
2019-10-08T05:43:25.000Z
leetcode/Share Purchase/soln.py
saisankargochhayat/algo_quest
a24f9a22c019ab31d56bd5a7ca5ba790d54ce5dc
[ "Apache-2.0" ]
1
2017-10-08T06:52:21.000Z
2017-10-08T06:52:21.000Z
#https://leetcode.com/discuss/interview-question/365452/Goldman-Sachs-or-OA-2020-or-Shares-Purchase def Solution(word): soln_set = [] # i points to the first char and j to the last char. i, lenofWord = 0, len(word) count = 0 for i in range(0, lenofWord-2): j = lenofWord # This would ...
29.571429
144
0.589372
ff9678125b2cc1a944e6f60c718c158504b95428
19,686
py
Python
twisted/conch/checkers.py
sxamit/twisted
30f6966329c857c3631c60aeb420d84d7828e01e
[ "MIT", "Unlicense" ]
1
2017-08-07T14:52:02.000Z
2017-08-07T14:52:02.000Z
Lib/site-packages/twisted/conch/checkers.py
adzhou/Python27
a7113b69d54a04cc780143241c2f1fe81939ad3a
[ "bzip2-1.0.6" ]
null
null
null
Lib/site-packages/twisted/conch/checkers.py
adzhou/Python27
a7113b69d54a04cc780143241c2f1fe81939ad3a
[ "bzip2-1.0.6" ]
1
2018-11-07T12:52:07.000Z
2018-11-07T12:52:07.000Z
# -*- test-case-name: twisted.conch.test.test_checkers -*- # Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Provide L{ICredentialsChecker} implementations to be used in Conch protocols. """ from __future__ import absolute_import, division import sys import binascii import errno try: i...
33.708904
96
0.649345
ff9692db19b71eaabf4c6d3c541777328bb95c94
12,529
py
Python
run.py
PaulMcInnis/WorkPi
28cd68998794639168561dc7479312f6ed1aa844
[ "MIT" ]
1
2020-03-29T22:02:38.000Z
2020-03-29T22:02:38.000Z
run.py
PaulMcInnis/WorkPi
28cd68998794639168561dc7479312f6ed1aa844
[ "MIT" ]
null
null
null
run.py
PaulMcInnis/WorkPi
28cd68998794639168561dc7479312f6ed1aa844
[ "MIT" ]
null
null
null
"""Work logging tool based on raspberry pi TFT TODO: JIRA integ.""" from collections import namedtuple from datetime import timedelta, datetime from enum import Enum import os, sys, sched, time from typing import List from gpiozero import Button import pygame from pygame.locals import KEYDOWN, K_ESCAPE, K_DOWN, K_UP, K...
33.862162
103
0.580653
ff96c769204f079f11c5370acfc16cb4e0b25317
352
py
Python
iris_sdk/models/data/import_tn_checker.py
NumberAI/python-bandwidth-iris
0e05f79d68b244812afb97e00fd65b3f46d00aa3
[ "MIT" ]
2
2020-04-13T13:47:59.000Z
2022-02-23T20:32:41.000Z
iris_sdk/models/data/import_tn_checker.py
bandwidthcom/python-bandwidth-iris
dbcb30569631395041b92917252d913166f7d3c9
[ "MIT" ]
5
2020-09-18T20:59:24.000Z
2021-08-25T16:51:42.000Z
iris_sdk/models/data/import_tn_checker.py
bandwidthcom/python-bandwidth-iris
dbcb30569631395041b92917252d913166f7d3c9
[ "MIT" ]
5
2018-12-12T14:39:50.000Z
2020-11-17T21:42:29.000Z
#!/usr/bin/env python from iris_sdk.models.base_resource import BaseData from iris_sdk.models.data.import_tn_checker_list import TelephoneNumbers from iris_sdk.models.maps.import_tn_checker import ImportTnCheckerMap class ImportTnCheckerData(ImportTnCheckerMap, BaseData): def __init__(self): self.telepho...
32
72
0.826705
ff970762748fea2e6fb9b17256a36109f5ddd7c3
2,388
py
Python
TheTrashCycle/main/TrashInference/getTrash.py
TheRealAakash/TheLifeCycle
288a28acf244d6edde95760c08cb1ccb7609422c
[ "MIT" ]
null
null
null
TheTrashCycle/main/TrashInference/getTrash.py
TheRealAakash/TheLifeCycle
288a28acf244d6edde95760c08cb1ccb7609422c
[ "MIT" ]
null
null
null
TheTrashCycle/main/TrashInference/getTrash.py
TheRealAakash/TheLifeCycle
288a28acf244d6edde95760c08cb1ccb7609422c
[ "MIT" ]
null
null
null
import os import cv2 import imageio import numpy as np from .mrcnn import model as modellib from .trash import trash import tensorflow.compat.v1 as tf tf.disable_v2_behavior() TRASH_WEIGHTS_PATH = "weights/mask_rcnn_trash_0200_030519_large.h5" # the best print('Weights being used: ', TRASH_WEIGHTS_PATH) """ t...
25.677419
148
0.681742
ff97267e35590c683bf6ba829432d49ba8e62d3f
1,553
py
Python
examples/AdAccountCampaignsPostOfferClaims.py
pasha-r/facebook-python-ads-sdk
76feadd77baed839516b53297628e7a254c8c3c0
[ "CNRI-Python" ]
null
null
null
examples/AdAccountCampaignsPostOfferClaims.py
pasha-r/facebook-python-ads-sdk
76feadd77baed839516b53297628e7a254c8c3c0
[ "CNRI-Python" ]
null
null
null
examples/AdAccountCampaignsPostOfferClaims.py
pasha-r/facebook-python-ads-sdk
76feadd77baed839516b53297628e7a254c8c3c0
[ "CNRI-Python" ]
1
2018-09-24T14:04:48.000Z
2018-09-24T14:04:48.000Z
# Copyright 2014 Facebook, Inc. # You are hereby granted a non-exclusive, worldwide, royalty-free license to # use, copy, modify, and distribute this software in source code or binary # form for use in connection with the web services and APIs provided by # Facebook. # As with any software that integrates with the Fa...
37.878049
76
0.775918
ff97352b6dc423f35ab79aae5aa1ceaa22332042
16,018
py
Python
test_attack.py
mhilmiasyrofi/EAD-Attack
a5bd90f8d2a096098759deb3c3dfeca26c689e4e
[ "Apache-2.0" ]
27
2018-02-06T06:55:29.000Z
2021-12-02T13:19:12.000Z
test_attack.py
mhilmiasyrofi/EAD-Attack
a5bd90f8d2a096098759deb3c3dfeca26c689e4e
[ "Apache-2.0" ]
2
2017-09-22T05:49:43.000Z
2017-09-24T14:44:31.000Z
test_attack.py
mhilmiasyrofi/EAD-Attack
a5bd90f8d2a096098759deb3c3dfeca26c689e4e
[ "Apache-2.0" ]
13
2018-09-23T02:04:31.000Z
2020-09-21T14:44:30.000Z
## test_attack.py -- sample code to test attack procedure ## ## Copyright (C) 2017, Yash Sharma <ysharma1126@gmail.com>. ## Copyright (C) 2016, Nicholas Carlini <nicholas@carlini.com>. ## ## This program is licenced under the BSD 2-Clause licence, ## contained in the LICENCE file in this directory. import tensorflow a...
40.551899
160
0.662442
ff9769e448b088cc2301f13cfcfd31ea09e551d8
6,186
py
Python
src/clusto/test/drivers/common/porttests.py
thekad/clusto
c141ea3ef4931c6a21fdf42845c6e9de5ee08caa
[ "BSD-3-Clause" ]
216
2015-01-10T17:03:25.000Z
2022-03-24T07:23:41.000Z
src/clusto/test/drivers/common/porttests.py
thekad/clusto
c141ea3ef4931c6a21fdf42845c6e9de5ee08caa
[ "BSD-3-Clause" ]
23
2015-01-08T16:51:22.000Z
2021-03-13T12:56:04.000Z
src/clusto/test/drivers/common/porttests.py
thekad/clusto
c141ea3ef4931c6a21fdf42845c6e9de5ee08caa
[ "BSD-3-Clause" ]
49
2015-01-08T00:13:17.000Z
2021-09-22T02:01:20.000Z
import clusto from clusto.test import testbase from clusto.drivers import Driver, PortMixin from clusto.exceptions import ConnectionException class TestDev1(Driver, PortMixin): _clusto_type = "test1" _driver_name = "test1driver" _portmeta = {'a' : {'numports':5}, 'b' : {'numports':1}} ...
30.93
82
0.515681
ff97a1821a273f6e495253e9ca5eff6edfd54b1b
1,365
py
Python
examples/manual_schemas/models.py
Wouterkoorn/sqlalchemy-pydantic
dafd002a404eaffab4c0c51db90fa4b6121107ed
[ "MIT" ]
17
2021-04-24T09:00:17.000Z
2022-03-29T07:55:32.000Z
examples/manual_schemas/models.py
Wouterkoorn/sqlalchemy-pydantic
dafd002a404eaffab4c0c51db90fa4b6121107ed
[ "MIT" ]
null
null
null
examples/manual_schemas/models.py
Wouterkoorn/sqlalchemy-pydantic
dafd002a404eaffab4c0c51db90fa4b6121107ed
[ "MIT" ]
3
2022-02-01T19:46:19.000Z
2022-03-03T11:29:43.000Z
from database import Base from sqlalchemy import Column, ForeignKey, Integer, String from sqlalchemy.orm import relationship class Parent(Base): # type: ignore __tablename__ = "parents" id = Column(Integer, primary_key=True, index=True, nullable=False) name = Column(String, nullable=False) children...
31.022727
75
0.705495
ff97e4f9b803d2ca3444c1f84774c290e614a4e5
2,893
py
Python
analysis/webservice/algorithms/doms/config.py
dataplumber/nexus
f25a89e85eba098da9c6db1ff3d408dae8a6b310
[ "Apache-2.0" ]
23
2016-08-09T22:45:14.000Z
2020-02-17T08:18:29.000Z
analysis/webservice/algorithms/doms/config.py
lewismc/incubator-sdap-nexus
ff98fa346303431542b8391cc2a1bf7561d1bd03
[ "Apache-2.0" ]
6
2017-04-27T21:22:17.000Z
2021-06-01T21:45:52.000Z
analysis/webservice/algorithms/doms/config.py
dataplumber/nexus
f25a89e85eba098da9c6db1ff3d408dae8a6b310
[ "Apache-2.0" ]
5
2016-08-31T13:47:29.000Z
2017-11-14T21:45:22.000Z
ENDPOINTS = [ { "name": "samos", "url": "http://doms.coaps.fsu.edu:8890/ws/search/samos", "fetchParallel": True, "fetchThreads": 8, "itemsPerPage": 1000, "metadataUrl": "http://doms.jpl.nasa.gov/ws/metadata/dataset?shortName=SAMOS&format=umm-json" }, { ...
34.440476
111
0.518147
ff97fc934b720957fd02630ba36c6d22dafaf04e
409
py
Python
tests/test_flask/test_g.py
Eastwu5788/pre-request
6e51076ef9260d5fcf56dc513ad0240f04ce4938
[ "MIT" ]
86
2017-08-17T12:41:52.000Z
2022-02-24T12:17:47.000Z
tests/test_flask/test_g.py
Eastwu5788/pre-request
6e51076ef9260d5fcf56dc513ad0240f04ce4938
[ "MIT" ]
10
2020-03-30T03:24:46.000Z
2022-02-23T01:34:53.000Z
tests/test_flask/test_g.py
Eastwu5788/pre-request
6e51076ef9260d5fcf56dc513ad0240f04ce4938
[ "MIT" ]
7
2017-08-18T03:40:35.000Z
2020-05-19T04:09:10.000Z
# !/usr/local/python/bin/python # -*- coding: utf-8 -*- # (C) Wu Dong, 2020 # All rights reserved # @Author: 'Wu Dong <wudong@eastwu.cn>' # @Time: '2020-04-20 10:08' class TestG: def test_g_smoke(self, client): """ 测试通过flask g获取请求参数 """ resp = client.get("/g", data={ "email": ...
21.526316
57
0.547677
ff9815d8cbc8b21c99e9b218703d987fa4bcdc17
81,999
py
Python
keymap/keymap.py
minoue/mtob
cccea29ccd9a398798e93718f9132eac01581b2a
[ "MIT" ]
5
2020-04-15T13:54:22.000Z
2021-04-09T01:37:04.000Z
keymap/keymap.py
minoue/mtob
cccea29ccd9a398798e93718f9132eac01581b2a
[ "MIT" ]
null
null
null
keymap/keymap.py
minoue/mtob
cccea29ccd9a398798e93718f9132eac01581b2a
[ "MIT" ]
1
2019-05-30T09:02:51.000Z
2019-05-30T09:02:51.000Z
keyconfig_version = (3, 0, 12) keyconfig_data = \ [("3D View", {"space_type": 'VIEW_3D', "region_type": 'WINDOW'}, {"items": [("view3d.cursor3d", {"type": 'RIGHTMOUSE', "value": 'PRESS', "shift": True}, None), ("transform.translate", {"type": 'EVT_TWEAK_R', "value": 'ANY', "shift": True}, {"propert...
29.443088
135
0.47425
ff9819d2b1be691ff2286d5b00f56e6508885b51
1,248
py
Python
htmlscreenshot/download.py
MichaelCurrin/html-screenshot-py
ffcde403259863a783acd31b53bf7c0eb653ce4f
[ "MIT" ]
null
null
null
htmlscreenshot/download.py
MichaelCurrin/html-screenshot-py
ffcde403259863a783acd31b53bf7c0eb653ce4f
[ "MIT" ]
5
2021-11-02T17:33:20.000Z
2021-12-09T10:12:44.000Z
htmlscreenshot/download.py
MichaelCurrin/html-screenshot-py
ffcde403259863a783acd31b53bf7c0eb653ce4f
[ "MIT" ]
null
null
null
""" Download module. Handle fetching and saving of binary data. This uses the traditional `requests` package, without any browser. """ import sys import requests from . import lib from .lib import ADD_DATETIME_DEFAULT, PNG_DIR def fetch(url: str) -> bytes: """ Request a page URL and get the response conten...
20.8
79
0.665865
ff98272ad97aef2c2fa4138a3fb8117e48829fe5
403
py
Python
url_condenser/url_condenser/wsgi.py
ezarowny/url-condenser
092d7eaec153d332bd929311d988ed6e5210e6c4
[ "MIT" ]
null
null
null
url_condenser/url_condenser/wsgi.py
ezarowny/url-condenser
092d7eaec153d332bd929311d988ed6e5210e6c4
[ "MIT" ]
null
null
null
url_condenser/url_condenser/wsgi.py
ezarowny/url-condenser
092d7eaec153d332bd929311d988ed6e5210e6c4
[ "MIT" ]
null
null
null
""" WSGI config for url_condenser project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.9/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO...
23.705882
78
0.791563
ff982bb7894265e59b8c286c8c66f6679bcf3956
848
py
Python
tests/inputs/numpy-lib/46-numpy-typehints.py
helq/pytropos
497ed5902e6e4912249ca0a46b477f9bfa6ae80a
[ "MIT" ]
4
2019-10-06T18:01:24.000Z
2020-07-03T05:27:35.000Z
tests/inputs/numpy-lib/46-numpy-typehints.py
helq/pytropos
497ed5902e6e4912249ca0a46b477f9bfa6ae80a
[ "MIT" ]
5
2021-06-07T15:50:04.000Z
2021-06-07T15:50:06.000Z
tests/inputs/numpy-lib/46-numpy-typehints.py
helq/pytropos
497ed5902e6e4912249ca0a46b477f9bfa6ae80a
[ "MIT" ]
null
null
null
import numpy as np import somelib from pytropos.hints.numpy import NdArray a: NdArray[2,3,4] = np.array(somelib.val) # a should be array(shape=(2,3,4)) b: NdArray[1,2] = somelib.numpyval() # b should be array(shape=(1,2)) c = [[6], [8]] c = np.array(c) # c should be array(shape=(2,1)...
40.380952
82
0.538915
ff98385009a8f7bb402d8f03b7fc4a3a69b795b3
3,991
py
Python
alipay/aop/api/request/AnttechBlockchainDefinTradeQueryRequest.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
213
2018-08-27T16:49:32.000Z
2021-12-29T04:34:12.000Z
alipay/aop/api/request/AnttechBlockchainDefinTradeQueryRequest.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
29
2018-09-29T06:43:00.000Z
2021-09-02T03:27:32.000Z
alipay/aop/api/request/AnttechBlockchainDefinTradeQueryRequest.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
59
2018-08-27T16:59:26.000Z
2022-03-25T10:08:15.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.FileItem import FileItem from alipay.aop.api.constant.ParamConstants import * from alipay.aop.api.domain.AnttechBlockchainDefinTradeQueryModel import AnttechBlockchainDefinTradeQueryModel class AnttechBlockchainDefinTradeQueryRequest(obj...
27.524138
148
0.646455
ff98622c153bc698ebf7ac679c3053b211efa58b
678
py
Python
rigl/__init__.py
vishalbelsare/rigl
f18abc7d82ae3acc6736068408a0186c9efa575c
[ "Apache-2.0" ]
276
2019-11-25T22:05:45.000Z
2022-03-30T11:55:34.000Z
rigl/__init__.py
vishalbelsare/rigl
f18abc7d82ae3acc6736068408a0186c9efa575c
[ "Apache-2.0" ]
10
2020-02-26T14:53:50.000Z
2021-09-08T16:27:28.000Z
rigl/__init__.py
vishalbelsare/rigl
f18abc7d82ae3acc6736068408a0186c9efa575c
[ "Apache-2.0" ]
54
2019-11-26T18:50:33.000Z
2022-03-29T20:08:08.000Z
# coding=utf-8 # Copyright 2021 RigL Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agree...
37.666667
74
0.755162
ff9864dba9898ac70741f33ce8ff0b3107507777
7,275
py
Python
code/lib/clickparser/parserAllView.py
superfluidity/RDCL3D
3c5717941bd4046aa1be178e9004db1dc1c469a0
[ "Apache-2.0" ]
8
2017-03-13T16:34:28.000Z
2021-11-16T11:35:56.000Z
code/lib/clickparser/parserAllView.py
superfluidity/RDCL3D
3c5717941bd4046aa1be178e9004db1dc1c469a0
[ "Apache-2.0" ]
null
null
null
code/lib/clickparser/parserAllView.py
superfluidity/RDCL3D
3c5717941bd4046aa1be178e9004db1dc1c469a0
[ "Apache-2.0" ]
3
2017-03-28T09:26:40.000Z
2020-12-08T14:16:12.000Z
# # Copyright 2017 CNIT - Consorzio Nazionale Interuniversitario per le Telecomunicazioni # # 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/LICE...
39.538043
146
0.549003
ff98999c9f2f37dd0d031bbe2b89a992f0075b72
675
bzl
Python
third_party/javax_enterprise.bzl
wix-playground/rules_maven_third_party
ff0b486df194779d7d8e6c9102cd12138e3305c3
[ "Apache-2.0" ]
null
null
null
third_party/javax_enterprise.bzl
wix-playground/rules_maven_third_party
ff0b486df194779d7d8e6c9102cd12138e3305c3
[ "Apache-2.0" ]
null
null
null
third_party/javax_enterprise.bzl
wix-playground/rules_maven_third_party
ff0b486df194779d7d8e6c9102cd12138e3305c3
[ "Apache-2.0" ]
null
null
null
load(":import_external.bzl", import_external = "import_external") def dependencies(): import_external( name = "javax_enterprise_cdi_api", artifact = "javax.enterprise:cdi-api:1.0", artifact_sha256 = "1f10b2204cc77c919301f20ff90461c3df1b6e6cb148be1c2d22107f4851d423", srcjar_sha256 = ...
35.526316
93
0.644444
ff98b6efc80a89c9af3c3f46cc06d15471642395
2,855
py
Python
c++/scripts/projects/igblast/post_build/make_installers.py
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
31
2016-12-09T04:56:59.000Z
2021-12-31T17:19:10.000Z
c++/scripts/projects/igblast/post_build/make_installers.py
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
6
2017-03-10T17:25:13.000Z
2021-09-22T15:49:49.000Z
c++/scripts/projects/igblast/post_build/make_installers.py
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
20
2015-01-04T02:15:17.000Z
2021-12-03T02:31:43.000Z
#!/usr/bin/env python """Driver program for post-build processing""" # $Id: make_installers.py 381942 2012-11-30 16:26:29Z camacho $ # # Author: Christiam Camacho # import os, sys, os.path from optparse import OptionParser import blast_utils VERBOSE = False SCRIPTS_DIR = os.path.dirname(os.path.abspath(sys.argv[0])) ...
32.443182
86
0.656042
ff98d320e95c14075539ef0cba1aa8fb39c53868
3,106
py
Python
Week 3 - Classes/submission.py
lvolkmann/CS-490-Deep-Learning
48e637e6892d2e87999ed87b994be659cb30f1e2
[ "MIT" ]
null
null
null
Week 3 - Classes/submission.py
lvolkmann/CS-490-Deep-Learning
48e637e6892d2e87999ed87b994be659cb30f1e2
[ "MIT" ]
null
null
null
Week 3 - Classes/submission.py
lvolkmann/CS-490-Deep-Learning
48e637e6892d2e87999ed87b994be659cb30f1e2
[ "MIT" ]
null
null
null
# @author: Landon Volkmann # imports import numpy as np import gc from bs4 import BeautifulSoup import requests # Question 1: Employee Class class Employee(object): EMPLOYEE_COUNT = 0 def __init__(self, name: str, family: str, department: str): self.name = name self.family = family ...
23.892308
79
0.641017
ff98e3a195c97a160631809345fd1f20f821051c
21,385
py
Python
tests/unit/resources/test_virtual_machines.py
HewlettPackard/simplivity-python-sdk
03d8e92a02fe66e878ed22b37944e5a6ce991ef1
[ "Apache-2.0" ]
7
2020-02-28T09:03:09.000Z
2022-03-28T15:52:23.000Z
tests/unit/resources/test_virtual_machines.py
HewlettPackard/simplivity-python-sdk
03d8e92a02fe66e878ed22b37944e5a6ce991ef1
[ "Apache-2.0" ]
47
2020-01-16T20:32:19.000Z
2020-08-27T04:43:00.000Z
tests/unit/resources/test_virtual_machines.py
HewlettPackard/simplivity-python-sdk
03d8e92a02fe66e878ed22b37944e5a6ce991ef1
[ "Apache-2.0" ]
16
2020-01-10T14:15:17.000Z
2021-04-06T13:31:01.000Z
### # (C) Copyright [2019-2020] Hewlett Packard Enterprise Development LP # # 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 ...
50.317647
158
0.632453
ff98f8c6e961fc787fa8ff11c76d472417cc9442
4,741
py
Python
kapu/kapu/demo/tkdemo.py
maartenbreddels/kaplot
305026209f8026094d54373e14541f4f039501d5
[ "MIT" ]
null
null
null
kapu/kapu/demo/tkdemo.py
maartenbreddels/kaplot
305026209f8026094d54373e14541f4f039501d5
[ "MIT" ]
null
null
null
kapu/kapu/demo/tkdemo.py
maartenbreddels/kaplot
305026209f8026094d54373e14541f4f039501d5
[ "MIT" ]
null
null
null
from Tkinter import * from kapu.stereographic import * from kapu.aitoff import * from kapu.hammer import * import kapu class ProjectionWindow(Frame): def __init__(self, parent=None, **kw): Frame.__init__(self, parent, **kw) self.canvas = Canvas(self, width=400, height=400) self.projections = {} self.projec...
37.039063
120
0.690993
ff98fb5e282b61961a121bd2eb392792493510cd
6,844
py
Python
Project2_FromScratch/optim.py
LucaZampieri/DL
e53ade2638ccc3ca368e15c8454845856776e719
[ "MIT" ]
null
null
null
Project2_FromScratch/optim.py
LucaZampieri/DL
e53ade2638ccc3ca368e15c8454845856776e719
[ "MIT" ]
null
null
null
Project2_FromScratch/optim.py
LucaZampieri/DL
e53ade2638ccc3ca368e15c8454845856776e719
[ "MIT" ]
null
null
null
"""" File that contains the optimizers for the project two of DeepLearning. """ import torch from torch import Tensor import math class Optimizer(object): def step(self, model, lr, *input): raise NotImplementedError class SGDOptimizer(Optimizer): """implementation of the Stochastic Gradient Descent...
34.22
94
0.583431
ff99030208cb66c8016c95a6f9a7077b0fef6c95
14,078
py
Python
saas/backend/component/resource_provider.py
zhu327/bk-iam-saas
5f10add597e4d2024df99a63dce68683b395de7f
[ "MIT" ]
null
null
null
saas/backend/component/resource_provider.py
zhu327/bk-iam-saas
5f10add597e4d2024df99a63dce68683b395de7f
[ "MIT" ]
null
null
null
saas/backend/component/resource_provider.py
zhu327/bk-iam-saas
5f10add597e4d2024df99a63dce68683b395de7f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ TencentBlueKing is pleased to support the open source community by making 蓝鲸智云-权限中心(BlueKing-IAM) available. Copyright (C) 2017-2021 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in compliance with th...
40.687861
116
0.625302
ff99032cfd18609a34207254e30c91a254d8bf7a
9,371
py
Python
docs/conf.py
darelight/flask-perm
f8c1f48d7bb376e1bca83afecd973c4cdf923753
[ "MIT" ]
8
2016-09-11T14:40:44.000Z
2022-03-01T16:55:33.000Z
docs/conf.py
darelight/flask-perm
f8c1f48d7bb376e1bca83afecd973c4cdf923753
[ "MIT" ]
1
2021-07-28T14:25:02.000Z
2021-07-29T07:17:25.000Z
docs/conf.py
darelight/flask-perm
f8c1f48d7bb376e1bca83afecd973c4cdf923753
[ "MIT" ]
7
2016-08-10T07:56:26.000Z
2022-01-11T09:14:00.000Z
# -*- coding: utf-8 -*- # # Flask-Perm documentation build configuration file, created by # sphinx-quickstart on Thu Jan 28 17:29:15 2016. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # ...
32.202749
79
0.716359
ff993ad6516a75bbef4a62b9e3ed37a786736335
5,878
py
Python
tests/test_epics_motor.py
slacAdpai/pcdsdevices
7d79821f8b5652a7fd457b9a73d22ef37b2043d3
[ "BSD-3-Clause-LBNL" ]
null
null
null
tests/test_epics_motor.py
slacAdpai/pcdsdevices
7d79821f8b5652a7fd457b9a73d22ef37b2043d3
[ "BSD-3-Clause-LBNL" ]
null
null
null
tests/test_epics_motor.py
slacAdpai/pcdsdevices
7d79821f8b5652a7fd457b9a73d22ef37b2043d3
[ "BSD-3-Clause-LBNL" ]
null
null
null
import logging import pytest from bluesky import RunEngine from bluesky.plan_stubs import close_run, open_run, stage, unstage from ophyd.sim import make_fake_device from ophyd.status import wait as status_wait from pcdsdevices.epics_motor import (IMS, PMC100, BeckhoffAxis, EpicsMotor, ...
26.718182
75
0.665022
ff993c6e5963d9a8785085a82b1e264424aee024
36,517
py
Python
src/moveit_utils.py
HARPLab/manip_utils
dd133792acfb9559197334dde0d21e91e824176e
[ "BSD-3-Clause" ]
null
null
null
src/moveit_utils.py
HARPLab/manip_utils
dd133792acfb9559197334dde0d21e91e824176e
[ "BSD-3-Clause" ]
null
null
null
src/moveit_utils.py
HARPLab/manip_utils
dd133792acfb9559197334dde0d21e91e824176e
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # ADAPTED FROM https://github.com/HLP-R/hlpr_manipulation import pdb import sys import os import copy import rospy import moveit_commander import moveit_msgs.msg import moveit_msgs.srv import geometry_msgs.msg import std_msgs.msg from math import pi, floor, ceil, fabs class ArmMoveIt(object): ...
38.972252
137
0.601775
ff994d56fc671d5cc3ab33e6b6de4779d2a84813
6,640
py
Python
src/oscar/apps/dashboard/reviews/views.py
sainjusajan/django-oscar
466e8edc807be689b0a28c9e525c8323cc48b8e1
[ "BSD-3-Clause" ]
null
null
null
src/oscar/apps/dashboard/reviews/views.py
sainjusajan/django-oscar
466e8edc807be689b0a28c9e525c8323cc48b8e1
[ "BSD-3-Clause" ]
null
null
null
src/oscar/apps/dashboard/reviews/views.py
sainjusajan/django-oscar
466e8edc807be689b0a28c9e525c8323cc48b8e1
[ "BSD-3-Clause" ]
null
null
null
import datetime from django.conf import settings from django.core.urlresolvers import reverse from django.db.models import Q from django.http import HttpResponseRedirect from django.utils.translation import ugettext_lazy as _ from django.views import generic from oscar.apps.dashboard.reviews import forms fr...
39.760479
77
0.602259
ff994e4b0bc491d7f556308315d2b18a85105ab3
614
py
Python
caldp/_astropy_init.py
pllim/caldp
c61534ea815cdfb976a7cf586d9af288fb2cbc30
[ "BSD-3-Clause" ]
2
2020-11-10T22:06:44.000Z
2020-11-11T17:55:54.000Z
caldp/_astropy_init.py
alphasentaurii/caldp
25cc455049794d7e68a4d73323ffbfb0d09839a8
[ "BSD-3-Clause" ]
64
2020-07-06T17:05:09.000Z
2022-02-27T10:55:30.000Z
caldp/_astropy_init.py
alphasentaurii/caldp
25cc455049794d7e68a4d73323ffbfb0d09839a8
[ "BSD-3-Clause" ]
7
2020-06-30T12:53:31.000Z
2021-04-10T00:12:44.000Z
# Licensed under a 3-clause BSD style license - see LICENSE.rst __all__ = ["__version__"] # this indicates whether or not we are in the package's setup.py try: _ASTROPY_SETUP_ except NameError: import builtins builtins._ASTROPY_SETUP_ = False try: from .version import version as __version__ except I...
22.740741
68
0.723127
ff99540740a5b7d34165451863b6f7c2aa684ef4
4,587
py
Python
tools/kbpy/adapters/analysis18/raw_data_app.py
yuliu2016/knotbook
122488c0a71c69551dbdf3903634b9ca0a7e9fc1
[ "MIT" ]
null
null
null
tools/kbpy/adapters/analysis18/raw_data_app.py
yuliu2016/knotbook
122488c0a71c69551dbdf3903634b9ca0a7e9fc1
[ "MIT" ]
16
2019-08-22T23:39:15.000Z
2019-10-28T20:27:02.000Z
tools/kbpy/adapters/analysis18/raw_data_app.py
yuliu2016/knotbook
122488c0a71c69551dbdf3903634b9ca0a7e9fc1
[ "MIT" ]
null
null
null
import pandas as pd TITLE_NAME = "Raw Data (App)" SOURCE_NAME = "raw_data_app" LABELS = ["Team Number", "Alliance", "Match Number", "Auto Line", "Exchange Auto Successes", "Switch Auto Successes", "Scale Auto Successes", "Exchange Auto Attempts", ...
37.598361
89
0.491389
ff9980c30729e000c6f820dc49c9de9037982f2f
972
py
Python
SoftLayer/CLI/iscsi/cancel.py
briancline/softlayer-python
679fb62ba2db095f0177f9d9488ff4a80c3b7387
[ "MIT" ]
null
null
null
SoftLayer/CLI/iscsi/cancel.py
briancline/softlayer-python
679fb62ba2db095f0177f9d9488ff4a80c3b7387
[ "MIT" ]
null
null
null
SoftLayer/CLI/iscsi/cancel.py
briancline/softlayer-python
679fb62ba2db095f0177f9d9488ff4a80c3b7387
[ "MIT" ]
null
null
null
"""Cancel an existing iSCSI account.""" # :license: MIT, see LICENSE for more details. import SoftLayer from SoftLayer.CLI import environment from SoftLayer.CLI import exceptions from SoftLayer.CLI import formatting from SoftLayer.CLI import helpers import click @click.command() @click.argument('identifier') @click...
31.354839
77
0.727366
ff99916f17bd0d5dd77d5a224e1bbf807f1279cd
1,770
py
Python
st2common/st2common/middleware/streaming.py
magiceses/st2
a048ba92a8a1a5d272f277bf8fab0951df903306
[ "Apache-2.0" ]
null
null
null
st2common/st2common/middleware/streaming.py
magiceses/st2
a048ba92a8a1a5d272f277bf8fab0951df903306
[ "Apache-2.0" ]
2
2020-03-04T08:33:36.000Z
2020-03-04T08:34:14.000Z
st2common/st2common/middleware/streaming.py
magiceses/st2
a048ba92a8a1a5d272f277bf8fab0951df903306
[ "Apache-2.0" ]
null
null
null
# Licensed to the StackStorm, Inc ('StackStorm') 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 use th...
36.875
96
0.697175
ff9995b1627f15695f0d0a4c8146472bfa60c515
5,170
py
Python
data_type/ltime.py
hsocarras/pycip
288a741e5cf1e9df366ed62437e0b99f6920ef90
[ "Apache-2.0" ]
null
null
null
data_type/ltime.py
hsocarras/pycip
288a741e5cf1e9df366ed62437e0b99f6920ef90
[ "Apache-2.0" ]
null
null
null
data_type/ltime.py
hsocarras/pycip
288a741e5cf1e9df366ed62437e0b99f6920ef90
[ "Apache-2.0" ]
null
null
null
from .base_datatype import BaseDatatype class LTIME(BaseDatatype): """Class to implement LTIME datatype of CIP especification. Methods ------- class encode class decode classmethod validate_range classmethod get_id_code classmethod to_string classmethod from_string stat...
29.20904
124
0.506383
ff99f6a6bd41367614b43270e025a1f7da868d28
994
py
Python
truncdata.py
wwwennie/spectra_fit
9c594aeda9d0b5c67c91b62d49fbd4af75442433
[ "MIT" ]
1
2021-08-30T12:16:52.000Z
2021-08-30T12:16:52.000Z
truncdata.py
wwwennie/spectra_fit
9c594aeda9d0b5c67c91b62d49fbd4af75442433
[ "MIT" ]
null
null
null
truncdata.py
wwwennie/spectra_fit
9c594aeda9d0b5c67c91b62d49fbd4af75442433
[ "MIT" ]
null
null
null
#!/usr/bin/python # created by: Wennie Wang (wwwennie@gmail.com) # created on: 20 July 2016 import numpy as np import matplotlib.pyplot as plt from scipy.interpolate import interp1d #==============================# #========= USER INPUTS ========# #==============================# def trunc_data(filename,min_index,m...
25.487179
73
0.573441
ff9a0feb803a64d8242455750671c3e9089444b6
979
py
Python
toontown/racing/DistributedKartPadAI.py
LittleNed/toontown-stride
1252a8f9a8816c1810106006d09c8bdfe6ad1e57
[ "Apache-2.0" ]
3
2020-01-02T08:43:36.000Z
2020-07-05T08:59:02.000Z
toontown/racing/DistributedKartPadAI.py
NoraTT/Historical-Commits-Project-Altis-Source
fe88e6d07edf418f7de6ad5b3d9ecb3d0d285179
[ "Apache-2.0" ]
null
null
null
toontown/racing/DistributedKartPadAI.py
NoraTT/Historical-Commits-Project-Altis-Source
fe88e6d07edf418f7de6ad5b3d9ecb3d0d285179
[ "Apache-2.0" ]
4
2019-06-20T23:45:23.000Z
2020-10-14T20:30:15.000Z
from direct.directnotify import DirectNotifyGlobal from direct.distributed.DistributedObjectAI import DistributedObjectAI class DistributedKartPadAI(DistributedObjectAI): notify = DirectNotifyGlobal.directNotify.newCategory("DistributedKartPadAI") def __init__(self, air): DistributedObjectAI.__ini...
27.971429
80
0.660878
ff9a178ed8468af65c2805462bf2a4fb2838ddfe
467
py
Python
docsrc/R/conf.py
wklchris/blog
6229eeef06e5e542736ac26722c1ac7a03829204
[ "MIT" ]
null
null
null
docsrc/R/conf.py
wklchris/blog
6229eeef06e5e542736ac26722c1ac7a03829204
[ "MIT" ]
null
null
null
docsrc/R/conf.py
wklchris/blog
6229eeef06e5e542736ac26722c1ac7a03829204
[ "MIT" ]
null
null
null
author = "wklchris" copyright = "wklchris" exclude_patterns = ['_build', '**.ipynb_checkpoints'] extensions = ['nbsphinx', 'sphinx_copybutton', 'sphinx.ext.mathjax'] html_css_files = ['style.css'] html_static_path = ['../_static'] html_theme = "sphinx_rtd_theme" html_theme_options = {'canonical_url': 'https://wklchris....
33.357143
76
0.715203
ff9a2bbfa289e395438e0cbf7277ec1d0a42936f
1,074
py
Python
jnpy/experiments/path/temp.py
jojoquant/jonpy
58692f8fbf398aab7be915a63d0a376e2e0e664c
[ "MIT" ]
5
2020-05-19T07:32:39.000Z
2022-03-14T09:09:48.000Z
jnpy/experiments/path/temp.py
fakecoinbase/jojoquantslashjonpy
d92ba43b0de29eeef46c4eb0545a4eac465a280d
[ "MIT" ]
null
null
null
jnpy/experiments/path/temp.py
fakecoinbase/jojoquantslashjonpy
d92ba43b0de29eeef46c4eb0545a4eac465a280d
[ "MIT" ]
3
2020-04-02T08:30:17.000Z
2020-05-03T12:12:05.000Z
# !/usr/bin/env python3 # -*- coding:utf-8 -*- ''' created by Fangyang on Time:2019/11/12 ''' __author__ = 'Fangyang' from collections import Counter my_list = [ {"number": 1, "varchar": "a1"}, {"number": 2, "varchar": "a1"}, {"number": 3, "varchar": "b1"}, {"number": 4, "varchar": "b1"}, {"number...
23.347826
83
0.504655
ff9a4357a98141dc218d0b8d74cbb7d18df2f47a
1,055
py
Python
sqlalchemy_collectd/connmon/main.py
kulaginds/sqlalchemy-collectd
d9600e19073c852d4445e5977c985be5687b66d1
[ "MIT" ]
24
2018-02-12T04:53:20.000Z
2022-02-12T22:05:54.000Z
sqlalchemy_collectd/connmon/main.py
kulaginds/sqlalchemy-collectd
d9600e19073c852d4445e5977c985be5687b66d1
[ "MIT" ]
11
2018-02-15T08:22:42.000Z
2022-01-06T15:54:42.000Z
sqlalchemy_collectd/connmon/main.py
kulaginds/sqlalchemy-collectd
d9600e19073c852d4445e5977c985be5687b66d1
[ "MIT" ]
9
2018-02-14T08:55:47.000Z
2021-12-02T07:33:29.000Z
from __future__ import absolute_import import argparse import logging from . import display from . import stat from .. import collectd_types from .. import protocol log = logging.getLogger(__name__) def main(argv=None): parser = argparse.ArgumentParser() parser.add_argument( "--host", type...
22.446809
72
0.666351
ff9a859d8e116a153167a93d5bf33e776d858c6b
4,991
py
Python
frameit/models/model.py
biggorilla-gh/frameit
9cae56b4089fff6c955f8b86c699aa402a1390ac
[ "Apache-2.0" ]
3
2018-12-29T01:10:37.000Z
2020-06-12T09:45:11.000Z
frameit/models/model.py
biggorilla-gh/frameit
9cae56b4089fff6c955f8b86c699aa402a1390ac
[ "Apache-2.0" ]
null
null
null
frameit/models/model.py
biggorilla-gh/frameit
9cae56b4089fff6c955f8b86c699aa402a1390ac
[ "Apache-2.0" ]
null
null
null
import json import numpy as np from random import shuffle from frameit import Utterance from frameit.models.model_utils import to_categorical from frameit.models.model_utils import build_cnn_model, EMBEDDING_DIM from frameit.models.model_utils import dict_to_keras_model from frameit.models.model_utils import keras_mod...
33.722973
85
0.592867
ff9aaca86a4f01339d86e7c89d203463d31d63bf
5,497
py
Python
chargebee/models/quote.py
cloudtruth/chargebee-python
d72c45f0ff32170fd7d03fcfbc7c4f2b3a379324
[ "MIT" ]
null
null
null
chargebee/models/quote.py
cloudtruth/chargebee-python
d72c45f0ff32170fd7d03fcfbc7c4f2b3a379324
[ "MIT" ]
null
null
null
chargebee/models/quote.py
cloudtruth/chargebee-python
d72c45f0ff32170fd7d03fcfbc7c4f2b3a379324
[ "MIT" ]
1
2021-06-18T17:21:37.000Z
2021-06-18T17:21:37.000Z
import json from chargebee.model import Model from chargebee import request from chargebee import APIError class Quote(Model): class LineItem(Model): fields = ["id", "subscription_id", "date_from", "date_to", "unit_amount", "quantity", "amount", "pricing_model", "is_taxed", "tax_amount", "tax_rate", "unit_am...
52.855769
376
0.707659
ff9acc8c0abd6a5a13efb8a0c32ae75c01458f80
242
py
Python
projects/05_cors/05_cors_helloworld.py
NJannasch/TechLabs-FlaskIntro
24fadedd42ba2bfddbc40b0f939a47dfcf85867f
[ "MIT" ]
null
null
null
projects/05_cors/05_cors_helloworld.py
NJannasch/TechLabs-FlaskIntro
24fadedd42ba2bfddbc40b0f939a47dfcf85867f
[ "MIT" ]
null
null
null
projects/05_cors/05_cors_helloworld.py
NJannasch/TechLabs-FlaskIntro
24fadedd42ba2bfddbc40b0f939a47dfcf85867f
[ "MIT" ]
null
null
null
from flask import Flask from flask_cors import CORS app = Flask(__name__) CORS(app) @app.route('/') def helloWorld(): return "Hello, cross-origin-world!" if __name__ == '__main__': app.run(host='0.0.0.0', port=8080, debug=True)
20.166667
50
0.677686
ff9ad30cb8a08c593c0188e1b2f004561e0782f0
28,445
py
Python
sdk/synapse/azure-synapse-artifacts/azure/synapse/artifacts/models/_artifacts_client_enums.py
vincenttran-msft/azure-sdk-for-python
348b56f9f03eeb3f7b502eed51daf494ffff874d
[ "MIT" ]
1
2022-02-01T18:50:12.000Z
2022-02-01T18:50:12.000Z
sdk/synapse/azure-synapse-artifacts/azure/synapse/artifacts/models/_artifacts_client_enums.py
vincenttran-msft/azure-sdk-for-python
348b56f9f03eeb3f7b502eed51daf494ffff874d
[ "MIT" ]
null
null
null
sdk/synapse/azure-synapse-artifacts/azure/synapse/artifacts/models/_artifacts_client_enums.py
vincenttran-msft/azure-sdk-for-python
348b56f9f03eeb3f7b502eed51daf494ffff874d
[ "MIT" ]
null
null
null
# 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 ...
29.568607
101
0.712709
ff9ad59fa143d2fea72342aeb761b687a47616cc
3,022
py
Python
comp_scrawler/bnbtutorial/settings.py
castaway2000/comp_scrawler
12286e7d0822aa783a7630886fdb508487796a95
[ "MIT" ]
38
2016-04-26T20:28:33.000Z
2019-07-10T08:01:20.000Z
comp_scrawler/bnbtutorial/settings.py
castaway2000/comp_scrawler
12286e7d0822aa783a7630886fdb508487796a95
[ "MIT" ]
8
2016-06-23T13:19:57.000Z
2018-04-20T15:53:46.000Z
comp_scrawler/bnbtutorial/settings.py
castaway2000/comp_scrawler
12286e7d0822aa783a7630886fdb508487796a95
[ "MIT" ]
31
2016-05-15T17:00:58.000Z
2021-11-20T08:12:14.000Z
# -*- coding: utf-8 -*- # Scrapy settings for bnbtutorial project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # http://doc.scrapy.org/en/latest/topics/settings.html # http://scrapy.readthedocs.org/en/la...
35.139535
109
0.78822
ff9adc26b8201b2ad2b4fc885c091f6a2c2242bd
26,708
py
Python
pandas/computation/expr.py
ssalonen/pandas
1929563fdb5358a41420d103a388aa2bd494d543
[ "PSF-2.0", "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
pandas/computation/expr.py
ssalonen/pandas
1929563fdb5358a41420d103a388aa2bd494d543
[ "PSF-2.0", "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
pandas/computation/expr.py
ssalonen/pandas
1929563fdb5358a41420d103a388aa2bd494d543
[ "PSF-2.0", "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
""":func:`~pandas.eval` parsers """ import ast import operator import sys import inspect import tokenize import datetime import struct from functools import partial import pandas as pd from pandas import compat from pandas.compat import StringIO, zip, reduce, string_types from pandas.core.base import StringMixin fro...
34.958115
79
0.598809
ff9aed3c33ee156c64480dd3a2119b4cd72b1a03
1,688
py
Python
airflow/operators/hive_to_mysql.py
joshowen/airflow
d0cf232919839d0e338dcc38a5c7a1841077eaae
[ "Apache-2.0" ]
null
null
null
airflow/operators/hive_to_mysql.py
joshowen/airflow
d0cf232919839d0e338dcc38a5c7a1841077eaae
[ "Apache-2.0" ]
null
null
null
airflow/operators/hive_to_mysql.py
joshowen/airflow
d0cf232919839d0e338dcc38a5c7a1841077eaae
[ "Apache-2.0" ]
null
null
null
# # 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...
37.511111
101
0.739336
ff9afd5e81074f970c3ccc8394446c3994cfb532
1,213
py
Python
tests/pytorch_learner/dataset/test_transform.py
jisantuc/raster-vision
7a473c5f7c394cba7a2d0e60f0b8891bc811a711
[ "Apache-2.0" ]
null
null
null
tests/pytorch_learner/dataset/test_transform.py
jisantuc/raster-vision
7a473c5f7c394cba7a2d0e60f0b8891bc811a711
[ "Apache-2.0" ]
96
2021-03-01T07:21:37.000Z
2022-03-01T19:02:23.000Z
tests/pytorch_learner/dataset/test_transform.py
AdeelH/raster-vision
b4af7f518e8f2086a0154e74b970debe79a13a94
[ "Apache-2.0" ]
null
null
null
import unittest import numpy as np from rastervision.pytorch_learner.dataset.transform import ( yxyx_to_albu, albu_to_yxyx, xywh_to_albu) class TestTransforms(unittest.TestCase): def test_box_format_conversions_yxyx(self): boxes = np.array( [ [1, 2, 3, 4], ...
27.568182
60
0.507007
ff9b22b7c163c5ec1ba2db72ec0463b9230169ed
6,882
py
Python
test/conftest.py
chromy/PyOP2
8a1955c628b795019485c9771709c338a806e661
[ "BSD-3-Clause" ]
null
null
null
test/conftest.py
chromy/PyOP2
8a1955c628b795019485c9771709c338a806e661
[ "BSD-3-Clause" ]
null
null
null
test/conftest.py
chromy/PyOP2
8a1955c628b795019485c9771709c338a806e661
[ "BSD-3-Clause" ]
null
null
null
# This file is part of PyOP2 # # PyOP2 is Copyright (c) 2012, Imperial College London and # others. Please see the AUTHORS file in the main source directory for # a full list of copyright holders. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted ...
36.802139
82
0.666085
ff9b2da303842754078dd0bd18448c221fd40dbb
2,003
py
Python
python/phonenumbers/data/region_SY.py
Eyepea/python-phonenumbers
0336e191fda80a21ed5c19d5e029ad8c70f620ee
[ "Apache-2.0" ]
2
2019-03-30T02:12:54.000Z
2021-03-08T18:59:40.000Z
python/phonenumbers/data/region_SY.py
Eyepea/python-phonenumbers
0336e191fda80a21ed5c19d5e029ad8c70f620ee
[ "Apache-2.0" ]
null
null
null
python/phonenumbers/data/region_SY.py
Eyepea/python-phonenumbers
0336e191fda80a21ed5c19d5e029ad8c70f620ee
[ "Apache-2.0" ]
1
2018-11-10T03:47:34.000Z
2018-11-10T03:47:34.000Z
"""Auto-generated file, do not edit by hand. SY metadata""" from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata PHONE_METADATA_SY = PhoneMetadata(id='SY', country_code=963, international_prefix='00', general_desc=PhoneNumberDesc(national_number_pattern='[1-59]\\d{7,8}', possible_number_pattern...
95.380952
215
0.751872
ff9b4c74380b3a53cd0802da8acaf5518f39c0e7
2,997
py
Python
google-cloud-sdk/.install/.backup/lib/surface/auth/revoke.py
KaranToor/MA450
c98b58aeb0994e011df960163541e9379ae7ea06
[ "Apache-2.0" ]
1
2017-11-29T18:52:27.000Z
2017-11-29T18:52:27.000Z
google-cloud-sdk/.install/.backup/lib/surface/auth/revoke.py
KaranToor/MA450
c98b58aeb0994e011df960163541e9379ae7ea06
[ "Apache-2.0" ]
null
null
null
google-cloud-sdk/.install/.backup/lib/surface/auth/revoke.py
KaranToor/MA450
c98b58aeb0994e011df960163541e9379ae7ea06
[ "Apache-2.0" ]
1
2020-07-25T12:09:01.000Z
2020-07-25T12:09:01.000Z
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
36.54878
79
0.72706
ff9b5186dba7bb0dd56db4e1999e06fb9f16cdc1
609
py
Python
supriya/ugens/PV_LocalMax.py
deeuu/supriya
14fcb5316eccb4dafbe498932ceff56e1abb9d27
[ "MIT" ]
null
null
null
supriya/ugens/PV_LocalMax.py
deeuu/supriya
14fcb5316eccb4dafbe498932ceff56e1abb9d27
[ "MIT" ]
null
null
null
supriya/ugens/PV_LocalMax.py
deeuu/supriya
14fcb5316eccb4dafbe498932ceff56e1abb9d27
[ "MIT" ]
null
null
null
import collections from supriya.ugens.PV_MagAbove import PV_MagAbove class PV_LocalMax(PV_MagAbove): """ Passes bins which are local maxima. :: >>> pv_chain = supriya.ugens.FFT( ... source=supriya.ugens.WhiteNoise.ar(), ... ) >>> pv_local_max = supriya.ugens.PV_L...
21
57
0.553366
ff9b66155e74e872524695a22ff2c897c97816bb
813
py
Python
grab/transport/base.py
dimichxp/grab
5fedee3009c18c8a1139b0f82736ebe473021b46
[ "MIT" ]
2,266
2015-01-01T08:47:33.000Z
2022-03-21T05:02:55.000Z
grab/transport/base.py
dimichxp/grab
5fedee3009c18c8a1139b0f82736ebe473021b46
[ "MIT" ]
221
2015-01-13T01:55:57.000Z
2022-02-25T23:23:35.000Z
grab/transport/base.py
dimichxp/grab
5fedee3009c18c8a1139b0f82736ebe473021b46
[ "MIT" ]
315
2015-01-23T06:38:55.000Z
2022-03-27T08:33:33.000Z
import tempfile import os class BaseTransport(object): def __init__(self): # these assignments makes pylint happy self.body_file = None self.body_path = None def reset(self): self.body_file = None self.body_path = None def setup_body_file(self, storage_dir, storag...
30.111111
79
0.623616
ff9b80d8514e529dd82a4d10448e65f4836d7507
5,930
py
Python
conans/test/functional/build_helpers/msbuild_test.py
NewProggie/conan
6ec73ac2b4be98e1ab4e5ee797008b50ca2d7424
[ "MIT" ]
null
null
null
conans/test/functional/build_helpers/msbuild_test.py
NewProggie/conan
6ec73ac2b4be98e1ab4e5ee797008b50ca2d7424
[ "MIT" ]
null
null
null
conans/test/functional/build_helpers/msbuild_test.py
NewProggie/conan
6ec73ac2b4be98e1ab4e5ee797008b50ca2d7424
[ "MIT" ]
null
null
null
import os import platform import unittest from nose.plugins.attrib import attr from parameterized import parameterized from conans.client import tools from conans.model.ref import PackageReference from conans.paths import CONANFILE from conans.test.utils.tools import TestClient from conans.test.utils.visual_project_f...
37.295597
100
0.641484
ff9bb1e56092fdc06490f4cc62262dd24be1db99
7,778
py
Python
models/AlexNet_self_sim.py
SimuJenni/Correspondences
384c0272e438ad3e7c936f5ae78fe6154b188c54
[ "MIT" ]
null
null
null
models/AlexNet_self_sim.py
SimuJenni/Correspondences
384c0272e438ad3e7c936f5ae78fe6154b188c54
[ "MIT" ]
null
null
null
models/AlexNet_self_sim.py
SimuJenni/Correspondences
384c0272e438ad3e7c936f5ae78fe6154b188c54
[ "MIT" ]
null
null
null
import tensorflow as tf import tensorflow.contrib.slim as slim from layers import conv_group def alexnet_argscope(activation=tf.nn.relu, kernel_size=(3, 3), padding='SAME', training=True, center=True, w_reg=0.0001, fix_bn=False): """Defines default parameter values for all the layers used in...
45.22093
147
0.59064
ff9be2e037688e83dbecc8bb8d94126067398646
86,222
py
Python
sdk/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/v2021_09_01_preview/operations/_deployments_operations.py
vincenttran-msft/azure-sdk-for-python
348b56f9f03eeb3f7b502eed51daf494ffff874d
[ "MIT" ]
1
2022-03-09T08:59:13.000Z
2022-03-09T08:59:13.000Z
sdk/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/v2021_09_01_preview/operations/_deployments_operations.py
vincenttran-msft/azure-sdk-for-python
348b56f9f03eeb3f7b502eed51daf494ffff874d
[ "MIT" ]
null
null
null
sdk/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/v2021_09_01_preview/operations/_deployments_operations.py
vincenttran-msft/azure-sdk-for-python
348b56f9f03eeb3f7b502eed51daf494ffff874d
[ "MIT" ]
null
null
null
# 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 ...
43.767513
254
0.667591
ff9bf3171d6b8b2e958f14a12b1ffbe83e15528f
329
py
Python
0x0A-python-inheritance/101-main.py
gogomillan/holbertonschool-higher_level_programming
1549ffc4fdc284271684321ff6edd882a314193a
[ "MIT" ]
1
2022-02-07T12:13:18.000Z
2022-02-07T12:13:18.000Z
0x0A-python-inheritance/101-main.py
gogomillan/holbertonschool-higher_level_programming
1549ffc4fdc284271684321ff6edd882a314193a
[ "MIT" ]
null
null
null
0x0A-python-inheritance/101-main.py
gogomillan/holbertonschool-higher_level_programming
1549ffc4fdc284271684321ff6edd882a314193a
[ "MIT" ]
1
2021-12-06T18:15:54.000Z
2021-12-06T18:15:54.000Z
#!/usr/bin/python3 add_attribute = __import__('101-add_attribute').add_attribute class MyClass(): pass mc = MyClass() add_attribute(mc, "name", "John") print(mc.name) try: a = "My String" add_attribute(a, "name", "Bob") print(a.name) except Exception as e: print("[{}] {}".format(e.__class__.__nam...
19.352941
61
0.653495
ff9c250dd8e47e266476ac3567823be7bb1e70ce
8,547
py
Python
azure/multiapi/storage/v2016_05_31/queue/models.py
xolve/azure-multiapi-storage-python
47509479427c879f18c554e451e838453d47c2bd
[ "MIT" ]
3
2019-02-21T20:46:26.000Z
2021-06-22T15:35:52.000Z
azure/storage/queue/models.py
EnjoyLifeFund/Debian_py36_packages
1985d4c73fabd5f08f54b922e73a9306e09c77a5
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
11
2017-10-05T18:20:40.000Z
2020-10-10T09:20:19.000Z
azure/storage/queue/models.py
EnjoyLifeFund/Debian_py36_packages
1985d4c73fabd5f08f54b922e73a9306e09c77a5
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
15
2017-10-02T18:48:20.000Z
2022-03-03T14:03:49.000Z
#------------------------------------------------------------------------- # Copyright (c) Microsoft. 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.apa...
34.603239
136
0.631333
ff9c333ff5d6cdf9dde91b290a84b2fbcdf077b4
2,161
py
Python
mi/dataset/driver/optaa_dj/cspp/optaa_dj_cspp_recovered_driver.py
rmanoni/mi-dataset
c1012a0cd8f2ea075e008cdd1ab291ed54f44d43
[ "BSD-2-Clause" ]
null
null
null
mi/dataset/driver/optaa_dj/cspp/optaa_dj_cspp_recovered_driver.py
rmanoni/mi-dataset
c1012a0cd8f2ea075e008cdd1ab291ed54f44d43
[ "BSD-2-Clause" ]
null
null
null
mi/dataset/driver/optaa_dj/cspp/optaa_dj_cspp_recovered_driver.py
rmanoni/mi-dataset
c1012a0cd8f2ea075e008cdd1ab291ed54f44d43
[ "BSD-2-Clause" ]
null
null
null
""" @package mi.dataset.driver.optaa_dj.cspp @file mi-dataset/mi/dataset/driver/optaa_dj/cspp/optaa_dj_cspp_recovered_driver.py @author Joe Padula @brief Recovered driver for the optaa_dj_cspp instrument Release notes: Initial Release """ __author__ = 'jpadula' from mi.dataset.dataset_driver import SimpleDatasetDri...
33.765625
99
0.737159