hexsha
stringlengths
40
40
size
int64
5
2.06M
ext
stringclasses
11 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
3
251
max_stars_repo_name
stringlengths
4
130
max_stars_repo_head_hexsha
stringlengths
40
78
max_stars_repo_licenses
listlengths
1
10
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
3
251
max_issues_repo_name
stringlengths
4
130
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
10
max_issues_count
int64
1
116k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
3
251
max_forks_repo_name
stringlengths
4
130
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
listlengths
1
10
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
1
1.05M
avg_line_length
float64
1
1.02M
max_line_length
int64
3
1.04M
alphanum_fraction
float64
0
1
53c79195c421ab20eafd11d18287a51c1a99fb79
779
py
Python
python_minecraft_tut_2021/weatherCraft.py
LeGamermc/ursina_tutorials
f0ad518be3a02cdb52f27c87f2f70817b4d0e8b0
[ "MIT" ]
13
2021-09-01T01:38:13.000Z
2022-03-29T01:43:50.000Z
python_minecraft_tut_2021/weatherCraft.py
LeGamermc/ursina_tutorials
f0ad518be3a02cdb52f27c87f2f70817b4d0e8b0
[ "MIT" ]
14
2021-08-01T05:00:22.000Z
2022-02-03T21:53:23.000Z
python_minecraft_tut_2021/weatherCraft.py
LeGamermc/ursina_tutorials
f0ad518be3a02cdb52f27c87f2f70817b4d0e8b0
[ "MIT" ]
31
2021-08-09T04:08:11.000Z
2022-03-23T11:06:15.000Z
""" Weather functions. """ from ursina import color, window, time from nMap import nMap
22.911765
50
0.519897
53c796e3204469330950f66fd76505dd80903be6
8,086
py
Python
davenetgame/dispatch/dispatcher.py
davefancella/davenetgame
f16c36539a3898ab4a021e63feef7fe497e5bc69
[ "Apache-2.0" ]
null
null
null
davenetgame/dispatch/dispatcher.py
davefancella/davenetgame
f16c36539a3898ab4a021e63feef7fe497e5bc69
[ "Apache-2.0" ]
null
null
null
davenetgame/dispatch/dispatcher.py
davefancella/davenetgame
f16c36539a3898ab4a021e63feef7fe497e5bc69
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 ''' Copyright 2016 Dave Fancella 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...
34.703863
157
0.589661
53c80402ffddb5cb55023d530bbbc0ac778cca90
416
py
Python
account/migrations/0003_customuser_phone_number.py
zenofewords/thebrushstash
7d53bd5f22a2daa1011bb502bce56e735504dc84
[ "MIT" ]
null
null
null
account/migrations/0003_customuser_phone_number.py
zenofewords/thebrushstash
7d53bd5f22a2daa1011bb502bce56e735504dc84
[ "MIT" ]
18
2019-12-05T07:27:52.000Z
2022-02-12T20:50:22.000Z
account/migrations/0003_customuser_phone_number.py
zenofewords/thebrushstash
7d53bd5f22a2daa1011bb502bce56e735504dc84
[ "MIT" ]
null
null
null
# Generated by Django 2.2.7 on 2019-11-17 17:19 from django.db import migrations, models
21.894737
63
0.620192
53c8f59b4f5c675f0331d7886d8de3f13a17f272
322
py
Python
03_Estrutura_de_Repeticao/13_potenciacao.py
gabrieldcpadilha/ListaDeExercicios-PythonBrasil
a92d477468bde5eac8987a26ea79af2ffeb6ad81
[ "MIT" ]
null
null
null
03_Estrutura_de_Repeticao/13_potenciacao.py
gabrieldcpadilha/ListaDeExercicios-PythonBrasil
a92d477468bde5eac8987a26ea79af2ffeb6ad81
[ "MIT" ]
10
2020-08-19T04:31:52.000Z
2020-09-21T22:48:29.000Z
03_Estrutura_de_Repeticao/13_potenciacao.py
gabrieldcpadilha/ListaDeExercicios-PythonBrasil
a92d477468bde5eac8987a26ea79af2ffeb6ad81
[ "MIT" ]
null
null
null
base = int(input('Digite o valor da base: ')) expoente = 0 while expoente <= 0: expoente = int(input('Digite o valor do expoente: ')) if expoente <= 0: print('O expoente tem que ser positivo') potencia = 1 for c in range(1, expoente + 1): potencia *= base print(f'{base}^ {expoente} = {potencia}'...
21.466667
57
0.624224
53cb133ef9cebb74671b9c48466b895d83fd6371
1,313
py
Python
accounting/accounting/doctype/journal_entry/journal_entry.py
noahjacob/Accounting
6be90c4f82867156532ca71b1faa9d017e3269af
[ "MIT" ]
1
2021-04-05T06:22:16.000Z
2021-04-05T06:22:16.000Z
accounting/accounting/doctype/journal_entry/journal_entry.py
mohsinalimat/Accounting
6be90c4f82867156532ca71b1faa9d017e3269af
[ "MIT" ]
null
null
null
accounting/accounting/doctype/journal_entry/journal_entry.py
mohsinalimat/Accounting
6be90c4f82867156532ca71b1faa9d017e3269af
[ "MIT" ]
2
2021-04-05T06:22:17.000Z
2021-04-10T06:05:36.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2021, Noah Jacob and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe from frappe.model.document import Document from frappe.utils import flt from accounting.accounting.general_ledger import make_gl_entry, make_...
29.840909
113
0.760853
53cba4400da1d1c4d684c06ae9715e48948281c2
568
py
Python
polls/models.py
mmeooo/test_django
0364f43549d4082df7100d11c67dd42dc2a82b32
[ "Apache-2.0" ]
null
null
null
polls/models.py
mmeooo/test_django
0364f43549d4082df7100d11c67dd42dc2a82b32
[ "Apache-2.0" ]
null
null
null
polls/models.py
mmeooo/test_django
0364f43549d4082df7100d11c67dd42dc2a82b32
[ "Apache-2.0" ]
null
null
null
from django.db import models # Create your models here. # : # 2 ok # link, string-> CharField, data-> DecimalField # max_length= 100
33.411765
71
0.746479
53ccd38a42372cb4c8b6646892db6cc4fe7a6bd1
722
py
Python
ipcam/test_snap.py
jack139/HF
4810f4ee2faf9ab51c867e105addc139da2adfd1
[ "BSD-3-Clause" ]
10
2019-04-07T20:13:23.000Z
2021-12-07T06:23:52.000Z
ipcam/test_snap.py
jack139/HF
4810f4ee2faf9ab51c867e105addc139da2adfd1
[ "BSD-3-Clause" ]
1
2020-05-29T16:11:22.000Z
2020-05-29T16:11:22.000Z
ipcam/test_snap.py
jack139/HF
4810f4ee2faf9ab51c867e105addc139da2adfd1
[ "BSD-3-Clause" ]
6
2017-10-20T10:53:33.000Z
2020-04-24T06:34:18.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys,os,time if len(sys.argv)<2: print "usage: test_snap.py <check|show>" sys.exit(2) kam_cmd=sys.argv[1] path='/var/data2/snap_store' a=os.listdir(path) a.remove('535e1a5c1ecffb2fa372fd7d') # this is a camera not used in HF system if kam_cmd=='show' or kam_cm...
21.878788
83
0.613573
53cd4bfd1a117d3dcaa2d01161d38a59434bcf2f
5,608
py
Python
sources/datasets/client_dataset_definitions/client_dataset.py
M4rukku/impact_of_non_iid_data_in_federated_learning
c818db03699c82e42217d56f8ddd4cc2081c8bb1
[ "MIT" ]
null
null
null
sources/datasets/client_dataset_definitions/client_dataset.py
M4rukku/impact_of_non_iid_data_in_federated_learning
c818db03699c82e42217d56f8ddd4cc2081c8bb1
[ "MIT" ]
null
null
null
sources/datasets/client_dataset_definitions/client_dataset.py
M4rukku/impact_of_non_iid_data_in_federated_learning
c818db03699c82e42217d56f8ddd4cc2081c8bb1
[ "MIT" ]
null
null
null
import functools import gc from abc import ABC from sources.datasets.client_dataset_definitions.client_dataset_loaders.client_dataset_loader import ClientDatasetLoader, DatasetComponents from sources.datasets.client_dataset_definitions.client_dataset_processors.client_dataset_processor import ClientDatasetProcessor fr...
38.675862
139
0.652461
53ce7501b9e972d2df63aa7b92834c10ac73f623
2,377
py
Python
src/rmt/kinematics.py
mfrigerio17/robot-model-tools
97e25d5c4d1386c503d37a70b57400022c5b7ca0
[ "BSD-3-Clause" ]
2
2020-06-16T09:23:46.000Z
2021-01-20T09:11:43.000Z
src/rmt/kinematics.py
mfrigerio17/robot-model-tools
97e25d5c4d1386c503d37a70b57400022c5b7ca0
[ "BSD-3-Clause" ]
null
null
null
src/rmt/kinematics.py
mfrigerio17/robot-model-tools
97e25d5c4d1386c503d37a70b57400022c5b7ca0
[ "BSD-3-Clause" ]
null
null
null
import logging import numpy import kgprim.motions as motions import kgprim.ct.frommotions as frommotions import kgprim.ct.repr.mxrepr as mxrepr import motiondsl.motiondsl as motdsl logger = logging.getLogger(__name__)
34.955882
119
0.738746
53cfe05a29410444b4904c98e9ea7e4826833ee4
4,702
py
Python
awx/main/management/commands/run_dispatcher.py
atr0s/awx
388ef077c384f4c5296d4870d3b0cf0e6718db80
[ "Apache-2.0" ]
null
null
null
awx/main/management/commands/run_dispatcher.py
atr0s/awx
388ef077c384f4c5296d4870d3b0cf0e6718db80
[ "Apache-2.0" ]
null
null
null
awx/main/management/commands/run_dispatcher.py
atr0s/awx
388ef077c384f4c5296d4870d3b0cf0e6718db80
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2015 Ansible, Inc. # All Rights Reserved. import os import logging from multiprocessing import Process from django.conf import settings from django.core.cache import cache as django_cache from django.core.management.base import BaseCommand from django.db import connection as django_connection from komb...
37.616
96
0.576989
53d0271d7e3d9c0d0f41f088e5b38f2630dec774
5,318
py
Python
pcdet/utils/box_coder_utils.py
Nuri-benbarka/PCDet
8da66ead3bb1120db2fa919187948c8c134e85ae
[ "Apache-2.0" ]
7
2020-11-28T03:38:51.000Z
2021-12-31T07:44:19.000Z
pcdet/utils/box_coder_utils.py
Nuri-benbarka/PCDet
8da66ead3bb1120db2fa919187948c8c134e85ae
[ "Apache-2.0" ]
null
null
null
pcdet/utils/box_coder_utils.py
Nuri-benbarka/PCDet
8da66ead3bb1120db2fa919187948c8c134e85ae
[ "Apache-2.0" ]
1
2021-04-01T15:54:21.000Z
2021-04-01T15:54:21.000Z
import numpy as np import torch from . import common_utils if __name__ == '__main__': pass
35.691275
118
0.507334
53d12a0522be9c1f94c8076c489fd23a012f880f
15,175
py
Python
utils/utils.py
jainajinkya/deep_bingham
2ea85b3ea2af579eab36567091b88a1bbf4a627b
[ "MIT" ]
null
null
null
utils/utils.py
jainajinkya/deep_bingham
2ea85b3ea2af579eab36567091b88a1bbf4a627b
[ "MIT" ]
null
null
null
utils/utils.py
jainajinkya/deep_bingham
2ea85b3ea2af579eab36567091b88a1bbf4a627b
[ "MIT" ]
null
null
null
""" Utilities for learning pipeline.""" from __future__ import print_function import copy import dill import hashlib import itertools import third_party.deep_bingham.bingham_distribution as ms import math import numpy as np import os import scipy import scipy.integrate as integrate import scipy.special import sys impor...
34.805046
83
0.623394
53d21a61b1f0af656cef94761b86e69e5114d1b2
8,108
py
Python
cli_ui.py
obatsis/Distributed-NTUA
0bf39163b64aaefb2576be01337e0ec6e026ce6d
[ "MIT" ]
null
null
null
cli_ui.py
obatsis/Distributed-NTUA
0bf39163b64aaefb2576be01337e0ec6e026ce6d
[ "MIT" ]
null
null
null
cli_ui.py
obatsis/Distributed-NTUA
0bf39163b64aaefb2576be01337e0ec6e026ce6d
[ "MIT" ]
null
null
null
import requests import os from PyInquirer import style_from_dict, Token, prompt import sys import utils.config as config import utils.ends as ends from utils.colorfy import * from auto.testing import test_trans import time import json style = style_from_dict({ Token.QuestionMark: '#E91E63 bold', Token.Selected: '#673...
34.21097
170
0.604465
53d38a232396aeecc14c7708fa90954da15a7129
21,306
py
Python
Contents/scripts/siweighteditor/weight.py
jdrese/SIWeightEditor
0529c1a366b955f4373acd2e2f08f63b7909ff82
[ "MIT" ]
1
2018-12-12T15:39:13.000Z
2018-12-12T15:39:13.000Z
Contents/scripts/siweighteditor/weight.py
jdrese/SIWeightEditor
0529c1a366b955f4373acd2e2f08f63b7909ff82
[ "MIT" ]
null
null
null
Contents/scripts/siweighteditor/weight.py
jdrese/SIWeightEditor
0529c1a366b955f4373acd2e2f08f63b7909ff82
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from maya import mel from maya import cmds from . import lang from . import common import os import json import re def transfer_weight(skinMesh, transferedMesh, transferWeight=True, returnInfluences=False, logTransfer=True): ''' skinMesh1, transferedMesh(,) transf...
43.129555
120
0.555102
53d3daf836c3d211bfbd295aeb46edb04453a89a
1,350
py
Python
pyConTextNLP/__init__.py
Blulab-Utah/pyConTextPipeline
d4060f89d54f4db56914832033f8ce589ee3c181
[ "Apache-2.0" ]
1
2021-04-30T11:18:32.000Z
2021-04-30T11:18:32.000Z
pyConTextNLP/__init__.py
Blulab-Utah/pyConTextPipeline
d4060f89d54f4db56914832033f8ce589ee3c181
[ "Apache-2.0" ]
null
null
null
pyConTextNLP/__init__.py
Blulab-Utah/pyConTextPipeline
d4060f89d54f4db56914832033f8ce589ee3c181
[ "Apache-2.0" ]
1
2020-06-28T01:51:56.000Z
2020-06-28T01:51:56.000Z
#Copyright 2010 Brian E. Chapman # #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, s...
43.548387
79
0.786667
53d42695123c2326facf4f279256b1c384089fd3
78,742
py
Python
pypeit/metadata.py
rcooke-ast/PYPIT
0cb9c4cb422736b855065a35aefc2bdba6d51dd0
[ "BSD-3-Clause" ]
null
null
null
pypeit/metadata.py
rcooke-ast/PYPIT
0cb9c4cb422736b855065a35aefc2bdba6d51dd0
[ "BSD-3-Clause" ]
null
null
null
pypeit/metadata.py
rcooke-ast/PYPIT
0cb9c4cb422736b855065a35aefc2bdba6d51dd0
[ "BSD-3-Clause" ]
null
null
null
""" Provides a class that handles the fits metadata required by PypeIt. .. include common links, assuming primary doc root is up one directory .. include:: ../include/links.rst """ import os import io import string from copy import deepcopy import datetime from IPython import embed import numpy as np import yaml fr...
42.817836
122
0.575411
53d54a4c34c0a67e36d2d017230ceb288acd1564
2,341
py
Python
aql/aql/main/aql_builtin_tools.py
menify/sandbox
32166c71044f0d5b414335b2b6559adc571f568c
[ "MIT" ]
null
null
null
aql/aql/main/aql_builtin_tools.py
menify/sandbox
32166c71044f0d5b414335b2b6559adc571f568c
[ "MIT" ]
null
null
null
aql/aql/main/aql_builtin_tools.py
menify/sandbox
32166c71044f0d5b414335b2b6559adc571f568c
[ "MIT" ]
null
null
null
import os.path import shutil import errno from aql.nodes import Builder, FileBuilder from .aql_tools import Tool __all__ = ( "ExecuteCommand", "InstallBuilder", "BuiltinTool", ) """ Unique Value - name + type value node node = ExecuteCommand('gcc --help -v') tools.cpp.cxx node ...
22.509615
80
0.529688
53d57360a984bc0c7e7afecf352b5a5635dc9a06
3,303
py
Python
cms/test_utils/project/placeholderapp/models.py
stefanw/django-cms
048ec9e7a529549d51f4805fdfbcd50ea1e624b0
[ "BSD-3-Clause" ]
null
null
null
cms/test_utils/project/placeholderapp/models.py
stefanw/django-cms
048ec9e7a529549d51f4805fdfbcd50ea1e624b0
[ "BSD-3-Clause" ]
null
null
null
cms/test_utils/project/placeholderapp/models.py
stefanw/django-cms
048ec9e7a529549d51f4805fdfbcd50ea1e624b0
[ "BSD-3-Clause" ]
null
null
null
from django.core.urlresolvers import reverse from django.db import models from django.utils.encoding import python_2_unicode_compatible from cms.models.fields import PlaceholderField from cms.utils import get_language_from_request from cms.utils.urlutils import admin_reverse from hvad.models import TranslatableModel,...
33.363636
113
0.737511
53d609582a8fdb847888342336e2fc62ce309ea0
159
py
Python
150-Challenges/Challenges 80 - 87/Challenge 84.py
DGrifferty/Python
d725301664db2cbcfd5c4f5974745b4d81c8e28a
[ "Apache-2.0" ]
null
null
null
150-Challenges/Challenges 80 - 87/Challenge 84.py
DGrifferty/Python
d725301664db2cbcfd5c4f5974745b4d81c8e28a
[ "Apache-2.0" ]
null
null
null
150-Challenges/Challenges 80 - 87/Challenge 84.py
DGrifferty/Python
d725301664db2cbcfd5c4f5974745b4d81c8e28a
[ "Apache-2.0" ]
null
null
null
# 084 # Ask the user to type in their postcode.Display the first two # letters in uppercase. # very simple print(input('Enter your postcode: ')[0:2].upper())
22.714286
62
0.716981
53d70d3013eebf509bd463bbe169adf9205bf22b
4,367
py
Python
api_youtube.py
OnoArnaldo/PythonApiYoutube
8507eac234cd3d05a223db3beebd10412505bcf8
[ "MIT" ]
2
2019-11-15T16:46:36.000Z
2020-11-30T07:34:26.000Z
api_youtube.py
OnoArnaldo/PythonApiYoutube
8507eac234cd3d05a223db3beebd10412505bcf8
[ "MIT" ]
null
null
null
api_youtube.py
OnoArnaldo/PythonApiYoutube
8507eac234cd3d05a223db3beebd10412505bcf8
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals import os import sys import json import urllib2 import codecs BASE_DIR = os.path.dirname(__file__) BASE_URL = 'https://www.googleapis.com/youtube/v3/' API_CHANNELS = 'channels' API_PLAYLIST = 'playlistItems' API_KEY = 'YOUR KEY' CHANNELS = [ 'videos...
24.672316
90
0.587589
53d750a045a189f59e633e7a1ce562b90e7d821b
2,744
py
Python
python_and_ebpf/train.py
be4r/ssh-miner-detection
47003db1d9f72ae44d5a27e92d0109d5111bec35
[ "MIT" ]
null
null
null
python_and_ebpf/train.py
be4r/ssh-miner-detection
47003db1d9f72ae44d5a27e92d0109d5111bec35
[ "MIT" ]
null
null
null
python_and_ebpf/train.py
be4r/ssh-miner-detection
47003db1d9f72ae44d5a27e92d0109d5111bec35
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from sklearn.tree import DecisionTreeClassifier import pickle import numpy as np no = [b'runc:[2:INIT]', b'containerssh-ag', b'apt',b'dpkg']
24.283186
95
0.622085
53d8b7928beadd81971824eb5f4c9a1dab184d41
1,318
py
Python
data/parse_hipp_data.py
slinderman/pyhsmm-spiketrains
462d8d2c59bd2e7c39d20d624bd8b289a31baaa2
[ "MIT" ]
10
2016-04-23T00:23:20.000Z
2022-01-05T19:28:08.000Z
data/parse_hipp_data.py
slinderman/pyhsmm-spiketrains
462d8d2c59bd2e7c39d20d624bd8b289a31baaa2
[ "MIT" ]
1
2017-06-24T06:37:12.000Z
2017-07-07T17:19:59.000Z
data/parse_hipp_data.py
slinderman/pyhsmm-spiketrains
462d8d2c59bd2e7c39d20d624bd8b289a31baaa2
[ "MIT" ]
9
2016-03-29T21:37:46.000Z
2022-01-05T19:28:11.000Z
import os import numpy as np from scipy.io import loadmat data = loadmat("data/hipp_2dtrack_a/smJun03p2.dat") N = 49 data = reshape(data, 3, length(data)/3); data = data'; size(data) % 43799-by-3 fclose(fid); % sampling time Ts = 0.0333; duration = size(data,1) * Ts; % in second Tmax = data(end, 3); Tmin = d...
22.338983
78
0.634294
53d94f243224facafe883070b86bd959182c98e6
9,455
py
Python
repokid/tests/test_roledata.py
tomdev/repokid
e1a4839290bafccfaa304d87bbdeae85b9dc80aa
[ "Apache-2.0" ]
null
null
null
repokid/tests/test_roledata.py
tomdev/repokid
e1a4839290bafccfaa304d87bbdeae85b9dc80aa
[ "Apache-2.0" ]
null
null
null
repokid/tests/test_roledata.py
tomdev/repokid
e1a4839290bafccfaa304d87bbdeae85b9dc80aa
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Netflix, 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...
51.950549
120
0.639662
53da2e6911920cb3cc789891eed24c27f4a325c6
1,838
py
Python
DL_Scripts/image_recognition.py
Matnay/KPIT_Deep_Learning
14f3815fc2829db9bede86c31f23e721f6423f79
[ "MIT" ]
1
2020-05-01T15:28:12.000Z
2020-05-01T15:28:12.000Z
DL_Scripts/image_recognition.py
Matnay/KPIT_Deep_Learning
14f3815fc2829db9bede86c31f23e721f6423f79
[ "MIT" ]
null
null
null
DL_Scripts/image_recognition.py
Matnay/KPIT_Deep_Learning
14f3815fc2829db9bede86c31f23e721f6423f79
[ "MIT" ]
null
null
null
import rospy from sensor_msgs.msg import Image from std_msgs.msg import String from cv_bridge import CvBridge import cv2 import numpy as np import tensorflow as tf import classify_image if __name__ == '__main__': classify_image.setup_args() rospy.init_node('rostensorflow') tensor = RosTensorFlow() ten...
36.039216
94
0.661589
53dd0a97f61bddb70bdbb1861eb823497caf7e52
21,202
py
Python
plugins/grouputils.py
aviskumar/speedo
758e8ac1fdeeb0b72c3a57742032ca5c79f0b2fa
[ "BSD-3-Clause" ]
null
null
null
plugins/grouputils.py
aviskumar/speedo
758e8ac1fdeeb0b72c3a57742032ca5c79f0b2fa
[ "BSD-3-Clause" ]
null
null
null
plugins/grouputils.py
aviskumar/speedo
758e8ac1fdeeb0b72c3a57742032ca5c79f0b2fa
[ "BSD-3-Clause" ]
3
2021-10-12T08:17:01.000Z
2021-12-21T01:17:54.000Z
# Copyright (C) 2020-2021 by TeamSpeedo@Github, < https://github.com/TeamSpeedo >. # # This file is part of < https://github.com/TeamSpeedo/FridayUserBot > project, # and is released under the "GNU v3.0 License Agreement". # Please see < https://github.com/TeamSpeedo/blob/master/LICENSE > # # All rights reserved. imp...
33.076443
146
0.621215
53dd16873458e07dbdbf665e77a30bc20865dfcb
16,809
py
Python
carberretta/bot/cogs/feeds.py
Nereg/Carberretta
01e25bc8ece4c310ab541304e8809dfdd3eec3b8
[ "BSD-3-Clause" ]
null
null
null
carberretta/bot/cogs/feeds.py
Nereg/Carberretta
01e25bc8ece4c310ab541304e8809dfdd3eec3b8
[ "BSD-3-Clause" ]
null
null
null
carberretta/bot/cogs/feeds.py
Nereg/Carberretta
01e25bc8ece4c310ab541304e8809dfdd3eec3b8
[ "BSD-3-Clause" ]
null
null
null
""" FEEDS Handles YouTube and Twitch feed notifications. """ import datetime as dt import discord import feedparser from apscheduler.triggers.cron import CronTrigger from discord.ext import commands from carberretta import Config from carberretta.utils import DEFAULT_EMBED_COLOUR, chron LIVE_EMBED_COLOUR = 0x9146FF...
44.586207
166
0.50467
53dd795653b27c0823e1d06e1e8c37e9cd9ead3e
5,676
py
Python
gdb/proxy.py
abaire/gdb_sniffer
f330193c65a39ce6abb01f25737ca967a0af9629
[ "Unlicense" ]
1
2021-12-22T04:04:22.000Z
2021-12-22T04:04:22.000Z
gdb/proxy.py
abaire/gdb_sniffer
f330193c65a39ce6abb01f25737ca967a0af9629
[ "Unlicense" ]
null
null
null
gdb/proxy.py
abaire/gdb_sniffer
f330193c65a39ce6abb01f25737ca967a0af9629
[ "Unlicense" ]
null
null
null
"""Provides a GDB logging proxy. See https://sourceware.org/gdb/onlinedocs/gdb/Remote-Protocol.html See https://www.embecosm.com/appnotes/ean4/embecosm-howto-rsp-server-ean4-issue-2.html """ from __future__ import annotations import logging import socket from typing import Optional from typing import Tuple from .pa...
35.698113
112
0.617512
53ddde78f62a83aa118f0171be55b4c481a15868
1,373
py
Python
pylayers/em/openems/test/Rect_Waveguide.py
usmanwardag/pylayers
2e8a9bdc993b2aacc92610a9c7edf875c6c7b24a
[ "MIT" ]
143
2015-01-09T07:50:20.000Z
2022-03-02T11:26:53.000Z
pylayers/em/openems/test/Rect_Waveguide.py
usmanwardag/pylayers
2e8a9bdc993b2aacc92610a9c7edf875c6c7b24a
[ "MIT" ]
148
2015-01-13T04:19:34.000Z
2022-03-11T23:48:25.000Z
pylayers/em/openems/test/Rect_Waveguide.py
usmanwardag/pylayers
2e8a9bdc993b2aacc92610a9c7edf875c6c7b24a
[ "MIT" ]
95
2015-05-01T13:22:42.000Z
2022-03-15T11:22:28.000Z
from openems.openems import * # A simple simulation # # FDTD Simulation Setting # F = FDTD() F.add(Exc(typ='Sinus',f0=100000)) F.add(BoundaryCond(['PMC','PMC','PEC','PEC','MUR','MUR'])) # # CSX (Geometry setting) # C = CSX() # The Box is added as a property C.add(Excitation('excitation'),p=Box(P1=[-10,-10,0],P2=...
25.90566
87
0.632921
53debe5489e3f53b73538719925c989ad4ce399d
381
py
Python
DataPreprocessing/_segment_Y.py
vd1371/CBSA
f2b3f03c91ccd9ec02c2331f43573d7d6e72fd47
[ "MIT" ]
null
null
null
DataPreprocessing/_segment_Y.py
vd1371/CBSA
f2b3f03c91ccd9ec02c2331f43573d7d6e72fd47
[ "MIT" ]
null
null
null
DataPreprocessing/_segment_Y.py
vd1371/CBSA
f2b3f03c91ccd9ec02c2331f43573d7d6e72fd47
[ "MIT" ]
null
null
null
import numpy as np
19.05
50
0.677165
53df3216d619040fc2551d1e35eda4fe2e177604
3,868
py
Python
WifiEnigma/BattleAI/question.py
Puzzlebox-IMT/Puzzlebox
6b80e22a4aee3228140692bd6352de18b2f6a96d
[ "MIT" ]
null
null
null
WifiEnigma/BattleAI/question.py
Puzzlebox-IMT/Puzzlebox
6b80e22a4aee3228140692bd6352de18b2f6a96d
[ "MIT" ]
null
null
null
WifiEnigma/BattleAI/question.py
Puzzlebox-IMT/Puzzlebox
6b80e22a4aee3228140692bd6352de18b2f6a96d
[ "MIT" ]
null
null
null
import mysql.connector import random from voice import synthetize_voice, delete_wav if (__name__ == '__main__'): result = questionAI(1) tell_question(result)
31.447154
140
0.520941
53e02e91fc0737f80d21208f1511392c2bcd37d1
875
py
Python
toy-amr/flux_functions.py
IanHawke/toy-amr
1f616791993ccd83cc6034616c08e09fa4ba310d
[ "MIT" ]
5
2019-05-27T18:13:45.000Z
2021-01-06T09:42:28.000Z
toy-amr/flux_functions.py
IanHawke/toy-amr
1f616791993ccd83cc6034616c08e09fa4ba310d
[ "MIT" ]
1
2019-10-21T13:34:48.000Z
2019-12-11T22:11:17.000Z
toy-amr/flux_functions.py
IanHawke/toy-amr
1f616791993ccd83cc6034616c08e09fa4ba310d
[ "MIT" ]
2
2019-05-08T18:00:36.000Z
2021-05-27T16:57:57.000Z
import numpy
39.772727
79
0.609143
53e0390b65014122e4de16c06f08712946e2a007
2,084
py
Python
pi/auth.py
vmagamedov/pi
6ee98af69b757d96aa4eddc32513309e0fe05d1d
[ "BSD-3-Clause" ]
7
2016-06-24T04:49:48.000Z
2020-06-29T17:34:12.000Z
pi/auth.py
vmagamedov/pi
6ee98af69b757d96aa4eddc32513309e0fe05d1d
[ "BSD-3-Clause" ]
11
2016-06-19T13:16:59.000Z
2019-11-02T13:14:19.000Z
pi/auth.py
vmagamedov/pi
6ee98af69b757d96aa4eddc32513309e0fe05d1d
[ "BSD-3-Clause" ]
null
null
null
import re import json import base64 import codecs import os.path import asyncio import subprocess _PREFIX = 'docker-credential-'
25.108434
72
0.644914
53e05b14f47fe11d4c2e4b89d1492b45ec46b072
5,199
py
Python
etl/transform.py
ACWI-SOGW/ngwmn_monitoring_locations_etl
e9ebfebbc5fa349a58669fb1d9944786f26729c3
[ "CC0-1.0" ]
1
2020-10-07T14:44:30.000Z
2020-10-07T14:44:30.000Z
etl/transform.py
ACWI-SOGW/ngwmn_monitoring_locations_etl
e9ebfebbc5fa349a58669fb1d9944786f26729c3
[ "CC0-1.0" ]
7
2020-10-14T19:13:10.000Z
2021-10-06T20:04:38.000Z
etl/transform.py
ACWI-SOGW/ngwmn_monitoring_locations_etl
e9ebfebbc5fa349a58669fb1d9944786f26729c3
[ "CC0-1.0" ]
1
2020-10-02T14:43:18.000Z
2020-10-02T14:43:18.000Z
""" Transform the data into a form that works with the WELL_REGISTRY_STG table. """ import re WELL_TYPES = { 'surveillance': 1, 'trend': 2, 'special': 3, } map_well_type = mapping_factory(WELL_TYPES) WELL_PURPOSE = { 'dedicated monitoring/observation': 1, 'other': 2 } map_well_purpose = mapping_...
38.227941
117
0.695903
53e0d34e58ad9e0686dc6ee3e5a7f6fc0076f469
55
py
Python
django_reporter_pro/config/model_configs.py
shamilison/django-reporter-pro
0c6f60bbae939d318e7aafaec83613d2768a4f63
[ "Apache-2.0" ]
null
null
null
django_reporter_pro/config/model_configs.py
shamilison/django-reporter-pro
0c6f60bbae939d318e7aafaec83613d2768a4f63
[ "Apache-2.0" ]
null
null
null
django_reporter_pro/config/model_configs.py
shamilison/django-reporter-pro
0c6f60bbae939d318e7aafaec83613d2768a4f63
[ "Apache-2.0" ]
null
null
null
# Created by shamilsakib at 04/10/20 BASE_MODEL = None
18.333333
36
0.763636
53e10c53f31c7e396a4573a421ae3212e9a11856
1,543
py
Python
DPSparkImplementations/paf_kernels.py
TEAlab/DPSpark
4d53ee13b03e2e12119c28fe2b2241ad20231eac
[ "MIT" ]
null
null
null
DPSparkImplementations/paf_kernels.py
TEAlab/DPSpark
4d53ee13b03e2e12119c28fe2b2241ad20231eac
[ "MIT" ]
null
null
null
DPSparkImplementations/paf_kernels.py
TEAlab/DPSpark
4d53ee13b03e2e12119c28fe2b2241ad20231eac
[ "MIT" ]
1
2020-12-30T22:12:55.000Z
2020-12-30T22:12:55.000Z
__author__ = "Zafar Ahmad, Mohammad Mahdi Javanmard" __copyright__ = "Copyright (c) 2019 Tealab@SBU" __license__ = "MIT" __version__ = "1.0.0" __maintainer__ = "Zafar Ahmad" __email__ = "zafahmad@cs.stonybrook.edu" __status__ = "Development" import numpy as np import numba as nb ''' Iterative kernels '''
35.068182
104
0.610499
53e339cc8fb766eb00e75883c4d6064e436e942f
1,343
py
Python
terrakg/rates.py
terrapain/terrakg
90c52ca3b227d2daabd604255e793ac5f536c246
[ "Apache-2.0" ]
null
null
null
terrakg/rates.py
terrapain/terrakg
90c52ca3b227d2daabd604255e793ac5f536c246
[ "Apache-2.0" ]
null
null
null
terrakg/rates.py
terrapain/terrakg
90c52ca3b227d2daabd604255e793ac5f536c246
[ "Apache-2.0" ]
null
null
null
from terra_sdk.exceptions import LCDResponseError from terrakg import logger # Logging from terrakg.client import ClientContainer logger = logger.get_logger(__name__)
30.522727
117
0.568876
53e44f41ef2d0962b6580e25176980ba9b2fe713
2,868
py
Python
src/tracking_module.py
HonzaKlicpera/Effective-footage-processing-Blender-add-on
f3faae3fc56a3ef8f2eabba9af8be718e57f4d35
[ "MIT" ]
1
2020-06-09T11:23:44.000Z
2020-06-09T11:23:44.000Z
src/tracking_module.py
HonzaKlicpera/Effective-footage-processing-Blender
f3faae3fc56a3ef8f2eabba9af8be718e57f4d35
[ "MIT" ]
null
null
null
src/tracking_module.py
HonzaKlicpera/Effective-footage-processing-Blender
f3faae3fc56a3ef8f2eabba9af8be718e57f4d35
[ "MIT" ]
null
null
null
import bpy import os, glob from pathlib import Path from enum import Enum from abc import ABC, abstractmethod import csv from . import keying_module #---------------------------------------- # PROPERTIES #---------------------------------------- classes = ( TrackingExportDataOp, Tr...
30.189474
87
0.644003
53e4b90b1159d838a8edfa7ab52a953ffb4eca72
437
py
Python
nodes/2.x/python/View.ViewTemplate.py
andydandy74/ClockworkForDynamo
bd4ac2c13956a02352a458d01096a35b7258d9f2
[ "MIT" ]
147
2016-02-24T16:37:03.000Z
2022-02-18T12:10:34.000Z
nodes/2.x/python/View.ViewTemplate.py
johnpierson/ClockworkForDynamo
953d3f56b75e99561978925756e527357f9978dd
[ "MIT" ]
269
2016-02-25T14:04:14.000Z
2022-03-26T07:30:53.000Z
nodes/2.x/python/View.ViewTemplate.py
johnpierson/ClockworkForDynamo
953d3f56b75e99561978925756e527357f9978dd
[ "MIT" ]
89
2016-03-16T18:21:56.000Z
2022-02-03T14:34:30.000Z
import clr clr.AddReference('RevitAPI') from Autodesk.Revit.DB import * views = UnwrapElement(IN[0]) if isinstance(IN[0], list): OUT = [GetViewTemplate(x) for x in views] else: OUT = GetViewTemplate(views)
29.133333
69
0.757437
53e73c9f153e27f98b4ee8cc325ad02d4ef90185
8,267
py
Python
infrastructure-provisioning/src/general/scripts/gcp/dataengine-service_prepare.py
bohdana-kuzmenko/incubator-dlab
d052709450e7916860c7dd191708d5524cf44c1e
[ "Apache-2.0" ]
null
null
null
infrastructure-provisioning/src/general/scripts/gcp/dataengine-service_prepare.py
bohdana-kuzmenko/incubator-dlab
d052709450e7916860c7dd191708d5524cf44c1e
[ "Apache-2.0" ]
null
null
null
infrastructure-provisioning/src/general/scripts/gcp/dataengine-service_prepare.py
bohdana-kuzmenko/incubator-dlab
d052709450e7916860c7dd191708d5524cf44c1e
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/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 A...
57.013793
178
0.670134
53e7f5b9bbd28821250ea584ab34945cec2c0582
931
py
Python
02.py
mattias-lundell/aoc2021
32bd41446d963c5788d4614106405be65de81bcd
[ "MIT" ]
null
null
null
02.py
mattias-lundell/aoc2021
32bd41446d963c5788d4614106405be65de81bcd
[ "MIT" ]
null
null
null
02.py
mattias-lundell/aoc2021
32bd41446d963c5788d4614106405be65de81bcd
[ "MIT" ]
null
null
null
test = """forward 5 down 5 forward 8 up 3 down 8 forward 2 """ if __name__ == '__main__': part1(test.splitlines()) part1(open('in02.txt').readlines()) part2(test.splitlines()) part2(open('in02.txt').readlines())
19.395833
39
0.493018
53e86b46c3285488d7ebc41a01e6a577e706cb66
693
py
Python
associations/migrations/0001_initial.py
ollc-code/django-back
205f3adc61f9e62c88dfcc170999cef495cebed7
[ "MIT" ]
null
null
null
associations/migrations/0001_initial.py
ollc-code/django-back
205f3adc61f9e62c88dfcc170999cef495cebed7
[ "MIT" ]
null
null
null
associations/migrations/0001_initial.py
ollc-code/django-back
205f3adc61f9e62c88dfcc170999cef495cebed7
[ "MIT" ]
null
null
null
# Generated by Django 3.1.3 on 2020-11-09 08:56 from django.db import migrations, models
27.72
114
0.580087
53e96f34f945ecef4aebd95bbb66a14049ee97c2
4,631
py
Python
tests/pds/test_times.py
seignovert/pyvims
a70b5b9b8bc5c37fa43b7db4d15407f312a31849
[ "BSD-3-Clause" ]
4
2019-09-16T15:50:22.000Z
2021-04-08T15:32:48.000Z
tests/pds/test_times.py
seignovert/pyvims
a70b5b9b8bc5c37fa43b7db4d15407f312a31849
[ "BSD-3-Clause" ]
3
2018-05-04T09:28:24.000Z
2018-12-03T09:00:31.000Z
tests/pds/test_times.py
seignovert/pyvims
a70b5b9b8bc5c37fa43b7db4d15407f312a31849
[ "BSD-3-Clause" ]
1
2020-10-12T15:14:17.000Z
2020-10-12T15:14:17.000Z
"""Test PDS times modules.""" from datetime import datetime as dt from pyvims.pds.times import (cassini2utc, cassini_time, dt_date, dt_doy, dt_iso, dyear, pds_folder, pds_time, utc2cassini) from pytest import approx, raises def test_dt_iso(): """Test parsing ISO time pattern.""" ...
34.559701
89
0.628374
53e9f02f64051ff304c3ebef251b469302530c2e
626
py
Python
e/mail-relay/web/apps/mail/migrations/0109_auto_20171130_1047.py
zhouli121018/nodejsgm
0ccbc8acf61badc812f684dd39253d55c99f08eb
[ "MIT" ]
null
null
null
e/mail-relay/web/apps/mail/migrations/0109_auto_20171130_1047.py
zhouli121018/nodejsgm
0ccbc8acf61badc812f684dd39253d55c99f08eb
[ "MIT" ]
18
2020-06-05T18:17:40.000Z
2022-03-11T23:25:21.000Z
e/mail-relay/web/apps/mail/migrations/0109_auto_20171130_1047.py
zhouli121018/nodejsgm
0ccbc8acf61badc812f684dd39253d55c99f08eb
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations
27.217391
113
0.635783
53ea00fc5aec5aef16f52f772300f59c029df625
11,168
py
Python
venv/lib/python3.6/site-packages/ansible_test/_data/sanity/code-smell/runtime-metadata.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_test/_data/sanity/code-smell/runtime-metadata.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_test/_data/sanity/code-smell/runtime-metadata.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
null
null
null
#!/usr/bin/env python """Schema validation of ansible-core's ansible_builtin_runtime.yml and collection's meta/runtime.yml""" from __future__ import (absolute_import, division, print_function) __metaclass__ = type import datetime import os import re import sys from distutils.version import StrictVersion, LooseVersion ...
39.885714
112
0.632969
53eb2f5275fa111e5a11e8a6b19fe5db87a5dc8d
2,160
py
Python
catkin_ws/src/o2ac_flexbe/o2ac_flexbe_states/src/o2ac_flexbe_states/align_bearing_holes.py
mitdo/o2ac-ur
74c82a54a693bf6a3fc995ff63e7c91ac1fda6fd
[ "MIT" ]
32
2021-09-02T12:29:47.000Z
2022-03-30T21:44:10.000Z
catkin_ws/src/o2ac_flexbe/o2ac_flexbe_states/src/o2ac_flexbe_states/align_bearing_holes.py
kroglice/o2ac-ur
f684f21fd280a22ec061dc5d503801f6fefb2422
[ "MIT" ]
4
2021-09-22T00:51:14.000Z
2022-01-30T11:54:19.000Z
catkin_ws/src/o2ac_flexbe/o2ac_flexbe_states/src/o2ac_flexbe_states/align_bearing_holes.py
kroglice/o2ac-ur
f684f21fd280a22ec061dc5d503801f6fefb2422
[ "MIT" ]
7
2021-11-02T12:26:09.000Z
2022-02-01T01:45:22.000Z
#!/usr/bin/env python from flexbe_core import EventState, Logger from flexbe_core.proxy import ProxyActionClient # example import of required action from o2ac_msgs.msg import AlignBearingHolesAction, AlignBearingHolesGoal
30.422535
72
0.600463
53eb9134fe73eaf59759bdec6bb46f044d4317f1
6,710
py
Python
find_unicode_control.py
sebastian-philipp/find-unicode-control
170730aff64d17a4d9c57b0284d862c932e1565c
[ "BSD-3-Clause" ]
null
null
null
find_unicode_control.py
sebastian-philipp/find-unicode-control
170730aff64d17a4d9c57b0284d862c932e1565c
[ "BSD-3-Clause" ]
null
null
null
find_unicode_control.py
sebastian-philipp/find-unicode-control
170730aff64d17a4d9c57b0284d862c932e1565c
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 """Find unicode control characters in source files By default the script takes one or more files or directories and looks for unicode control characters in all text files. To narrow down the files, provide a config file with the -c command line, defining a scan_exclude list, which should be a l...
35.882353
109
0.634426
53ebe27af2c0c28dac914d098023620cb50fc322
1,529
py
Python
igibson/object_states/aabb.py
mamadbiabon/iGibson
d416a470240eb7ad86e04fee475ae4bd67263a7c
[ "MIT" ]
360
2020-04-02T11:12:09.000Z
2022-03-24T21:46:58.000Z
igibson/object_states/aabb.py
mamadbiabon/iGibson
d416a470240eb7ad86e04fee475ae4bd67263a7c
[ "MIT" ]
169
2020-04-07T21:01:05.000Z
2022-03-31T10:07:39.000Z
igibson/object_states/aabb.py
mamadbiabon/iGibson
d416a470240eb7ad86e04fee475ae4bd67263a7c
[ "MIT" ]
94
2020-04-09T23:22:17.000Z
2022-03-17T21:49:03.000Z
import numpy as np from igibson.external.pybullet_tools.utils import aabb_union, get_aabb, get_all_links from igibson.object_states.object_state_base import CachingEnabledObjectState
36.404762
109
0.699804
53ed119c9b07bf3b0dd5b8ddf0cc3d573400eed1
34,187
py
Python
vsphere/tests/test_vsphere.py
fujigon/integrations-core
256b1c138fd1bf1c71db63698737e813cfda00f8
[ "BSD-3-Clause" ]
null
null
null
vsphere/tests/test_vsphere.py
fujigon/integrations-core
256b1c138fd1bf1c71db63698737e813cfda00f8
[ "BSD-3-Clause" ]
null
null
null
vsphere/tests/test_vsphere.py
fujigon/integrations-core
256b1c138fd1bf1c71db63698737e813cfda00f8
[ "BSD-3-Clause" ]
1
2019-12-23T13:35:17.000Z
2019-12-23T13:35:17.000Z
# (C) Datadog, Inc. 2010-2017 # All rights reserved # Licensed under Simplified BSD License (see LICENSE) from __future__ import unicode_literals import time from datetime import datetime import mock import pytest from mock import MagicMock from pyVmomi import vim from datadog_checks.vsphere import VSphereCheck from...
42.363073
120
0.678796
53f022c5295afcf5069c62aac2f57d65cf97e719
2,147
py
Python
data_steward/constants/validation/email_notification.py
jp3477/curation
41f98d57c8273d9963ad6d466a237c99b63c74be
[ "MIT" ]
1
2021-04-05T18:06:25.000Z
2021-04-05T18:06:25.000Z
data_steward/constants/validation/email_notification.py
jp3477/curation
41f98d57c8273d9963ad6d466a237c99b63c74be
[ "MIT" ]
null
null
null
data_steward/constants/validation/email_notification.py
jp3477/curation
41f98d57c8273d9963ad6d466a237c99b63c74be
[ "MIT" ]
null
null
null
MANDRILL_API_KEY = 'MANDRILL_API_KEY' UNSET_MANDRILL_API_KEY_MSG = f"Mandrill API key not set in environment variable {MANDRILL_API_KEY}" CONTACT_LIST_QUERY = """ SELECT * FROM `{{project}}.{{dataset}}.{{contact_table}}` """ EHR_OPERATIONS = 'EHR Ops' EHR_OPS_ZENDESK = 'support@aou-ehr-ops.zendesk.com' DATA_CURATION_...
39.036364
116
0.726129
53f15f1ad7b41be043cf58489197157314abeded
2,110
py
Python
clip/clip.py
keshav11/clip
f426dee5c3a6885ddeba20d450d85fc71951c5ca
[ "MIT" ]
1
2018-03-27T05:13:43.000Z
2018-03-27T05:13:43.000Z
clip/clip.py
keshav11/clip
f426dee5c3a6885ddeba20d450d85fc71951c5ca
[ "MIT" ]
1
2018-03-27T14:57:05.000Z
2018-03-27T14:57:05.000Z
clip/clip.py
keshav11/clip
f426dee5c3a6885ddeba20d450d85fc71951c5ca
[ "MIT" ]
null
null
null
import os import argparse from pathlib import Path CLIP_FILE = os.path.join(Path.home(), '.clip') TEMP_FILE = '.TEMP_FILE' if __name__ == '__main__': main()
26.708861
95
0.555924
53f16f379316b618805c2343722f2905bbfec891
2,383
py
Python
tests/unit/test_nsga2.py
learsi1911/GAMA_pygmo_v4
459807db352dd1c9f9c1e0e322f8c1e9b5abbca0
[ "Apache-2.0" ]
49
2018-10-22T06:05:29.000Z
2021-09-07T20:12:36.000Z
tests/unit/test_nsga2.py
learsi1911/GAMA_pygmo_v4
459807db352dd1c9f9c1e0e322f8c1e9b5abbca0
[ "Apache-2.0" ]
102
2018-10-02T12:00:47.000Z
2021-02-24T14:35:30.000Z
tests/unit/test_nsga2.py
learsi1911/GAMA_pygmo_v4
459807db352dd1c9f9c1e0e322f8c1e9b5abbca0
[ "Apache-2.0" ]
11
2021-06-04T11:56:19.000Z
2022-03-21T20:21:15.000Z
from typing import List, Tuple from gama.genetic_programming.nsga2 import ( NSGAMeta, fast_non_dominated_sort, crowding_distance_assignment, ) def _tuples_to_NSGAMeta(tuples: List[Tuple]) -> List[NSGAMeta]: """ Converts a list of tuples to NSGAMeta objects. """ # Can't declare it directly in a loo...
33.56338
84
0.698699
53f1e3a9ae5af85a04a5bf0c18896233f3416fe3
2,738
py
Python
stac_ingest/utils/tds.py
crim-ca/stac-ingest
e4cc2a66fee4b86ec238f139135d78215ec91ea4
[ "Apache-2.0" ]
null
null
null
stac_ingest/utils/tds.py
crim-ca/stac-ingest
e4cc2a66fee4b86ec238f139135d78215ec91ea4
[ "Apache-2.0" ]
null
null
null
stac_ingest/utils/tds.py
crim-ca/stac-ingest
e4cc2a66fee4b86ec238f139135d78215ec91ea4
[ "Apache-2.0" ]
null
null
null
# File taken from https://github.com/Ouranosinc/pavics-vdb/blob/master/catalog/tds.py """Utility function to parse metadata from a THREDDS Data Server catalog.""" def attrs_from_ds(ds): """Extract attributes from TDS Dataset.""" url = ds.access_urls["NCML"] attrs = attrs_from_ncml(url) attrs["__serv...
29.44086
111
0.648283
53f27d7f999c3ddce62ec7074bca13f18a96eb7b
4,484
py
Python
tact/util.py
brunel-physics/mva_scikit
b0182da89efa466461aaf2cff4387c821df1758b
[ "BSD-3-Clause" ]
null
null
null
tact/util.py
brunel-physics/mva_scikit
b0182da89efa466461aaf2cff4387c821df1758b
[ "BSD-3-Clause" ]
null
null
null
tact/util.py
brunel-physics/mva_scikit
b0182da89efa466461aaf2cff4387c821df1758b
[ "BSD-3-Clause" ]
2
2020-05-18T19:52:32.000Z
2022-01-24T10:07:35.000Z
# -*- coding: utf-8 -*- """ Module containing miscellaneous utility functions. """ from __future__ import (absolute_import, division, print_function, unicode_literals) import collections import itertools import numpy as np def deep_update(d1, d2): """ Adds key-value pairs in d2 to...
26.222222
79
0.61686
53f2926766ffb4a7606e6a1c06800d6ce10ac775
3,893
py
Python
src/stochastic_tour.py
DavidNKraemer/ams553-final-project
fc23fe5f126a8bd9ea593c0b339883ec71820a05
[ "MIT" ]
null
null
null
src/stochastic_tour.py
DavidNKraemer/ams553-final-project
fc23fe5f126a8bd9ea593c0b339883ec71820a05
[ "MIT" ]
null
null
null
src/stochastic_tour.py
DavidNKraemer/ams553-final-project
fc23fe5f126a8bd9ea593c0b339883ec71820a05
[ "MIT" ]
null
null
null
import numpy as np import random from collections import namedtuple Drone = namedtuple('Drone', 'speed probability') Site = namedtuple('Site', 'location')
25.781457
75
0.5813
53f4891624f4d3bc5f0cf1971fce25d204c1cf18
1,325
py
Python
orbit/actions/conditional_action_test.py
mcasanova1445/models
37be0fdb4abccca633bb3199a4e6f3f71cd174d9
[ "Apache-2.0" ]
1
2020-09-14T10:46:07.000Z
2020-09-14T10:46:07.000Z
orbit/actions/conditional_action_test.py
mdsaifhaider/models
7214e17eb425963ec3d0295be215d5d26deaeb32
[ "Apache-2.0" ]
8
2020-05-19T00:52:30.000Z
2020-06-04T23:57:20.000Z
orbit/actions/conditional_action_test.py
mdsaifhaider/models
7214e17eb425963ec3d0295be215d5d26deaeb32
[ "Apache-2.0" ]
2
2021-10-07T04:47:04.000Z
2021-12-18T04:18:19.000Z
# Copyright 2022 The Orbit Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
33.125
79
0.739623
53f4cffa9d98d6fc50ab66c96fe1f4f487091562
880
py
Python
Customizations/Tagging/show_tags.task.py
phnomcobra/valarie-content
b1f6242605badd2b0b2e53c4320f5d963b5e0b21
[ "MIT" ]
null
null
null
Customizations/Tagging/show_tags.task.py
phnomcobra/valarie-content
b1f6242605badd2b0b2e53c4320f5d963b5e0b21
[ "MIT" ]
null
null
null
Customizations/Tagging/show_tags.task.py
phnomcobra/valarie-content
b1f6242605badd2b0b2e53c4320f5d963b5e0b21
[ "MIT" ]
null
null
null
#!/usr/bin/python ################################################################################ # DOCUMENTS # # Justin Dierking # justin.l.dierking.civ@mail.mil # 614 692 2050 # # 04/22/2018 Original Construction ################################################################################ import traceback impor...
25.882353
80
0.465909
53f8fdaf42e35a017e458aac366d4271e4baa22e
1,932
py
Python
examples/python/masked_hist.py
DerThorsten/seglib
4655079e390e301dd93e53f5beed6c9737d6df9f
[ "MIT" ]
null
null
null
examples/python/masked_hist.py
DerThorsten/seglib
4655079e390e301dd93e53f5beed6c9737d6df9f
[ "MIT" ]
null
null
null
examples/python/masked_hist.py
DerThorsten/seglib
4655079e390e301dd93e53f5beed6c9737d6df9f
[ "MIT" ]
null
null
null
import vigra import numpy import pylab from seglib import cgp2d from seglib.preprocessing import norm01 import seglib.edge_detectors.pixel as edp import seglib.region_descriptors.pixel as rdp from seglib.preprocessing import norm01 from seglib.histogram import jointHistogram,histogram from seglib.region_descriptors.p...
27.6
133
0.70911
53fa17d1fb343f99d7928294d83a0d41844594ce
748
py
Python
backup/models.py
helwete/simple-backup
c7dd1a08d398f5b4005c187e274e192b2e024f30
[ "MIT" ]
null
null
null
backup/models.py
helwete/simple-backup
c7dd1a08d398f5b4005c187e274e192b2e024f30
[ "MIT" ]
null
null
null
backup/models.py
helwete/simple-backup
c7dd1a08d398f5b4005c187e274e192b2e024f30
[ "MIT" ]
null
null
null
from datetime import date from django.conf import settings from django.db import models # Create your models here.
35.619048
94
0.743316
53fa743e6670e6a8830a736afc87f494f4f511b4
2,713
py
Python
Kmeans Cluster/Kmeans_Compare.py
Jojoxiao/Machine-Learning-for-Beginner-by-Python3
71b91c9cba5803bd78d4d31be6dabb1d3989e968
[ "MIT" ]
397
2018-05-28T02:07:32.000Z
2022-03-30T09:53:37.000Z
Kmeans Cluster/Kmeans_Compare.py
976634681/Machine-Learning-for-Beginner-by-Python3
d9effcbb1b390dc608a0f4c0a28f0ad03892047a
[ "MIT" ]
4
2019-01-14T16:41:02.000Z
2021-03-11T13:23:06.000Z
Kmeans Cluster/Kmeans_Compare.py
976634681/Machine-Learning-for-Beginner-by-Python3
d9effcbb1b390dc608a0f4c0a28f0ad03892047a
[ "MIT" ]
235
2018-06-28T05:31:40.000Z
2022-03-11T03:20:07.000Z
#-*- codingutf-8 -*- # &Author AnFany # import Kmeans_AnFany as K_Af # AnFany import Kmeans_Sklearn as K_Sk # Sklearn import matplotlib.pyplot as plt from pylab import mpl # mpl.rcParams['font.sans-serif'] = ['FangSong'] # mpl.rcParams['axes.unicode_minus'] = False import numpy as np # sklearn fr...
25.59434
123
0.573535
53faaa8c310593f3046382b5d7e3fa8922d7e1b7
5,544
py
Python
control_panel.py
Stayermax/5dof-bartender-robot
dd04303afd2c252e6f7105e33ba35b01f3915194
[ "MIT" ]
null
null
null
control_panel.py
Stayermax/5dof-bartender-robot
dd04303afd2c252e6f7105e33ba35b01f3915194
[ "MIT" ]
null
null
null
control_panel.py
Stayermax/5dof-bartender-robot
dd04303afd2c252e6f7105e33ba35b01f3915194
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ Control panel file """ import pddl_solver as pddl import ik import rospy from get_object_position import get_object_position import time from constants import * from spawn_models import reset_model_position, reset_all, spawn_model, spawn_all_models from delete_models import delete_all, de...
40.173913
170
0.530483
53fac3e7275b1080c646a6ed12952be14a9e25f1
1,427
py
Python
Enigma/Enigma.py
archanpatkar/Enigma
dbbc1fda99bf451a0284f051c724ed43915dfe2a
[ "MIT" ]
3
2019-06-25T06:46:50.000Z
2021-07-27T14:14:32.000Z
Enigma/Enigma.py
archanpatkar/Enigma
dbbc1fda99bf451a0284f051c724ed43915dfe2a
[ "MIT" ]
null
null
null
Enigma/Enigma.py
archanpatkar/Enigma
dbbc1fda99bf451a0284f051c724ed43915dfe2a
[ "MIT" ]
1
2021-07-27T14:20:30.000Z
2021-07-27T14:20:30.000Z
from Enigma.Rotor import Rotor from Enigma.Reflector import Reflector from Enigma.Plugboard import Plugboard
32.431818
143
0.5459
53fad9cdfe9f1c4fdba68eaa168284de33fce059
647
py
Python
var/spack/repos/builtin/packages/exiv2/package.py
xiki-tempula/spack
9d66c05e93ab8a933fc59915040c0e0c86a4aac4
[ "ECL-2.0", "Apache-2.0", "MIT" ]
9
2018-04-18T07:51:40.000Z
2021-09-10T03:56:57.000Z
var/spack/repos/builtin/packages/exiv2/package.py
xiki-tempula/spack
9d66c05e93ab8a933fc59915040c0e0c86a4aac4
[ "ECL-2.0", "Apache-2.0", "MIT" ]
907
2018-04-18T11:17:57.000Z
2022-03-31T13:20:25.000Z
var/spack/repos/builtin/packages/exiv2/package.py
xiki-tempula/spack
9d66c05e93ab8a933fc59915040c0e0c86a4aac4
[ "ECL-2.0", "Apache-2.0", "MIT" ]
29
2018-11-05T16:14:23.000Z
2022-02-03T16:07:09.000Z
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import *
30.809524
96
0.710974
53fb4aef0b525310a37b5aa5c278d91c9afe8fd1
2,711
py
Python
magicauth/send_token.py
JMIdeaMaker/django-magicauth
ffca3423c46f8f3d7e49eaf374b33265d4730587
[ "MIT" ]
null
null
null
magicauth/send_token.py
JMIdeaMaker/django-magicauth
ffca3423c46f8f3d7e49eaf374b33265d4730587
[ "MIT" ]
null
null
null
magicauth/send_token.py
JMIdeaMaker/django-magicauth
ffca3423c46f8f3d7e49eaf374b33265d4730587
[ "MIT" ]
null
null
null
import math from django.contrib.auth import get_user_model from django.contrib.sites.shortcuts import get_current_site from django.core.mail import send_mail from django.template import loader from magicauth import settings as magicauth_settings from django.conf import settings as django_settings from magicauth.model...
36.146667
98
0.69384
53fbcfdc398532d49a5138646d1108fbc979d12a
2,148
py
Python
qcdb/util/paths.py
loriab/qccddb
d9e156ef8b313ac0633211fc6b841f84a3ddde24
[ "BSD-3-Clause" ]
8
2019-03-28T11:54:59.000Z
2022-03-19T03:31:37.000Z
qcdb/util/paths.py
loriab/qccddb
d9e156ef8b313ac0633211fc6b841f84a3ddde24
[ "BSD-3-Clause" ]
39
2018-10-31T23:02:18.000Z
2021-12-12T22:11:37.000Z
qcdb/util/paths.py
loriab/qccddb
d9e156ef8b313ac0633211fc6b841f84a3ddde24
[ "BSD-3-Clause" ]
9
2018-03-12T20:51:50.000Z
2022-02-28T15:18:34.000Z
import os import sys ## {{{ http://code.activestate.com/recipes/52224/ (r1) def search_file(filename, search_path): """Given an os.pathsep divided `search_path`, find first occurrence of `filename`. Returns full path to file if found or None if unfound. """ file_found = False paths = search_path....
26.85
74
0.603352
53fbd095d48c73b6a23ec7ef2c3b6688ff51dfc5
2,380
py
Python
tests/models/DCN_test.py
JiangBowen-master/DeepCTR
291ffb0ff3b8322f64bd839f963d5c7a70e6b358
[ "Apache-2.0" ]
1
2021-09-20T14:12:35.000Z
2021-09-20T14:12:35.000Z
tests/models/DCN_test.py
JiangBowen-master/DeepCTR
291ffb0ff3b8322f64bd839f963d5c7a70e6b358
[ "Apache-2.0" ]
1
2022-02-10T06:29:19.000Z
2022-02-10T06:29:19.000Z
tests/models/DCN_test.py
JiangBowen-master/DeepCTR
291ffb0ff3b8322f64bd839f963d5c7a70e6b358
[ "Apache-2.0" ]
null
null
null
import pytest import tensorflow as tf from deepctr.estimator import DCNEstimator from deepctr.models import DCN from ..utils import check_model, get_test_data, SAMPLE_SIZE, get_test_data_estimator, check_estimator, \ Estimator_TEST_TF1 # def test_DCN_invalid(embedding_size=8, cross_num=0, hidden_size=()): # ...
42.5
122
0.654622
53fbe12da973d06be5b6afaae786b7644d276650
1,309
py
Python
workflows/post_process_run/fv3post/gsutil.py
jacnugent/fv3net
84958651bdd17784fdab98f87ad0d65414c03368
[ "MIT" ]
5
2021-03-20T22:42:40.000Z
2021-06-30T18:39:36.000Z
workflows/post_process_run/fv3post/gsutil.py
jacnugent/fv3net
84958651bdd17784fdab98f87ad0d65414c03368
[ "MIT" ]
195
2021-09-16T05:47:18.000Z
2022-03-31T22:03:15.000Z
workflows/post_process_run/fv3post/gsutil.py
ai2cm/fv3net
e62038aee0a97d6207e66baabd8938467838cf51
[ "MIT" ]
1
2021-06-16T22:04:24.000Z
2021-06-16T22:04:24.000Z
import os import subprocess import backoff
25.666667
85
0.654698
53fc42709c54959b0375cdc103e3419eb44ee072
3,012
py
Python
deploy_tix/__main__.py
rpappalax/deploy-tix
a53c7fa7898b9f0c2f530c8abd8bab322a2eb7bc
[ "MIT" ]
null
null
null
deploy_tix/__main__.py
rpappalax/deploy-tix
a53c7fa7898b9f0c2f530c8abd8bab322a2eb7bc
[ "MIT" ]
20
2015-02-24T08:56:47.000Z
2018-07-25T16:35:30.000Z
deploy_tix/__main__.py
rpappalax/deploy-tix
a53c7fa7898b9f0c2f530c8abd8bab322a2eb7bc
[ "MIT" ]
3
2015-04-01T21:39:50.000Z
2020-09-10T19:40:43.000Z
import argparse from deploy_tix.bugzilla_rest_client import BugzillaRESTClient from deploy_tix.release_notes import ReleaseNotes from output_helper import OutputHelper
30.12
87
0.625166
53fce9990550dc9cdc1a65b09b6de93156132380
2,583
py
Python
site-packages/visual/examples/drape.py
lebarsfa/vpython-wx
38df062e5532b79f632f4f2a1abae86754c264a9
[ "BSL-1.0" ]
68
2015-01-17T05:41:58.000Z
2021-04-24T08:35:24.000Z
site-packages/visual/examples/drape.py
lebarsfa/vpython-wx
38df062e5532b79f632f4f2a1abae86754c264a9
[ "BSL-1.0" ]
16
2015-01-02T19:36:06.000Z
2018-09-09T21:01:25.000Z
site-packages/visual/examples/drape.py
lebarsfa/vpython-wx
38df062e5532b79f632f4f2a1abae86754c264a9
[ "BSL-1.0" ]
37
2015-02-04T04:23:00.000Z
2020-06-07T03:24:41.000Z
from visual import * print(""" Click to place spheres under falling string. Right button drag or Ctrl-drag to rotate view. Middle button drag or Alt-drag to zoom in or out. On a two-button mouse, middle is left + right. """) # David Scherer scene.title = "Drape" restlength = 0.02 m = 0.010 * restlengt...
27.189474
81
0.542005
53fd39f8be55af2124122647f83ca83013ed5b72
8,921
py
Python
sdc/utilities/sdc_typing_utils.py
dlee992/sdc
1ebf55c00ef38dfbd401a70b3945e352a5a38b87
[ "BSD-2-Clause" ]
540
2017-06-19T16:29:24.000Z
2019-05-21T09:30:07.000Z
sdc/utilities/sdc_typing_utils.py
dlee992/sdc
1ebf55c00ef38dfbd401a70b3945e352a5a38b87
[ "BSD-2-Clause" ]
389
2019-10-30T18:56:46.000Z
2022-03-09T08:21:36.000Z
sdc/utilities/sdc_typing_utils.py
dlee992/sdc
1ebf55c00ef38dfbd401a70b3945e352a5a38b87
[ "BSD-2-Clause" ]
36
2017-06-19T16:29:15.000Z
2019-04-26T09:22:39.000Z
# ***************************************************************************** # Copyright (c) 2020, Intel Corporation All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # Redistributions of sou...
34.311538
109
0.690954
53fde8ce197812a38b7631459a915158d4d2d39f
1,074
py
Python
Hackerrank/Contests/Project Euler/euler010.py
PROxZIMA/Competitive-Coding
ba6b365ea130b6fcaa15c5537b530ed363bab793
[ "MIT" ]
1
2021-01-10T13:29:21.000Z
2021-01-10T13:29:21.000Z
Hackerrank/Contests/Project Euler/euler010.py
PROxZIMA/Competitive-Coding
ba6b365ea130b6fcaa15c5537b530ed363bab793
[ "MIT" ]
null
null
null
Hackerrank/Contests/Project Euler/euler010.py
PROxZIMA/Competitive-Coding
ba6b365ea130b6fcaa15c5537b530ed363bab793
[ "MIT" ]
null
null
null
from math import sqrt # Naive method: Loop through N and check if every number is prime or not. If prime add to sum. Time complexity is O(n). Time of execution ~ 8sec for n = 1000000 s = set(prime(1000000)) for _ in range(int(input())): n = int(input()) print(sum(i for i in s if i <= n)) # Sieve implementa...
23.347826
161
0.515829
53fe751d15505be94879d0853534a2ee2c6e3129
3,891
py
Python
DQM/L1TMonitorClient/python/L1EmulatorErrorFlagClient_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
DQM/L1TMonitorClient/python/L1EmulatorErrorFlagClient_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
DQM/L1TMonitorClient/python/L1EmulatorErrorFlagClient_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms from DQMServices.Core.DQMEDHarvester import DQMEDHarvester l1EmulatorErrorFlagClient = DQMEDHarvester("L1EmulatorErrorFlagClient", # # for each L1 system, give: # - SystemLabel: system label # - HwValLabel: system label as used in hardware validation ...
45.776471
101
0.40992
53ff445026af64cf9c890da3e25303bb69266c4d
17,382
py
Python
codalab/model/tables.py
jzwang43/codalab-worksheets
b1d4c6cc4b72f4dfa35a15f876e2d0ce9a03d28d
[ "Apache-2.0" ]
null
null
null
codalab/model/tables.py
jzwang43/codalab-worksheets
b1d4c6cc4b72f4dfa35a15f876e2d0ce9a03d28d
[ "Apache-2.0" ]
null
null
null
codalab/model/tables.py
jzwang43/codalab-worksheets
b1d4c6cc4b72f4dfa35a15f876e2d0ce9a03d28d
[ "Apache-2.0" ]
null
null
null
""" The SQLAlchemy table objects for the CodaLab bundle system tables. """ # TODO: Replace String and Text columns with Unicode and UnicodeText as appropriate # This way, SQLAlchemy will automatically perform conversions to and from UTF-8 # encoding, or use appropriate database engine-specific data types for Unicode # ...
36.904459
136
0.676159
53ff8a47a271e5535277c6325b7ff8df26908ae6
31,403
py
Python
grpc/plugins/connection/gnmi.py
hansthienpondt/ansible-networking-collections
278c88fceac297693a31df3cb54c942284823fbd
[ "BSD-3-Clause" ]
null
null
null
grpc/plugins/connection/gnmi.py
hansthienpondt/ansible-networking-collections
278c88fceac297693a31df3cb54c942284823fbd
[ "BSD-3-Clause" ]
null
null
null
grpc/plugins/connection/gnmi.py
hansthienpondt/ansible-networking-collections
278c88fceac297693a31df3cb54c942284823fbd
[ "BSD-3-Clause" ]
null
null
null
# (c) 2020 Nokia # # Licensed under the BSD 3 Clause license # SPDX-License-Identifier: BSD-3-Clause # from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = """ --- author: - "Hans Thienpondt (@HansThienpondt)" - "Sven Wisotzky (@wisotzky)" connection: gnmi short_...
37.74399
124
0.583384
9900a4818a6a2131c9358bacda678af44a4371c0
4,056
py
Python
testcases/cloud_admin/services_up_test.py
tbeckham/eutester
1440187150ce284bd87147e71ac7f0fda194b4d9
[ "BSD-2-Clause" ]
null
null
null
testcases/cloud_admin/services_up_test.py
tbeckham/eutester
1440187150ce284bd87147e71ac7f0fda194b4d9
[ "BSD-2-Clause" ]
null
null
null
testcases/cloud_admin/services_up_test.py
tbeckham/eutester
1440187150ce284bd87147e71ac7f0fda194b4d9
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/python # Software License Agreement (BSD License) # # Copyright (c) 2009-2011, Eucalyptus Systems, Inc. # All rights reserved. # # Redistribution and use of this software in source and binary forms, with or # without modification, are permitted provided that the following conditions # are met: # # Redistri...
42.25
115
0.704389
99019a837f86e3b14c54300ab0d06ff51f85071a
173
py
Python
intValues.py
jules552/ProjetISN
20da3572b59af25a166022bc2f5b25d46add2650
[ "Unlicense" ]
null
null
null
intValues.py
jules552/ProjetISN
20da3572b59af25a166022bc2f5b25d46add2650
[ "Unlicense" ]
null
null
null
intValues.py
jules552/ProjetISN
20da3572b59af25a166022bc2f5b25d46add2650
[ "Unlicense" ]
null
null
null
MAP = 1 SPEED = 1.5 VELOCITYRESET = 6 WIDTH = 1280 HEIGHT = 720 X = WIDTH / 2 - 50 Y = HEIGHT / 2 - 50 MOUSER = 325 TICKRATES = 120 nfc = False raspberry = False
14.416667
20
0.606936
990280dc9a383a0a37cbb821de57615b46aa6a23
401
py
Python
April/Apr_25_2019/builder.py
while1618/DailyCodingProblem
187909f78281828da543439646cdf52d64c2bd0c
[ "MIT" ]
1
2019-11-17T10:56:28.000Z
2019-11-17T10:56:28.000Z
April/Apr_25_2019/builder.py
while1618/DailyCodingProblem
187909f78281828da543439646cdf52d64c2bd0c
[ "MIT" ]
null
null
null
April/Apr_25_2019/builder.py
while1618/DailyCodingProblem
187909f78281828da543439646cdf52d64c2bd0c
[ "MIT" ]
1
2021-11-02T01:00:37.000Z
2021-11-02T01:00:37.000Z
# This problem was asked by Facebook. # # A builder is looking to build a row of N houses that can be of K different colors. # He has a goal of minimizing cost while ensuring that no two neighboring houses are of the same color. # # Given an N by K matrix where the nth row and kth column represents the cost to build th...
44.555556
116
0.763092
99050763178e67f3f1f7faee3c71dfb0a78b6af1
4,521
py
Python
experiments/delaney/plot.py
pfnet-research/bayesgrad
5db613391777b20b7a367c274804f0b736991b0a
[ "MIT" ]
57
2018-06-30T01:47:19.000Z
2022-03-03T17:21:42.000Z
experiments/delaney/plot.py
pfnet-research/bayesgrad
5db613391777b20b7a367c274804f0b736991b0a
[ "MIT" ]
null
null
null
experiments/delaney/plot.py
pfnet-research/bayesgrad
5db613391777b20b7a367c274804f0b736991b0a
[ "MIT" ]
8
2018-07-07T06:18:40.000Z
2021-02-23T21:58:45.000Z
import argparse import numpy as np import os import sys import matplotlib matplotlib.use('agg') import matplotlib.pyplot as plt sys.path.append(os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))) from saliency.visualizer.smiles_visualizer import SmilesVisualizer if __name__ == '__main_...
35.320313
116
0.628622
99062a5160d0b8327745e2f7901f243a1d23d8b8
853
py
Python
public/js/tinymice/plugins/bootstrap/jquery-file-tree/connectors/jqueryFileTree.py
btybug/main.albumbugs
2343466bae7ee3d8941abc4c9684667cccc3e103
[ "MIT" ]
13
2016-05-25T16:12:49.000Z
2021-04-09T01:49:24.000Z
public/js/tinymice/plugins/bootstrap/jquery-file-tree/connectors/jqueryFileTree.py
btybug/main.albumbugs
2343466bae7ee3d8941abc4c9684667cccc3e103
[ "MIT" ]
265
2015-10-19T02:40:55.000Z
2022-03-28T07:24:49.000Z
public/js/tinymice/plugins/bootstrap/jquery-file-tree/connectors/jqueryFileTree.py
btybug/main.albumbugs
2343466bae7ee3d8941abc4c9684667cccc3e103
[ "MIT" ]
7
2016-02-08T11:41:40.000Z
2021-06-08T18:18:02.000Z
# # jQuery File Tree # Python/Django connector script # By Martin Skou # import os import urllib
32.807692
101
0.548652
990961ddde648d8a6e8bdae1002af6b0a3fe992c
1,639
py
Python
gpytorch/lazy/chol_lazy_tensor.py
harvineet/gpytorch
8aa8f1a4298ef61cfea9c4d11c75576a84ffcc3e
[ "MIT" ]
null
null
null
gpytorch/lazy/chol_lazy_tensor.py
harvineet/gpytorch
8aa8f1a4298ef61cfea9c4d11c75576a84ffcc3e
[ "MIT" ]
null
null
null
gpytorch/lazy/chol_lazy_tensor.py
harvineet/gpytorch
8aa8f1a4298ef61cfea9c4d11c75576a84ffcc3e
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import torch from .lazy_tensor import LazyTensor from .root_lazy_tensor import RootLazyTensor from .. import settings
33.44898
113
0.654667
9909642cf635ba7b413ffb8f974cd5801c613d72
5,765
py
Python
pirates/audio/AmbientManagerBase.py
ksmit799/POTCO-PS
520d38935ae8df4b452c733a82c94dddac01e275
[ "Apache-2.0" ]
8
2017-01-24T04:33:29.000Z
2020-11-01T08:36:24.000Z
pirates/audio/AmbientManagerBase.py
ksmit799/Pirates-Online-Remake
520d38935ae8df4b452c733a82c94dddac01e275
[ "Apache-2.0" ]
1
2017-03-02T18:05:17.000Z
2017-03-14T06:47:10.000Z
pirates/audio/AmbientManagerBase.py
ksmit799/Pirates-Online-Remake
520d38935ae8df4b452c733a82c94dddac01e275
[ "Apache-2.0" ]
11
2017-03-02T18:46:07.000Z
2020-11-01T08:36:26.000Z
# File: A (Python 2.4) from pandac.PandaModules import AudioSound from direct.directnotify import DirectNotifyGlobal from direct.interval.IntervalGlobal import LerpFunc, Sequence from direct.showbase.DirectObject import DirectObject
30.828877
153
0.601214
99096743e56d22ad0a53c9983c2e48c412dd1c0f
890
py
Python
test/tests/import_test.py
jmgc/pyston
9f672c1bbb75710ac17dd3d9107da05c8e9e8e8f
[ "BSD-2-Clause", "Apache-2.0" ]
1
2020-02-06T14:28:45.000Z
2020-02-06T14:28:45.000Z
test/tests/import_test.py
jmgc/pyston
9f672c1bbb75710ac17dd3d9107da05c8e9e8e8f
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
test/tests/import_test.py
jmgc/pyston
9f672c1bbb75710ac17dd3d9107da05c8e9e8e8f
[ "BSD-2-Clause", "Apache-2.0" ]
1
2020-02-06T14:29:00.000Z
2020-02-06T14:29:00.000Z
import import_target print import_target.x import import_target import_target.foo() c = import_target.C() print import_target.import_nested_target.y import_target.import_nested_target.bar() d = import_target.import_nested_target.D() print "testing importfrom:" from import_target import x as z print z import_nested...
20.227273
65
0.837079
99098c029853719101bfb8070fc7fe3e4ddbd2c3
6,801
py
Python
hexrd/ui/matrix_editor.py
HEXRD/hexrdgui
d92915463f237e0521b5830655ae73bc5bcd9f80
[ "BSD-3-Clause" ]
13
2020-02-18T00:23:02.000Z
2022-02-24T20:04:36.000Z
hexrd/ui/matrix_editor.py
HEXRD/hexrdgui
d92915463f237e0521b5830655ae73bc5bcd9f80
[ "BSD-3-Clause" ]
656
2020-01-14T02:33:40.000Z
2022-03-26T15:31:17.000Z
hexrd/ui/matrix_editor.py
HEXRD/hexrdgui
d92915463f237e0521b5830655ae73bc5bcd9f80
[ "BSD-3-Clause" ]
6
2020-01-17T15:02:53.000Z
2020-11-01T22:02:48.000Z
import numpy as np from PySide2.QtCore import QSignalBlocker, Signal from PySide2.QtWidgets import QGridLayout, QWidget from hexrd.ui.scientificspinbox import ScientificDoubleSpinBox DEFAULT_ENABLED_STYLE_SHEET = 'background-color: white' DEFAULT_DISABLED_STYLE_SHEET = 'background-color: #F0F0F0' INVALID_MATRIX_STY...
27.987654
78
0.617115
990aa6cbf16ed34f5030609c03ab43c0f0ed8c2a
674
py
Python
data/train/python/990aa6cbf16ed34f5030609c03ab43c0f0ed8c2aurls.py
harshp8l/deep-learning-lang-detection
2a54293181c1c2b1a2b840ddee4d4d80177efb33
[ "MIT" ]
84
2017-10-25T15:49:21.000Z
2021-11-28T21:25:54.000Z
data/train/python/990aa6cbf16ed34f5030609c03ab43c0f0ed8c2aurls.py
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
5
2018-03-29T11:50:46.000Z
2021-04-26T13:33:18.000Z
data/train/python/990aa6cbf16ed34f5030609c03ab43c0f0ed8c2aurls.py
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
24
2017-11-22T08:31:00.000Z
2022-03-27T01:22:31.000Z
from django.conf.urls.defaults import * urlpatterns = patterns('pytorque.views', (r'^$', 'central_dispatch_view'), (r'^browse$', 'central_dispatch_view'), (r'^monitor$', 'central_dispatch_view'), (r'^submit$', 'central_dispatch_view'), (r'^stat$', 'central_dispatch_view'), (r'^login/$', 'login...
33.7
58
0.569733
990b3873866758deed49ecf19b9f6e265d5bd2a4
3,616
py
Python
checkerpy/types/all/typedtuple.py
yedivanseven/CheckerPy
04612086d25fecdd0b20ca0a050db8620c437b0e
[ "MIT" ]
1
2018-01-12T19:20:51.000Z
2018-01-12T19:20:51.000Z
checkerpy/types/all/typedtuple.py
yedivanseven/CheckerPy
04612086d25fecdd0b20ca0a050db8620c437b0e
[ "MIT" ]
null
null
null
checkerpy/types/all/typedtuple.py
yedivanseven/CheckerPy
04612086d25fecdd0b20ca0a050db8620c437b0e
[ "MIT" ]
null
null
null
from typing import Tuple, Union, Any, Sequence from collections import deque, defaultdict, OrderedDict from ...validators.one import JustLen from ...functional.mixins import CompositionClassMixin from ..one import Just dict_keys = type({}.keys()) odict_keys = type(OrderedDict({}).keys()) dict_values = type({}.values()...
35.45098
78
0.641316
54c99a336aaeb2a2bf8fbb1530f743b492eca07a
2,019
py
Python
data/analyzer/linux/lib/common/abstracts.py
iswenhao/Panda-Sandbox
a04069d404cb4326ff459e703f14625dc45759ed
[ "MIT" ]
2
2021-01-12T15:42:05.000Z
2021-01-13T04:59:39.000Z
data/analyzer/linux/lib/common/abstracts.py
iswenhao/Panda-Sandbox
a04069d404cb4326ff459e703f14625dc45759ed
[ "MIT" ]
null
null
null
data/analyzer/linux/lib/common/abstracts.py
iswenhao/Panda-Sandbox
a04069d404cb4326ff459e703f14625dc45759ed
[ "MIT" ]
null
null
null
# Copyright (C) 2014-2016 Cuckoo Foundation. # This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org # See the file 'docs/LICENSE' for copying permission. from lib.api.process import Process from lib.exceptions.exceptions import CuckooPackageError
27.657534
102
0.583952
54ca6e875f242dc42891ee212f00bf7ca42878a5
182
py
Python
rdmo/options/apps.py
Raspeanut/rdmo
9f785010a499c372a2f8368ccf76d2ea4150adcb
[ "Apache-2.0" ]
1
2021-12-13T16:32:25.000Z
2021-12-13T16:32:25.000Z
rdmo/options/apps.py
Raspeanut/rdmo
9f785010a499c372a2f8368ccf76d2ea4150adcb
[ "Apache-2.0" ]
null
null
null
rdmo/options/apps.py
Raspeanut/rdmo
9f785010a499c372a2f8368ccf76d2ea4150adcb
[ "Apache-2.0" ]
1
2021-05-20T09:31:49.000Z
2021-05-20T09:31:49.000Z
from django.apps import AppConfig from django.utils.translation import ugettext_lazy as _
22.75
55
0.763736
54d0c3f0ae68b706ed041587d739745d17917113
380
py
Python
main/admin.py
sirodoht/mal
82295e1b6a03cd9a7ee1357ca3f5be7a26d0ffe9
[ "MIT" ]
2
2020-03-29T18:47:18.000Z
2020-05-12T07:03:36.000Z
main/admin.py
sirodoht/mal
82295e1b6a03cd9a7ee1357ca3f5be7a26d0ffe9
[ "MIT" ]
null
null
null
main/admin.py
sirodoht/mal
82295e1b6a03cd9a7ee1357ca3f5be7a26d0ffe9
[ "MIT" ]
null
null
null
from django.contrib import admin from django.contrib.auth.admin import UserAdmin from main import models admin.site.register(models.User, Admin) admin.site.register(models.Document, DocumentAdmin)
20
75
0.747368
54d0c963fcd5c7b6f9c7de58ed61e6d2623f1f5a
3,501
py
Python
cloudshell/cli/configurator.py
QualiSystems/cloudshell-cli
9a38ff37e91e7798511e860603f5a8a79b782472
[ "Apache-2.0" ]
4
2017-01-31T14:05:19.000Z
2019-04-10T16:35:44.000Z
cloudshell/cli/configurator.py
QualiSystems/cloudshell-cli
9a38ff37e91e7798511e860603f5a8a79b782472
[ "Apache-2.0" ]
89
2016-05-25T14:17:38.000Z
2022-03-17T13:09:59.000Z
cloudshell/cli/configurator.py
QualiSystems/cloudshell-cli
9a38ff37e91e7798511e860603f5a8a79b782472
[ "Apache-2.0" ]
6
2016-07-21T12:24:10.000Z
2022-02-21T06:33:18.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- import sys from abc import ABCMeta, abstractmethod from collections import defaultdict from cloudshell.cli.factory.session_factory import ( CloudInfoAccessKeySessionFactory, GenericSessionFactory, SessionFactory, ) from cloudshell.cli.service.cli import CLI from cl...
32.119266
120
0.694087
54d0e7ae83bd72293871a6d51b4fbe8e0a0e701d
142
py
Python
examples/ingenerator.py
quynhanh-ngx/pytago
de976ad8d85702ae665e97978bc4a75d282c857f
[ "MIT" ]
206
2021-06-24T16:16:13.000Z
2022-03-31T07:44:17.000Z
examples/ingenerator.py
quynhanh-ngx/pytago
de976ad8d85702ae665e97978bc4a75d282c857f
[ "MIT" ]
13
2021-06-24T17:51:36.000Z
2022-02-23T10:07:17.000Z
examples/ingenerator.py
quynhanh-ngx/pytago
de976ad8d85702ae665e97978bc4a75d282c857f
[ "MIT" ]
14
2021-06-26T02:19:45.000Z
2022-03-30T03:02:49.000Z
if __name__ == '__main__': main()
14.2
36
0.485915
54d2af6cc6ffcbe94ad442887d35faa47a8ec2cd
1,090
py
Python
source/packages/scs-pm-server/src/python-server/app.py
amittkSharma/scs_predictive_maintenance
105a218b47d81d02f7e799287bd1e9279db452ce
[ "MIT" ]
null
null
null
source/packages/scs-pm-server/src/python-server/app.py
amittkSharma/scs_predictive_maintenance
105a218b47d81d02f7e799287bd1e9279db452ce
[ "MIT" ]
1
2022-02-05T17:13:00.000Z
2022-02-05T17:13:00.000Z
source/packages/scs-pm-server/src/python-server/app.py
amittkSharma/scs_predictive_maintenance
105a218b47d81d02f7e799287bd1e9279db452ce
[ "MIT" ]
null
null
null
import json import logging import joblib import pandas as pd from flask import Flask, jsonify, request from flask_cors import CORS, cross_origin app = Flask(__name__) CORS(app) if __name__ == "__main__": app.run(debug=True) # To start the server # python3 app.py
24.222222
67
0.709174
54d3039f58743cfa00e492ea3768046369054479
4,411
py
Python
tests/test_remove_from_dependee_chain.py
ess-dmsc/nexus-constructor
ae0026c48f8f2d4d88d3ff00e45cb6591983853b
[ "BSD-2-Clause" ]
3
2019-05-31T08:38:25.000Z
2022-01-06T09:23:21.000Z
tests/test_remove_from_dependee_chain.py
ess-dmsc/nexus-constructor
ae0026c48f8f2d4d88d3ff00e45cb6591983853b
[ "BSD-2-Clause" ]
709
2019-02-06T08:23:07.000Z
2022-03-29T23:03:37.000Z
tests/test_remove_from_dependee_chain.py
ess-dmsc/nexus-constructor
ae0026c48f8f2d4d88d3ff00e45cb6591983853b
[ "BSD-2-Clause" ]
2
2020-03-06T09:58:56.000Z
2020-08-04T18:32:57.000Z
import pytest from PySide2.QtGui import QVector3D from nexus_constructor.model.component import Component from nexus_constructor.model.dataset import Dataset from nexus_constructor.model.instrument import Instrument from nexus_constructor.model.value_type import ValueTypes values = Dataset( name="scalar_value", ...
28.275641
68
0.670143
54d32f6738e6ad2c2884cf8b772cee6a6620a984
11,013
py
Python
fastmvsnet/train1.py
molspace/FastMVS_experiments
b897015d77600687ca2addf99bb6a6f0de524e5f
[ "MIT" ]
null
null
null
fastmvsnet/train1.py
molspace/FastMVS_experiments
b897015d77600687ca2addf99bb6a6f0de524e5f
[ "MIT" ]
null
null
null
fastmvsnet/train1.py
molspace/FastMVS_experiments
b897015d77600687ca2addf99bb6a6f0de524e5f
[ "MIT" ]
null
null
null
#!/usr/bin/env python import argparse import os.path as osp import logging import time import sys sys.path.insert(0, osp.dirname(__file__) + '/..') import torch import torch.nn as nn from fastmvsnet.config import load_cfg_from_file from fastmvsnet.utils.io import mkdir from fastmvsnet.utils.logger import setup_logger...
37.080808
119
0.562608
54d41bf8d53f9ade04da7c58f9daea5fe0658840
857
py
Python
modulo2/3-detectores/3.2-detector/models.py
fossabot/unifacisa-visao-computacional
14aef22a3e7fe10ee820d31ce12ad21a3cad7b0b
[ "MIT" ]
null
null
null
modulo2/3-detectores/3.2-detector/models.py
fossabot/unifacisa-visao-computacional
14aef22a3e7fe10ee820d31ce12ad21a3cad7b0b
[ "MIT" ]
null
null
null
modulo2/3-detectores/3.2-detector/models.py
fossabot/unifacisa-visao-computacional
14aef22a3e7fe10ee820d31ce12ad21a3cad7b0b
[ "MIT" ]
1
2021-02-06T00:49:32.000Z
2021-02-06T00:49:32.000Z
# Estrutura bsica para projetos de Machine Learning e Deep Learning # Por Adriano Santos. from torch import nn, relu import torch.nn.functional as F import torch.optim as optim import torch from torchvision import models
29.551724
86
0.655776
54d5248eff89e3f435c1da7e63250cb5c736a60a
3,231
py
Python
python/setup.py
sbrodeur/evert
c7005ba29576145ab650144f9b9230eaf7bec460
[ "BSD-3-Clause" ]
28
2017-10-04T13:58:43.000Z
2021-11-06T10:46:51.000Z
python/setup.py
sbrodeur/evert
c7005ba29576145ab650144f9b9230eaf7bec460
[ "BSD-3-Clause" ]
7
2017-12-04T17:17:55.000Z
2021-07-29T08:58:26.000Z
python/setup.py
sbrodeur/evert
c7005ba29576145ab650144f9b9230eaf7bec460
[ "BSD-3-Clause" ]
10
2017-11-07T14:51:08.000Z
2019-06-05T04:17:44.000Z
#!/usr/bin/env python # Copyright (c) 2017, Simon Brodeur # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright # notice, th...
46.826087
89
0.556484
54d6049e6360802df5527ba35f15e6ff291748e2
530
py
Python
somegame/fps_osd.py
kodo-pp/somegame-but-not-that-one
6252d34b84fe7c83ada9e699df17688c50dd7596
[ "MIT" ]
null
null
null
somegame/fps_osd.py
kodo-pp/somegame-but-not-that-one
6252d34b84fe7c83ada9e699df17688c50dd7596
[ "MIT" ]
null
null
null
somegame/fps_osd.py
kodo-pp/somegame-but-not-that-one
6252d34b84fe7c83ada9e699df17688c50dd7596
[ "MIT" ]
null
null
null
import pygame from loguru import logger from somegame.osd import OSD
29.444444
85
0.635849
54d6ce148b09071a1e33198868f6c84a03813ea1
11,846
py
Python
python/chronos/test/bigdl/chronos/data/experimental/test_xshardstsdataset.py
sgwhat/BigDL
25b402666fbb26b0bc18fc8100e9a00469844778
[ "Apache-2.0" ]
null
null
null
python/chronos/test/bigdl/chronos/data/experimental/test_xshardstsdataset.py
sgwhat/BigDL
25b402666fbb26b0bc18fc8100e9a00469844778
[ "Apache-2.0" ]
null
null
null
python/chronos/test/bigdl/chronos/data/experimental/test_xshardstsdataset.py
sgwhat/BigDL
25b402666fbb26b0bc18fc8100e9a00469844778
[ "Apache-2.0" ]
null
null
null
# # Copyright 2016 The BigDL 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 ...
46.454902
100
0.593534
54d7680f93fc7f5f7a46d60f37723337c7dce6f3
2,603
py
Python
zoom_functions.py
WXSD-Sales/ZoomToWebex
16cc663620e2ef2904b0e2857d709aee96b78eb7
[ "MIT" ]
1
2021-10-21T01:36:33.000Z
2021-10-21T01:36:33.000Z
zoom_functions.py
WXSD-Sales/integration-samples
2f18be740329f3c35c78c268a6d4544cae5d313e
[ "MIT" ]
null
null
null
zoom_functions.py
WXSD-Sales/integration-samples
2f18be740329f3c35c78c268a6d4544cae5d313e
[ "MIT" ]
null
null
null
import json import tornado.gen import traceback from base64 import b64encode from tornado.httpclient import AsyncHTTPClient, HTTPRequest, HTTPError from settings import Settings from mongo_db_controller import ZoomUserDB
38.850746
142
0.661929
54d83fe60a2207f45c149a5e0cac230756ba7376
1,484
py
Python
crypten/mpc/__init__.py
gmuraru/CrypTen
e39a7aaf65436706321fe4e3fc055308c78b6b92
[ "MIT" ]
null
null
null
crypten/mpc/__init__.py
gmuraru/CrypTen
e39a7aaf65436706321fe4e3fc055308c78b6b92
[ "MIT" ]
null
null
null
crypten/mpc/__init__.py
gmuraru/CrypTen
e39a7aaf65436706321fe4e3fc055308c78b6b92
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import os from crypten.mpc import primitives # noqa: F401 from crypten.mpc import provider # noqa: F40 from .conte...
28.538462
81
0.768194
54d943f36b7e93ff9b844e618cfa99e6c35ca662
2,011
py
Python
contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/pyflakes.py
lahosken/pants
1b0340987c9b2eab9411416803c75b80736716e4
[ "Apache-2.0" ]
null
null
null
contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/pyflakes.py
lahosken/pants
1b0340987c9b2eab9411416803c75b80736716e4
[ "Apache-2.0" ]
null
null
null
contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/pyflakes.py
lahosken/pants
1b0340987c9b2eab9411416803c75b80736716e4
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import (absolute_import, division, generators, nested_scopes, print_function, unicode_literals, with_statement) from pyflakes.checke...
35.910714
93
0.721532
54d95a6a219b638ddca6d85bef7b830f95b22592
2,426
py
Python
pharmrep/forum/models.py
boyombo/pharmrep
2293ceb235dec949c58fa40d1ee43fce172e0ceb
[ "MIT" ]
null
null
null
pharmrep/forum/models.py
boyombo/pharmrep
2293ceb235dec949c58fa40d1ee43fce172e0ceb
[ "MIT" ]
null
null
null
pharmrep/forum/models.py
boyombo/pharmrep
2293ceb235dec949c58fa40d1ee43fce172e0ceb
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import User from django.contrib import admin from django.utils.translation import ugettext_lazy as _
32.783784
100
0.659934