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
48137f6833204958dbcfd12efea83db5d3727b1f
158
py
Python
python/square root.py
SULING4EVER/learngit
d55f942fbd782b309b0490c34a1bb743f6c4ef03
[ "Apache-2.0" ]
null
null
null
python/square root.py
SULING4EVER/learngit
d55f942fbd782b309b0490c34a1bb743f6c4ef03
[ "Apache-2.0" ]
null
null
null
python/square root.py
SULING4EVER/learngit
d55f942fbd782b309b0490c34a1bb743f6c4ef03
[ "Apache-2.0" ]
null
null
null
x=input("Enter a umber of which you want to know the square root.") x=int(x) g=x/2 while (g*g-x)*(g*g-x)>0.00000000001: g=(g+x/g)/2 print(g) print(g)
19.75
67
0.620253
481471f6b03716720f9e82b4bb3fce65fee25248
59
py
Python
chapter 5/sampleCode22.py
DTAIEB/Thoughtful-Data-Science
8b80e8f3e33b6fdc6672ecee1f27e0b983b28241
[ "Apache-2.0" ]
15
2018-06-01T19:18:32.000Z
2021-11-28T03:31:35.000Z
chapter 5/sampleCode22.py
chshychen/Thoughtful-Data-Science
8b80e8f3e33b6fdc6672ecee1f27e0b983b28241
[ "Apache-2.0" ]
1
2018-12-17T02:01:42.000Z
2018-12-17T02:01:42.000Z
chapter 5/sampleCode22.py
chshychen/Thoughtful-Data-Science
8b80e8f3e33b6fdc6672ecee1f27e0b983b28241
[ "Apache-2.0" ]
10
2018-09-23T02:45:45.000Z
2022-03-12T15:32:05.000Z
import pixiedust my_logger = pixiedust.getLogger(__name__)
19.666667
41
0.847458
481650f94557e95d1e169f088c7d5dec8a6391f7
1,212
py
Python
iaso/migrations/0052_fix_period_before_after.py
ekhalilbsq/iaso
e6400c52aeb4f67ce1ca83b03efa3cb11ef235ee
[ "MIT" ]
29
2020-12-26T07:22:19.000Z
2022-03-07T13:40:09.000Z
iaso/migrations/0052_fix_period_before_after.py
ekhalilbsq/iaso
e6400c52aeb4f67ce1ca83b03efa3cb11ef235ee
[ "MIT" ]
150
2020-11-09T15:03:27.000Z
2022-03-07T15:36:07.000Z
iaso/migrations/0052_fix_period_before_after.py
ekhalilbsq/iaso
e6400c52aeb4f67ce1ca83b03efa3cb11ef235ee
[ "MIT" ]
4
2020-11-09T10:38:13.000Z
2021-10-04T09:42:47.000Z
# Generated by Django 2.1.11 on 2020-06-04 09:19 from django.db import migrations, models
35.647059
118
0.655116
4816994d8585786c6c9791f101c25452477dc72a
169
py
Python
vc/manager/generation_result.py
very-meanly/vc
41f63e8a8b159f3a49430bbee6872162de060901
[ "MIT" ]
null
null
null
vc/manager/generation_result.py
very-meanly/vc
41f63e8a8b159f3a49430bbee6872162de060901
[ "MIT" ]
null
null
null
vc/manager/generation_result.py
very-meanly/vc
41f63e8a8b159f3a49430bbee6872162de060901
[ "MIT" ]
null
null
null
from vc.manager.base import Manager from vc.model.generation_result import GenerationResult
24.142857
55
0.840237
4818f40bb2961d309e93cce19f1650592ac0d462
123
py
Python
src/aceinna/bootstrap/__init__.py
lihaiyong827/python-openimu
f1c536ba4182aaeabd87b63c08ebd92f97e8dbb4
[ "Apache-2.0" ]
41
2018-07-20T17:30:33.000Z
2022-02-24T08:17:39.000Z
src/aceinna/bootstrap/__init__.py
lihaiyong827/python-openimu
f1c536ba4182aaeabd87b63c08ebd92f97e8dbb4
[ "Apache-2.0" ]
52
2018-06-25T22:15:14.000Z
2022-03-10T07:30:56.000Z
src/aceinna/bootstrap/__init__.py
lihaiyong827/python-openimu
f1c536ba4182aaeabd87b63c08ebd92f97e8dbb4
[ "Apache-2.0" ]
31
2018-12-19T00:10:08.000Z
2022-03-19T02:14:03.000Z
import sys import os import traceback from .default import Default from .cli import CommandLine from .loader import Loader
17.571429
28
0.829268
48197fe7d2676b37c5b385a0395e386523f42d50
63
py
Python
test/tutorial/scripts/api/logout_api.py
GPelayo/dcp-cli
d585fd8b4687f29bfd034242472b870d17ed1e50
[ "MIT" ]
8
2017-10-10T18:29:27.000Z
2019-06-15T04:25:43.000Z
test/tutorial/scripts/api/logout_api.py
GPelayo/dcp-cli
d585fd8b4687f29bfd034242472b870d17ed1e50
[ "MIT" ]
440
2017-10-09T16:06:22.000Z
2021-03-25T17:12:18.000Z
test/tutorial/scripts/api/logout_api.py
GPelayo/dcp-cli
d585fd8b4687f29bfd034242472b870d17ed1e50
[ "MIT" ]
10
2017-11-07T22:42:59.000Z
2020-05-05T15:36:01.000Z
from hca.dss import DSSClient dss = DSSClient() dss.logout()
10.5
29
0.730159
481a202af8c698328bf81874ddd4607ef4a05765
1,995
py
Python
home/stock_model.py
85599/nse-django
f42531528137f39596b374a0dacdd37957e69ed2
[ "MIT" ]
null
null
null
home/stock_model.py
85599/nse-django
f42531528137f39596b374a0dacdd37957e69ed2
[ "MIT" ]
1
2021-02-25T05:34:43.000Z
2021-02-25T05:34:43.000Z
home/stock_model.py
85599/nse-django
f42531528137f39596b374a0dacdd37957e69ed2
[ "MIT" ]
null
null
null
import os import pandas as pd from sklearn import linear_model from nsetools import Nse import pathlib import joblib nse = Nse() def nse_data(stock_name): '''input stock_name : str output : list = output,high,low''' data = nse.get_quote(stock_name) current = [data['open'],data['dayHigh'],data['dayLow'...
28.098592
88
0.593484
481a590185ab360ad8f0c2ef3e09b5d683dfa4f6
26,620
py
Python
examples/rough_translated1/osgthreadedterrain.py
JaneliaSciComp/osgpyplusplus
a5ae3f69c7e9101a32d8cc95fe680dab292f75ac
[ "BSD-3-Clause" ]
17
2015-06-01T12:19:46.000Z
2022-02-12T02:37:48.000Z
examples/rough_translated1/osgthreadedterrain.py
cmbruns/osgpyplusplus
f8bfca2cf841e15f6ddb41c958f3ad0d0b9e4b75
[ "BSD-3-Clause" ]
7
2015-07-04T14:36:49.000Z
2015-07-23T18:09:49.000Z
examples/rough_translated1/osgthreadedterrain.py
cmbruns/osgpyplusplus
f8bfca2cf841e15f6ddb41c958f3ad0d0b9e4b75
[ "BSD-3-Clause" ]
7
2015-11-28T17:00:31.000Z
2020-01-08T07:00:59.000Z
#!/bin/env python # Automatically translated python version of # OpenSceneGraph example program "osgthreadedterrain" # !!! This program will need manual tuning before it will work. !!! import sys from osgpypp import OpenThreads from osgpypp import osg from osgpypp import osgDB from osgpypp import osgGA from osgpypp...
34.661458
130
0.598911
481b02369261f195f00f8a2beb84d5e057a643b6
5,207
py
Python
deepy/data/audio/tau2019.py
popura/deepy-pytorch
71d87a82e937d82b9b149041280a392cc24b7299
[ "MIT" ]
1
2021-07-19T09:38:26.000Z
2021-07-19T09:38:26.000Z
deepy/data/audio/tau2019.py
popura/deepy-pytorch
71d87a82e937d82b9b149041280a392cc24b7299
[ "MIT" ]
1
2021-07-26T06:47:45.000Z
2021-07-26T06:47:45.000Z
deepy/data/audio/tau2019.py
popura/deepy-pytorch
71d87a82e937d82b9b149041280a392cc24b7299
[ "MIT" ]
null
null
null
import sys import os import os.path import random from pathlib import Path import torch import torchaudio from .audiodataset import AUDIO_EXTENSIONS, default_loader from ..dataset import PureDatasetFolder, has_file_allowed_extension
41.325397
109
0.61014
481b0da064442a0c9a7254f4c7fb899384b93ddc
13,530
py
Python
rrl.py
siekmanj/apex
49483c827d8e70302b3e993acf29e9798f4435c1
[ "MIT" ]
null
null
null
rrl.py
siekmanj/apex
49483c827d8e70302b3e993acf29e9798f4435c1
[ "MIT" ]
1
2019-11-14T21:12:31.000Z
2019-11-14T21:12:31.000Z
rrl.py
siekmanj/rrl
49483c827d8e70302b3e993acf29e9798f4435c1
[ "MIT" ]
null
null
null
import os import torch import hashlib from collections import OrderedDict from util.env import env_factory, eval_policy from util.logo import print_logo if __name__ == "__main__": import sys, argparse, time, os parser = argparse.ArgumentParser() parser.add_argument("--nolog", action='store_true') print...
63.820755
143
0.601404
481b39532625d6b67659f1b6e06ab7e797e7fa51
215
py
Python
swaping 2.py
aash-gates/aash-python-babysteps
cb88b02b0d33ac74acb183d4f11f6baad0ad3db9
[ "Unlicense" ]
7
2020-11-16T18:23:21.000Z
2021-12-18T14:08:54.000Z
swaping 2.py
00mjk/aash-python-babysteps
c52ffbc2690ea387eaad6639bb9764b9ee015bfd
[ "Unlicense" ]
null
null
null
swaping 2.py
00mjk/aash-python-babysteps
c52ffbc2690ea387eaad6639bb9764b9ee015bfd
[ "Unlicense" ]
1
2020-12-21T15:59:44.000Z
2020-12-21T15:59:44.000Z
''' practice qusestion from chapter 1 Module 5 of IBM Digital Nation Courses by Aashik J Krishnan/Aash Gates ''' x = 10 y = "ten" #step 1 x,y = y,x #printing on next line print(x) print(y) #end of the program
11.944444
72
0.688372
481b7b847a5b07aac335adc738e6043d2c120dd3
1,965
py
Python
Lab_5_Eigen_Decomposition/eigen_images.py
NahianHasan/ECE63700-Digital_Image_Processing
ef1f1df93ffa16a4c76ddc8cc5ed6bc303dea96b
[ "BSD-3-Clause" ]
null
null
null
Lab_5_Eigen_Decomposition/eigen_images.py
NahianHasan/ECE63700-Digital_Image_Processing
ef1f1df93ffa16a4c76ddc8cc5ed6bc303dea96b
[ "BSD-3-Clause" ]
null
null
null
Lab_5_Eigen_Decomposition/eigen_images.py
NahianHasan/ECE63700-Digital_Image_Processing
ef1f1df93ffa16a4c76ddc8cc5ed6bc303dea96b
[ "BSD-3-Clause" ]
null
null
null
import read_data as RD import numpy as np import matplotlib.pyplot as plt from PIL import Image X = RD.read_data() print('X = ',X.shape) X_mean = np.reshape(np.sum(X,1)/X.shape[1],[ X.shape[0],1]) X = X-X_mean print('X_centerred = ',X.shape) [U,S,V] = np.linalg.svd(X, full_matrices=False) print('U = ',U.shape) print('...
31.190476
72
0.690076
481e2d50c4328a17ebca8a6fc8ec42de2e15ed63
3,986
py
Python
activatable_model/models.py
wesleykendall/django-activatable-model
e039db72e6a94f622293cabbbac47f88b1c1c4dc
[ "MIT" ]
null
null
null
activatable_model/models.py
wesleykendall/django-activatable-model
e039db72e6a94f622293cabbbac47f88b1c1c4dc
[ "MIT" ]
null
null
null
activatable_model/models.py
wesleykendall/django-activatable-model
e039db72e6a94f622293cabbbac47f88b1c1c4dc
[ "MIT" ]
null
null
null
from django.db import models from manager_utils import ManagerUtilsQuerySet, ManagerUtilsManager from activatable_model.signals import model_activations_changed
39.078431
120
0.699448
481e768516bbaa32d5ff9541dc002fb4c1d54c46
755
py
Python
my_lambdata/my_mod.py
DevvinK/lambdata-devvink-dspt6
4920402865912cea619d995a0a092ff8f7dc7806
[ "MIT" ]
null
null
null
my_lambdata/my_mod.py
DevvinK/lambdata-devvink-dspt6
4920402865912cea619d995a0a092ff8f7dc7806
[ "MIT" ]
null
null
null
my_lambdata/my_mod.py
DevvinK/lambdata-devvink-dspt6
4920402865912cea619d995a0a092ff8f7dc7806
[ "MIT" ]
null
null
null
# my_lambdata/my_mod.py # my_lambdata.my_mod import pandas as pd def date_divider(df,date_col): ''' df: the whole dataframe adding new day, month, year to date_col: the name of the column the date is stored in ''' converted_df = df.copy() converted_df["Year"] = pd.DatetimeIndex(converted_df[date_c...
26.034483
73
0.695364
4820376c0af9d2cd61ab8620253e559ebeadb415
30,627
py
Python
visibility.py
DanielAndreasen/ObservationTools
bae6bce4345cbd207d901ad5c4073a8e8e8a0d3e
[ "MIT" ]
2
2016-04-05T16:29:32.000Z
2016-04-13T15:51:48.000Z
visibility.py
iastro-pt/ObservationTools
bae6bce4345cbd207d901ad5c4073a8e8e8a0d3e
[ "MIT" ]
45
2016-11-23T17:51:36.000Z
2021-05-17T10:57:37.000Z
visibility.py
DanielAndreasen/ObservationTools
bae6bce4345cbd207d901ad5c4073a8e8e8a0d3e
[ "MIT" ]
2
2016-11-24T00:24:29.000Z
2016-11-30T11:36:43.000Z
# -*- coding: utf-8 -*- from __future__ import print_function import sys import numpy as np import datetime as dt from dateutil import tz import pickle from random import choice from PyAstronomy import pyasl from astropy.coordinates import SkyCoord from astropy.coordinates import name_resolve import ephem import argpar...
37.259124
127
0.631795
4820cb952aabf646bc6ba2c9f17988cb0a784a1d
2,410
py
Python
brainrender/Utils/parsers/rat.py
maithamn/BrainRender
9359ccc5b278f58ee3124bcf75b9ebefe0378bbc
[ "MIT" ]
null
null
null
brainrender/Utils/parsers/rat.py
maithamn/BrainRender
9359ccc5b278f58ee3124bcf75b9ebefe0378bbc
[ "MIT" ]
null
null
null
brainrender/Utils/parsers/rat.py
maithamn/BrainRender
9359ccc5b278f58ee3124bcf75b9ebefe0378bbc
[ "MIT" ]
null
null
null
import sys sys.path.append('./') import os import pandas as pd from vtkplotter import load from brainrender import DEFAULT_STRUCTURE_COLOR def get_rat_regions_metadata(metadata_fld): """ :param metadata_fld: """ return pd.read_pickle(os.path.join(metadata_fld, "rat_structures.pkl")) def get_rat_...
29.036145
110
0.546473
482206f17e299eb89f694f10375879badc6e9f3d
8,678
py
Python
components/isceobj/Alos2burstProc/runFrameMosaic.py
vincentschut/isce2
1557a05b7b6a3e65abcfc32f89c982ccc9b65e3c
[ "ECL-2.0", "Apache-2.0" ]
1
2020-08-18T13:00:39.000Z
2020-08-18T13:00:39.000Z
components/isceobj/Alos2burstProc/runFrameMosaic.py
vincentschut/isce2
1557a05b7b6a3e65abcfc32f89c982ccc9b65e3c
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
components/isceobj/Alos2burstProc/runFrameMosaic.py
vincentschut/isce2
1557a05b7b6a3e65abcfc32f89c982ccc9b65e3c
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# # Author: Cunren Liang # Copyright 2015-present, NASA-JPL/Caltech # import os import logging import isceobj from isceobj.Alos2Proc.runFrameMosaic import frameMosaic from isceobj.Alos2Proc.runFrameMosaic import frameMosaicParameters from isceobj.Alos2Proc.Alos2ProcPublic import create_xml logger = logging.getLogger...
50.748538
139
0.698779
48223ac36e2493351b3ff6303137a45f254fb804
820
py
Python
acronym.py
steffenschroeder/python-playground
3c94a7c92a26d41e69118e8245e8ac9db7cf5ed2
[ "MIT" ]
null
null
null
acronym.py
steffenschroeder/python-playground
3c94a7c92a26d41e69118e8245e8ac9db7cf5ed2
[ "MIT" ]
null
null
null
acronym.py
steffenschroeder/python-playground
3c94a7c92a26d41e69118e8245e8ac9db7cf5ed2
[ "MIT" ]
null
null
null
import unittest if __name__ == '__main__': unittest.main()
27.333333
87
0.687805
4822b67c5088178025d58774742a32a17ce91c77
834
py
Python
env/lib/python3.8/site-packages/plotly/validators/waterfall/_connector.py
acrucetta/Chicago_COVI_WebApp
a37c9f492a20dcd625f8647067394617988de913
[ "MIT", "Unlicense" ]
11,750
2015-10-12T07:03:39.000Z
2022-03-31T20:43:15.000Z
env/lib/python3.8/site-packages/plotly/validators/waterfall/_connector.py
acrucetta/Chicago_COVI_WebApp
a37c9f492a20dcd625f8647067394617988de913
[ "MIT", "Unlicense" ]
2,951
2015-10-12T00:41:25.000Z
2022-03-31T22:19:26.000Z
env/lib/python3.8/site-packages/plotly/validators/waterfall/_connector.py
acrucetta/Chicago_COVI_WebApp
a37c9f492a20dcd625f8647067394617988de913
[ "MIT", "Unlicense" ]
2,623
2015-10-15T14:40:27.000Z
2022-03-28T16:05:50.000Z
import _plotly_utils.basevalidators
33.36
83
0.57554
4823bb4588dd2055c421f82a83ae6da7fc0c5d90
7,915
py
Python
ssd_data/augmentations/geometrics.py
star-baba/res50_sa_ssd
c7c0f218307b50e7ac1fd8945868df01f1743467
[ "MIT" ]
1
2020-06-16T12:53:25.000Z
2020-06-16T12:53:25.000Z
ssd_data/augmentations/geometrics.py
star-baba/res50_sa_ssd
c7c0f218307b50e7ac1fd8945868df01f1743467
[ "MIT" ]
3
2020-06-06T02:00:34.000Z
2020-06-23T16:38:25.000Z
ssd_data/augmentations/geometrics.py
star-baba/res50_sa_ssd
c7c0f218307b50e7ac1fd8945868df01f1743467
[ "MIT" ]
1
2021-04-27T06:40:21.000Z
2021-04-27T06:40:21.000Z
from numpy import random import numpy as np import logging from ._utils import decision from ssd.core.boxes.utils import iou_numpy, centroids2corners_numpy, corners2centroids_numpy from .base import Compose
36.307339
115
0.586734
48246329c18e90c00165cc92ef48bb7d9a328558
5,200
py
Python
tests/unit_tests/prepare_email/test_mail_segmenting.py
farthur/melusine
121fbb17da221b12186a275d5843b466ce65d954
[ "Apache-2.0" ]
null
null
null
tests/unit_tests/prepare_email/test_mail_segmenting.py
farthur/melusine
121fbb17da221b12186a275d5843b466ce65d954
[ "Apache-2.0" ]
null
null
null
tests/unit_tests/prepare_email/test_mail_segmenting.py
farthur/melusine
121fbb17da221b12186a275d5843b466ce65d954
[ "Apache-2.0" ]
null
null
null
import pandas as pd from melusine.prepare_email.mail_segmenting import structure_email, tag_signature structured_historic = [ { "text": " \n \n \n Bonjours, \n \n Suite a notre conversation \ tlphonique de Mardi , pourriez vous me dire la \n somme que je vous \ dois afin d'd'tre en rgularisation ...
35.616438
93
0.497308
48253cfafc062954525ca06fd5152e38d4e70a79
295
py
Python
Modulos/Modulo2/app3.py
Trallyan/Curso_Udemy
2a5c0becd14352f2cc2bf2362d1e5494edd6198d
[ "MIT" ]
null
null
null
Modulos/Modulo2/app3.py
Trallyan/Curso_Udemy
2a5c0becd14352f2cc2bf2362d1e5494edd6198d
[ "MIT" ]
null
null
null
Modulos/Modulo2/app3.py
Trallyan/Curso_Udemy
2a5c0becd14352f2cc2bf2362d1e5494edd6198d
[ "MIT" ]
null
null
null
idade = 18 carteiramotorista = True print (idade >= 18 and carteiramotorista == True) print ("Pode Dirigir") velocidade = 90 radar = 100 radarfuncionando = False print (velocidade > radar and radarfuncionando == True) print ("No foi multado") velocidade1 = 101 print (velocidade1 >= radar)
18.4375
55
0.735593
482633d918d23f0a510e111cc0ad6f51458a51a4
1,233
py
Python
examples/basic/merge_instance.py
talashilkarraj/spydrnet-physical
d13bcbb0feef7d5c93aa60af4a916f837128a5ad
[ "BSD-3-Clause" ]
3
2021-11-05T18:25:21.000Z
2022-03-02T22:03:02.000Z
examples/basic/merge_instance.py
talashilkarraj/spydrnet-physical
d13bcbb0feef7d5c93aa60af4a916f837128a5ad
[ "BSD-3-Clause" ]
null
null
null
examples/basic/merge_instance.py
talashilkarraj/spydrnet-physical
d13bcbb0feef7d5c93aa60af4a916f837128a5ad
[ "BSD-3-Clause" ]
2
2022-01-10T14:27:59.000Z
2022-03-13T08:21:33.000Z
""" =================================== Merging two instances in the design =================================== This example demonstrate how to merge two instance in the design to create a new merged definition .. hdl-diagram:: ../../../examples/basic/_initial_design_merge.v :type: netlistsvg :align: center ...
26.804348
80
0.703163
482697dcf4d097846528ae15ee8dbca33b6e86d7
525
py
Python
splunge.py
neilebliss/reddit_bot
74be4b57ddbdf9fe0d9876207388ee2778b4a50d
[ "Unlicense" ]
null
null
null
splunge.py
neilebliss/reddit_bot
74be4b57ddbdf9fe0d9876207388ee2778b4a50d
[ "Unlicense" ]
null
null
null
splunge.py
neilebliss/reddit_bot
74be4b57ddbdf9fe0d9876207388ee2778b4a50d
[ "Unlicense" ]
null
null
null
import praw import re import os reddit = praw.Reddit('Splunge Bot v1', client_id=os.environ['REDDIT_CLIENT_ID'], client_secret=os.environ['REDDIT_CLIENT_SECRET'], password=os.environ['REDDIT_PASSWORD'], username=os.environ['REDDIT_USERNAME']) subreddit = reddit.subreddit('tubasaur') for submission in subreddit.new(lim...
40.384615
210
0.775238
48285ffa4d4045b7cf655571731a70ba6854e4b3
19,519
py
Python
cogv3/admin/managecommands.py
XFazze/discordbot
6b4201a6d6ff1bed5f65de4b4d30738b4d51e223
[ "MIT" ]
2
2021-07-29T02:39:36.000Z
2021-07-29T02:39:38.000Z
cogv3/admin/managecommands.py
XFazze/discordbot
6b4201a6d6ff1bed5f65de4b4d30738b4d51e223
[ "MIT" ]
2
2021-08-16T08:31:24.000Z
2021-09-20T16:34:58.000Z
cogv3/admin/managecommands.py
XFazze/discordbot
6b4201a6d6ff1bed5f65de4b4d30738b4d51e223
[ "MIT" ]
null
null
null
import discord from discord import embeds from discord.ext import commands from discord.ext.commands.core import command from pymongo import MongoClient, collation from discord_components import Button, Select, SelectOption, ComponentsBot from discord.utils import get
42.06681
230
0.56217
48289ef712fad809681babbffb67acddcce6b08d
13,910
py
Python
edb/pgsql/compiler/context.py
OhBonsai/edgedb
786c853090b90f3005cb65014194d0dbd45d6fcc
[ "Apache-2.0" ]
2
2019-01-21T05:43:52.000Z
2019-05-24T02:53:14.000Z
edb/pgsql/compiler/context.py
ciusji/edgedb
1c68c02430a92464839f03f43c4e5ad6f7ede4e0
[ "Apache-2.0" ]
null
null
null
edb/pgsql/compiler/context.py
ciusji/edgedb
1c68c02430a92464839f03f43c4e5ad6f7ede4e0
[ "Apache-2.0" ]
null
null
null
# # This source file is part of the EdgeDB open source project. # # Copyright 2008-present MagicStack Inc. and the EdgeDB 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...
33.680387
76
0.649029
4828cf4e5987d77ba633b24834a9ab7cbcc2c32c
1,111
py
Python
tests/unit/test_resources_log.py
CarlosAMolina/logs-analyzer
b381d0c7ae4c5a8b6911d2b7019baa74208192c6
[ "MIT" ]
null
null
null
tests/unit/test_resources_log.py
CarlosAMolina/logs-analyzer
b381d0c7ae4c5a8b6911d2b7019baa74208192c6
[ "MIT" ]
null
null
null
tests/unit/test_resources_log.py
CarlosAMolina/logs-analyzer
b381d0c7ae4c5a8b6911d2b7019baa74208192c6
[ "MIT" ]
null
null
null
import unittest import mock from src.api.resources import log from tests import LOGS_PATH if __name__ == "__main__": unittest.main()
29.236842
80
0.636364
482a0469f8aaa784c2bee17a9875456c7d03fc8d
4,378
py
Python
src/rqt_py_trees/message_loader_thread.py
alexfneves/rqt_py_trees
87237c3dcf25db419ad783ec29b9a40fcfa7b75c
[ "BSD-3-Clause" ]
4
2021-04-19T04:04:06.000Z
2022-02-08T10:13:37.000Z
src/rqt_py_trees/message_loader_thread.py
alexfneves/rqt_py_trees
87237c3dcf25db419ad783ec29b9a40fcfa7b75c
[ "BSD-3-Clause" ]
7
2016-11-25T04:53:29.000Z
2018-10-07T21:49:10.000Z
src/rqt_py_trees/message_loader_thread.py
alexfneves/rqt_py_trees
87237c3dcf25db419ad783ec29b9a40fcfa7b75c
[ "BSD-3-Clause" ]
3
2021-01-08T10:47:21.000Z
2021-07-26T15:18:39.000Z
# Software License Agreement (BSD License) # # Copyright (c) 2012, Willow Garage, Inc. # 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 source code must retain the above...
38.403509
159
0.680448
482b6bc1045b43ed5348ce5b37a40561a89cb30b
2,796
py
Python
run_ddpg.py
huangwl18/geometry-dex
0c629316258ef560b360c6103d83d5cb828e3ccd
[ "MIT" ]
29
2021-11-11T23:05:02.000Z
2022-03-10T06:05:23.000Z
run_ddpg.py
huangwl18/geometry-dex
0c629316258ef560b360c6103d83d5cb828e3ccd
[ "MIT" ]
2
2021-12-13T16:18:14.000Z
2022-03-09T14:04:37.000Z
run_ddpg.py
huangwl18/geometry-dex
0c629316258ef560b360c6103d83d5cb828e3ccd
[ "MIT" ]
2
2021-11-18T06:00:30.000Z
2021-12-17T03:04:52.000Z
from rl_modules.utils import * import torch import random from rl_modules.ddpg_agent import ddpg_agent from arguments_ddpg import get_args import os import numpy as np import dex_envs import wandb import warnings warnings.simplefilter(action='ignore', category=FutureWarning) """ train the agent """ if __name__ ...
31.41573
90
0.658798
482da58116dfb913fbea2c87dc9df1955becba11
3,528
py
Python
code/a_train_generalist.py
seba-1511/specialists
9888e639707142db80aafe6ae7bf25f572d34505
[ "Apache-2.0" ]
1
2016-05-31T07:54:31.000Z
2016-05-31T07:54:31.000Z
code/a_train_generalist.py
seba-1511/specialists
9888e639707142db80aafe6ae7bf25f572d34505
[ "Apache-2.0" ]
null
null
null
code/a_train_generalist.py
seba-1511/specialists
9888e639707142db80aafe6ae7bf25f572d34505
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ This file is an experiment that will train a specified generalist network. """ import random import numpy as np from neon.backends import gen_backend from neon.data import DataIterator, load_cifar10 from neon.transforms.cost import Misclassification from neon.callbac...
33.283019
98
0.67602
482db97435aafc9eda667eac490cfcdd4c5b28e6
1,393
py
Python
lilies/terminal/ansicodes.py
mrz1988/lilies
9525770fabab7e142ebedc40ab5d0c8027aa90ba
[ "MIT" ]
null
null
null
lilies/terminal/ansicodes.py
mrz1988/lilies
9525770fabab7e142ebedc40ab5d0c8027aa90ba
[ "MIT" ]
51
2019-06-18T16:35:56.000Z
2021-02-23T00:32:23.000Z
lilies/terminal/ansicodes.py
mrz1988/lilies
9525770fabab7e142ebedc40ab5d0c8027aa90ba
[ "MIT" ]
null
null
null
from __future__ import unicode_literals # Leading control character CSI = "\033[" FULLRESET = 0 BOLD = BRIGHT = 1 DIM = 2 ITALIC = 3 UNDERLINE = 4 BLINK = 5 # Unsupported ################ # RAPIDBLINK = 6 # REVERSE = 7 # CONCEAL = 8 STRIKE = 9 # Unsupported ################ # PRIMARY_FONT = 10 # ALTFONT1 = 11 # AL...
13.656863
52
0.61809
482df5bdcc006ad0be823ed8da879646f9d15872
2,220
py
Python
preprocess/step1.py
wenhuchen/KGPT
f898577d8e0ebbf48ea84915777c7b01e616ca3a
[ "MIT" ]
119
2020-10-06T08:21:21.000Z
2022-03-25T12:00:10.000Z
preprocess/step1.py
wenhuchen/KGPT
f898577d8e0ebbf48ea84915777c7b01e616ca3a
[ "MIT" ]
7
2020-10-29T09:34:14.000Z
2021-12-28T14:27:27.000Z
preprocess/step1.py
wenhuchen/KGPT
f898577d8e0ebbf48ea84915777c7b01e616ca3a
[ "MIT" ]
16
2020-10-07T18:58:48.000Z
2022-02-23T07:42:29.000Z
import json import regex import nltk.data from nltk.tokenize import word_tokenize import sys sent_detector = nltk.data.load('tokenizers/punkt/english.pickle') def split_paragraphs(text): """ remove urls, lowercase all words and separate paragraphs """ splits = regex.split(r'\n+', text) paras = [] ...
30.833333
106
0.498198
482eeb2176d1d54a0f7e399cf1d1c1710f4d9f12
454
py
Python
mintools/zmqmin/client.py
jtimon/elements-explorer
397089593e860c4bdceb3a1222687a9120db0022
[ "MIT" ]
9
2018-01-25T16:32:18.000Z
2018-10-10T18:47:33.000Z
mintools/zmqmin/client.py
jtimon/elements-explorer
397089593e860c4bdceb3a1222687a9120db0022
[ "MIT" ]
2
2018-03-13T20:50:33.000Z
2018-03-13T21:01:22.000Z
mintools/zmqmin/client.py
jtimon/elements-explorer
397089593e860c4bdceb3a1222687a9120db0022
[ "MIT" ]
2
2018-02-20T17:50:18.000Z
2018-02-26T07:29:15.000Z
# Copyright (c) 2012-2018 The Mintools developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. import pyzmq from .messenger import Messenger
26.705882
69
0.737885
482f26a433eaf7f306d04205a3bac702463a9adc
1,879
py
Python
scripts/filter_genes_matrix.py
fengwanwan/st_analysis
24ef6326efce7ddb1d7cfe9497a6733e48da8331
[ "MIT" ]
4
2017-03-15T15:32:12.000Z
2020-12-09T08:03:14.000Z
scripts/filter_genes_matrix.py
Coke-Zhang/st_analysis
9ec446c0f1bff8e485f2016206b43dcdcf543119
[ "MIT" ]
1
2021-05-06T16:57:21.000Z
2021-05-06T16:58:38.000Z
scripts/filter_genes_matrix.py
Coke-Zhang/st_analysis
9ec446c0f1bff8e485f2016206b43dcdcf543119
[ "MIT" ]
4
2018-03-19T12:02:41.000Z
2019-12-13T08:41:07.000Z
#! /usr/bin/env python """ Script that takes ST dataset (matrix of counts) where the columns are genes and the rows are spot coordinates gene gene XxY XxY And removes the columns of genes matching the regular expression given as input. @Author Jose Fernandez Navarro <jose.fernandez.navarro@scilifelab....
34.796296
90
0.651943
482f35fcca776fd3b82f536d756e301830e31fbf
83
py
Python
libs/models/__init__.py
tonyngjichun/pspnet-pytorch
75297aa4fdb4f7a712ef9185be1ec805044f8328
[ "MIT" ]
56
2017-12-07T12:29:14.000Z
2021-05-14T16:45:59.000Z
libs/models/__init__.py
tonyngjichun/pspnet-pytorch
75297aa4fdb4f7a712ef9185be1ec805044f8328
[ "MIT" ]
7
2017-12-26T09:00:23.000Z
2019-01-14T03:55:56.000Z
libs/models/__init__.py
tonyngjichun/pspnet-pytorch
75297aa4fdb4f7a712ef9185be1ec805044f8328
[ "MIT" ]
16
2017-12-20T00:36:51.000Z
2020-12-31T07:41:06.000Z
from __future__ import absolute_import from .resnet import * from .pspnet import *
20.75
38
0.807229
482fb0fc0f3fd414d792e168bab4aaa39e2474d7
1,405
py
Python
modules/tools/record_analyzer/common/distribution_analyzer.py
seeclong/apollo
99c8afb5ebcae2a3c9359a156a957ff03944b27b
[ "Apache-2.0" ]
3
2020-04-01T14:49:24.000Z
2020-04-01T14:49:28.000Z
modules/tools/record_analyzer/common/distribution_analyzer.py
seeclong/apollo
99c8afb5ebcae2a3c9359a156a957ff03944b27b
[ "Apache-2.0" ]
7
2021-03-10T18:14:25.000Z
2022-02-27T04:46:46.000Z
modules/tools/record_analyzer/common/distribution_analyzer.py
seeclong/apollo
99c8afb5ebcae2a3c9359a156a957ff03944b27b
[ "Apache-2.0" ]
2
2020-08-05T12:52:42.000Z
2021-10-19T13:07:49.000Z
#!/usr/bin/env python ############################################################################### # Copyright 2018 The Apollo 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 ...
36.025641
79
0.582206
483016a462d5e8b33445c247250dee4a2ae74ecd
2,261
py
Python
models/batch.py
scaleapi/sail
1bd857b5db34cbd08c7d4e2476beafdb353a458d
[ "Apache-2.0" ]
7
2021-03-10T23:37:12.000Z
2022-01-13T01:14:58.000Z
models/batch.py
scaleapi/sail
1bd857b5db34cbd08c7d4e2476beafdb353a458d
[ "Apache-2.0" ]
2
2021-01-04T15:54:27.000Z
2021-03-30T22:45:03.000Z
models/batch.py
scaleapi/sail
1bd857b5db34cbd08c7d4e2476beafdb353a458d
[ "Apache-2.0" ]
3
2021-07-31T04:03:12.000Z
2021-10-03T05:51:48.000Z
from helpers.concurrency import execute from scaleapi import exceptions
38.322034
145
0.62008
4830669ccefdde03889bd71b019ac1ba14c36c86
315
py
Python
worker/xs.py
hoshimaemi/XZZ
6d712906fa2f1fcf16155cfd5d89245ef8e0aff8
[ "MIT" ]
29
2020-02-27T13:49:48.000Z
2021-02-26T15:44:14.000Z
worker/xs.py
hoshimaemi/XZZ
6d712906fa2f1fcf16155cfd5d89245ef8e0aff8
[ "MIT" ]
3
2021-03-30T11:31:49.000Z
2021-12-07T12:11:56.000Z
worker/xs.py
hoshimaemi/XZZ
6d712906fa2f1fcf16155cfd5d89245ef8e0aff8
[ "MIT" ]
14
2020-02-29T07:25:12.000Z
2021-01-03T05:12:25.000Z
from zzcore import StdAns, mysakuya import requests
18.529412
37
0.533333
48331ce668f0e91220bd7b7d009bc8b5666778cd
304
py
Python
bot.py
matthewzhaocc/discord-server-status
c9c58271ab3f7142f7e827b88d5c960cc442b355
[ "MIT" ]
null
null
null
bot.py
matthewzhaocc/discord-server-status
c9c58271ab3f7142f7e827b88d5c960cc442b355
[ "MIT" ]
null
null
null
bot.py
matthewzhaocc/discord-server-status
c9c58271ab3f7142f7e827b88d5c960cc442b355
[ "MIT" ]
null
null
null
#a discord bot for playing with CICD #system dependencies import os #3rd party dependencies import discord TOKEN = os.environ.get("DISCORD_API_TOKEN") client = discord.Client() client.run(TOKEN)
19
54
0.720395
4834a12f8b0a1adc974a9695986c5da1d9c04010
603
py
Python
repost/api/schemas/user.py
pckv/fastapi-backend
0f561528086ac3fdcabbf9efeac888421eeb66de
[ "MIT" ]
9
2020-02-03T11:17:06.000Z
2021-06-15T13:20:34.000Z
repost/api/schemas/user.py
pckv/fastapi-backend
0f561528086ac3fdcabbf9efeac888421eeb66de
[ "MIT" ]
40
2020-02-03T11:23:59.000Z
2020-05-19T08:05:41.000Z
repost/api/schemas/user.py
pckv/fastapi-backend
0f561528086ac3fdcabbf9efeac888421eeb66de
[ "MIT" ]
1
2020-03-11T02:47:40.000Z
2020-03-11T02:47:40.000Z
"""API schemas for users.""" from datetime import datetime from typing import Optional from pydantic import BaseModel
20.1
48
0.681592
483592e4049e6951c186723536311a58d0a2c2a3
1,459
py
Python
gluon/packages/dal/pydal/adapters/sap.py
GeorgesBrantley/ResistanceGame
65ec925ec8399af355e176c4814a749fde5f907d
[ "BSD-3-Clause" ]
408
2015-01-01T10:31:47.000Z
2022-03-26T17:41:21.000Z
gluon/packages/dal/pydal/adapters/sap.py
GeorgesBrantley/ResistanceGame
65ec925ec8399af355e176c4814a749fde5f907d
[ "BSD-3-Clause" ]
521
2015-01-08T14:45:54.000Z
2022-03-24T11:15:22.000Z
gluon/packages/dal/pydal/adapters/sap.py
GeorgesBrantley/ResistanceGame
65ec925ec8399af355e176c4814a749fde5f907d
[ "BSD-3-Clause" ]
158
2015-01-25T20:02:00.000Z
2022-03-01T06:29:12.000Z
import re from .._compat import integer_types, long from .base import SQLAdapter from . import adapters
32.422222
85
0.592186
4835ed45283fa22be5264491ed9fa12710bc4c24
54,436
py
Python
search.py
Hawxo/GoWDiscordTeamBot
ebe062f88b8d39615ba871476471d466e6759e7a
[ "BSD-3-Clause" ]
null
null
null
search.py
Hawxo/GoWDiscordTeamBot
ebe062f88b8d39615ba871476471d466e6759e7a
[ "BSD-3-Clause" ]
null
null
null
search.py
Hawxo/GoWDiscordTeamBot
ebe062f88b8d39615ba871476471d466e6759e7a
[ "BSD-3-Clause" ]
null
null
null
import copy import datetime import importlib import logging import operator import re from calendar import different_locale import translations from data_source.game_data import GameData from game_constants import COLORS, EVENT_TYPES, RARITY_COLORS, SOULFORGE_REQUIREMENTS, TROOP_RARITIES, \ UNDERWORLD_SOULFORGE_RE...
44.185065
118
0.557701
4836dce172471538808ff516434e702497a39d34
39,841
py
Python
troposphere/sagemaker.py
filipepmo/troposphere
b1590f58ed8cc86ba18a19ed93fc9380d6f7306b
[ "BSD-2-Clause" ]
null
null
null
troposphere/sagemaker.py
filipepmo/troposphere
b1590f58ed8cc86ba18a19ed93fc9380d6f7306b
[ "BSD-2-Clause" ]
null
null
null
troposphere/sagemaker.py
filipepmo/troposphere
b1590f58ed8cc86ba18a19ed93fc9380d6f7306b
[ "BSD-2-Clause" ]
null
null
null
# Copyright (c) 2012-2022, Mark Peek <mark@peek.org> # All rights reserved. # # See LICENSE file for full license. # # *** Do not modify - this file is autogenerated *** # Resource specification version: 51.0.0 from . import AWSObject, AWSProperty, PropsDictType, Tags from .validators import boolean, double, integer ...
32.207761
206
0.680681
483774235763ac392213eaed3e87eadcdbd2e771
1,199
py
Python
src/lib/divergence.py
evolutics/sparse-approximation
fda419b2ca0f6563a4668bae23ca0b94936ff8e8
[ "MIT" ]
null
null
null
src/lib/divergence.py
evolutics/sparse-approximation
fda419b2ca0f6563a4668bae23ca0b94936ff8e8
[ "MIT" ]
null
null
null
src/lib/divergence.py
evolutics/sparse-approximation
fda419b2ca0f6563a4668bae23ca0b94936ff8e8
[ "MIT" ]
null
null
null
import math from numpy import linalg from scipy import stats from scipy.spatial import distance import numpy def jensen_shannon_distance(p, Q): """Square root of Jensen-Shannon divergence.""" return numpy.apply_along_axis(lambda q: distance.jensenshannon(p, q), 0, Q) def k_directed(p, Q): """See: Ji...
25.510638
85
0.683069
4838335f5aaabe1145c8cd0b7af080ad9ce72fb6
10,319
py
Python
vad/data_models/voice_activity.py
zsl24/voice-activity-detection
a034be23c6283121c6b72e778c6ff6711045cbe3
[ "MIT" ]
74
2021-02-22T17:35:52.000Z
2022-03-29T03:08:12.000Z
vad/data_models/voice_activity.py
zsl24/voice-activity-detection
a034be23c6283121c6b72e778c6ff6711045cbe3
[ "MIT" ]
1
2021-08-15T07:56:39.000Z
2021-08-15T07:56:39.000Z
vad/data_models/voice_activity.py
zsl24/voice-activity-detection
a034be23c6283121c6b72e778c6ff6711045cbe3
[ "MIT" ]
9
2021-07-22T16:46:11.000Z
2022-03-27T13:19:24.000Z
import json import math from dataclasses import dataclass from datetime import timedelta from enum import Enum from pathlib import Path from typing import List, Optional import numpy as np from vad.util.time_utils import ( format_timedelta_to_milliseconds, format_timedelta_to_timecode, parse_timecode_to_t...
41.777328
100
0.560907
4839b9f176bff6bb0c25323ed01d0f68d5ef1760
1,807
py
Python
face_recognition/project/schema.py
dgr113/face-recognition
edda6ca8fef567d24ae740afd2399b66166f3431
[ "MIT" ]
null
null
null
face_recognition/project/schema.py
dgr113/face-recognition
edda6ca8fef567d24ae740afd2399b66166f3431
[ "MIT" ]
null
null
null
face_recognition/project/schema.py
dgr113/face-recognition
edda6ca8fef567d24ae740afd2399b66166f3431
[ "MIT" ]
null
null
null
# coding: utf-8 SCHEMA_MAPPING = { "persons": { "type": "object", "patternProperties": { r"\d+": { "type": "object", "properties": { "first_name": {"type": "string"}, "last_name": {"type": "string"}, ...
30.116667
111
0.328168
483a75dbbf41e0a2382e74253427bd94ad78ce29
303
py
Python
resources/www/scripts/recibido.py
miguelarman/Redes-de-comunicaciones-ii-practica1
8f90dddcf9025f7d9c08dfb6ca1aa8dc24e9fa13
[ "MIT" ]
null
null
null
resources/www/scripts/recibido.py
miguelarman/Redes-de-comunicaciones-ii-practica1
8f90dddcf9025f7d9c08dfb6ca1aa8dc24e9fa13
[ "MIT" ]
null
null
null
resources/www/scripts/recibido.py
miguelarman/Redes-de-comunicaciones-ii-practica1
8f90dddcf9025f7d9c08dfb6ca1aa8dc24e9fa13
[ "MIT" ]
null
null
null
import sys import urllib.parse as urlparse print("Argumentos recibidos por STDIN: ") try: for line in sys.stdin: url = 'foo.com/?' + line parsed = urlparse.urlparse(url) print('Recibido: {}'.format(urlparse.parse_qs(parsed.query))) except: ignorar = True
21.642857
70
0.623762
483a82b33807937515011fa3de571cf7d20b8db3
8,620
py
Python
gui/main.py
aman-v1729/CommonAudioVideoCLI
c2245a02bbafd1ff9899dba2b02f246f98538746
[ "MIT" ]
null
null
null
gui/main.py
aman-v1729/CommonAudioVideoCLI
c2245a02bbafd1ff9899dba2b02f246f98538746
[ "MIT" ]
1
2020-05-14T13:20:45.000Z
2020-05-14T19:08:06.000Z
gui/main.py
aman-v1729/CommonAudioVideoCLI
c2245a02bbafd1ff9899dba2b02f246f98538746
[ "MIT" ]
5
2020-05-17T17:00:43.000Z
2020-07-25T06:19:57.000Z
import tkinter import subprocess from tkinter import filedialog, messagebox import os import pyqrcode def clip_filename_with_extension(filename): """ clips long file names """ clipped = filename[filename.rfind("/") + 1 :] if len(clipped) > 15: clipped = clipped[:6] + "..." + clipped[clipped.rfind...
28.448845
88
0.641763
483af36db857e32be1df5b6afda8e6fc42b22d40
2,170
py
Python
virtex/core/profile.py
chrislarson1/virtex
36eb47d1ace297951cae36edc8a00544b85fed79
[ "Apache-2.0" ]
5
2020-06-17T06:22:32.000Z
2022-03-04T09:25:31.000Z
virtex/core/profile.py
virtexlabs/virtex
36eb47d1ace297951cae36edc8a00544b85fed79
[ "Apache-2.0" ]
null
null
null
virtex/core/profile.py
virtexlabs/virtex
36eb47d1ace297951cae36edc8a00544b85fed79
[ "Apache-2.0" ]
null
null
null
# ------------------------------------------------------------------- # Copyright 2021 Virtex 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....
31.911765
69
0.602765
483bb446decbf48fa9ae87d928153944790671cf
4,855
py
Python
apps/molecular_generation/JT_VAE/src/mol_tree.py
agave233/PaddleHelix
e5578f72c2a203a27d9df7da111f1ced826c1429
[ "Apache-2.0" ]
454
2020-11-21T01:02:45.000Z
2022-03-29T12:53:40.000Z
apps/molecular_generation/JT_VAE/src/mol_tree.py
chupvl/PaddleHelix
6e082f89b8090c3c360593d40a08bffc884165dd
[ "Apache-2.0" ]
161
2020-12-12T06:35:54.000Z
2022-03-27T11:31:13.000Z
apps/molecular_generation/JT_VAE/src/mol_tree.py
chupvl/PaddleHelix
6e082f89b8090c3c360593d40a08bffc884165dd
[ "Apache-2.0" ]
108
2020-12-07T09:01:10.000Z
2022-03-31T14:42:29.000Z
# Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by app...
30.923567
117
0.603502
484313fcfa513337e375cc555180add4dbd721a7
1,663
py
Python
torch/indicator/vision/object_detection/iou.py
jihuacao/Putil
b753fc94bea4cbda00f483681c55f0e9f54adef2
[ "Apache-2.0" ]
1
2018-12-09T06:09:29.000Z
2018-12-09T06:09:29.000Z
torch/indicator/vision/object_detection/iou.py
jihuacao/Putil
b753fc94bea4cbda00f483681c55f0e9f54adef2
[ "Apache-2.0" ]
null
null
null
torch/indicator/vision/object_detection/iou.py
jihuacao/Putil
b753fc94bea4cbda00f483681c55f0e9f54adef2
[ "Apache-2.0" ]
null
null
null
# coding = utf-8 from abc import ABCMeta, abstractmethod import torch from Putil.torch.indicator.vision.object_detection import box ##@brief iou # @note # @return ##@brief IoU[batch, box, ...]box[top_left_x, top_left_y, width, height], # [batch, 1, ...]iougt_box[0, 0, 0, 0] # iougt **batchMeanIoU # # @note ...
26.396825
105
0.6362
4843692979b67bbb7eade27d08ade8ca10f18066
2,012
py
Python
magPi_05_mountains.py
oniMoNaku/thePit
f82d2dc70346e6188fca493a4b9373aa99ccfa32
[ "Unlicense" ]
null
null
null
magPi_05_mountains.py
oniMoNaku/thePit
f82d2dc70346e6188fca493a4b9373aa99ccfa32
[ "Unlicense" ]
null
null
null
magPi_05_mountains.py
oniMoNaku/thePit
f82d2dc70346e6188fca493a4b9373aa99ccfa32
[ "Unlicense" ]
null
null
null
# today is 389f # the python pit # magPi - 05 # MOUNTAINS import os, pygame; from pygame.locals import * pygame.init(); clock = pygame.time.Clock() os.environ['SDL_VIDEO_WINDOW_POS'] = 'center' pygame.display.set_caption("Mountains") screen=pygame.display.set_mode([600,382],0,32) sky = pygame.Surface((600,255)) r=0;...
34.101695
73
0.638171
48461f7075c6cb1cc7aff2cd4d853dffd50a16bd
6,041
py
Python
bots/parkour/reports.py
Marcin1396/parkour
25d7d888b178eb7860a897e6df7578f2de0a729a
[ "MIT" ]
null
null
null
bots/parkour/reports.py
Marcin1396/parkour
25d7d888b178eb7860a897e6df7578f2de0a729a
[ "MIT" ]
null
null
null
bots/parkour/reports.py
Marcin1396/parkour
25d7d888b178eb7860a897e6df7578f2de0a729a
[ "MIT" ]
null
null
null
""" Handles reports """ from parkour.env import env from parkour.utils import normalize_name import asyncio import aiotfm import time
24.556911
96
0.640953
48473f9998c2721254601aaa70efd1a6c575862d
3,053
py
Python
data_analysis_scripts/mouse_et_ephys_viz.py
idc9/mvmm_sim
5819d9ff95e36310536fd436bba50baba4f0ca71
[ "MIT" ]
null
null
null
data_analysis_scripts/mouse_et_ephys_viz.py
idc9/mvmm_sim
5819d9ff95e36310536fd436bba50baba4f0ca71
[ "MIT" ]
null
null
null
data_analysis_scripts/mouse_et_ephys_viz.py
idc9/mvmm_sim
5819d9ff95e36310536fd436bba50baba4f0ca71
[ "MIT" ]
null
null
null
from joblib import load from os.path import join import argparse import numpy as np import matplotlib.pyplot as plt from mvmm_sim.simulation.sim_viz import save_fig from mvmm_sim.data_analysis.utils import load_data from mvmm_sim.simulation.utils import make_and_get_dir from mvmm_sim.mouse_et.MouseETPaths import Mous...
32.827957
76
0.689158
48474668430bd56c9be0fa4e96a14ac44c7e0f55
1,831
py
Python
gimmemotifs/commands/match.py
littleblackfish/gimmemotifs
913a6e5db378493155273e2c0f8ab0dc11ab219e
[ "MIT" ]
null
null
null
gimmemotifs/commands/match.py
littleblackfish/gimmemotifs
913a6e5db378493155273e2c0f8ab0dc11ab219e
[ "MIT" ]
null
null
null
gimmemotifs/commands/match.py
littleblackfish/gimmemotifs
913a6e5db378493155273e2c0f8ab0dc11ab219e
[ "MIT" ]
null
null
null
#!/usr/bin/env python # Copyright (c) 2009-2016 Simon van Heeringen <simon.vanheeringen@gmail.com> # # This module is free software. You can redistribute it and/or modify it under # the terms of the MIT License, see the file COPYING included with this # distribution. from __future__ import print_function from gimmem...
38.145833
111
0.588749
4847f5739e2a2a4fe3f2279bc69fc734031f35e3
5,610
py
Python
rest-service/manager_rest/rest/resources_v3/users.py
TS-at-WS/cloudify-manager
3e062e8dec16c89d2ab180d0b761cbf76d3f7ddc
[ "Apache-2.0" ]
null
null
null
rest-service/manager_rest/rest/resources_v3/users.py
TS-at-WS/cloudify-manager
3e062e8dec16c89d2ab180d0b761cbf76d3f7ddc
[ "Apache-2.0" ]
null
null
null
rest-service/manager_rest/rest/resources_v3/users.py
TS-at-WS/cloudify-manager
3e062e8dec16c89d2ab180d0b761cbf76d3f7ddc
[ "Apache-2.0" ]
null
null
null
######### # Copyright (c) 2016 GigaSpaces Technologies Ltd. All rights reserved # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
34.207317
79
0.659893
484898b58a6b8f0e2cf8c6f249de3cb0f85b7504
6,659
py
Python
src/m2_run_this_on_laptop.py
Petersl13/99-CapstoneProject-201920
4ec25ebf064e93745b9280a09c9212f8b16f76a1
[ "MIT" ]
null
null
null
src/m2_run_this_on_laptop.py
Petersl13/99-CapstoneProject-201920
4ec25ebf064e93745b9280a09c9212f8b16f76a1
[ "MIT" ]
null
null
null
src/m2_run_this_on_laptop.py
Petersl13/99-CapstoneProject-201920
4ec25ebf064e93745b9280a09c9212f8b16f76a1
[ "MIT" ]
null
null
null
""" Capstone Project. Code to run on a LAPTOP (NOT the robot). Displays the Graphical User Interface (GUI) and communicates with the robot. Authors: Your professors (for the framework) and Nathalie Grier. Winter term, 2018-2019. """ import mqtt_remote_method_calls as com import tkinter from tkinter impo...
40.357576
168
0.59138
4848f46a84c4346593a1d98c3f7f6dead3b394ab
2,905
py
Python
alphamind/benchmarks/data/neutralize.py
rongliang-tech/alpha-mind
39f720974c637d17e185e445dc05c9fc4863a241
[ "MIT" ]
186
2017-11-27T01:26:44.000Z
2022-03-28T16:11:33.000Z
alphamind/benchmarks/data/neutralize.py
atefar2/alpha-mind
66d839affb5d81d31d5cac7e5e224278e3f99a8b
[ "MIT" ]
2
2017-12-19T02:47:36.000Z
2021-01-09T05:25:18.000Z
alphamind/benchmarks/data/neutralize.py
atefar2/alpha-mind
66d839affb5d81d31d5cac7e5e224278e3f99a8b
[ "MIT" ]
65
2017-11-27T01:26:47.000Z
2022-03-17T10:50:52.000Z
# -*- coding: utf-8 -*- """ Created on 2017-4-25 @author: cheng.li """ import datetime as dt import numpy as np from sklearn.linear_model import LinearRegression from alphamind.data.neutralize import neutralize if __name__ == '__main__': benchmark_neutralize(3000, 10, 1000) benchmark_...
35.864198
102
0.561102
484bd025db2a6036894e42cd251bae437f17440a
329
py
Python
python/__init__.py
seangal/xAODAnaHelpers
49f15c8525bf4aed9beceec2c58e58964d57e034
[ "Apache-2.0" ]
null
null
null
python/__init__.py
seangal/xAODAnaHelpers
49f15c8525bf4aed9beceec2c58e58964d57e034
[ "Apache-2.0" ]
null
null
null
python/__init__.py
seangal/xAODAnaHelpers
49f15c8525bf4aed9beceec2c58e58964d57e034
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*-, from __future__ import absolute_import from __future__ import print_function from . import logging as xAH_logging try: from .config import Config except: xAH_logging.logger.warning("xAH::Config could not be imported.") __version__ = "1.0.0" __all__ = ["utils", "...
21.933333
68
0.723404
484e5a10424681e3b5a649a30275352d6bd27762
8,118
py
Python
process/extract.py
kogakenji/kasatomaru
6e3cd36ea54a5e7c8042d17beed4675f210f1a36
[ "MIT" ]
null
null
null
process/extract.py
kogakenji/kasatomaru
6e3cd36ea54a5e7c8042d17beed4675f210f1a36
[ "MIT" ]
2
2021-03-31T19:40:45.000Z
2021-12-13T20:34:12.000Z
process/extract.py
kogakenji/kasatomaru
6e3cd36ea54a5e7c8042d17beed4675f210f1a36
[ "MIT" ]
null
null
null
from bs4 import BeautifulSoup import lxml.html import pathlib import db import datetime from concurrent.futures import ThreadPoolExecutor import threading # Define the lock globally lock = threading.Lock() def files_list(start, end): """Generate url list with given start and end of indexes""" resultlist = [] ...
44.604396
184
0.572555
484f03e9c4b7ff5aefbc6845368e72fc3dfe1209
114
py
Python
tests/shunit/data/bad_i18n_newline_5.py
nicole331/TWLight
fab9002e76868f8a2ef36f9279c777de34243b2c
[ "MIT" ]
67
2017-12-14T22:27:48.000Z
2022-03-13T18:21:31.000Z
tests/shunit/data/bad_i18n_newline_5.py
nicole331/TWLight
fab9002e76868f8a2ef36f9279c777de34243b2c
[ "MIT" ]
433
2017-03-24T22:51:23.000Z
2022-03-31T19:36:22.000Z
tests/shunit/data/bad_i18n_newline_5.py
Mahuton/TWLight
90b299d07b0479f21dc90e17b8d05f5a221b0de1
[ "MIT" ]
105
2017-06-23T03:53:41.000Z
2022-03-30T17:24:29.000Z
# Single-quoted string is preceded and succeeded by newlines. # Translators: This is a helpful comment. _( '5' )
16.285714
61
0.736842
48511c78e308c11777c5277149036d4e3f1a72d0
9,090
py
Python
deciphon/protein_profile.py
EBI-Metagenomics/deciphon-py
81df946c4f2f53c55ac96fc78ed2f95958b291d8
[ "MIT" ]
null
null
null
deciphon/protein_profile.py
EBI-Metagenomics/deciphon-py
81df946c4f2f53c55ac96fc78ed2f95958b291d8
[ "MIT" ]
1
2021-07-02T10:24:19.000Z
2021-07-02T10:24:19.000Z
deciphon/protein_profile.py
EBI-Metagenomics/deciphon-py
81df946c4f2f53c55ac96fc78ed2f95958b291d8
[ "MIT" ]
null
null
null
from __future__ import annotations from math import log from typing import List, Type, Union from imm import MuteState, Sequence, lprob_add, lprob_zero from nmm import ( AminoAlphabet, AminoLprob, BaseLprob, CodonLprob, CodonMarg, DNAAlphabet, FrameState, RNAAlphabet, codon_iter, )...
31.344828
85
0.627063
48514c4855c82f6511561bc091163063091c1e9c
664
py
Python
ptranking/ltr_adhoc/util/one_hot_utils.py
junj2ejj/ptranking.github.io
06fa9751dd2eca89749ba4bb9641e4272cfc30a1
[ "MIT" ]
1
2020-09-24T10:38:53.000Z
2020-09-24T10:38:53.000Z
ptranking/ltr_adhoc/util/one_hot_utils.py
junj2ejj/ptranking.github.io
06fa9751dd2eca89749ba4bb9641e4272cfc30a1
[ "MIT" ]
null
null
null
ptranking/ltr_adhoc/util/one_hot_utils.py
junj2ejj/ptranking.github.io
06fa9751dd2eca89749ba4bb9641e4272cfc30a1
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """Description """ import torch from ptranking.ltr_global import global_gpu as gpu def get_one_hot_reprs(batch_stds): """ Get one-hot representation of batch ground-truth labels """ batch_size = batch_stds.size(0) hist_size = batch_stds.size(1) int_batch...
30.181818
125
0.74247
485441df6c93c795b69160386a1e913eee4699da
5,108
py
Python
src/data_module.py
enningxie/lightning-semantic-matching
156ce3d40c53436b8166679c718b80f45782fe37
[ "MIT" ]
2
2020-10-21T01:02:22.000Z
2021-07-29T01:56:53.000Z
src/data_module.py
enningxie/lightning-semantic-matching
156ce3d40c53436b8166679c718b80f45782fe37
[ "MIT" ]
null
null
null
src/data_module.py
enningxie/lightning-semantic-matching
156ce3d40c53436b8166679c718b80f45782fe37
[ "MIT" ]
null
null
null
# Created by xieenning at 2020/10/19 from argparse import ArgumentParser, Namespace from typing import Optional, Union, List from pytorch_lightning import LightningDataModule from transformers import BertTokenizer from transformers import ElectraTokenizer from transformers.utils import logging import torch from torch.u...
39.292308
108
0.634495
48544b3690b1859057fd2e593fbf385719c5db3e
14,076
py
Python
mainwin.py
hatmann1944/pyqt-http-file-svr
3e95a222dc7d662921da44654aadb1721cba0382
[ "Apache-2.0" ]
1
2015-08-27T13:22:42.000Z
2015-08-27T13:22:42.000Z
mainwin.py
hatmann1944/pyqt-http-file-svr
3e95a222dc7d662921da44654aadb1721cba0382
[ "Apache-2.0" ]
null
null
null
mainwin.py
hatmann1944/pyqt-http-file-svr
3e95a222dc7d662921da44654aadb1721cba0382
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file '/mnt/hgfs/tmpcode/pyqt-http/untitled.ui' # # Created: Fri Jun 5 10:59:33 2015 # by: PyQt4 UI code generator 4.10.4 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui import socket import signal im...
32.210526
157
0.586957
4854e27a28f0ec8896c437afdc84226fabdac5c2
905
py
Python
monzo/handlers/echo.py
petermcd/monzo-api
e7b09d7564d07d00c0d0031b300f72e4479d8690
[ "MIT" ]
1
2022-02-08T23:13:56.000Z
2022-02-08T23:13:56.000Z
monzo/handlers/echo.py
petermcd/monzo-api
e7b09d7564d07d00c0d0031b300f72e4479d8690
[ "MIT" ]
12
2021-09-21T20:09:50.000Z
2022-03-13T14:39:02.000Z
monzo/handlers/echo.py
petermcd/monzo-api
e7b09d7564d07d00c0d0031b300f72e4479d8690
[ "MIT" ]
1
2021-12-05T17:47:33.000Z
2021-12-05T17:47:33.000Z
"""Class to echo credentials.""" from monzo.handlers.storage import Storage
29.193548
82
0.583425
4854e666dca1f05f5b35de7678011b69bdfaadb9
359
py
Python
grappelli/settings.py
theatlantic/django-grappelli-old
f4a5f10a2e68024873556d4cc249cf0351eb1335
[ "BSD-3-Clause" ]
285
2019-12-23T09:50:21.000Z
2021-12-08T09:08:49.000Z
base/site-packages/grappelli/settings.py
jeckun/fastor
342078a18363ac41d3c6b1ab29dbdd44fdb0b7b3
[ "Apache-2.0" ]
null
null
null
base/site-packages/grappelli/settings.py
jeckun/fastor
342078a18363ac41d3c6b1ab29dbdd44fdb0b7b3
[ "Apache-2.0" ]
9
2019-12-23T12:59:25.000Z
2022-03-15T05:12:11.000Z
# coding: utf-8 # DJANGO IMPORTS from django.conf import settings # Admin Site Title ADMIN_HEADLINE = getattr(settings, "GRAPPELLI_ADMIN_HEADLINE", 'Grappelli') ADMIN_TITLE = getattr(settings, "GRAPPELLI_ADMIN_TITLE", 'Grappelli') # Link to your Main Admin Site (no slashes at start and end) ADMIN_URL = getattr(sett...
29.916667
75
0.768802
4855ae459d96ebb92658af5b5f4e917cfa5c95f9
638
py
Python
epikjjh/baekjoon/2178.py
15ers/Solve_Naively
23ee4a3aedbedb65b9040594b8c9c6d9cff77090
[ "MIT" ]
3
2019-05-19T13:44:39.000Z
2019-07-03T11:15:20.000Z
epikjjh/baekjoon/2178.py
15ers/Solve_Naively
23ee4a3aedbedb65b9040594b8c9c6d9cff77090
[ "MIT" ]
7
2019-05-06T02:37:26.000Z
2019-06-29T07:28:02.000Z
epikjjh/baekjoon/2178.py
15ers/Solve_Naively
23ee4a3aedbedb65b9040594b8c9c6d9cff77090
[ "MIT" ]
1
2019-07-28T06:24:54.000Z
2019-07-28T06:24:54.000Z
import sys input = sys.stdin.readline n,m = map(int,input().split()) arr = [conv(input().split()[0]) for i in range(n)] visit = [[0]*m for i in range(n)] visit[0][0] = 1 direction = [(0,1),(0,-1),(1,0),(-1,0)] queue = [[0,0]] while queue: y,x = queue.pop(0) if y==n-1 and x==m-1: print(visit[y]...
26.583333
75
0.525078
485611bfa6d80f65f56625abee3ae8772d391fbe
2,877
py
Python
DockerHubPackages/code/analyzer/analyzers/python_packages.py
halcyondude/datasets
f91cec403b09d6ca060c41bf0147fb3a15fac1fc
[ "Apache-2.0" ]
283
2018-01-27T21:51:21.000Z
2022-03-07T11:23:44.000Z
DockerHubPackages/code/analyzer/analyzers/python_packages.py
halcyondude/datasets
f91cec403b09d6ca060c41bf0147fb3a15fac1fc
[ "Apache-2.0" ]
100
2018-01-28T18:02:41.000Z
2021-11-10T11:00:38.000Z
DockerHubPackages/code/analyzer/analyzers/python_packages.py
halcyondude/datasets
f91cec403b09d6ca060c41bf0147fb3a15fac1fc
[ "Apache-2.0" ]
79
2018-01-28T17:57:38.000Z
2022-03-21T11:44:16.000Z
from ..utils import run import logging logger = logging.getLogger(__name__) def process_one_package(path, package, python_version="3"): """Get details about one precise python package in the given image. :param path: path were the docker image filesystem is expanded. :type path: string :param pa...
37.855263
103
0.620438
4856168e71f578517034764f4b9110679f5820fe
24
py
Python
src/maho/modules/__init__.py
evangelos-ch/maho-bot
458c3ed0e4cb4d8edd300441b2defbc481aaf3f3
[ "MIT" ]
null
null
null
src/maho/modules/__init__.py
evangelos-ch/maho-bot
458c3ed0e4cb4d8edd300441b2defbc481aaf3f3
[ "MIT" ]
null
null
null
src/maho/modules/__init__.py
evangelos-ch/maho-bot
458c3ed0e4cb4d8edd300441b2defbc481aaf3f3
[ "MIT" ]
1
2021-02-16T13:06:56.000Z
2021-02-16T13:06:56.000Z
"""Maho bot modules."""
12
23
0.583333
485cca825ed78a1668753f45f923d308e840da2c
6,785
py
Python
backend/dc_tests/api_views.py
gitter-badger/djangochannel
f9e33254739457c461e84b66879172007512f9b0
[ "BSD-3-Clause" ]
2
2021-11-29T15:34:24.000Z
2021-12-02T14:47:20.000Z
backend/dc_tests/api_views.py
gitter-badger/djangochannel
f9e33254739457c461e84b66879172007512f9b0
[ "BSD-3-Clause" ]
null
null
null
backend/dc_tests/api_views.py
gitter-badger/djangochannel
f9e33254739457c461e84b66879172007512f9b0
[ "BSD-3-Clause" ]
null
null
null
from django.core.exceptions import ObjectDoesNotExist from django.http import HttpResponse, JsonResponse from django.views.generic.base import View from django.contrib.auth.mixins import LoginRequiredMixin from rest_framework.views import APIView from rest_framework.response import Response from rest_framework import ...
32.464115
113
0.627708
485d74659bc61cba2ba9b5ae45bb87b9fe1df6b3
2,066
py
Python
sdk/python/pulumi_kubernetes/apps/v1/ControllerRevision.py
rosskevin/pulumi-kubernetes
e4fa04b13a20929c879aca1bbe58fb5a95d16f7c
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_kubernetes/apps/v1/ControllerRevision.py
rosskevin/pulumi-kubernetes
e4fa04b13a20929c879aca1bbe58fb5a95d16f7c
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_kubernetes/apps/v1/ControllerRevision.py
rosskevin/pulumi-kubernetes
e4fa04b13a20929c879aca1bbe58fb5a95d16f7c
[ "Apache-2.0" ]
null
null
null
import pulumi import pulumi.runtime from ... import tables
44.913043
100
0.703291
485ec5eb7e878a442433e3d945a0ad573fe3057e
1,479
py
Python
backend/python_scripts/feedback_frequency.py
bartaliskrisztian/sapifeedback
a63e38c0b767458509e47c1d5ccad0f6ce21a285
[ "MIT" ]
null
null
null
backend/python_scripts/feedback_frequency.py
bartaliskrisztian/sapifeedback
a63e38c0b767458509e47c1d5ccad0f6ce21a285
[ "MIT" ]
null
null
null
backend/python_scripts/feedback_frequency.py
bartaliskrisztian/sapifeedback
a63e38c0b767458509e47c1d5ccad0f6ce21a285
[ "MIT" ]
null
null
null
import sys import json import pandas as pd from datetime import datetime, timedelta import matplotlib.pyplot as plt import os import base64 if __name__ == '__main__': main()
23.47619
70
0.619337
485f584dda3b7ed9cbcd49b969e57d33ae96c239
6,720
py
Python
tempest/tests/lib/services/placement/test_resource_providers_client.py
AurelienLourot/tempest
4d14a22a1a0eb7aaa4aafb917273baa0739f55c3
[ "Apache-2.0" ]
null
null
null
tempest/tests/lib/services/placement/test_resource_providers_client.py
AurelienLourot/tempest
4d14a22a1a0eb7aaa4aafb917273baa0739f55c3
[ "Apache-2.0" ]
null
null
null
tempest/tests/lib/services/placement/test_resource_providers_client.py
AurelienLourot/tempest
4d14a22a1a0eb7aaa4aafb917273baa0739f55c3
[ "Apache-2.0" ]
null
null
null
# 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, software # d...
36.721311
78
0.654315
485f7ffc14de09acdf65c094b7c9e15395d4ca1b
1,001
py
Python
problems/095.py
JoshKarpel/Euler
9c4a89cfe4b0114d84a82e2b2894c7b8af815e93
[ "MIT" ]
1
2017-09-20T22:26:24.000Z
2017-09-20T22:26:24.000Z
problems/095.py
JoshKarpel/euler-python
9c4a89cfe4b0114d84a82e2b2894c7b8af815e93
[ "MIT" ]
null
null
null
problems/095.py
JoshKarpel/euler-python
9c4a89cfe4b0114d84a82e2b2894c7b8af815e93
[ "MIT" ]
null
null
null
from problems import utils, mymath if __name__ == '__main__': print(solve())
26.342105
87
0.632368
4860d4c2fef20a3559333f3c07fba155be5e079a
12,166
py
Python
core/utils.py
jojo23333/mcan-vqa
294cf672155a3c01d148450afc6542412a8837e6
[ "Apache-2.0" ]
null
null
null
core/utils.py
jojo23333/mcan-vqa
294cf672155a3c01d148450afc6542412a8837e6
[ "Apache-2.0" ]
null
null
null
core/utils.py
jojo23333/mcan-vqa
294cf672155a3c01d148450afc6542412a8837e6
[ "Apache-2.0" ]
null
null
null
import copy import logging import re import torch import json from fvcore.common.checkpoint import ( get_missing_parameters_message, get_unexpected_parameters_message, ) from core.data.data_utils import ans_stat # Note the current matching is not symmetric. # it assumes model_state_dict will have longer name...
39.888525
102
0.616472
486361edc3e5c1d568dba14a5be4788c38396ea5
6,589
py
Python
spid_cie_oidc/entity/trust_chain_operations.py
peppelinux/spid-cie-oidc-authority
816636fece10f410f5d6fce85fd79bb409d0c8b8
[ "Apache-2.0" ]
4
2022-03-08T09:05:13.000Z
2022-03-16T17:59:43.000Z
spid_cie_oidc/entity/trust_chain_operations.py
peppelinux/spid-cie-oidc-authority
816636fece10f410f5d6fce85fd79bb409d0c8b8
[ "Apache-2.0" ]
64
2022-03-08T01:11:40.000Z
2022-03-31T17:23:49.000Z
spid_cie_oidc/entity/trust_chain_operations.py
peppelinux/spid-cie-oidc-authority
816636fece10f410f5d6fce85fd79bb409d0c8b8
[ "Apache-2.0" ]
8
2022-03-09T12:00:08.000Z
2022-03-31T13:52:14.000Z
import logging from django.utils import timezone from typing import Union from .exceptions import InvalidTrustchain, TrustchainMissingMetadata from .models import FetchedEntityStatement, TrustChain from .statements import EntityConfiguration, get_entity_configurations from .settings import HTTPC_PARAMS from .trust_ch...
32.29902
87
0.610563
486394bb559615b84fa49567fcdb6a63df1d44d1
19,445
py
Python
code.py
FoamyGuy/CircuitPython_CSV_TileMap_Game
4cf1661dd7db1cecd434e9fba6e07eb375ffc06d
[ "MIT" ]
1
2020-05-14T02:35:09.000Z
2020-05-14T02:35:09.000Z
code.py
FoamyGuy/CircuitPython_CSV_TileMap_Game
4cf1661dd7db1cecd434e9fba6e07eb375ffc06d
[ "MIT" ]
null
null
null
code.py
FoamyGuy/CircuitPython_CSV_TileMap_Game
4cf1661dd7db1cecd434e9fba6e07eb375ffc06d
[ "MIT" ]
null
null
null
import board import displayio import adafruit_imageload from displayio import Palette from adafruit_pybadger import PyBadger import time # Direction constants for comparison UP = 0 DOWN = 1 RIGHT = 2 LEFT = 3 # how long to wait between rendering frames FPS_DELAY = 1/30 # how many tiles can fit on thes screen. Tiles ...
37.038095
123
0.581846
4866676df99cb56da6528e0c45d5fc2aef3aec92
13,162
py
Python
tools/harness/tests/compiler-rt_builtins.py
Harvard-PRINCESS/barrelfish-trunk-mirror
1c98195d123046d985bb3952a591297c2ef6fdf9
[ "MIT" ]
4
2017-09-16T01:23:48.000Z
2017-09-22T08:02:47.000Z
tools/harness/tests/compiler-rt_builtins.py
Harvard-PRINCESS/barrelfish-trunk-mirror
1c98195d123046d985bb3952a591297c2ef6fdf9
[ "MIT" ]
null
null
null
tools/harness/tests/compiler-rt_builtins.py
Harvard-PRINCESS/barrelfish-trunk-mirror
1c98195d123046d985bb3952a591297c2ef6fdf9
[ "MIT" ]
1
2020-03-06T15:48:10.000Z
2020-03-06T15:48:10.000Z
########################################################################## # Copyright (c) 2009, ETH Zurich. # All rights reserved. # # This file is distributed under the terms in the attached LICENSE file. # If you do not find this file, copies can be found by writing to: # ETH Zurich D-INFK, Haldeneggsteig 4, CH-8092...
50.429119
81
0.677557
4866eb2646559988f7b4c029e556146f3b4e3f4a
4,090
py
Python
api_base.py
mpalazzolo/API-Base
b0a7c3ba9bb5add59a43d3dec36354318478e226
[ "MIT" ]
null
null
null
api_base.py
mpalazzolo/API-Base
b0a7c3ba9bb5add59a43d3dec36354318478e226
[ "MIT" ]
null
null
null
api_base.py
mpalazzolo/API-Base
b0a7c3ba9bb5add59a43d3dec36354318478e226
[ "MIT" ]
null
null
null
import requests from requests.exceptions import HTTPError import time
30.75188
114
0.526406
486787d9c3efbc67538ff3c74ea68506a0623fb8
1,143
py
Python
plasmasm/arch/X64.py
LRGH/plasmasm
4cd50546c3dc895763d72dd60b7c46179c1916bc
[ "Apache-2.0" ]
1
2021-02-28T21:31:18.000Z
2021-02-28T21:31:18.000Z
plasmasm/arch/X64.py
LRGH/plasmasm
4cd50546c3dc895763d72dd60b7c46179c1916bc
[ "Apache-2.0" ]
null
null
null
plasmasm/arch/X64.py
LRGH/plasmasm
4cd50546c3dc895763d72dd60b7c46179c1916bc
[ "Apache-2.0" ]
null
null
null
# Copyright (C) 2011-2020 Airbus, Louis.Granboulan@airbus.com containers = { 'ELF': 'X86_64', 'MACHO': 'X86_64' } try: from plasmasm.python.compatibility import set except ImportError: pass from plasmasm.arch.I386 import opcodes as opcodes_x86 x64_att_opcodes = set([ 'jmpq', 'callq', 'retq', 'popq', 'pu...
42.333333
112
0.551181
4868d79bbf2ff6bbae4f4cb4d9abf9fab912436f
724
py
Python
ansiblelater/rules/CheckScmInSrc.py
ankitdobhal/ansible-later
a107cd2821e310fd459a7f9b802d5794f2b96f35
[ "MIT" ]
38
2020-10-14T09:40:58.000Z
2022-03-17T10:45:22.000Z
ansiblelater/rules/CheckScmInSrc.py
ankitdobhal/ansible-later
a107cd2821e310fd459a7f9b802d5794f2b96f35
[ "MIT" ]
188
2020-09-29T09:43:54.000Z
2022-03-04T08:45:42.000Z
ansiblelater/rules/CheckScmInSrc.py
ankitdobhal/ansible-later
a107cd2821e310fd459a7f9b802d5794f2b96f35
[ "MIT" ]
4
2021-02-10T03:35:19.000Z
2022-01-17T15:54:39.000Z
from ansible.parsing.yaml.objects import AnsibleMapping from ansiblelater.standard import StandardBase
30.166667
82
0.627072
486936b454230e71425f5f21ffabf8c3b40a119e
595
py
Python
DMOJ/CCC/slot machine.py
eddiegz/Personal-C
f7869826216e5c665f8f646502141f0dc680e545
[ "MIT" ]
3
2021-05-15T08:18:09.000Z
2021-05-17T04:41:57.000Z
DMOJ/CCC/slot machine.py
eddiegz/Personal-C
f7869826216e5c665f8f646502141f0dc680e545
[ "MIT" ]
null
null
null
DMOJ/CCC/slot machine.py
eddiegz/Personal-C
f7869826216e5c665f8f646502141f0dc680e545
[ "MIT" ]
null
null
null
quarter=int(input()) p1=int(input()) p2=int(input()) p3=int(input()) time=0 while quarter>0: if quarter == 0: continue p1+=1 quarter-=1 time+=1 if p1==35: quarter+=30 p1=0 if quarter == 0: continue time+=1 p2+=1 quarter-=1 ...
16.081081
56
0.438655
4869a5e537b1616b1387d41f76532922834d0c3e
327
py
Python
project/app/migrations/0003_auto_20210125_0924.py
dbinetti/kidsallin
147491cdfbe812ffde91725193ec16c03083c1da
[ "BSD-3-Clause" ]
null
null
null
project/app/migrations/0003_auto_20210125_0924.py
dbinetti/kidsallin
147491cdfbe812ffde91725193ec16c03083c1da
[ "BSD-3-Clause" ]
null
null
null
project/app/migrations/0003_auto_20210125_0924.py
dbinetti/kidsallin
147491cdfbe812ffde91725193ec16c03083c1da
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 3.1.5 on 2021-01-25 16:24 from django.db import migrations
18.166667
47
0.590214
486abe98f15277d75707a2bda0dddf48de43bab7
28,203
py
Python
cinder/volume/drivers/emc/emc_vmax_provision.py
kazum/cinder
370b8e60c3166b289c8da924a227dd1bc63f8b8a
[ "Apache-2.0" ]
null
null
null
cinder/volume/drivers/emc/emc_vmax_provision.py
kazum/cinder
370b8e60c3166b289c8da924a227dd1bc63f8b8a
[ "Apache-2.0" ]
null
null
null
cinder/volume/drivers/emc/emc_vmax_provision.py
kazum/cinder
370b8e60c3166b289c8da924a227dd1bc63f8b8a
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2012 - 2014 EMC Corporation. # 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 # # Unle...
42.731818
79
0.587987
486b39af5811634dc06771353577ccba06dfa1ca
9,840
py
Python
tests/gold_tests/redirect/redirect_actions.test.py
cmcfarlen/trafficserver
2aa1d3106398eb082e5a454212b0273c63d5f69d
[ "Apache-2.0" ]
1,351
2015-01-03T08:25:40.000Z
2022-03-31T09:14:08.000Z
tests/gold_tests/redirect/redirect_actions.test.py
cmcfarlen/trafficserver
2aa1d3106398eb082e5a454212b0273c63d5f69d
[ "Apache-2.0" ]
7,009
2015-01-14T16:22:45.000Z
2022-03-31T17:18:04.000Z
tests/gold_tests/redirect/redirect_actions.test.py
cmcfarlen/trafficserver
2aa1d3106398eb082e5a454212b0273c63d5f69d
[ "Apache-2.0" ]
901
2015-01-11T19:21:08.000Z
2022-03-18T18:21:33.000Z
''' Test redirection behavior to invalid addresses ''' # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the ...
38.893281
131
0.66626
486d212547e00f7831ca70c40d4c968f71b4de71
4,575
py
Python
LynkCoHelper/lynco_regist_wrok.py
21haoshaonian/LynkCoHelper
b4e5d67583190bf09fe44902499c3a99463b4df5
[ "MIT" ]
null
null
null
LynkCoHelper/lynco_regist_wrok.py
21haoshaonian/LynkCoHelper
b4e5d67583190bf09fe44902499c3a99463b4df5
[ "MIT" ]
null
null
null
LynkCoHelper/lynco_regist_wrok.py
21haoshaonian/LynkCoHelper
b4e5d67583190bf09fe44902499c3a99463b4df5
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import threading import time import base64 from lynkco_app_request import lynkco_app_request from com.uestcit.api.gateway.sdk.auth.aes import aes as AES from sms_request import sms_request import json import sys import os import re
39.782609
113
0.551257
486e93474bb833e6c69bd39f0e367b929c5bddaf
2,442
py
Python
acestream/ACEStream/Core/RequestPolicy.py
GrandPaRPi/p2ptv-pi
6f79c00f9055a3763ddfe1dc41e14d2cb533f4c3
[ "MIT" ]
null
null
null
acestream/ACEStream/Core/RequestPolicy.py
GrandPaRPi/p2ptv-pi
6f79c00f9055a3763ddfe1dc41e14d2cb533f4c3
[ "MIT" ]
null
null
null
acestream/ACEStream/Core/RequestPolicy.py
GrandPaRPi/p2ptv-pi
6f79c00f9055a3763ddfe1dc41e14d2cb533f4c3
[ "MIT" ]
2
2018-04-17T17:34:39.000Z
2020-07-26T03:43:33.000Z
#Embedded file name: ACEStream\Core\RequestPolicy.pyo from ACEStream.Core.simpledefs import * from ACEStream.Core.exceptions import * from ACEStream.Core.BitTornado.BT1.MessageID import * DEBUG = False MAX_QUERIES_FROM_RANDOM_PEER = 1000
30.525
99
0.700246
4871ff697124412845f2fa5d890fac9d6f0735fb
1,172
py
Python
appserver.py
XplosiveX/webfortune
bdcde9e4fc703c05a5520db3a4623103aeb77028
[ "Apache-2.0" ]
null
null
null
appserver.py
XplosiveX/webfortune
bdcde9e4fc703c05a5520db3a4623103aeb77028
[ "Apache-2.0" ]
null
null
null
appserver.py
XplosiveX/webfortune
bdcde9e4fc703c05a5520db3a4623103aeb77028
[ "Apache-2.0" ]
null
null
null
from flask import Flask, render_template, request, session, redirect, url_for, jsonify, abort import os import subprocess import uuid app = Flask(__name__) app.secret_key = str(uuid.uuid4().hex) intropre = '<pre style="border:black solid 4px; border-radius: 12.5px; background:silver; opacity: 0.65; margin-left:auto; ...
34.470588
216
0.705631
4872759cf120b5248551d5a5595288fb0852c2a9
1,356
py
Python
auth0/v3/test/management/test_stats.py
akmjenkins/auth0-python
511b016ac9853c7f4ee66769be7ad315c5585735
[ "MIT" ]
340
2015-06-05T12:32:26.000Z
2022-03-30T18:41:30.000Z
auth0/v3/test/management/test_stats.py
akmjenkins/auth0-python
511b016ac9853c7f4ee66769be7ad315c5585735
[ "MIT" ]
179
2015-05-26T00:35:07.000Z
2022-03-18T17:16:37.000Z
auth0/v3/test/management/test_stats.py
akmjenkins/auth0-python
511b016ac9853c7f4ee66769be7ad315c5585735
[ "MIT" ]
151
2015-01-27T11:49:01.000Z
2022-03-03T14:26:09.000Z
import unittest import mock from ...management.stats import Stats
31.534884
86
0.640855
4874bbd204b2fd95be7d58eace358a2bc329365d
2,038
py
Python
JavPy/utils/common.py
generaljun/JavPy
e2b5488631c0979c643a2f86ba4cd8bb1709e2f8
[ "Apache-2.0" ]
1
2020-07-30T08:48:17.000Z
2020-07-30T08:48:17.000Z
JavPy/utils/common.py
liqiang0330/JavPy
e2b5488631c0979c643a2f86ba4cd8bb1709e2f8
[ "Apache-2.0" ]
null
null
null
JavPy/utils/common.py
liqiang0330/JavPy
e2b5488631c0979c643a2f86ba4cd8bb1709e2f8
[ "Apache-2.0" ]
2
2020-07-30T06:30:23.000Z
2020-07-30T08:48:19.000Z
import datetime import functools import re from typing import Iterable version = "0.6" _class_name_pattern = re.compile(r"\.(.+?)\s")
22.898876
87
0.598135
4875786274d1dcdef100393c55e236d7510c92a2
10,457
py
Python
Foundry_Manager_v2.py
MrVauxs/Foundry-Selection-Menu
13f9164595c3c11fe01e5d44cd35bcc79b6a34df
[ "MIT" ]
5
2020-09-26T10:16:17.000Z
2022-01-06T14:31:54.000Z
Foundry_Manager_v2.py
MrVauxs/Foundry-Selection-Menu
13f9164595c3c11fe01e5d44cd35bcc79b6a34df
[ "MIT" ]
null
null
null
Foundry_Manager_v2.py
MrVauxs/Foundry-Selection-Menu
13f9164595c3c11fe01e5d44cd35bcc79b6a34df
[ "MIT" ]
1
2020-09-07T23:36:17.000Z
2020-09-07T23:36:17.000Z
import requests from bottle import route, run, template,ServerAdapter,redirect import subprocess from html.parser import HTMLParser import threading import time ssl_cert=None #XYZ - 'fullchain.pem' ssl_key=None #XYZ - 'privkey.pem' world_mapping={"URL_Path":["world-folder","Name To Be Shown"], "URL_Path2":["world-fo...
33.516026
280
0.589557
48769d3fe736152c54bf8b09ad3360ea09bd2080
1,181
py
Python
scripts/12865.py
JihoChoi/BOJ
08974a9db8ebaa299ace242e951cac53ab55fc4d
[ "MIT" ]
null
null
null
scripts/12865.py
JihoChoi/BOJ
08974a9db8ebaa299ace242e951cac53ab55fc4d
[ "MIT" ]
null
null
null
scripts/12865.py
JihoChoi/BOJ
08974a9db8ebaa299ace242e951cac53ab55fc4d
[ "MIT" ]
null
null
null
""" TAG: 0-1 Knapsack Problem, Dynamic Programming (DP), O(nW) References: - https://www.geeksforgeeks.org/0-1-knapsack-problem-dp-10/ weights and values of n items, capacity -> max value """ N, W = map(int, input().split()) # number of items, capacity weights = [] values = [] for i in range(N): w, v = m...
21.87037
83
0.516511
4876b544334a9fdacdb07da711e4c0eb80787e3b
339
py
Python
tests/test_parse.py
fphammerle/duplitab
8dcea2dbcb7f44405cdff24e24f598d338bdcea0
[ "MIT" ]
1
2021-02-24T11:45:49.000Z
2021-02-24T11:45:49.000Z
tests/test_parse.py
fphammerle/duplitab
8dcea2dbcb7f44405cdff24e24f598d338bdcea0
[ "MIT" ]
null
null
null
tests/test_parse.py
fphammerle/duplitab
8dcea2dbcb7f44405cdff24e24f598d338bdcea0
[ "MIT" ]
null
null
null
import pytest import datetime import duplitab
30.818182
79
0.769912
4877da686c21f0b39bdbcc627ce13221392e0654
5,597
py
Python
cdlib/algorithms/internal/COACH.py
xing-lab-pitt/cdlib
590e145429cda1db4d3671c994c502bedd77f108
[ "BSD-2-Clause" ]
248
2019-02-17T05:31:22.000Z
2022-03-30T04:57:20.000Z
cdlib/algorithms/internal/COACH.py
xing-lab-pitt/cdlib
590e145429cda1db4d3671c994c502bedd77f108
[ "BSD-2-Clause" ]
130
2019-02-10T19:35:55.000Z
2022-03-31T10:58:39.000Z
cdlib/algorithms/internal/COACH.py
xing-lab-pitt/cdlib
590e145429cda1db4d3671c994c502bedd77f108
[ "BSD-2-Clause" ]
70
2019-02-15T19:04:29.000Z
2022-03-27T12:58:50.000Z
# Author: True Price <jtprice@cs.unc.edu> # A core-attachment based method to detect protein complexes in PPI networks # Wu, Li, Kwoh, Ng (2009) # http://www.biomedcentral.com/1471-2105/10/169 from collections import defaultdict from itertools import combinations import functools # return average degree and density...
33.315476
88
0.517063
48782a7be4c6875b12d933fb4c7555216fa0e180
2,745
py
Python
appengine/findit/waterfall/test/revert_and_notify_culprit_pipeline_test.py
mcgreevy/chromium-infra
09064105713603f7bf75c772e8354800a1bfa256
[ "BSD-3-Clause" ]
1
2018-01-02T05:47:07.000Z
2018-01-02T05:47:07.000Z
appengine/findit/waterfall/test/revert_and_notify_culprit_pipeline_test.py
mcgreevy/chromium-infra
09064105713603f7bf75c772e8354800a1bfa256
[ "BSD-3-Clause" ]
null
null
null
appengine/findit/waterfall/test/revert_and_notify_culprit_pipeline_test.py
mcgreevy/chromium-infra
09064105713603f7bf75c772e8354800a1bfa256
[ "BSD-3-Clause" ]
null
null
null
# Copyright 2017 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from common.constants import DEFAULT_QUEUE from common.waterfall import failure_type from gae_libs.pipeline_wrapper import pipeline_handlers from waterfall i...
36.118421
77
0.676867
4878680107622e5788667d3e8c86e78f88548e8c
2,368
py
Python
labs/lab2/lm_model/models/LSTM.py
luyuliu/CSE-5194
52970106c21b30e64d4cf1df26bec09929494060
[ "MIT" ]
1
2020-12-04T18:07:54.000Z
2020-12-04T18:07:54.000Z
labs/lab2/lm_model/models/LSTM.py
luyuliu/CSE-5194
52970106c21b30e64d4cf1df26bec09929494060
[ "MIT" ]
1
2019-11-15T22:05:22.000Z
2019-12-01T03:41:14.000Z
labs/lab2/lm_model/models/LSTM.py
luyuliu/CSE-5194
52970106c21b30e64d4cf1df26bec09929494060
[ "MIT" ]
null
null
null
import torch import torch.nn as nn from torch.autograd import Variable from torch.nn import functional as F import numpy as np
34.823529
128
0.649916
4879e9953736c5be4e8f8c3cffbf391ebb052c79
229
py
Python
Day 17/Aayushi-Mittal.py
ChetasShree/MarchCode
80ee6206c0e4481b4421a83c7b7b7fc977450009
[ "MIT" ]
9
2021-03-02T12:16:24.000Z
2021-03-26T11:06:08.000Z
Day 17/Aayushi-Mittal.py
ChetasShree/MarchCode
80ee6206c0e4481b4421a83c7b7b7fc977450009
[ "MIT" ]
65
2021-03-02T04:57:47.000Z
2021-04-02T19:31:30.000Z
Day 17/Aayushi-Mittal.py
ChetasShree/MarchCode
80ee6206c0e4481b4421a83c7b7b7fc977450009
[ "MIT" ]
94
2021-03-02T04:42:28.000Z
2021-06-28T10:38:20.000Z
# To print fibonacci series upto a given number n. first = 0 second = 1 n = int(input()) print("Fibbonacci Series:") for i in range(0,n): print(first, end=", ") next = second + first first = second second = next
19.083333
50
0.628821
487a8dc97f3ca00e23834b0ac346fc97195d5b14
3,578
py
Python
taotao-cloud-python/taotao-cloud-oldboy/day84-PerfectCRM/PerfectCRM/kingadmin/permissions.py
shuigedeng/taotao-cloud-paren
3d281b919490f7cbee4520211e2eee5da7387564
[ "Apache-2.0" ]
47
2021-04-13T10:32:13.000Z
2022-03-31T10:30:30.000Z
taotao-cloud-python/taotao-cloud-oldboy/day84-PerfectCRM/PerfectCRM/kingadmin/permissions.py
shuigedeng/taotao-cloud-paren
3d281b919490f7cbee4520211e2eee5da7387564
[ "Apache-2.0" ]
1
2021-11-01T07:41:04.000Z
2021-11-01T07:41:10.000Z
taotao-cloud-python/taotao-cloud-oldboy/day84-PerfectCRM/PerfectCRM/kingadmin/permissions.py
shuigedeng/taotao-cloud-paren
3d281b919490f7cbee4520211e2eee5da7387564
[ "Apache-2.0" ]
21
2021-04-13T10:32:17.000Z
2022-03-26T07:43:22.000Z
from django.core.urlresolvers import resolve from django.shortcuts import render,redirect,HttpResponse from kingadmin.permission_list import perm_dic from django.conf import settings
38.473118
106
0.579374
487a9c7212eb09b59a26433079cfd900f9387fb7
7,894
py
Python
wserver_qdk/tests/main_test.py
PunchyArchy/wserver_qdk
cd29785710cb9f21efb2fc35fa395b1f693b854e
[ "MIT" ]
null
null
null
wserver_qdk/tests/main_test.py
PunchyArchy/wserver_qdk
cd29785710cb9f21efb2fc35fa395b1f693b854e
[ "MIT" ]
null
null
null
wserver_qdk/tests/main_test.py
PunchyArchy/wserver_qdk
cd29785710cb9f21efb2fc35fa395b1f693b854e
[ "MIT" ]
null
null
null
""" . """ import unittest from wserver_qdk.main import WServerQDK from wserver_qdk import tools import uuid
43.373626
75
0.60375