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
f1f067f028748782da40d03c616d1804024a0dea
3,271
py
Python
tests/models/classifiers/test_logistic.py
harmsm/epistasis
741b25b3e28015aeeba8d4efc94af1e1d811cd63
[ "Unlicense" ]
null
null
null
tests/models/classifiers/test_logistic.py
harmsm/epistasis
741b25b3e28015aeeba8d4efc94af1e1d811cd63
[ "Unlicense" ]
null
null
null
tests/models/classifiers/test_logistic.py
harmsm/epistasis
741b25b3e28015aeeba8d4efc94af1e1d811cd63
[ "Unlicense" ]
2
2020-04-02T00:58:24.000Z
2021-11-16T13:30:30.000Z
import pytest # External imports import numpy as np from gpmap import GenotypePhenotypeMap # Module to test import epistasis from epistasis.models.classifiers import * THRESHOLD = 0.2
27.258333
60
0.61174
f1f07ae2628711dd9b1d256f9780dc722c6f8e53
381
py
Python
backend/notifications/admin.py
solitariaa/CMPUT404-project-socialdistribution
f9e23a10e209f8bf7ed062e105f44038751f7c74
[ "W3C-20150513" ]
1
2022-03-01T03:03:40.000Z
2022-03-01T03:03:40.000Z
backend/notifications/admin.py
solitariaa/CMPUT404-project-socialdistribution
f9e23a10e209f8bf7ed062e105f44038751f7c74
[ "W3C-20150513" ]
51
2022-02-09T06:18:27.000Z
2022-03-28T19:01:54.000Z
backend/notifications/admin.py
solitariaa/CMPUT404-project-socialdistribution
f9e23a10e209f8bf7ed062e105f44038751f7c74
[ "W3C-20150513" ]
2
2022-03-13T20:58:10.000Z
2022-03-19T06:29:56.000Z
from django.contrib import admin from .models import Notification admin.site.register(Notification, NotificationAdmin)
23.8125
63
0.727034
f1f2709a9b0d54f4549f4f5b2c964cce095a32f9
3,655
py
Python
example/experiments/01_experiment.py
dzwiedziu-nkg/credo-classify-framework
45417b505b4f4b20a7248f3487ca57a3fd49ccee
[ "MIT" ]
null
null
null
example/experiments/01_experiment.py
dzwiedziu-nkg/credo-classify-framework
45417b505b4f4b20a7248f3487ca57a3fd49ccee
[ "MIT" ]
null
null
null
example/experiments/01_experiment.py
dzwiedziu-nkg/credo-classify-framework
45417b505b4f4b20a7248f3487ca57a3fd49ccee
[ "MIT" ]
3
2020-06-19T15:41:19.000Z
2020-06-29T12:47:05.000Z
import bz2 import time import urllib.request import io from typing import List, Tuple from credo_cf import load_json_from_stream, progress_and_process_image, group_by_device_id, group_by_resolution, too_often, near_hot_pixel2, \ too_bright from credo_cf import xor_preprocess from credo_cf.commons.utils import get_...
31.782609
142
0.642681
f1f2862dcb680020685252fc0444e7b7a36ac2b8
427
py
Python
apptweak/ios.py
gudhati/apptweak-api-python-library
f4a7f7e34548d6d216f3a297d63944c7adbf9667
[ "MIT" ]
5
2019-05-21T14:44:57.000Z
2020-10-30T04:08:13.000Z
apptweak/ios.py
gudhati/apptweak-api-python-library
f4a7f7e34548d6d216f3a297d63944c7adbf9667
[ "MIT" ]
1
2020-08-28T02:42:37.000Z
2020-08-28T07:52:54.000Z
apptweak/ios.py
gudhati/apptweak-api-python-library
f4a7f7e34548d6d216f3a297d63944c7adbf9667
[ "MIT" ]
5
2019-07-18T13:38:01.000Z
2021-06-09T04:12:35.000Z
from apptweak.plateform import *
26.6875
81
0.697892
f1f2f70605379c3a09598bf2b8739bb4f47caa1b
3,944
py
Python
30-Days-Of-Python/30-Days-Of-Python/19_file_handling.py
zhaobingwang/python-samples
d59f84d2b967cc793cb9b8999f8cdef349fd6fd5
[ "MIT" ]
null
null
null
30-Days-Of-Python/30-Days-Of-Python/19_file_handling.py
zhaobingwang/python-samples
d59f84d2b967cc793cb9b8999f8cdef349fd6fd5
[ "MIT" ]
null
null
null
30-Days-Of-Python/30-Days-Of-Python/19_file_handling.py
zhaobingwang/python-samples
d59f84d2b967cc793cb9b8999f8cdef349fd6fd5
[ "MIT" ]
null
null
null
print('---------- Opening Files for Reading ----------') f = open('./files/reading_file_example.txt') print(f) # <_io.TextIOWrapper name='./files/reading_file_example.txt' mode='r' encoding='cp936'> print('\t---------- read() ----------') # read(): read the whole text as string. If we want to limit the number of char...
31.806452
113
0.606491
f1f6211abde32ba71ccaac35e7c39eb9935dfa7c
2,491
py
Python
data/grady-memorial-hospital/parse.py
Afellman/hospital-chargemaster
1b87bc64d95d97c0538be7633f9e469e5db624e2
[ "MIT" ]
34
2019-01-18T00:15:58.000Z
2022-03-26T15:01:08.000Z
data/grady-memorial-hospital/parse.py
wsheffel/hospital-chargemaster
b3473c798fd2f343f7f02c1e32496f9eea9fa94d
[ "MIT" ]
8
2019-01-16T22:06:11.000Z
2019-02-25T00:59:25.000Z
data/grady-memorial-hospital/parse.py
wsheffel/hospital-chargemaster
b3473c798fd2f343f7f02c1e32496f9eea9fa94d
[ "MIT" ]
10
2019-02-20T14:58:16.000Z
2021-11-22T21:57:04.000Z
#!/usr/bin/env python import os from glob import glob import json import pandas import datetime import sys here = os.path.dirname(os.path.abspath(__file__)) folder = os.path.basename(here) latest = '%s/latest' % here year = datetime.datetime.today().year output_data = os.path.join(here, 'data-latest.tsv') output_year...
29.654762
75
0.583701
f1f62ac7868b351e283f53daaf44f5e2562dfc27
10,476
py
Python
DeterministicParticleFlowControl/tests/test_pytorch_kernel.py
dimitra-maoutsa/DeterministicParticleFlowControl
106bc9b01d7a4888e4ded18c5fb5a989fe672386
[ "MIT" ]
6
2021-12-13T14:30:31.000Z
2022-01-24T07:54:57.000Z
DeterministicParticleFlowControl/tests/test_pytorch_kernel.py
dimitra-maoutsa/DeterministicParticleFlowControl
106bc9b01d7a4888e4ded18c5fb5a989fe672386
[ "MIT" ]
10
2021-12-18T23:04:53.000Z
2022-02-05T02:06:34.000Z
DeterministicParticleFlowControl/tests/test_pytorch_kernel.py
dimitra-maoutsa/DeterministicParticleFlowControl
106bc9b01d7a4888e4ded18c5fb5a989fe672386
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Mon Jan 10 07:20:39 2022 @author: maout """ import numpy as np from scipy.spatial.distance import cdist import torch #from score_function_estimators import my_cdist from typing import Union from torch.autograd import grad #%% select available device #%% #%% numpy versions of...
37.683453
180
0.612447
f1f6905a9916f479816181eeb443cb6b650cc61b
11,075
py
Python
components.py
zachgk/tfcomponents
6c33349ab13549debfc9b347df795c82e38cfa73
[ "MIT" ]
null
null
null
components.py
zachgk/tfcomponents
6c33349ab13549debfc9b347df795c82e38cfa73
[ "MIT" ]
null
null
null
components.py
zachgk/tfcomponents
6c33349ab13549debfc9b347df795c82e38cfa73
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import division, print_function, absolute_import import tensorflow as tf import tflearn from tflearn import variables as vs from tflearn import activations from tflearn import initializations from tflearn import losses from tflearn import utils componentInherit = { 'global...
34.182099
116
0.557562
f1f9c0eee8a8c52481a3d1792850e6310a0a8163
1,984
py
Python
tests/unit/warnings_test.py
gamechanger/dusty
dd9778e3a4f0c623209e53e98aa9dc1fe76fc309
[ "MIT" ]
421
2015-06-02T16:29:59.000Z
2021-06-03T18:44:42.000Z
tests/unit/warnings_test.py
gamechanger/dusty
dd9778e3a4f0c623209e53e98aa9dc1fe76fc309
[ "MIT" ]
404
2015-06-02T20:23:42.000Z
2019-08-21T16:59:41.000Z
tests/unit/warnings_test.py
gamechanger/dusty
dd9778e3a4f0c623209e53e98aa9dc1fe76fc309
[ "MIT" ]
16
2015-06-16T17:21:02.000Z
2020-03-27T02:27:09.000Z
from ..testcases import DustyTestCase from dusty.warnings import Warnings
45.090909
229
0.689516
f1fa3f6469623ef44f7b253d9c5da8307b330081
4,655
py
Python
dndice.py
Ar4093/PythonUtils
fd2d1e0eab51c40cd75b42a513f6e76ea8f76bb3
[ "MIT" ]
null
null
null
dndice.py
Ar4093/PythonUtils
fd2d1e0eab51c40cd75b42a513f6e76ea8f76bb3
[ "MIT" ]
null
null
null
dndice.py
Ar4093/PythonUtils
fd2d1e0eab51c40cd75b42a513f6e76ea8f76bb3
[ "MIT" ]
null
null
null
from random import randint import re # Supported formats: # [A]dX[(L|H|K)n][.Y1[.Y2[...]]] # A - number of dice # X - number of sides of dice # . - operation: allowed are + - * x / # Ln/Hn/Kn - discard the Lowest n dice or Keep the Highest n dice. - will only apply the first of these, in order LHK # Y1,Y2,......
34.738806
140
0.478195
f1fbbda465699c148d64aca8b6b9736f618761e2
2,471
py
Python
cfg/configure_model.py
dadelani/sentiment-discovery
0cbfc5f6345dacbf52f1f806a9e136a61ca35cf8
[ "BSD-3-Clause" ]
2
2019-04-24T08:23:54.000Z
2020-06-24T10:25:34.000Z
cfg/configure_model.py
mikekestemont/sentiment-discovery
84bf39846ddf6b099d99318214a013269b5b0e61
[ "BSD-3-Clause" ]
null
null
null
cfg/configure_model.py
mikekestemont/sentiment-discovery
84bf39846ddf6b099d99318214a013269b5b0e61
[ "BSD-3-Clause" ]
1
2019-03-23T08:07:33.000Z
2019-03-23T08:07:33.000Z
import os from sentiment_discovery.reparameterization import remove_weight_norm from sentiment_discovery.model import make_model def configure_model(parser): """add cmdline args for configuring models""" parser.add_argument('-load_model', default='', help="""a specific checkpoint file to load from exp...
39.854839
93
0.718737
f1fcac439aa33bb2b7ada9c60628d61b4b1afd6c
4,309
py
Python
tests/backends/console/test_env.py
j5api/j5
d3158cfd3d0d19ed33aba0c5c2c1f17a38fe12c7
[ "MIT" ]
10
2019-01-19T13:09:37.000Z
2021-06-18T13:40:10.000Z
tests/backends/console/test_env.py
j5api/j5
d3158cfd3d0d19ed33aba0c5c2c1f17a38fe12c7
[ "MIT" ]
681
2019-01-22T18:12:23.000Z
2022-03-25T14:14:31.000Z
tests/backends/console/test_env.py
j5api/j5
d3158cfd3d0d19ed33aba0c5c2c1f17a38fe12c7
[ "MIT" ]
8
2019-02-22T21:45:47.000Z
2021-11-17T19:43:33.000Z
"""Tests for the ConsoleEnvironment and Console helper.""" from j5.backends.console import Console def test_console_instantiation() -> None: """Test that we can create a console.""" console = Console("MockConsole") assert type(console) is Console assert console._descriptor == "MockConsole" def tes...
31.918519
89
0.598283
f1ff198ad462185fb2910c252e87000aebf824f5
6,351
py
Python
backend/modules/cache.py
fheyen/ClaVis
528ca85dd05606d39761b5a00d755500cf1cd2f6
[ "MIT" ]
2
2021-01-11T20:09:32.000Z
2021-05-14T14:52:48.000Z
backend/modules/cache.py
fheyen/ClaVis
528ca85dd05606d39761b5a00d755500cf1cd2f6
[ "MIT" ]
null
null
null
backend/modules/cache.py
fheyen/ClaVis
528ca85dd05606d39761b5a00d755500cf1cd2f6
[ "MIT" ]
null
null
null
from os import listdir, remove, makedirs from os.path import isfile, join, exists import shutil import joblib from termcolor import cprint import json from pathlib import Path _cache_path = None _log_actions = True def init(cache_path, log_actions=True): """ Initializes the cache. Keyword Arguments: ...
26.352697
140
0.597859
7b00a8aae5f5c462bd8742df1743968940cbb675
8,123
py
Python
training/data/sampler.py
jpjuvo/PANDA-challenge-raehmae
5748cd23f18e2dd36d56918dcee495b822d2a5cd
[ "MIT" ]
null
null
null
training/data/sampler.py
jpjuvo/PANDA-challenge-raehmae
5748cd23f18e2dd36d56918dcee495b822d2a5cd
[ "MIT" ]
null
null
null
training/data/sampler.py
jpjuvo/PANDA-challenge-raehmae
5748cd23f18e2dd36d56918dcee495b822d2a5cd
[ "MIT" ]
1
2021-04-20T04:37:47.000Z
2021-04-20T04:37:47.000Z
import torch import os import numpy as np import random import pandas as pd from sklearn.model_selection import StratifiedKFold from data.tileimages import * from data.multitask import * import fastai from fastai.vision import *
40.819095
111
0.519266
7b0127f18652a5554693ea5f44876da7eca25e09
281
py
Python
ABC/194/a.py
fumiyanll23/AtCoder
362ca9fcacb5415c1458bc8dee5326ba2cc70b65
[ "MIT" ]
null
null
null
ABC/194/a.py
fumiyanll23/AtCoder
362ca9fcacb5415c1458bc8dee5326ba2cc70b65
[ "MIT" ]
null
null
null
ABC/194/a.py
fumiyanll23/AtCoder
362ca9fcacb5415c1458bc8dee5326ba2cc70b65
[ "MIT" ]
null
null
null
if __name__ == '__main__': main()
14.05
36
0.441281
7b0281efeed9226063f79960fa17b68b47603613
2,578
py
Python
test/graph/test_from_ase.py
yhtang/GraphDot
3d5ed4fbb2f6912052baa42780b436da76979691
[ "BSD-3-Clause-LBNL" ]
9
2020-02-14T18:07:39.000Z
2021-12-15T12:07:31.000Z
test/graph/test_from_ase.py
yhtang/graphdot
3d5ed4fbb2f6912052baa42780b436da76979691
[ "BSD-3-Clause-LBNL" ]
3
2020-03-19T19:07:26.000Z
2021-02-24T06:08:51.000Z
test/graph/test_from_ase.py
yhtang/graphdot
3d5ed4fbb2f6912052baa42780b436da76979691
[ "BSD-3-Clause-LBNL" ]
3
2019-10-17T06:11:18.000Z
2021-05-07T11:56:33.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import pytest from ase.build import molecule from ase.lattice.cubic import SimpleCubic from graphdot.graph import Graph from graphdot.graph.adjacency import AtomicAdjacency adjacencies = [ AtomicAdjacency(shape='tent1', length_scale=1.0, zoom=1), AtomicAdjacency(s...
38.477612
79
0.660978
7b02e549c87583bcf554b71f024544d0bb0dac0a
2,735
py
Python
FEM/src/FemIo.py
BartSiwek/Neurotransmitter2D
200c1b7e74de0786b1bb52d456e227f9d64cebc6
[ "MIT" ]
null
null
null
FEM/src/FemIo.py
BartSiwek/Neurotransmitter2D
200c1b7e74de0786b1bb52d456e227f9d64cebc6
[ "MIT" ]
null
null
null
FEM/src/FemIo.py
BartSiwek/Neurotransmitter2D
200c1b7e74de0786b1bb52d456e227f9d64cebc6
[ "MIT" ]
null
null
null
import string import scipy import PslgIo, ElementAwarePslg
27.35
102
0.571115
7b04376d12aae979563b6b36b34ff0b76d2dcff0
3,466
py
Python
dianna/__init__.py
cffbots/dianna
21e272dce2862747a5109341b622798f667d9248
[ "Apache-2.0" ]
null
null
null
dianna/__init__.py
cffbots/dianna
21e272dce2862747a5109341b622798f667d9248
[ "Apache-2.0" ]
null
null
null
dianna/__init__.py
cffbots/dianna
21e272dce2862747a5109341b622798f667d9248
[ "Apache-2.0" ]
null
null
null
""" DIANNA: Deep Insight And Neural Network Analysis. Modern scientific challenges are often tackled with (Deep) Neural Networks (DNN). Despite their high predictive accuracy, DNNs lack inherent explainability. Many DNN users, especially scientists, do not harvest DNNs power because of lack of trust and understanding ...
42.790123
99
0.742643
7b0494a9e41efc09a0891a5e4ffe2bfd4e84d0d3
2,925
py
Python
printer/gpio.py
3DRPP/printer
7826c7c82a5331d916d8ea038bd3a44aff6e35b5
[ "MIT" ]
null
null
null
printer/gpio.py
3DRPP/printer
7826c7c82a5331d916d8ea038bd3a44aff6e35b5
[ "MIT" ]
null
null
null
printer/gpio.py
3DRPP/printer
7826c7c82a5331d916d8ea038bd3a44aff6e35b5
[ "MIT" ]
null
null
null
try: import RPi.GPIO as GPIO except RuntimeError: print("Error importing RPi.GPIO! This is probably because you need " "superuser privileges. You can achieve this by using 'sudo' to run " "your script") gpios = [7, 8, 10, 11, 12, 13, 15, 16, 18, 19, 21, 22, 23, 24, 26, 29, 31, 32...
29.545455
79
0.523419
7b04e005435865593cbdccc3f6d9e91235157df4
1,395
py
Python
simple_joint_subscriber/scripts/joint_subscriber.py
itk-thrivaldi/thrivaldi_examples
7c00ad4e1b4fa4b0f27c88e8c0147f8105b042fd
[ "Apache-2.0" ]
null
null
null
simple_joint_subscriber/scripts/joint_subscriber.py
itk-thrivaldi/thrivaldi_examples
7c00ad4e1b4fa4b0f27c88e8c0147f8105b042fd
[ "Apache-2.0" ]
1
2017-12-14T14:04:24.000Z
2017-12-14T16:58:05.000Z
simple_joint_subscriber/scripts/joint_subscriber.py
itk-thrivaldi/thrivaldi_examples
7c00ad4e1b4fa4b0f27c88e8c0147f8105b042fd
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import rospy # For all things ros with python # JointState is defined in sensor_msgs.msg # If you know a message but not where it is # call rosmsg info MSGNAME from the terminal from sensor_msgs.msg import JointState # This tutorial takes heavily from # http://wiki.ros.org/ROS/Tutorials/WritingP...
34.875
79
0.7319
7b0521366a87b5722240ee07005b1b01f21cf17a
1,291
py
Python
src/lab4_cam/src/sawyercam.py
citronella3alain/baxterDraw
c050254e8b4b8d4f5087e8743a34289844138e0c
[ "MIT" ]
null
null
null
src/lab4_cam/src/sawyercam.py
citronella3alain/baxterDraw
c050254e8b4b8d4f5087e8743a34289844138e0c
[ "MIT" ]
null
null
null
src/lab4_cam/src/sawyercam.py
citronella3alain/baxterDraw
c050254e8b4b8d4f5087e8743a34289844138e0c
[ "MIT" ]
null
null
null
#!/usr/bin/env python # Aran Sena 2018 # # Code example only, provided without guarantees # # Example for how to get both cameras streaming together # #### import rospy from intera_core_msgs.srv._IOComponentCommandSrv import IOComponentCommandSrv from intera_core_msgs.msg._IOComponentCommand import IOCompon...
33.102564
110
0.655306
7b061600468274d3cebd155c75fff8f1303d7256
12,279
py
Python
citydata/crime.py
JackKirbyCook82/neighborhood
3805fa11890e121ffadcaaf8f02323434cb68519
[ "MIT" ]
null
null
null
citydata/crime.py
JackKirbyCook82/neighborhood
3805fa11890e121ffadcaaf8f02323434cb68519
[ "MIT" ]
null
null
null
citydata/crime.py
JackKirbyCook82/neighborhood
3805fa11890e121ffadcaaf8f02323434cb68519
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Sun May 2 2021 @name: CityData CensusTract Download Application @author: Jack Kirby Cook """ import sys import os.path import warnings import logging import regex as re MAIN_DIR = os.path.dirname(os.path.realpath(__file__)) MODULE_DIR = os.path.abspath(os.path.join(MAIN_DIR, ...
47.964844
197
0.710807
7b072a958ac36c49b32339e29f7e4de28848fadd
3,644
py
Python
apportionpy/experimental/boundary.py
btror/apportionpy
5b70dbeee4b197e41794bed061ea4a11f128d1c8
[ "MIT" ]
null
null
null
apportionpy/experimental/boundary.py
btror/apportionpy
5b70dbeee4b197e41794bed061ea4a11f128d1c8
[ "MIT" ]
null
null
null
apportionpy/experimental/boundary.py
btror/apportionpy
5b70dbeee4b197e41794bed061ea4a11f128d1c8
[ "MIT" ]
null
null
null
import math def estimate_lowest_divisor(method, divisor, populations, seats): """ Calculates the estimated lowest possible divisor. :param method: The method used. :type method: str :param divisor: A working divisor in calculating fair shares. :type divisor: float :param populations: Th...
30.881356
72
0.611416
7b0bcb46e200df6f78d9fe78eb07f700564fadd3
4,084
py
Python
csv_to_table.py
canary-for-cognition/multimodal-ml-framework
379963e2815165b28a28c983d32dd17656fba9a9
[ "MIT" ]
1
2021-11-10T10:28:01.000Z
2021-11-10T10:28:01.000Z
csv_to_table.py
canary-for-cognition/multimodal-ml-framework
379963e2815165b28a28c983d32dd17656fba9a9
[ "MIT" ]
null
null
null
csv_to_table.py
canary-for-cognition/multimodal-ml-framework
379963e2815165b28a28c983d32dd17656fba9a9
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import numpy as np # import pylatex from pylatex import Document, Section, Tabular, Math, Axis, Subsection import pandas as pd import sys import os main()
51.696203
131
0.578355
7b0d0466817dc17050d1085421ef9276feb2fb86
2,803
py
Python
torch_audioset/vggish/model.py
Guillaume-oso/torch_audioset
e8852c53becef811784754a2de9c4617d8db2156
[ "MIT" ]
26
2020-03-25T21:19:33.000Z
2022-02-01T15:14:29.000Z
torch_audioset/vggish/model.py
Guillaume-oso/torch_audioset
e8852c53becef811784754a2de9c4617d8db2156
[ "MIT" ]
7
2020-05-31T07:57:05.000Z
2021-12-23T10:16:55.000Z
torch_audioset/vggish/model.py
Guillaume-oso/torch_audioset
e8852c53becef811784754a2de9c4617d8db2156
[ "MIT" ]
8
2020-10-27T16:22:55.000Z
2022-03-28T22:48:07.000Z
import os.path as osp import yaml import torch.nn as nn from torch import hub __all__ = ['get_vggish', 'vggish_category_metadata'] model_urls = { 'vggish': "https://github.com/w-hc/vggish/releases/download/v0.1/vggish_orig.pth", 'vggish_with_classifier': "https://github.com/w-hc/vggish/releases/download/v0.1...
29.197917
112
0.576882
7b0d272861a3704f10e9a92801a2d879819c1a06
12,584
py
Python
common/cuchemcommon/data/helper/chembldata.py
dorukozturk/cheminformatics
c0fa66dd4f4e6650d7286ae2be533c66b7a2b270
[ "Apache-2.0" ]
null
null
null
common/cuchemcommon/data/helper/chembldata.py
dorukozturk/cheminformatics
c0fa66dd4f4e6650d7286ae2be533c66b7a2b270
[ "Apache-2.0" ]
null
null
null
common/cuchemcommon/data/helper/chembldata.py
dorukozturk/cheminformatics
c0fa66dd4f4e6650d7286ae2be533c66b7a2b270
[ "Apache-2.0" ]
null
null
null
import os import warnings import pandas import sqlite3 import logging from typing import List from dask import delayed, dataframe from contextlib import closing from cuchemcommon.utils.singleton import Singleton from cuchemcommon.context import Context warnings.filterwarnings("ignore", message=r"deprecated", categor...
39.202492
101
0.565559
7b0dd834a233f033a4537593bd1c545e5c4ea02a
769
py
Python
tests/app/users/migrations/0001_initial.py
silverlogic/djangorestframework-timed-auth-token
0884559c6b5e4021d7a8830ec5dd60f2799d0ee4
[ "MIT" ]
34
2015-05-22T00:02:49.000Z
2021-12-29T11:42:31.000Z
tests/app/users/migrations/0001_initial.py
silverlogic/djangorestframework-timed-auth-token
0884559c6b5e4021d7a8830ec5dd60f2799d0ee4
[ "MIT" ]
6
2015-05-22T00:04:50.000Z
2021-06-10T17:49:38.000Z
tests/app/users/migrations/0001_initial.py
silverlogic/djangorestframework-timed-auth-token
0884559c6b5e4021d7a8830ec5dd60f2799d0ee4
[ "MIT" ]
6
2015-05-25T17:44:50.000Z
2020-12-05T14:48:53.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations
29.576923
114
0.574772
7b0e27fa7adc3752fa6c840a8e64f5d20d45801c
370
py
Python
PyObjCTest/test_nsmachport.py
Khan/pyobjc-framework-Cocoa
f8b015ea2a72d8d78be6084fb12925c4785b8f1f
[ "MIT" ]
132
2015-01-01T10:02:42.000Z
2022-03-09T12:51:01.000Z
mac/pyobjc-framework-Cocoa/PyObjCTest/test_nsmachport.py
mba811/music-player
7998986b34cfda2244ef622adefb839331b81a81
[ "BSD-2-Clause" ]
6
2015-01-06T08:23:19.000Z
2019-03-14T12:22:06.000Z
mac/pyobjc-framework-Cocoa/PyObjCTest/test_nsmachport.py
mba811/music-player
7998986b34cfda2244ef622adefb839331b81a81
[ "BSD-2-Clause" ]
27
2015-02-23T11:51:43.000Z
2022-03-07T02:34:18.000Z
from PyObjCTools.TestSupport import * import objc import Foundation if hasattr(Foundation, 'NSMachPort'): if __name__ == '__main__': main( )
23.125
47
0.632432
7b13d630c689e01a72a9bc979b93bb26fb000d70
7,125
py
Python
harmony.py
cyrushadavi/home_automation
dcf1dcc688b5021a0c16e68e372e38a28d819f3d
[ "MIT" ]
null
null
null
harmony.py
cyrushadavi/home_automation
dcf1dcc688b5021a0c16e68e372e38a28d819f3d
[ "MIT" ]
null
null
null
harmony.py
cyrushadavi/home_automation
dcf1dcc688b5021a0c16e68e372e38a28d819f3d
[ "MIT" ]
null
null
null
#!/usr/bin/env python2 """Command line utility for querying the Logitech Harmony.""" import argparse import logging import json import sys import auth import client as harmony_client LOGGER = logging.getLogger(__name__) def login_to_logitech(args): """Logs in to the Logitech service. Args: args: ar...
29.442149
107
0.663719
7b15f666dd8b6c5e2030f1efa5c2aa16458ac78c
14,567
py
Python
workshop/static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/WebAppLambda/deploy_web_lambda.py
sykang808/aws-well-architected-labs-kor
da021a9f7501088f871b08560673deac4488eef4
[ "Apache-2.0" ]
null
null
null
workshop/static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/WebAppLambda/deploy_web_lambda.py
sykang808/aws-well-architected-labs-kor
da021a9f7501088f871b08560673deac4488eef4
[ "Apache-2.0" ]
null
null
null
workshop/static/Reliability/300_Testing_for_Resiliency_of_EC2_RDS_and_S3/Code/Python/WebAppLambda/deploy_web_lambda.py
sykang808/aws-well-architected-labs-kor
da021a9f7501088f871b08560673deac4488eef4
[ "Apache-2.0" ]
null
null
null
# # MIT No Attribution # # Permission is hereby granted, free of charge, to any person obtaining a copy of this # software and associated documentation files (the "Software"), to deal in the Software # without restriction, including without limitation the rights to use, copy, modify, # merge, publish, distribute, subli...
39.800546
139
0.674126
7b16d187420b13711f7fff210fdd319f14807224
483
py
Python
URI/1024.py
leilaapsilva/BabySteps
32b1e6439fa3be49c93a3cae0b4fbd0f03a713be
[ "MIT" ]
37
2020-10-01T03:50:42.000Z
2021-11-23T00:49:51.000Z
URI/1024.py
leilaapsilva/BabySteps
32b1e6439fa3be49c93a3cae0b4fbd0f03a713be
[ "MIT" ]
27
2020-10-03T23:16:13.000Z
2021-11-19T19:53:01.000Z
URI/1024.py
leilaapsilva/BabySteps
32b1e6439fa3be49c93a3cae0b4fbd0f03a713be
[ "MIT" ]
97
2020-10-01T11:39:01.000Z
2021-11-01T00:30:53.000Z
alpha = "abcdefghijklmnopqrstuvwxyz" n = int(raw_input()) for i in xrange(n): word = raw_input() aux_word = "" first_part = "" second_part = "" for j in xrange(len(word)-1, -1, -1): if(word[j].lower() in alpha): aux_word += chr(ord(word[j]) + 3) else: aux_word += word[j] middle = (len(word)/2) firs...
21
51
0.6294
7b17163e98fca69e6d9d2a2ecd44f5b5e78cfd5c
6,095
py
Python
Coursework 2/nn_preprocess.py
martinferianc/Pattern-Recognition-EIE4
412d437582b236dadd81c0621935f6b3bd5dbad5
[ "MIT" ]
1
2019-08-20T11:17:56.000Z
2019-08-20T11:17:56.000Z
Coursework 2/nn_preprocess.py
martinferianc/Pattern-Recognition-EIE4
412d437582b236dadd81c0621935f6b3bd5dbad5
[ "MIT" ]
null
null
null
Coursework 2/nn_preprocess.py
martinferianc/Pattern-Recognition-EIE4
412d437582b236dadd81c0621935f6b3bd5dbad5
[ "MIT" ]
null
null
null
import numpy as np # For file manipulation and locating import os # For the progress bar from tqdm import tqdm # To create a deep copy of the data import copy # To load the pre-processed and split data from pre_process import load_data as ld # For normalization of the samples from sklearn.preprocessing import normalize...
33.674033
164
0.642986
7b180f7965af3a7127ae86b77bf7384badafe436
776
py
Python
src/main.py
M10han/image-scores
509e2e9f9d3a484631a97a2e025849c266f71c43
[ "MIT" ]
null
null
null
src/main.py
M10han/image-scores
509e2e9f9d3a484631a97a2e025849c266f71c43
[ "MIT" ]
1
2021-06-08T21:41:19.000Z
2021-06-08T21:41:19.000Z
src/main.py
M10han/image-scores
509e2e9f9d3a484631a97a2e025849c266f71c43
[ "MIT" ]
null
null
null
import pandas as pd import time from image_matcher import read_image, bjorn_score if __name__ == "__main__": main()
26.758621
58
0.643041
7b1892266415333934744e874665f21d627beb7f
2,006
py
Python
build/lib.linux-x86_64-2.7/biograder/Encryptor.py
PayneLab/GenericDataAPI
9469328c4f845fbf8d97b5d80ad2077c9f927022
[ "MIT" ]
2
2021-04-25T18:36:29.000Z
2021-05-14T15:34:59.000Z
build/lib.linux-x86_64-2.7/biograder/Encryptor.py
PayneLab/GenericDataAPI
9469328c4f845fbf8d97b5d80ad2077c9f927022
[ "MIT" ]
null
null
null
build/lib.linux-x86_64-2.7/biograder/Encryptor.py
PayneLab/GenericDataAPI
9469328c4f845fbf8d97b5d80ad2077c9f927022
[ "MIT" ]
2
2020-11-23T02:09:57.000Z
2021-08-13T21:57:03.000Z
from cryptography.hazmat.backends import default_backend from cryptography.hazmat.primitives import hashes from cryptography.hazmat.primitives.asymmetric import padding from cryptography.hazmat.primitives import serialization
31.84127
97
0.602193
7b190c0f4573cd290b14012b9fc7b11615f31516
218
py
Python
elif_bayindir/phase_1/python_basic_1/day_6/q7.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
6
2020-05-23T19:53:25.000Z
2021-05-08T20:21:30.000Z
elif_bayindir/phase_1/python_basic_1/day_6/q7.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
8
2020-05-14T18:53:12.000Z
2020-07-03T00:06:20.000Z
elif_bayindir/phase_1/python_basic_1/day_6/q7.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
39
2020-05-10T20:55:02.000Z
2020-09-12T17:40:59.000Z
# Question 7 # Find out the number of CPUs using import os print("Number of CPUs using:", os.cpu_count()) # Alternative, """ import multiprocessing print("Number of CPUs using:", multiprocessing.cpu_count()) """
18.166667
63
0.711009
7b1bfc88d4da28ede06e1a7e0dc3ba09c6ec9cb9
3,081
py
Python
openstates/openstates-master/openstates/ia/__init__.py
Jgorsick/Advocacy_Angular
8906af3ba729b2303880f319d52bce0d6595764c
[ "CC-BY-4.0" ]
null
null
null
openstates/openstates-master/openstates/ia/__init__.py
Jgorsick/Advocacy_Angular
8906af3ba729b2303880f319d52bce0d6595764c
[ "CC-BY-4.0" ]
null
null
null
openstates/openstates-master/openstates/ia/__init__.py
Jgorsick/Advocacy_Angular
8906af3ba729b2303880f319d52bce0d6595764c
[ "CC-BY-4.0" ]
null
null
null
import re import datetime import lxml.html import requests from billy.utils.fulltext import text_after_line_numbers from .bills import IABillScraper from .legislators import IALegislatorScraper from .events import IAEventScraper from .votes import IAVoteScraper # Silencing unverified HTTPS request warnings. requests.p...
29.066038
72
0.563778
7b1e18b2a4656893e78e78b318983823f4f03309
2,965
py
Python
dp_excel/ExcelFile.py
DmitryPaschenko/python_excel_writer
d23acbe44e3e7e786fd8fd8deb1f47263326199f
[ "MIT" ]
null
null
null
dp_excel/ExcelFile.py
DmitryPaschenko/python_excel_writer
d23acbe44e3e7e786fd8fd8deb1f47263326199f
[ "MIT" ]
null
null
null
dp_excel/ExcelFile.py
DmitryPaschenko/python_excel_writer
d23acbe44e3e7e786fd8fd8deb1f47263326199f
[ "MIT" ]
null
null
null
from openpyxl import Workbook from openpyxl.utils import get_column_letter from openpyxl.writer.excel import save_virtual_workbook
36.158537
158
0.651602
7b1ea6dc53dbed446cf8e4fe80ef8e9dd14dbdfd
435
py
Python
test/test_flow.py
williford/vipy
d7ce90cfa3c11363ca9e9fcb1fcea9371aa1b74d
[ "MIT" ]
13
2020-07-23T12:15:24.000Z
2022-03-18T13:58:31.000Z
test/test_flow.py
williford/vipy
d7ce90cfa3c11363ca9e9fcb1fcea9371aa1b74d
[ "MIT" ]
2
2020-02-26T00:58:40.000Z
2021-04-26T12:34:41.000Z
test/test_flow.py
williford/vipy
d7ce90cfa3c11363ca9e9fcb1fcea9371aa1b74d
[ "MIT" ]
2
2020-05-11T15:31:06.000Z
2021-09-16T14:01:33.000Z
import vipy from vipy.flow import Flow import numpy as np if __name__ == "__main__": test_flow()
25.588235
87
0.65977
7b204556097cfdfd3ff88e8d7bc8bf1337b3e12c
660
py
Python
server/main.py
DarthBenro008/gh-release-paniker
757845b1eebef9d2219c88706fd4277f4261391f
[ "MIT" ]
5
2021-12-08T06:37:33.000Z
2021-12-20T17:17:18.000Z
server/main.py
DarthBenro008/gh-release-paniker
757845b1eebef9d2219c88706fd4277f4261391f
[ "MIT" ]
null
null
null
server/main.py
DarthBenro008/gh-release-paniker
757845b1eebef9d2219c88706fd4277f4261391f
[ "MIT" ]
null
null
null
from typing import Optional from fastapi import FastAPI app = FastAPI() import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) GPIO.setwarnings(False) LED=21 BUZZER=23 GPIO.setup(LED,GPIO.OUT)
16.5
33
0.672727
7b20674499d7148c6a6ca240f5128fad607757fd
8,656
py
Python
virtual/lib/python3.10/site-packages/bootstrap_py/tests/test_package.py
alex-mu/Moringa-blog
430ab9c1f43f2f0066369433ac3f60c41a51a01c
[ "MIT" ]
null
null
null
virtual/lib/python3.10/site-packages/bootstrap_py/tests/test_package.py
alex-mu/Moringa-blog
430ab9c1f43f2f0066369433ac3f60c41a51a01c
[ "MIT" ]
7
2021-03-30T14:10:56.000Z
2022-03-12T00:43:13.000Z
virtual/lib/python3.6/site-packages/bootstrap_py/tests/test_package.py
sarahsindet/pitch
c7a4256e19c9a250b6d88d085699a34f508eb86b
[ "Unlicense", "MIT" ]
1
2021-08-19T06:07:23.000Z
2021-08-19T06:07:23.000Z
# -*- coding: utf-8 -*- """bootstrap_py.tests.test_package.""" import unittest import os import shutil import tempfile from glob import glob from datetime import datetime from mock import patch from bootstrap_py import package from bootstrap_py.tests.stub import stub_request_metadata # pylint: disable=too-few-public-...
42.019417
79
0.586992
7b2072a69cb5c6d86996ccfc0e3130c0fc1d1caa
383
py
Python
news_bl/main/migrations/0005_alter_article_urltoimage.py
noddy09/news_search
7bee6a3aeb6c8a5e9e01109635fbd53f5d808722
[ "MIT" ]
null
null
null
news_bl/main/migrations/0005_alter_article_urltoimage.py
noddy09/news_search
7bee6a3aeb6c8a5e9e01109635fbd53f5d808722
[ "MIT" ]
null
null
null
news_bl/main/migrations/0005_alter_article_urltoimage.py
noddy09/news_search
7bee6a3aeb6c8a5e9e01109635fbd53f5d808722
[ "MIT" ]
null
null
null
# Generated by Django 3.2.6 on 2021-08-30 13:48 from django.db import migrations, models
20.157895
47
0.5953
7b20cd11ee3f48070fe24a5a912f30b91ada5d46
1,175
py
Python
utils/migrate_cmds_idx_32bit.py
jzuhone/kadi
de4885327d256e156cfe42b2b1700775f5b4d6cf
[ "BSD-3-Clause" ]
1
2015-07-30T18:33:14.000Z
2015-07-30T18:33:14.000Z
utils/migrate_cmds_idx_32bit.py
jzuhone/kadi
de4885327d256e156cfe42b2b1700775f5b4d6cf
[ "BSD-3-Clause" ]
104
2015-01-20T18:44:36.000Z
2022-03-29T18:51:55.000Z
utils/migrate_cmds_idx_32bit.py
jzuhone/kadi
de4885327d256e156cfe42b2b1700775f5b4d6cf
[ "BSD-3-Clause" ]
2
2018-08-23T02:36:08.000Z
2020-03-13T19:24:36.000Z
from pathlib import Path import numpy as np import tables # Use snapshot from aug08 before the last update that broke things. with tables.open_file('cmds_aug08.h5') as h5: cmds = h5.root.data[:] print(cmds.dtype) # [('idx', '<u2'), ('date', 'S21'), ('type', 'S12'), ('tlmsid', 'S10'), # ('scs', 'u1'), ('step', '<...
31.756757
85
0.613617
7b21a08900385c33387348bb5cf7b32f2eca5c0f
579
py
Python
1_estrutura_sequencial/18_velocidade_download.py
cecilmalone/lista_de_exercicios_pybr
6d7c4aeddf8d1b1d839ad05ef5b5813a8fe611b5
[ "MIT" ]
null
null
null
1_estrutura_sequencial/18_velocidade_download.py
cecilmalone/lista_de_exercicios_pybr
6d7c4aeddf8d1b1d839ad05ef5b5813a8fe611b5
[ "MIT" ]
null
null
null
1_estrutura_sequencial/18_velocidade_download.py
cecilmalone/lista_de_exercicios_pybr
6d7c4aeddf8d1b1d839ad05ef5b5813a8fe611b5
[ "MIT" ]
null
null
null
""" 18. Faa um programa que pea o tamanho de um arquivo para download (em MB) e a velocidade de um link de Internet (em Mbps), calcule e informe o tempo aproximado de download do arquivo usando este link (em minutos). """ mb_arquivo = float(input('Informe o tamanho de um arquivo para download (em MB): ')) mbps_link ...
38.6
91
0.753022
7b2304794deb520b2f5f87d0e37dcca35db22896
4,802
py
Python
src/rte_pac/train_pyramid.py
UKPLab/conll2019-snopes-experiments
102f4a05cfba781036bd3a7b06022246e53765ad
[ "Apache-2.0" ]
5
2019-11-08T09:17:07.000Z
2022-01-25T19:37:06.000Z
src/rte_pac/train_pyramid.py
UKPLab/conll2019-snopes-experiments
102f4a05cfba781036bd3a7b06022246e53765ad
[ "Apache-2.0" ]
18
2020-01-28T22:17:34.000Z
2022-03-11T23:57:22.000Z
src/rte_pac/train_pyramid.py
UKPLab/conll2019-snopes-experiments
102f4a05cfba781036bd3a7b06022246e53765ad
[ "Apache-2.0" ]
1
2021-03-08T12:02:24.000Z
2021-03-08T12:02:24.000Z
import argparse import pickle import os import json from sklearn.metrics import confusion_matrix from utils.data_reader import embed_data_sets_with_glove, embed_data_set_given_vocab, prediction_2_label from utils.text_processing import vocab_map from common.util.log_helper import LogHelper from deep_models.MatchPyramid...
52.195652
139
0.641399
7b2354c08ba6d3f70427aa659e1ba9d3a3e03c13
854
py
Python
annotation/helpers/helpers/extract_noise.py
jim-schwoebel/allie
d85db041b91c81dfb3fd1a4d719b5aaaf3b6697e
[ "Apache-2.0" ]
87
2020-08-07T09:05:11.000Z
2022-01-24T00:48:22.000Z
annotation/helpers/helpers/extract_noise.py
jim-schwoebel/allie
d85db041b91c81dfb3fd1a4d719b5aaaf3b6697e
[ "Apache-2.0" ]
87
2020-08-07T19:12:10.000Z
2022-02-08T14:46:34.000Z
annotation/helpers/helpers/extract_noise.py
jim-schwoebel/allie
d85db041b91c81dfb3fd1a4d719b5aaaf3b6697e
[ "Apache-2.0" ]
25
2020-08-07T20:03:08.000Z
2022-03-16T07:33:25.000Z
import shutil, os, random from pydub import AudioSegment try: os.mkdir('noise') except: shutil.rmtree('noise') os.mkdir('noise') listdir=os.listdir() mp3files=list() for i in range(len(listdir)): if listdir[i][-4:]=='.mp3': mp3files.append(listdir[i]) random.shuffle(mp3files) for i in range(len(mp3files)): extra...
27.548387
108
0.688525
7b248b5ee36bb65d830c7b56e66b0b390aa45baa
1,030
py
Python
ARMODServers/Apps/Apiv2/urls.py
Phantomxm2021/ARMOD-Dashboard
383cf0a5e72dc5a2651f43e693f06773d5b88bbd
[ "Apache-2.0" ]
1
2021-11-04T09:03:27.000Z
2021-11-04T09:03:27.000Z
ARMODServers/Apps/Apiv2/urls.py
Phantomxm2021/ARMOD-Dashboard
383cf0a5e72dc5a2651f43e693f06773d5b88bbd
[ "Apache-2.0" ]
null
null
null
ARMODServers/Apps/Apiv2/urls.py
Phantomxm2021/ARMOD-Dashboard
383cf0a5e72dc5a2651f43e693f06773d5b88bbd
[ "Apache-2.0" ]
null
null
null
from django.conf.urls import url from Apps.Apiv2.views import GetARResourcesView, GetARExperienceDetailView from Apps.Apiv2.views import GetTagListView,GetARExperienceRecommendList,GetARExperiencePublicListView,GetARExperiencesView from Apps.Apiv2.views import GetARexperienceByTagsListView app_name = 'Apps.Users' urlp...
60.588235
123
0.794175
7b24aa6646e92566319ce68092ddf4db0af43da1
2,600
py
Python
make.py
loicseguin/astronomie
b489d615adb136991ff3fc82ca06c4f6791ca8c6
[ "BSD-2-Clause" ]
null
null
null
make.py
loicseguin/astronomie
b489d615adb136991ff3fc82ca06c4f6791ca8c6
[ "BSD-2-Clause" ]
7
2020-01-19T21:27:07.000Z
2020-01-19T21:28:09.000Z
make.py
loicseguin/astronomie
b489d615adb136991ff3fc82ca06c4f6791ca8c6
[ "BSD-2-Clause" ]
null
null
null
"""Construit le site Explorer et comprendre l'Univers, incluant les diapositives et le livre. Le logiciel Pandoc est utilis pour obtenir des prsentations dans diffrents formats. On peut construire tous les fichiers html avec la commande $ python make.py """ import subprocess import os import sys # Dossiers de...
30.232558
82
0.576154
7b25b9ec772098b6a401939f74bc6b08ca37a58b
280
py
Python
geosnap/tests/get_data.py
WawNun/geosnap
9838498b89d42c94fef73ee2983dd385dab17345
[ "BSD-3-Clause" ]
148
2019-04-19T00:16:59.000Z
2022-03-24T06:35:47.000Z
geosnap/tests/get_data.py
WawNun/geosnap
9838498b89d42c94fef73ee2983dd385dab17345
[ "BSD-3-Clause" ]
178
2019-04-15T21:54:36.000Z
2022-03-31T03:08:29.000Z
geosnap/tests/get_data.py
WawNun/geosnap
9838498b89d42c94fef73ee2983dd385dab17345
[ "BSD-3-Clause" ]
25
2019-04-19T21:27:56.000Z
2022-03-28T21:03:31.000Z
import os from pathlib import PurePath try: from geosnap import io except: pass path = os.getcwd() try: io.store_ltdb(sample=PurePath(path, 'ltdb_sample.zip'), fullcount=PurePath(path, 'ltdb_full.zip')) io.store_ncdb(PurePath(path, "ncdb.csv")) except: pass
18.666667
102
0.707143
7b26132c0d8b78762b805dd6438fa5d2c8d060b1
13,370
py
Python
plotting/utils.py
plai-group/amortized-rejection-sampling
1e85253ae1e6ef1c939e1c488e55f9d95ee48355
[ "MIT" ]
null
null
null
plotting/utils.py
plai-group/amortized-rejection-sampling
1e85253ae1e6ef1c939e1c488e55f9d95ee48355
[ "MIT" ]
null
null
null
plotting/utils.py
plai-group/amortized-rejection-sampling
1e85253ae1e6ef1c939e1c488e55f9d95ee48355
[ "MIT" ]
null
null
null
import numpy as np import torch from tqdm import tqdm import matplotlib as mpl # https://gist.github.com/thriveth/8560036 color_cycle = ['#377eb8', '#ff7f00', '#4daf4a', '#f781bf', '#a65628', '#984ea3', '#999999', '#e41a1c', '#dede00'] labels_dict = {"ic": "IC", "prior": ...
35.558511
128
0.618624
7b28352f856a9eaa1fa2b24d293fcd81d28eb11c
4,750
py
Python
dfa/visualize.py
garyzhao/FRGAN
8aeb064fc93b45d3d8e074c5253b4f7a287582f4
[ "Apache-2.0" ]
39
2018-07-28T04:37:48.000Z
2022-01-20T18:34:37.000Z
dfa/visualize.py
garyzhao/FRGAN
8aeb064fc93b45d3d8e074c5253b4f7a287582f4
[ "Apache-2.0" ]
2
2018-08-27T08:19:22.000Z
2019-08-16T09:15:34.000Z
dfa/visualize.py
garyzhao/FRGAN
8aeb064fc93b45d3d8e074c5253b4f7a287582f4
[ "Apache-2.0" ]
8
2018-07-31T09:33:49.000Z
2020-12-06T10:16:53.000Z
from __future__ import division from __future__ import print_function import numpy as np import cv2 import matplotlib.pyplot as plt from .face import compute_bbox_size end_list = np.array([17, 22, 27, 42, 48, 31, 36, 68], dtype=np.int32) - 1 def plot_kpt(image, kpt): ''' Draw 68 key points Args: ima...
35.714286
129
0.573895
7b2c39567282edd435ce6c7b2d8bdb6da59671bf
439
py
Python
bin/curvature.py
AgeYY/prednet
90668d98b88e29bbaa68a7709e4fcb3664c110e8
[ "MIT" ]
null
null
null
bin/curvature.py
AgeYY/prednet
90668d98b88e29bbaa68a7709e4fcb3664c110e8
[ "MIT" ]
null
null
null
bin/curvature.py
AgeYY/prednet
90668d98b88e29bbaa68a7709e4fcb3664c110e8
[ "MIT" ]
null
null
null
# calculate the curverture import numpy as np import matplotlib.pyplot as plt from predusion.tools import curvature radius = 2 n_point = 10 circle_curve = [[radius * np.sin(t), radius * np.cos(t)] for t in np.linspace(0, 2 * np.pi, n_point, endpoint=False)] circle_curve = np.array(circle_curve) #plt.figure() #plt...
20.904762
117
0.724374
7b2c3dcb95bb9538fdb4cb9f25daeb1cf42bc3eb
875
py
Python
cocos/tests/test_numerics/test_statistics/test_mean.py
michaelnowotny/cocos
3c34940d7d9eb8592a97788a5df84b8d472f2928
[ "MIT" ]
101
2019-03-30T05:23:01.000Z
2021-11-27T09:09:40.000Z
cocos/tests/test_numerics/test_statistics/test_mean.py
michaelnowotny/cocos
3c34940d7d9eb8592a97788a5df84b8d472f2928
[ "MIT" ]
3
2019-04-17T06:04:12.000Z
2020-12-14T17:36:01.000Z
cocos/tests/test_numerics/test_statistics/test_mean.py
michaelnowotny/cocos
3c34940d7d9eb8592a97788a5df84b8d472f2928
[ "MIT" ]
5
2020-02-07T14:29:50.000Z
2020-12-09T17:54:07.000Z
import cocos.device import cocos.numerics as cn import numpy as np import pytest test_data = [np.array([[1, 2, 3], [4, 5, 6], [7, 8, 20]], dtype=np.int32), np.array([[0.2, 1.0, 0.5], [0.4, 0.5, 0.6], [0.7, 0.2, 0.25]], dtype=np.float32), np.array([...
26.515152
80
0.537143
7b2f67783a54c7281fccbf52bb33f6fc8f65fc62
482
py
Python
tests/individual_samples/long_doc.py
MiWeiss/docstr_coverage
502ab0174ea261383f497af2476317d4cc199665
[ "MIT" ]
50
2019-01-25T16:53:39.000Z
2022-03-17T22:02:06.000Z
tests/individual_samples/long_doc.py
HunterMcGushion/docstr_coverage
502ab0174ea261383f497af2476317d4cc199665
[ "MIT" ]
66
2019-01-25T11:45:43.000Z
2022-03-30T11:55:47.000Z
tests/individual_samples/long_doc.py
MiWeiss/docstr_coverage
502ab0174ea261383f497af2476317d4cc199665
[ "MIT" ]
23
2019-01-28T08:37:42.000Z
2021-06-16T12:35:27.000Z
""" this is a very long docstring this is a very long docstring this is a very long docstring this is a very long docstring this is a very long docstring this is a very long docstring this is a very long docstring this is a very long docstring this is a very long docstring """
20.083333
65
0.707469
7b2fdc657bc9709a4e827c864106583a0abe59bc
461
py
Python
Lib/site-packages/elasticsearch_django/signals.py
Nibraz15/FullTextSearch
79d03a9b5c0fc94219ad9a70fe57818496844660
[ "bzip2-1.0.6" ]
null
null
null
Lib/site-packages/elasticsearch_django/signals.py
Nibraz15/FullTextSearch
79d03a9b5c0fc94219ad9a70fe57818496844660
[ "bzip2-1.0.6" ]
null
null
null
Lib/site-packages/elasticsearch_django/signals.py
Nibraz15/FullTextSearch
79d03a9b5c0fc94219ad9a70fe57818496844660
[ "bzip2-1.0.6" ]
null
null
null
import django.dispatch # signal fired just before calling model.index_search_document pre_index = django.dispatch.Signal(providing_args=["instance", "index"]) # signal fired just before calling model.update_search_document pre_update = django.dispatch.Signal( providing_args=["instance", "index", "update_fields"] ...
35.461538
73
0.796095
7b30e1e10fc484e48de9eae99bc4b49a95428432
528
py
Python
adverse/signals.py
michael-xander/communique-webapp
85b450d7f6d0313c5e5ef53a262a850b7e93c3d6
[ "MIT" ]
null
null
null
adverse/signals.py
michael-xander/communique-webapp
85b450d7f6d0313c5e5ef53a262a850b7e93c3d6
[ "MIT" ]
null
null
null
adverse/signals.py
michael-xander/communique-webapp
85b450d7f6d0313c5e5ef53a262a850b7e93c3d6
[ "MIT" ]
null
null
null
from django.db.models.signals import post_save from django.dispatch import receiver from communique.utils.utils_signals import generate_notifications from user.models import NotificationRegistration from .models import AdverseEvent
37.714286
103
0.829545
7b32ae7712bef36c9a2b8c71ee2035133eed9f7e
1,117
py
Python
hoomd/test-py/test_run_callback.py
PetersResearchGroup/PCND
584768cc683a6df0152ead69b567d05b781aab2b
[ "BSD-3-Clause" ]
2
2020-03-30T14:38:50.000Z
2020-06-02T05:53:41.000Z
hoomd/test-py/test_run_callback.py
PetersResearchGroup/PCND
584768cc683a6df0152ead69b567d05b781aab2b
[ "BSD-3-Clause" ]
null
null
null
hoomd/test-py/test_run_callback.py
PetersResearchGroup/PCND
584768cc683a6df0152ead69b567d05b781aab2b
[ "BSD-3-Clause" ]
1
2020-05-20T07:00:08.000Z
2020-05-20T07:00:08.000Z
# -*- coding: iso-8859-1 -*- # Maintainer: joaander import hoomd hoomd.context.initialize() import unittest if __name__ == '__main__': unittest.main(argv = ['test.py', '-v'])
23.270833
76
0.521038
7b332b95f4298d84e9d671c6d88abc96e79fcae6
7,145
py
Python
cheshire3/parser.py
cheshire3/cheshire3
306348831ec110229c78a7c5f0f2026a0f394d2c
[ "Python-2.0", "Unlicense" ]
3
2015-08-02T09:03:28.000Z
2017-12-06T09:26:14.000Z
cheshire3/parser.py
cheshire3/cheshire3
306348831ec110229c78a7c5f0f2026a0f394d2c
[ "Python-2.0", "Unlicense" ]
5
2015-08-17T01:16:35.000Z
2015-09-16T21:51:27.000Z
cheshire3/parser.py
cheshire3/cheshire3
306348831ec110229c78a7c5f0f2026a0f394d2c
[ "Python-2.0", "Unlicense" ]
6
2015-05-17T15:32:20.000Z
2020-04-22T08:43:16.000Z
import cStringIO import StringIO from xml.sax import make_parser, ErrorHandler, SAXParseException from xml.sax import InputSource as SaxInput from xml.dom.minidom import parseString as domParseString from xml.parsers.expat import ExpatError from lxml import etree from cheshire3.baseObjects import Parser from cheshir...
31.065217
77
0.588383
9e26ff289e7c1f363b136e3f4b93da4585664e71
6,275
py
Python
scripts/checkpT_curv.py
masamuch/hepqpr-qallse
0b39f8531c6f3c758b94c31f4633f75dcfeb67ad
[ "Apache-2.0" ]
null
null
null
scripts/checkpT_curv.py
masamuch/hepqpr-qallse
0b39f8531c6f3c758b94c31f4633f75dcfeb67ad
[ "Apache-2.0" ]
null
null
null
scripts/checkpT_curv.py
masamuch/hepqpr-qallse
0b39f8531c6f3c758b94c31f4633f75dcfeb67ad
[ "Apache-2.0" ]
null
null
null
from hepqpr.qallse import * from hepqpr.qallse.plotting import * from hepqpr.qallse.cli.func import time_this import time import pickle # import the method from hepqpr.qallse.dsmaker import create_dataset modelName = "D0" #modelName = "Mp" #modelName = "Doublet" maxTry=1 # 5e-3 : 167 MeV # 8e-4 : 1.04 GeV varDen...
35.055866
140
0.577211
9e27be8d3067835dcbda95c1548885176ae1ebf3
440
py
Python
ifconfigparser/__init__.py
KnightWhoSayNi/ifconfig-parser
4921ac9d6be6244b062d082c164f5a5e69522478
[ "MIT" ]
17
2018-10-06T15:19:27.000Z
2022-02-25T05:05:22.000Z
ifconfigparser/__init__.py
KnightWhoSayNi/ifconfig-parser
4921ac9d6be6244b062d082c164f5a5e69522478
[ "MIT" ]
3
2019-11-22T23:40:58.000Z
2019-12-06T02:26:59.000Z
ifconfigparser/__init__.py
KnightWhoSayNi/ifconfig-parser
4921ac9d6be6244b062d082c164f5a5e69522478
[ "MIT" ]
2
2019-05-10T15:36:46.000Z
2020-11-18T11:56:33.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- # ====================================================== # # File name: __init__.py # Author: threeheadedknight@protonmail.com # Date created: 30.06.2018 17:00 # Python Version: 3.7 # # ====================================================== from .ifconfig_parser im...
25.882353
56
0.522727
9e287d153cff7385984c9cc16aca63539ed882d4
3,382
py
Python
api/views/movies.py
iamvukasin/filminds
54c9d7175f3a06f411cc750a694758bd683af1ee
[ "MIT" ]
2
2019-06-15T01:40:04.000Z
2019-12-19T05:11:17.000Z
api/views/movies.py
iamvukasin/filminds
54c9d7175f3a06f411cc750a694758bd683af1ee
[ "MIT" ]
1
2021-03-09T05:22:51.000Z
2021-03-09T05:22:51.000Z
api/views/movies.py
iamvukasin/filminds
54c9d7175f3a06f411cc750a694758bd683af1ee
[ "MIT" ]
2
2019-06-24T19:24:25.000Z
2020-05-29T13:57:35.000Z
from abc import ABC, abstractmethod import tmdbsimple as tmdb from django.contrib.auth.decorators import login_required from django.http import Http404 from django.utils.decorators import method_decorator from rest_framework.response import Response from rest_framework.views import APIView from api.serializers import...
27.274194
119
0.646363
9e29911c2cf893692ea46e7dbded4b692a9e33a0
3,853
py
Python
apps/lk/views.py
DaniilGorokhov/CaloryHelper
6bf5ddce85479508b6498c3e4b2e0f4e5dd01b51
[ "MIT" ]
null
null
null
apps/lk/views.py
DaniilGorokhov/CaloryHelper
6bf5ddce85479508b6498c3e4b2e0f4e5dd01b51
[ "MIT" ]
null
null
null
apps/lk/views.py
DaniilGorokhov/CaloryHelper
6bf5ddce85479508b6498c3e4b2e0f4e5dd01b51
[ "MIT" ]
1
2021-02-15T17:40:23.000Z
2021-02-15T17:40:23.000Z
from django.shortcuts import render from django.http import Http404, HttpResponseRedirect from django.urls import reverse from apps.index.models import User, UserHistory from sova_avia.settings import MEDIA_ROOT from imageai.Prediction import ImagePrediction import json from .models import Article from .forms import ...
35.675926
125
0.659227
9e2d53249be23d06d560e65260043ec473bab942
1,159
py
Python
setup.py
CZ-NIC/deckard
35ed3c59b27c52fc2e3a187679251353f5efe6c0
[ "BSD-2-Clause" ]
30
2016-08-06T20:56:17.000Z
2021-12-13T07:56:23.000Z
setup.py
CZ-NIC/deckard
35ed3c59b27c52fc2e3a187679251353f5efe6c0
[ "BSD-2-Clause" ]
6
2016-05-31T10:48:51.000Z
2018-07-03T09:05:12.000Z
setup.py
CZ-NIC/deckard
35ed3c59b27c52fc2e3a187679251353f5efe6c0
[ "BSD-2-Clause" ]
10
2016-04-03T13:55:19.000Z
2020-11-28T01:23:49.000Z
#!/usr/bin/env python3 from distutils.core import setup version = '3.0' setup( name='deckard', version=version, description='DNS toolkit', long_description=( "Deckard is a DNS software testing based on library pydnstest." "It supports parsing and running Unbound-like test scenarios," ...
31.324324
71
0.609146
9e2f62d9ca279a2304c666233677d5d0d663e572
1,894
py
Python
tests/testing_utils.py
alguerre/TrackEditorWeb
e92cb8554e804af8620298ca75567e6ce653b15e
[ "MIT" ]
1
2021-09-06T14:56:27.000Z
2021-09-06T14:56:27.000Z
tests/testing_utils.py
qjx666/TrackEditorWeb
e92cb8554e804af8620298ca75567e6ce653b15e
[ "MIT" ]
79
2021-07-06T13:37:09.000Z
2021-10-21T11:09:10.000Z
tests/testing_utils.py
qjx666/TrackEditorWeb
e92cb8554e804af8620298ca75567e6ce653b15e
[ "MIT" ]
1
2022-01-30T05:44:25.000Z
2022-01-30T05:44:25.000Z
import os from urllib.parse import urljoin from selenium import webdriver from TrackApp.models import User, Track from libs import track
30.548387
71
0.661563
9e30175d2516252b61b551241d3a7d897279d318
1,563
py
Python
SimulEval/simuleval/agents/agent.py
ashkanalinejad/Supervised-Simultaneous-MT
d09397ed86bbf4133d5d9b906030a8881ee4c13f
[ "MIT" ]
2
2022-01-11T19:27:11.000Z
2022-01-12T11:06:53.000Z
SimulEval/simuleval/agents/agent.py
sfu-natlang/Supervised-Simultaneous-MT
12c3a53887c985ae24199ecef2f7b2335fe214c6
[ "MIT" ]
1
2022-02-12T03:02:52.000Z
2022-02-12T04:27:10.000Z
SimulEval/simuleval/agents/agent.py
sfu-natlang/Supervised-Simultaneous-MT
12c3a53887c985ae24199ecef2f7b2335fe214c6
[ "MIT" ]
1
2022-02-27T14:22:36.000Z
2022-02-27T14:22:36.000Z
# Copyright (c) Facebook, Inc. and its affiliates. # All rights reserved. # # This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. from simuleval.states import TextStates, SpeechStates
26.948276
76
0.662828
9e301c912b42abb46c781523b9340a9c6ccd01d4
13,317
py
Python
source/mre-plugin-samples/Plugins/DetectShotsByRekognitionVideo/DetectShotsByRekognitionVideo.py
aws-samples/aws-media-replay-engine-samples
d9b479f3c7da87c8b6d2a265334a6d3aae58d885
[ "MIT-0" ]
4
2022-02-03T17:23:19.000Z
2022-03-16T13:13:09.000Z
source/mre-plugin-samples/Plugins/DetectShotsByRekognitionVideo/DetectShotsByRekognitionVideo.py
aws-samples/aws-media-replay-engine-samples
d9b479f3c7da87c8b6d2a265334a6d3aae58d885
[ "MIT-0" ]
1
2022-02-22T01:25:57.000Z
2022-03-10T21:27:31.000Z
source/mre-plugin-samples/Plugins/DetectShotsByRekognitionVideo/DetectShotsByRekognitionVideo.py
aws-samples/aws-media-replay-engine-samples
d9b479f3c7da87c8b6d2a265334a6d3aae58d885
[ "MIT-0" ]
1
2022-02-16T02:23:43.000Z
2022-02-16T02:23:43.000Z
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: MIT-0 import boto3 import json import sys import time import ffmpeg from MediaReplayEnginePluginHelper import OutputHelper from MediaReplayEnginePluginHelper import Status from MediaReplayEnginePluginHelper import DataPlane...
39.283186
139
0.535181
9e316afea9883b374b2578dfd94ecad511320c5f
1,567
py
Python
chempy/kinetics/tests/test_integrated.py
matecsaj/chempy
2c93f185e4547739331193c06d77282206621517
[ "BSD-2-Clause" ]
null
null
null
chempy/kinetics/tests/test_integrated.py
matecsaj/chempy
2c93f185e4547739331193c06d77282206621517
[ "BSD-2-Clause" ]
null
null
null
chempy/kinetics/tests/test_integrated.py
matecsaj/chempy
2c93f185e4547739331193c06d77282206621517
[ "BSD-2-Clause" ]
null
null
null
from __future__ import division from chempy.util.testing import requires from ..integrated import pseudo_irrev, pseudo_rev, binary_irrev, binary_rev import pytest try: import sympy except ImportError: sympy = None else: one = sympy.S(1) t, kf, kb, prod, major, minor = sympy.symbols( 't kf kb...
27.017241
81
0.640715
9e3410f7e06e468d0eb7d1e58add77993b4f9819
1,362
py
Python
emulateHttp2/processTestByBrowser.py
mixianghang/newhttp2
0843301ad79d11bc43f5d70dbcf934aaf072f6a3
[ "MIT" ]
null
null
null
emulateHttp2/processTestByBrowser.py
mixianghang/newhttp2
0843301ad79d11bc43f5d70dbcf934aaf072f6a3
[ "MIT" ]
null
null
null
emulateHttp2/processTestByBrowser.py
mixianghang/newhttp2
0843301ad79d11bc43f5d70dbcf934aaf072f6a3
[ "MIT" ]
null
null
null
#!/usr/bin/python import sys import os import shutil if __name__ == "__main__": main()
32.428571
123
0.660793
9e36180ad2d9abb3875f4262a27e459d07a15a75
1,097
py
Python
setup.py
osism/netbox-plugin-osism
8cba95bd6bed167c5a05d464d95246c9d4c98a6a
[ "Apache-2.0" ]
null
null
null
setup.py
osism/netbox-plugin-osism
8cba95bd6bed167c5a05d464d95246c9d4c98a6a
[ "Apache-2.0" ]
null
null
null
setup.py
osism/netbox-plugin-osism
8cba95bd6bed167c5a05d464d95246c9d4c98a6a
[ "Apache-2.0" ]
null
null
null
from setuptools import setup setup( name='netbox_plugin_osism', version='0.0.1', description='NetBox Plugin OSISM', long_description='Netbox Plugin OSISM', url='https://github.com/osism/netbox-plugin-osism', download_url='https://github.com/osism/netbox-plugin-osism', author='OSISM GmbH', ...
31.342857
64
0.631723
9e36f2c784f6f44bd775bdedd2272a8be3601516
525
py
Python
src/response.py
vcokltfre/snowflake.vcokltf.re
5b8324a4fbc2e512dbc263d4ed65edb89d72a549
[ "MIT" ]
1
2021-03-23T15:13:04.000Z
2021-03-23T15:13:04.000Z
src/response.py
vcokltfre/snowflake.vcokltf.re
5b8324a4fbc2e512dbc263d4ed65edb89d72a549
[ "MIT" ]
null
null
null
src/response.py
vcokltfre/snowflake.vcokltf.re
5b8324a4fbc2e512dbc263d4ed65edb89d72a549
[ "MIT" ]
null
null
null
from starlette.responses import HTMLResponse
23.863636
82
0.485714
9e377bb8273400c9545a16768897adf2638f5e45
63
py
Python
rx/__init__.py
yutiansut/RxPY
c3bbba77f9ebd7706c949141725e220096deabd4
[ "ECL-2.0", "Apache-2.0" ]
1
2018-11-16T09:07:13.000Z
2018-11-16T09:07:13.000Z
rx/__init__.py
yutiansut/RxPY
c3bbba77f9ebd7706c949141725e220096deabd4
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
rx/__init__.py
yutiansut/RxPY
c3bbba77f9ebd7706c949141725e220096deabd4
[ "ECL-2.0", "Apache-2.0" ]
1
2020-05-08T08:23:08.000Z
2020-05-08T08:23:08.000Z
from .core import Observer, Observable, AnonymousObserver as _
31.5
62
0.825397
9e379e1fd1991982e0f968b5ef6aafe42d277ba1
47
py
Python
news_api/settings/Vespa_config.py
rdoume/News_API
9c555fdc5e5b717b98bcfec27364b9612b9c4aa1
[ "MIT" ]
9
2019-07-19T13:19:55.000Z
2021-07-08T16:25:30.000Z
news_api/settings/Vespa_config.py
rdoume/News_API
9c555fdc5e5b717b98bcfec27364b9612b9c4aa1
[ "MIT" ]
null
null
null
news_api/settings/Vespa_config.py
rdoume/News_API
9c555fdc5e5b717b98bcfec27364b9612b9c4aa1
[ "MIT" ]
1
2021-05-12T01:50:04.000Z
2021-05-12T01:50:04.000Z
VESPA_IP = "172.16.100.65" VESPA_PORT = "8080"
15.666667
26
0.680851
9e39c8fbaaf037c97de86567d3d6ad2bfa09867d
642
py
Python
test/walk.py
manxueitp/cozmo-test
a91b1a4020544cb622bd67385f317931c095d2e8
[ "MIT" ]
null
null
null
test/walk.py
manxueitp/cozmo-test
a91b1a4020544cb622bd67385f317931c095d2e8
[ "MIT" ]
null
null
null
test/walk.py
manxueitp/cozmo-test
a91b1a4020544cb622bd67385f317931c095d2e8
[ "MIT" ]
null
null
null
import cozmo from cozmo.util import distance_mm, speed_mmps,degrees cozmo.run_program(cozmo_program)
45.857143
79
0.800623
9e3a0239409f0db941b17e1b31a07a8a3ed673cb
694
py
Python
lectures/extensions/hyperbolic_discounting/replication_code/.mywaflib/waflib/Tools/clang.py
loikein/ekw-lectures
a2f5436f10515ab26eab323fca8c37c91bdc5dcd
[ "MIT" ]
4
2019-11-15T15:21:27.000Z
2020-07-08T15:04:30.000Z
lectures/extensions/hyperbolic_discounting/replication_code/.mywaflib/waflib/Tools/clang.py
loikein/ekw-lectures
a2f5436f10515ab26eab323fca8c37c91bdc5dcd
[ "MIT" ]
9
2019-11-18T15:54:36.000Z
2020-07-14T13:56:53.000Z
lectures/extensions/hyperbolic_discounting/replication_code/.mywaflib/waflib/Tools/clang.py
loikein/ekw-lectures
a2f5436f10515ab26eab323fca8c37c91bdc5dcd
[ "MIT" ]
3
2021-01-25T15:41:30.000Z
2021-09-21T08:51:36.000Z
#!/usr/bin/env python # Krzysztof Kosiski 2014 """ Detect the Clang C compiler """ from waflib.Configure import conf from waflib.Tools import ar from waflib.Tools import ccroot from waflib.Tools import gcc
22.387097
72
0.693084
9e3b5a48a7befde960b0ddd0c42b6f209d9a2b77
457
py
Python
test_lambda_function.py
gavinbull/loyalty_anagram
a91d23083d8c040916733751932fb47d00592890
[ "MIT" ]
null
null
null
test_lambda_function.py
gavinbull/loyalty_anagram
a91d23083d8c040916733751932fb47d00592890
[ "MIT" ]
null
null
null
test_lambda_function.py
gavinbull/loyalty_anagram
a91d23083d8c040916733751932fb47d00592890
[ "MIT" ]
null
null
null
import unittest from lambda_function import gather_anagrams if __name__ == '__main__': unittest.main()
28.5625
86
0.654267
9e3d9a4ab5c166e9fe2b7e4de49e51e3488a6de5
577
py
Python
euler62.py
dchourasia/euler-solutions
e20cbf016a9ea601fcce928d9690930c9a498837
[ "Apache-2.0" ]
null
null
null
euler62.py
dchourasia/euler-solutions
e20cbf016a9ea601fcce928d9690930c9a498837
[ "Apache-2.0" ]
null
null
null
euler62.py
dchourasia/euler-solutions
e20cbf016a9ea601fcce928d9690930c9a498837
[ "Apache-2.0" ]
null
null
null
''' Find the smallest cube for which exactly five permutations of its digits are cube. ''' import math, itertools print(math.pow(8, 1/3).is_integer()) tried = {} for i in range(1000, 1200): cb = int(math.pow(i, 3)) #print(cb) #print(math.pow(int(cb), 1/3)) roots = 1 tried[i] = [str(cb)] for x in itertools.permuta...
21.37037
82
0.587522
9e3eca14631d828c95eda787a3d066e5994ecfdb
3,010
py
Python
examples/reeds_problem.py
bwhewe-13/ants
6923cfc1603e0cd90c2ae90fa0fed6dd86edc0b2
[ "MIT" ]
null
null
null
examples/reeds_problem.py
bwhewe-13/ants
6923cfc1603e0cd90c2ae90fa0fed6dd86edc0b2
[ "MIT" ]
null
null
null
examples/reeds_problem.py
bwhewe-13/ants
6923cfc1603e0cd90c2ae90fa0fed6dd86edc0b2
[ "MIT" ]
null
null
null
from ants.medium import MediumX from ants.materials import Materials from ants.mapper import Mapper from ants.multi_group import source_iteration import numpy as np import matplotlib.pyplot as plt groups = 1 cells_x = 1000 medium_width = 16. cell_width_x = medium_width / cells_x angles = 16 xbounds = np.array([1, 0]...
29.80198
87
0.679734
9e40a4a7ae6fa13448f345e341c1c32845116799
29,411
py
Python
exp_runner.py
BoifZ/NeuS
a2900fa5c0b2a9d54b9cb5b364440ee7eecfb525
[ "MIT" ]
null
null
null
exp_runner.py
BoifZ/NeuS
a2900fa5c0b2a9d54b9cb5b364440ee7eecfb525
[ "MIT" ]
null
null
null
exp_runner.py
BoifZ/NeuS
a2900fa5c0b2a9d54b9cb5b364440ee7eecfb525
[ "MIT" ]
null
null
null
import os import time import logging import argparse import numpy as np import cv2 as cv import trimesh import torch import torch.nn.functional as F from torch.utils.tensorboard import SummaryWriter from shutil import copyfile from icecream import ic from tqdm import tqdm from pyhocon import ConfigFactory from models.d...
47.590615
180
0.605352
9e44b7345e9261d66e37f31753ad1afb6577bc5f
2,007
py
Python
code/video-analiz/python/camshift.py
BASARIRR/computer-vision-guide
0a11726fb2be0cad63738ab45fd4edc4515441d2
[ "MIT" ]
230
2019-01-17T01:00:53.000Z
2022-03-31T18:00:09.000Z
code/video-analiz/python/camshift.py
sturlu/goruntu-isleme-kilavuzu
e9377ace3823ca5f2d06ca78a11884256539134d
[ "MIT" ]
8
2019-05-03T07:44:50.000Z
2022-02-10T00:14:38.000Z
code/video-analiz/python/camshift.py
sturlu/goruntu-isleme-kilavuzu
e9377ace3823ca5f2d06ca78a11884256539134d
[ "MIT" ]
71
2019-01-17T12:11:06.000Z
2022-03-03T22:02:46.000Z
#Python v3, OpenCV v3.4.2 import numpy as np import cv2 videoCapture = cv2.VideoCapture("video.mp4") ret,camera_input = videoCapture.read() rows, cols = camera_input.shape[:2] ''' Video dosyas zerine Mean Shift iin bir alan belirlenir. Bu koordinatlar arlkl ortalamas belirlenecek olan drtgen alandr. ''' #w ve h boy...
32.901639
125
0.727454
9e459ba91afb3134b739b9c40e6c311ac98e5335
346
py
Python
DTT_files/dtt.py
stecik/Directory_to_text
f93c76f820ff7dc39e213779115861e53ed6a266
[ "MIT" ]
null
null
null
DTT_files/dtt.py
stecik/Directory_to_text
f93c76f820ff7dc39e213779115861e53ed6a266
[ "MIT" ]
null
null
null
DTT_files/dtt.py
stecik/Directory_to_text
f93c76f820ff7dc39e213779115861e53ed6a266
[ "MIT" ]
null
null
null
from dtt_class import DTT from parser import args if __name__ == "__main__": dtt = DTT() # Creates a list of files and subdirectories try: l = dtt.dir_to_list(args.directory, args) # Creates a .txt file with the list dtt.list_to_txt(args.output_file, l) except Exception as e: ...
28.833333
49
0.644509
9e45b73d08315aaa5770ad5f620934e0e80ebd70
1,675
py
Python
src/models/head.py
takedarts/DenseResNet
d5f9c143ed3c484436a2a5bac366c3795e5d47ec
[ "MIT" ]
null
null
null
src/models/head.py
takedarts/DenseResNet
d5f9c143ed3c484436a2a5bac366c3795e5d47ec
[ "MIT" ]
null
null
null
src/models/head.py
takedarts/DenseResNet
d5f9c143ed3c484436a2a5bac366c3795e5d47ec
[ "MIT" ]
null
null
null
import torch.nn as nn import collections
36.413043
93
0.605373
9e47088047a050a5c1880fb84b394c06ebc4af2c
968
py
Python
application.py
nicolas-van/startup_asgard_app
acbb706256214f6758de9db92ff2988cee62c8ff
[ "MIT" ]
null
null
null
application.py
nicolas-van/startup_asgard_app
acbb706256214f6758de9db92ff2988cee62c8ff
[ "MIT" ]
null
null
null
application.py
nicolas-van/startup_asgard_app
acbb706256214f6758de9db92ff2988cee62c8ff
[ "MIT" ]
null
null
null
from __future__ import unicode_literals, print_function, absolute_import import flask import os import os.path import json import sjoh.flask import logging import asgard app = asgard.Asgard(__name__, flask_parameters={"static_folder": None}) # load configuration about files and folders folder = os.path.dirname(__f...
25.473684
73
0.722107
9e470dc0299f2bc08dbfaf73e95ab549a126fe53
414
py
Python
build/lib/tests/visualizer_test.py
eltoto1219/vltk
e84c0efe9062eb864604d96345f71483816340aa
[ "Apache-2.0" ]
null
null
null
build/lib/tests/visualizer_test.py
eltoto1219/vltk
e84c0efe9062eb864604d96345f71483816340aa
[ "Apache-2.0" ]
null
null
null
build/lib/tests/visualizer_test.py
eltoto1219/vltk
e84c0efe9062eb864604d96345f71483816340aa
[ "Apache-2.0" ]
null
null
null
import io import os import unittest import numpy as np from PIL import Image from vltk import SingleImageViz PATH = os.path.dirname(os.path.realpath(__file__)) URL = "https://raw.githubusercontent.com/airsplay/py-bottom-up-attention/master/demo/data/images/input.jpg"
18
107
0.731884
9e473c9d126543858d93cd7cc38a1863415d85a8
3,419
py
Python
siam_tracker/models/train_wrappers/pairwise_wrapper.py
microsoft/PySiamTracking
a82dabeaa42a7816dbd8e823da7b7e92ebb622ce
[ "MIT" ]
28
2020-03-18T04:41:21.000Z
2022-02-24T16:44:01.000Z
siam_tracker/models/train_wrappers/pairwise_wrapper.py
HengFan2010/PySiamTracking
a82dabeaa42a7816dbd8e823da7b7e92ebb622ce
[ "MIT" ]
1
2020-04-05T15:23:22.000Z
2020-04-07T16:23:12.000Z
siam_tracker/models/train_wrappers/pairwise_wrapper.py
HengFan2010/PySiamTracking
a82dabeaa42a7816dbd8e823da7b7e92ebb622ce
[ "MIT" ]
11
2020-03-19T00:30:06.000Z
2021-11-10T08:22:35.000Z
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. import torch from collections import OrderedDict from ..builder import build_tracker, TRAIN_WRAPPERS from ...datasets import TrainPairDataset, build_dataloader from ...runner import Runner from ...utils.parallel import MMDat...
38.852273
99
0.623867
9e477dd3df7f5df09267317cd3bfe78b579ab14e
212
py
Python
coaster/views/__init__.py
AferriDaniel/coaster
3ffbc9d33c981284593445299aaee0c3cc0cdb0b
[ "BSD-2-Clause" ]
48
2015-01-15T08:57:24.000Z
2022-01-26T04:04:34.000Z
coaster/views/__init__.py
AferriDaniel/coaster
3ffbc9d33c981284593445299aaee0c3cc0cdb0b
[ "BSD-2-Clause" ]
169
2015-01-16T13:17:38.000Z
2021-05-31T13:23:23.000Z
coaster/views/__init__.py
AferriDaniel/coaster
3ffbc9d33c981284593445299aaee0c3cc0cdb0b
[ "BSD-2-Clause" ]
17
2015-02-15T07:39:04.000Z
2021-10-05T11:20:22.000Z
""" View helpers ============ Coaster provides classes, functions and decorators for common scenarios in view handlers. """ # flake8: noqa from .classview import * from .decorators import * from .misc import *
16.307692
79
0.707547
9e481ccd75d0d45dc38668e3abc95311f9633891
1,429
py
Python
socialdistribution/profiles/migrations/0009_auto_20200308_0539.py
um4r12/CMPUT404-project-socialdistribution
54778371d1f6537370562de4ba4e4efe3288f95d
[ "Apache-2.0" ]
null
null
null
socialdistribution/profiles/migrations/0009_auto_20200308_0539.py
um4r12/CMPUT404-project-socialdistribution
54778371d1f6537370562de4ba4e4efe3288f95d
[ "Apache-2.0" ]
null
null
null
socialdistribution/profiles/migrations/0009_auto_20200308_0539.py
um4r12/CMPUT404-project-socialdistribution
54778371d1f6537370562de4ba4e4efe3288f95d
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.1.5 on 2020-03-08 05:39 from django.db import migrations, models import django.db.models.deletion
42.029412
167
0.650805
9e491ac31491040fbc01015d8b5c1a03d71d8961
377
py
Python
src/edeposit/amqp/rest/structures/__init__.py
edeposit/edeposit.rest
ecb1c00f7c156e1ed2000a0b68a3e4da506e7992
[ "MIT" ]
1
2015-12-10T13:30:22.000Z
2015-12-10T13:30:22.000Z
src/edeposit/amqp/rest/structures/__init__.py
edeposit/edeposit.rest
ecb1c00f7c156e1ed2000a0b68a3e4da506e7992
[ "MIT" ]
33
2015-10-06T16:02:13.000Z
2015-12-10T15:00:04.000Z
src/edeposit/amqp/rest/structures/__init__.py
edeposit/edeposit.rest
ecb1c00f7c156e1ed2000a0b68a3e4da506e7992
[ "MIT" ]
null
null
null
#! /usr/bin/env python # -*- coding: utf-8 -*- # # Interpreter version: python 2.7 # # Imports ===================================================================== from incomming import CacheTick from incomming import SaveLogin from incomming import RemoveLogin from incomming import StatusUpdate from outgoing import ...
26.928571
79
0.649867
9e4940a9f3cc370e790b4e7a714aac9bb4e6baa7
9,446
py
Python
accelbyte_py_sdk/api/platform/wrappers/_anonymization.py
AccelByte/accelbyte-python-sdk
dcd311fad111c59da828278975340fb92e0f26f7
[ "MIT" ]
null
null
null
accelbyte_py_sdk/api/platform/wrappers/_anonymization.py
AccelByte/accelbyte-python-sdk
dcd311fad111c59da828278975340fb92e0f26f7
[ "MIT" ]
1
2021-10-13T03:46:58.000Z
2021-10-13T03:46:58.000Z
accelbyte_py_sdk/api/platform/wrappers/_anonymization.py
AccelByte/accelbyte-python-sdk
dcd311fad111c59da828278975340fb92e0f26f7
[ "MIT" ]
null
null
null
# Copyright (c) 2021 AccelByte Inc. All Rights Reserved. # This is licensed software from AccelByte Inc, for limitations # and restrictions contact your company contract manager. # # Code generated. DO NOT EDIT! # template file: justice_py_sdk_codegen/__main__.py # pylint: disable=duplicate-code # pylint: disable=li...
37.935743
151
0.72401
9e49cf2dc6f50772b3945f19de0ff48e7f6c2734
358
py
Python
backend/api/serializers.py
vingle1/RestaurantProject
5106a7662f26324ef50eebcfcba673960dff1734
[ "MIT" ]
null
null
null
backend/api/serializers.py
vingle1/RestaurantProject
5106a7662f26324ef50eebcfcba673960dff1734
[ "MIT" ]
1
2017-12-10T18:12:38.000Z
2017-12-10T18:12:38.000Z
backend/api/serializers.py
vingle1/RestaurantProject
5106a7662f26324ef50eebcfcba673960dff1734
[ "MIT" ]
2
2017-10-31T20:48:04.000Z
2017-11-30T04:05:36.000Z
from django.contrib.auth.models import User, Group from rest_framework import serializers from rest_framework_json_api.relations import * #load django and webapp models #from django.contrib.auth.models import * from api.models import *
22.375
51
0.765363
9e4d5fb0fa81e143693d4b850e79279a83dcb058
622
py
Python
preprocessed_data/RGHS/Code/S_model.py
SaiKrishna1207/Underwater-Image-Segmentation
78def27e577b10e6722c02807bdcfeb7ba53d760
[ "MIT" ]
null
null
null
preprocessed_data/RGHS/Code/S_model.py
SaiKrishna1207/Underwater-Image-Segmentation
78def27e577b10e6722c02807bdcfeb7ba53d760
[ "MIT" ]
null
null
null
preprocessed_data/RGHS/Code/S_model.py
SaiKrishna1207/Underwater-Image-Segmentation
78def27e577b10e6722c02807bdcfeb7ba53d760
[ "MIT" ]
null
null
null
import numpy as np import pylab as pl x = [] # Make an array of x values y = [] # Make an array of y values for each x value for i in range(-128,127): x.append(i) for j in range(-128,127): temp = j *(2**(1 - abs((j/128)))) y.append(temp) # print('y',y) # pl.xlim(-128, 127)# set axis limits # pl.ylim(...
23.037037
66
0.639871
9e4db1ef4c553d26b23cdf167ecc2ec7e965d780
36,578
py
Python
tools/Blender Stuff/Plugins/Gothic_MaT_Blender/1.3/Gothic_MaT_Blender_1_3.py
PhoenixTales/gothic-devk
48193bef8fd37626f8909853bfc5ad4b7126f176
[ "FSFAP" ]
3
2021-04-13T07:12:30.000Z
2021-06-18T17:26:10.000Z
tools/Blender Stuff/Plugins/Gothic_MaT_Blender/1.3/Gothic_MaT_Blender_1_3.py
PhoenixTales/gothic-devk
48193bef8fd37626f8909853bfc5ad4b7126f176
[ "FSFAP" ]
null
null
null
tools/Blender Stuff/Plugins/Gothic_MaT_Blender/1.3/Gothic_MaT_Blender_1_3.py
PhoenixTales/gothic-devk
48193bef8fd37626f8909853bfc5ad4b7126f176
[ "FSFAP" ]
2
2021-03-23T19:45:39.000Z
2021-04-17T17:21:48.000Z
bl_info = { "name": "Gothic Materials and Textures Blender", "description": "Makes life easier for Gothic material export", "author": "Diego", "version": (1, 3, 0), "blender": (2, 78, 0), "location": "3D View > Tools", "warning": "", # used for warning icon and text in addons panel ...
43.963942
194
0.561458
9e4e27c4f397f2c0b09121050df5d040566af2dd
7,881
py
Python
v1/GCRCatalogs/MB2GalaxyCatalog.py
adam-broussard/descqa
d9681bd393553c31882ec7e28e6c1c7b6e482dd3
[ "BSD-3-Clause" ]
4
2017-11-14T03:33:57.000Z
2021-06-05T16:35:40.000Z
v1/GCRCatalogs/MB2GalaxyCatalog.py
adam-broussard/descqa
d9681bd393553c31882ec7e28e6c1c7b6e482dd3
[ "BSD-3-Clause" ]
136
2017-11-06T16:02:58.000Z
2021-11-11T18:20:23.000Z
v1/GCRCatalogs/MB2GalaxyCatalog.py
adam-broussard/descqa
d9681bd393553c31882ec7e28e6c1c7b6e482dd3
[ "BSD-3-Clause" ]
31
2017-11-06T19:55:35.000Z
2020-12-15T13:53:53.000Z
# Massive Black 2 galaxy catalog class import numpy as np from astropy.table import Table import astropy.units as u import astropy.cosmology from .GalaxyCatalogInterface import GalaxyCatalog
52.192053
134
0.53242
9e4e87db0add45d330be3d156367bbd52e0ded32
714
py
Python
skylernet/views.py
skylermishkin/skylernet
d715c69348c050d976ba7931127a576565b67ff1
[ "MIT" ]
null
null
null
skylernet/views.py
skylermishkin/skylernet
d715c69348c050d976ba7931127a576565b67ff1
[ "MIT" ]
null
null
null
skylernet/views.py
skylermishkin/skylernet
d715c69348c050d976ba7931127a576565b67ff1
[ "MIT" ]
null
null
null
from django.shortcuts import get_object_or_404, render from django.contrib.staticfiles.templatetags.staticfiles import static
42
96
0.564426
9e4e8b052d2746faabafff4026914e35d26807a7
532
py
Python
src/objects/qubit.py
KaroliShp/Quantumformatics
4166448706c06a1a45abd106da8152b4f4c40a25
[ "MIT" ]
2
2019-10-28T20:26:14.000Z
2019-10-29T08:28:45.000Z
src/objects/qubit.py
KaroliShp/Quantumformatics
4166448706c06a1a45abd106da8152b4f4c40a25
[ "MIT" ]
3
2019-10-28T09:19:27.000Z
2019-10-28T13:42:08.000Z
src/objects/qubit.py
KaroliShp/Quantumformatics
4166448706c06a1a45abd106da8152b4f4c40a25
[ "MIT" ]
null
null
null
from src.dirac_notation.bra import Bra from src.dirac_notation.ket import Ket from src.dirac_notation.matrix import Matrix from src.dirac_notation import functions as dirac from src.dirac_notation import constants as const from src.objects.quantum_system import QuantumSystem, SystemType
29.555556
64
0.755639
9e4edf8dd4337b4a83cb6c425f974138a731fbae
9,926
py
Python
cuddlefish/apiparser.py
mozilla/FlightDeck
61d66783252ac1318c990e342877a26c64f59062
[ "BSD-3-Clause" ]
6
2015-04-24T03:10:44.000Z
2020-12-27T19:46:33.000Z
cuddlefish/apiparser.py
fox2mike/FlightDeck
3a2fc78c13dd968041b349c4f9343e6c8b22dd25
[ "BSD-3-Clause" ]
null
null
null
cuddlefish/apiparser.py
fox2mike/FlightDeck
3a2fc78c13dd968041b349c4f9343e6c8b22dd25
[ "BSD-3-Clause" ]
5
2015-09-18T19:58:31.000Z
2020-01-28T05:46:55.000Z
import sys, re, textwrap def parse_hunks(text): # return a list of tuples. Each is one of: # ("raw", string) : non-API blocks # ("api-json", dict) : API blocks processed = 0 # we've handled all bytes up-to-but-not-including this offset line_number = 1 for m in re.finditer("<api...
35.833935
89
0.503728
9e4f2abe49eca6572412ecb2672b250ab2b29afd
1,217
py
Python
specs/core.py
farleykr/acrylamid
c6c0f60b594d2920f6387ba82b552093d7c5fe1b
[ "BSD-2-Clause-FreeBSD" ]
61
2015-01-15T23:23:11.000Z
2022-03-24T16:39:31.000Z
specs/core.py
farleykr/acrylamid
c6c0f60b594d2920f6387ba82b552093d7c5fe1b
[ "BSD-2-Clause-FreeBSD" ]
28
2015-01-26T22:32:24.000Z
2022-01-13T01:11:56.000Z
specs/core.py
farleykr/acrylamid
c6c0f60b594d2920f6387ba82b552093d7c5fe1b
[ "BSD-2-Clause-FreeBSD" ]
25
2015-01-22T19:26:29.000Z
2021-06-30T21:53:06.000Z
# -*- coding: utf-8 -*- import attest from acrylamid.core import cache
23.862745
56
0.532457
9e51608d7b0aa9e6ba5eb1fb96ffd50952b54f6c
1,235
py
Python
python/animate_sub_plots_sharc.py
FinMacDov/PhD_codes
44e781c270fa9822a8137ef271f35c6e945c5828
[ "MIT" ]
null
null
null
python/animate_sub_plots_sharc.py
FinMacDov/PhD_codes
44e781c270fa9822a8137ef271f35c6e945c5828
[ "MIT" ]
null
null
null
python/animate_sub_plots_sharc.py
FinMacDov/PhD_codes
44e781c270fa9822a8137ef271f35c6e945c5828
[ "MIT" ]
null
null
null
from subplot_animation import subplot_animation import sys import matplotlib matplotlib.use('agg') import matplotlib.pyplot as plt import os import numpy as np import glob sys.path.append("/home/smp16fm/forked_amrvac/amrvac/tools/python") from amrvac_pytools.datfiles.reading import amrvac_reader from amrvac_pytools.v...
27.444444
110
0.715789
9e554dd387e1b98981fc98073b0b6ac0775be949
812
py
Python
swcf/controllers/index.py
pratiwilestari/simpleWebContactForm
56369daadb8130bb72c19ae8ee10ad590804c84d
[ "MIT" ]
null
null
null
swcf/controllers/index.py
pratiwilestari/simpleWebContactForm
56369daadb8130bb72c19ae8ee10ad590804c84d
[ "MIT" ]
null
null
null
swcf/controllers/index.py
pratiwilestari/simpleWebContactForm
56369daadb8130bb72c19ae8ee10ad590804c84d
[ "MIT" ]
null
null
null
from flask.helpers import flash from flask.wrappers import Request from swcf import app from flask import render_template, redirect, request, url_for from swcf.dao.indexDAO import *
31.230769
61
0.674877
9e55fcc920876b41b0c966a7f0b020aafcb8f66f
87
py
Python
examples/testlib2/box/methods_a.py
uibcdf/pyunitwizard
54cdce7369e1f2a3771a1f05a4a6ba1d7610a5e7
[ "MIT" ]
2
2021-07-01T14:33:58.000Z
2022-03-19T19:19:09.000Z
examples/testlib2/box/methods_a.py
uibcdf/pyunitwizard
54cdce7369e1f2a3771a1f05a4a6ba1d7610a5e7
[ "MIT" ]
15
2021-02-11T18:54:16.000Z
2022-03-18T17:38:03.000Z
examples/testlib2/box/methods_a.py
uibcdf/pyunitwizard
54cdce7369e1f2a3771a1f05a4a6ba1d7610a5e7
[ "MIT" ]
2
2021-06-17T18:56:02.000Z
2022-03-08T05:02:17.000Z
from testlib2 import _puw
14.5
34
0.770115
9e5734bc9428d420f659a156adfa25e7ae27b0df
4,668
py
Python
tests/broker/test_show_machine.py
ned21/aquilon
6562ea0f224cda33b72a6f7664f48d65f96bd41a
[ "Apache-2.0" ]
7
2015-07-31T05:57:30.000Z
2021-09-07T15:18:56.000Z
tests/broker/test_show_machine.py
ned21/aquilon
6562ea0f224cda33b72a6f7664f48d65f96bd41a
[ "Apache-2.0" ]
115
2015-03-03T13:11:46.000Z
2021-09-20T12:42:24.000Z
tests/broker/test_show_machine.py
ned21/aquilon
6562ea0f224cda33b72a6f7664f48d65f96bd41a
[ "Apache-2.0" ]
13
2015-03-03T11:17:59.000Z
2021-09-09T09:16:41.000Z
#!/usr/bin/env python # -*- cpy-indent-level: 4; indent-tabs-mode: nil -*- # ex: set expandtab softtabstop=4 shiftwidth=4: # # Copyright (C) 2008,2009,2010,2011,2012,2013,2014,2015,2016 Contributor # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with...
45.320388
79
0.646744
9e5983beaa6b6cc08ac0ba87d128a18495efcf64
117
py
Python
config-template.py
johanjordaan/silver-giggle
5304a96b6aa1c4c5eb1f9069212423810aa89818
[ "MIT" ]
1
2021-12-04T05:11:26.000Z
2021-12-04T05:11:26.000Z
config-template.py
johanjordaan/silver-giggle
5304a96b6aa1c4c5eb1f9069212423810aa89818
[ "MIT" ]
null
null
null
config-template.py
johanjordaan/silver-giggle
5304a96b6aa1c4c5eb1f9069212423810aa89818
[ "MIT" ]
null
null
null
host="mysql-general.cyqv8he15vrg.ap-southeast-2.rds.amazonaws.com" user="admin" password="" database="silver_giggle"
23.4
66
0.794872