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
0d4d30b6e6303645af1e2596d61513feb8c14510
7,537
py
Python
neurosity/neurosity.py
neurosity/neurosity-python-sdk
1c8b6412c80711a23a4d677b00e00a0972da6278
[ "MIT" ]
3
2022-03-16T21:02:44.000Z
2022-03-24T20:22:21.000Z
neurosity/neurosity.py
neurosity/neurosity-python-sdk
1c8b6412c80711a23a4d677b00e00a0972da6278
[ "MIT" ]
1
2022-03-18T15:42:35.000Z
2022-03-18T15:42:35.000Z
neurosity/neurosity.py
neurosity/neurosity-python-sdk
1c8b6412c80711a23a4d677b00e00a0972da6278
[ "MIT" ]
null
null
null
import pyrebase import atexit from neurosity.config import PyRebase
34.732719
106
0.631949
0d4e51a479e1c13cd74a1e9a830b7c2a69de31d5
2,624
py
Python
ChiantiPy/tools/sources.py
kdere/ChiantiPy
2d17585d64dd1ed5a92edc645d6c85176899c185
[ "0BSD", "MIT" ]
56
2016-01-14T15:34:50.000Z
2022-03-09T10:41:36.000Z
ChiantiPy/tools/sources.py
kdere/ChiantiPy
2d17585d64dd1ed5a92edc645d6c85176899c185
[ "0BSD", "MIT" ]
163
2015-11-12T16:01:22.000Z
2022-03-23T14:19:59.000Z
ChiantiPy/tools/sources.py
chianti-atomic/ChiantiPy
0d47cc1c5855ab0290d0c6bd43628722651a77c5
[ "0BSD", "MIT" ]
36
2015-11-12T16:03:47.000Z
2022-02-09T17:53:39.000Z
""" Blackbody temperature calculations """ import numpy as np import ChiantiPy.tools.constants as const def blackbody(temperature, variable, hnu=1): """ Calculate the blackbody photon distribution as a function of energy (`hnu` = 1) or as a function of wavelength (`hnu` = 0) in units of :math:`\mathrm{phot...
32.8
237
0.61814
0d4e92239a42a1e07fc1974d6169fd9d61b14b1d
6,854
py
Python
plugins/module_utils/dnac_path_trace.py
takamitsu-iida/ansible_collections.iida.dnac
943c9e0b954087d82db934865605bf7eb7608659
[ "MIT" ]
null
null
null
plugins/module_utils/dnac_path_trace.py
takamitsu-iida/ansible_collections.iida.dnac
943c9e0b954087d82db934865605bf7eb7608659
[ "MIT" ]
null
null
null
plugins/module_utils/dnac_path_trace.py
takamitsu-iida/ansible_collections.iida.dnac
943c9e0b954087d82db934865605bf7eb7608659
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # pylint: disable=missing-module-docstring import json import logging import datetime try: HAS_TABULATE = True import tabulate except ImportError: HAS_TABULATE = False try: from dnac_rest_client import DnacRestClient except ImportError: from ansible_collection...
30.061404
136
0.678144
0d54823200e0f754f7348757b18b30672ceb3d3f
2,460
py
Python
src/main/python/khaiii/train/tagger.py
cjdans5545/khaiii
328d5a8af456a5941130383354c07d1cd0e47cf5
[ "Apache-2.0" ]
1,235
2018-11-30T01:35:13.000Z
2022-03-31T03:47:48.000Z
src/main/python/khaiii/train/tagger.py
cjdans5545/khaiii
328d5a8af456a5941130383354c07d1cd0e47cf5
[ "Apache-2.0" ]
91
2018-11-30T05:19:28.000Z
2022-03-14T12:38:44.000Z
src/main/python/khaiii/train/tagger.py
cjdans5545/khaiii
328d5a8af456a5941130383354c07d1cd0e47cf5
[ "Apache-2.0" ]
332
2018-11-30T00:49:04.000Z
2022-03-30T01:57:54.000Z
# -*- coding: utf-8 -*- """ part-of-speech tagger __author__ = 'Jamie (jamie.lim@kakaocorp.com)' __copyright__ = 'Copyright (C) 2019-, Kakao Corp. All rights reserved.' """ ########### # imports # ########### from argparse import Namespace import json import logging import re import torch.nn.functional as F from ...
33.69863
122
0.610976
0d55134a6274e95c13bfff3b7a7a64f396c1258d
2,614
py
Python
hot_coffee_brewers/queries.py
pr222/1dv503-pa2-hot-coffee-brewers
0f51363a0413391eee5720245625685709e4d21a
[ "MIT" ]
null
null
null
hot_coffee_brewers/queries.py
pr222/1dv503-pa2-hot-coffee-brewers
0f51363a0413391eee5720245625685709e4d21a
[ "MIT" ]
null
null
null
hot_coffee_brewers/queries.py
pr222/1dv503-pa2-hot-coffee-brewers
0f51363a0413391eee5720245625685709e4d21a
[ "MIT" ]
null
null
null
''' List number of reviews for all Coffee Shops. ''' ''' List all Coffee Shops with their coffee sorts that has an average rating of 4.5 or above. ''' ''' List average ratings for all different coffees for a specific Coffee Shop. ''' ''' Shows the one coffee sort with the most ratings for al...
31.878049
147
0.628921
0d57187b1fe621fa44ec3e0138c833d459861dc4
41,128
py
Python
lib/eapeak/parse.py
InfamousSYN/eapeak
62f8989b23c723f952cab462b326d59c7f16faec
[ "BSD-3-Clause" ]
null
null
null
lib/eapeak/parse.py
InfamousSYN/eapeak
62f8989b23c723f952cab462b326d59c7f16faec
[ "BSD-3-Clause" ]
null
null
null
lib/eapeak/parse.py
InfamousSYN/eapeak
62f8989b23c723f952cab462b326d59c7f16faec
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # # lib/eapeak/parse.py # # 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 copyright # notice, this list of...
37.905991
195
0.705335
0d578e27a40851cab52e76a2682cae56e7f828c8
50,422
py
Python
site.py
ahmetfurkaann/Firma-Website
6f4318f31a8c660de0e41c61929ea6d09c722600
[ "Apache-2.0" ]
null
null
null
site.py
ahmetfurkaann/Firma-Website
6f4318f31a8c660de0e41c61929ea6d09c722600
[ "Apache-2.0" ]
null
null
null
site.py
ahmetfurkaann/Firma-Website
6f4318f31a8c660de0e41c61929ea6d09c722600
[ "Apache-2.0" ]
null
null
null
from re import U from sys import unraisablehook from flask import Flask, g,render_template,flash,redirect,url_for,session,logging,request from flask_mysqldb import MySQL from wtforms import Form,StringField,TextAreaField,PasswordField,validators from passlib.hash import sha256_crypt from functools import wraps ...
42.948893
446
0.637618
b48f48a86a480a643b98de1d8c4d0bbf244c1ccb
6,116
py
Python
20180107-Causality/chmp-app-causality/src/chmp/app/causality/dataset/customer.py
chmp/misc-exp
2edc2ed598eb59f4ccb426e7a5c1a23343a6974b
[ "MIT" ]
6
2017-10-31T20:54:37.000Z
2020-10-23T19:03:00.000Z
20180107-Causality/chmp-app-causality/src/chmp/app/causality/dataset/customer.py
chmp/misc-exp
2edc2ed598eb59f4ccb426e7a5c1a23343a6974b
[ "MIT" ]
7
2020-03-24T16:14:34.000Z
2021-03-18T20:51:37.000Z
20180107-Causality/chmp-app-causality/src/chmp/app/causality/dataset/customer.py
chmp/misc-exp
2edc2ed598eb59f4ccb426e7a5c1a23343a6974b
[ "MIT" ]
1
2019-07-29T07:55:49.000Z
2019-07-29T07:55:49.000Z
import argparse import logging import os.path import numpy as np import pandas as pd import patsy _logger = logging.getLogger(__name__) _basedir = os.path.abspath(os.path.dirname(__file__)) def generate_customer_data( n_samples=100_000, n_occupations=5, seed=24, p_random=0.05, train_ratio=0.75 ): """Genera...
28.184332
88
0.630968
b48f53faa5d22345fc859ae5353bddfdc3d64abb
1,745
py
Python
Data Collection/Apparatus/Air Pollution/air_pollution_multithreading.py
NathanDai5287/air-pollution-covid-19
dbf030bba7df22efc53d2262cea469309c884791
[ "MIT" ]
null
null
null
Data Collection/Apparatus/Air Pollution/air_pollution_multithreading.py
NathanDai5287/air-pollution-covid-19
dbf030bba7df22efc53d2262cea469309c884791
[ "MIT" ]
null
null
null
Data Collection/Apparatus/Air Pollution/air_pollution_multithreading.py
NathanDai5287/air-pollution-covid-19
dbf030bba7df22efc53d2262cea469309c884791
[ "MIT" ]
null
null
null
import sys import os sys.path.append(os.path.join(os.path.dirname(__file__), '..')) import datetime from concurrent.futures import ThreadPoolExecutor, ProcessPoolExecutor import pandas as pd from pollution import start_date, start_date_string, end_date, end_date_string, parameters from pollution import location_to_c...
37.934783
142
0.711748
b4921f6ec217a9592cadd47f882fbef1d2caa7a8
1,015
py
Python
test/settings.py
movermeyer/django-response-timeout
38f7462ab71d967749efc3be914e2a7a2df80f33
[ "MIT" ]
1
2018-06-17T19:54:47.000Z
2018-06-17T19:54:47.000Z
test/settings.py
movermeyer/django-response-timeout
38f7462ab71d967749efc3be914e2a7a2df80f33
[ "MIT" ]
null
null
null
test/settings.py
movermeyer/django-response-timeout
38f7462ab71d967749efc3be914e2a7a2df80f33
[ "MIT" ]
1
2018-03-03T16:17:38.000Z
2018-03-03T16:17:38.000Z
import django from os import path SECRET_KEY = 'not secret' INSTALLED_APPS = ('response_timeout', 'test') TEMPLATE_DEBUG = DEBUG = True DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': 'response_timeout.db', }, } ROOT_URLCONF = 'test.urls' # Testing if django.VERSIO...
24.756098
67
0.714286
b4955baf2c5dfc4e228d772814f138530642e06e
673
py
Python
api/gql/mutations/shopper.py
novanda1/sayurmax
82588735e2305b658ce5b668d3d29e413ea6f5d9
[ "Apache-2.0" ]
null
null
null
api/gql/mutations/shopper.py
novanda1/sayurmax
82588735e2305b658ce5b668d3d29e413ea6f5d9
[ "Apache-2.0" ]
1
2022-03-12T01:01:57.000Z
2022-03-12T01:01:57.000Z
api/gql/mutations/shopper.py
novanda1/sayurmax
82588735e2305b658ce5b668d3d29e413ea6f5d9
[ "Apache-2.0" ]
null
null
null
from strawberry import mutation from gql.services.shopper import ShopperServices from gql.utils.authentication.shopper import ShopperAuth from gql.types.order import OrderStatusCode from asgiref.sync import sync_to_async services = ShopperServices()
28.041667
68
0.762259
b495d6846e8bc7d829b7b7db20d4bf0c49d9625c
4,648
py
Python
GUI/GtkGI/BaseFileDialogs.py
gcewing/PyGUI
58c6c38ccb8e66acdf98dea6b24bef1d9a03147c
[ "MIT" ]
9
2019-07-15T19:03:27.000Z
2021-11-24T19:50:02.000Z
GUI/GtkGI/BaseFileDialogs.py
mnabeelp/PyGUI
58c6c38ccb8e66acdf98dea6b24bef1d9a03147c
[ "MIT" ]
3
2019-09-11T13:22:10.000Z
2020-08-19T20:13:00.000Z
GUI/GtkGI/BaseFileDialogs.py
mnabeelp/PyGUI
58c6c38ccb8e66acdf98dea6b24bef1d9a03147c
[ "MIT" ]
4
2020-02-23T16:50:06.000Z
2022-02-10T07:15:35.000Z
# # Python GUI - File selection dialogs - Gtk # import os from gi.repository import Gtk from GUI.Files import FileRef from GUI.AlertFunctions import confirm from GUI.Applications import application #------------------------------------------------------------------ #------------------------------------------------...
28.169697
73
0.657917
b49783e2412d9102b2e721666330558cc70ae777
318
py
Python
templates/chord_degree.py
diramazioni/blend-sonic
71f8782aea9e743383324f079dd1b49b31528f44
[ "RSA-MD" ]
2
2022-01-06T14:47:22.000Z
2022-02-02T01:55:49.000Z
templates/chord_degree.py
diramazioni/blend-sonic
71f8782aea9e743383324f079dd1b49b31528f44
[ "RSA-MD" ]
null
null
null
templates/chord_degree.py
diramazioni/blend-sonic
71f8782aea9e743383324f079dd1b49b31528f44
[ "RSA-MD" ]
null
null
null
{% extends "degree.py" %} {%- block checkArgs %} {%- if fn.alt_args %} {{ macro.argCheck(fn.alt_args) }} {% endif %} {%- if fn.args %} {{ macro.argCheck(fn.args) }} {% endif %} {%- if fn.opts %} {{ macro.optCheck() }} {% endif %} {%- endblock %}
24.461538
41
0.424528
b497d0fd6c1a1150af128d25074c2daff3c48910
73
py
Python
PyDSTool/PyCont/__init__.py
mdlama/pydstool
3d298e908ff55340cd3612078508be0c791f63a8
[ "Python-2.0", "OLDAP-2.7" ]
2
2021-02-04T15:01:31.000Z
2021-02-25T16:08:43.000Z
PyDSTool/PyCont/__init__.py
mdlama/pydstool
3d298e908ff55340cd3612078508be0c791f63a8
[ "Python-2.0", "OLDAP-2.7" ]
null
null
null
PyDSTool/PyCont/__init__.py
mdlama/pydstool
3d298e908ff55340cd3612078508be0c791f63a8
[ "Python-2.0", "OLDAP-2.7" ]
1
2021-02-25T14:43:36.000Z
2021-02-25T14:43:36.000Z
from __future__ import absolute_import from .ContClass import ContClass
18.25
38
0.863014
b4986e96e1f0b1e90e25754d1b183dee07129893
23,748
py
Python
src/vtra/preprocess/province_roads_access_od_creation.py
GFDRR/vietnam-transport
71f6fc8cb7f1ca7bccb9a29d544869b442e68bfc
[ "MIT" ]
3
2018-07-09T12:15:46.000Z
2020-12-03T07:02:23.000Z
src/vtra/preprocess/province_roads_access_od_creation.py
GFDRR/vietnam-transport
71f6fc8cb7f1ca7bccb9a29d544869b442e68bfc
[ "MIT" ]
1
2019-05-09T21:57:20.000Z
2019-05-09T21:57:20.000Z
src/vtra/preprocess/province_roads_access_od_creation.py
GFDRR/vietnam-transport
71f6fc8cb7f1ca7bccb9a29d544869b442e68bfc
[ "MIT" ]
2
2018-07-23T12:49:21.000Z
2021-06-03T11:00:44.000Z
"""Pre-process accessibility-based provincial OD matrix Purpose ------- Create province scale OD matrices between roads connecting villages to nearest communes: - Net revenue estimates of commune villages - IFPRI crop data at 1km resolution Input data requirements ----------------------- 1. Correct paths to...
45.934236
127
0.677531
b498ac276e2df68b96a6609f47852d8c76bbc685
2,478
py
Python
codes/train.py
pettod/lyft-kaggle
352e6e54f16622a4fac4e698828c11148ead8c7e
[ "Apache-2.0" ]
null
null
null
codes/train.py
pettod/lyft-kaggle
352e6e54f16622a4fac4e698828c11148ead8c7e
[ "Apache-2.0" ]
null
null
null
codes/train.py
pettod/lyft-kaggle
352e6e54f16622a4fac4e698828c11148ead8c7e
[ "Apache-2.0" ]
null
null
null
import argparse from datetime import datetime import os import torch.nn as nn import torch.optim as optim import torch.optim.lr_scheduler as sched from pytorch_lightning import Trainer from pytorch_lightning.loggers import TensorBoardLogger as tb from module import LyftModule from net import LyftNet from dataset impo...
31.769231
92
0.686441
b49a30813a3995f8b132fee3f56f6df5ef37cad1
1,319
py
Python
blackjack/Model/hand.py
TrevorMcDougald/Blackjack
7441064525ef4634a8ad8d09aca971de2d150cec
[ "MIT" ]
null
null
null
blackjack/Model/hand.py
TrevorMcDougald/Blackjack
7441064525ef4634a8ad8d09aca971de2d150cec
[ "MIT" ]
5
2019-07-11T19:49:36.000Z
2019-07-12T19:19:26.000Z
blackjack/Model/hand.py
TrevorMcDougald/Blackjack
7441064525ef4634a8ad8d09aca971de2d150cec
[ "MIT" ]
1
2020-01-29T02:26:26.000Z
2020-01-29T02:26:26.000Z
from Model.deck import Deck
21.274194
62
0.536012
b49aaea7ec39afb87fb3a52cd84feb0d5ae86507
2,459
py
Python
Examples/example_crysalispro_cuts.py
DanPorter/Dans_Diffaction
74aea3d2b54d841271f22841f405a9a7c6fa1c81
[ "Apache-2.0" ]
22
2018-05-03T13:13:43.000Z
2022-02-28T16:55:45.000Z
Examples/example_crysalispro_cuts.py
DanPorter/Dans_Diffaction
74aea3d2b54d841271f22841f405a9a7c6fa1c81
[ "Apache-2.0" ]
7
2018-05-21T06:01:13.000Z
2022-03-25T10:39:35.000Z
Examples/example_crysalispro_cuts.py
DanPorter/Dans_Diffaction
74aea3d2b54d841271f22841f405a9a7c6fa1c81
[ "Apache-2.0" ]
6
2020-03-08T17:40:50.000Z
2022-02-28T04:49:31.000Z
""" Example Read recirpocal space cuts from CrysAlisPro """ import sys, os import re import numpy as np import matplotlib.pyplot as plt cf = os.path.dirname(__file__) sys.path.insert(0, os.path.join(cf, '..')) import Dans_Diffraction as dif print(dif.version_info()) def read_image(filename, resolution=0.8): ""...
32.786667
115
0.640504
b49ac37fe88c794fc2754068fb491f153b63e256
4,339
py
Python
qkeras/qtools/quantized_operators/fused_bn_factory.py
mkettn/qkeras
9ea16325db86ba1dae465c4e3f1ef0575c5f3af5
[ "Apache-2.0" ]
null
null
null
qkeras/qtools/quantized_operators/fused_bn_factory.py
mkettn/qkeras
9ea16325db86ba1dae465c4e3f1ef0575c5f3af5
[ "Apache-2.0" ]
null
null
null
qkeras/qtools/quantized_operators/fused_bn_factory.py
mkettn/qkeras
9ea16325db86ba1dae465c4e3f1ef0575c5f3af5
[ "Apache-2.0" ]
null
null
null
# Lint as: python3 # Copyright 2019 Google LLC # # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
37.730435
80
0.726896
b49b9b4c960812cbbb38751eb57c7f0355124d6a
948
py
Python
discordbot.py
2339145977/discordpy-startup
c69906961514bd7d6d13ff666e9326589f672d81
[ "MIT" ]
null
null
null
discordbot.py
2339145977/discordpy-startup
c69906961514bd7d6d13ff666e9326589f672d81
[ "MIT" ]
null
null
null
discordbot.py
2339145977/discordpy-startup
c69906961514bd7d6d13ff666e9326589f672d81
[ "MIT" ]
null
null
null
from os import getenv import traceback import random import discord PREFIX = "yz " token = getenv('DISCORD_BOT_TOKEN') client = MyClient() client.run(token)
27.085714
72
0.631857
b49c01b7f4d4caa36d93674286e808354fe98984
278
py
Python
drogher/package/dhl.py
jbittel/drogher
9a01a19aa6575f82949ef83a3e3b8834807d9cc9
[ "BSD-3-Clause" ]
13
2017-04-24T07:49:30.000Z
2020-09-22T13:13:13.000Z
drogher/package/dhl.py
jbittel/drogher
9a01a19aa6575f82949ef83a3e3b8834807d9cc9
[ "BSD-3-Clause" ]
null
null
null
drogher/package/dhl.py
jbittel/drogher
9a01a19aa6575f82949ef83a3e3b8834807d9cc9
[ "BSD-3-Clause" ]
4
2018-09-08T05:31:57.000Z
2022-02-10T17:42:31.000Z
from .base import Package
23.166667
80
0.643885
b49c513be34b4f17b0d736578157499c3c26fc69
3,878
py
Python
src/process/rpc/OperationProcess.py
jedicontributors/pythondataintegrator
3e877b367ab9b20185476128ec053db41087879f
[ "MIT" ]
null
null
null
src/process/rpc/OperationProcess.py
jedicontributors/pythondataintegrator
3e877b367ab9b20185476128ec053db41087879f
[ "MIT" ]
null
null
null
src/process/rpc/OperationProcess.py
jedicontributors/pythondataintegrator
3e877b367ab9b20185476128ec053db41087879f
[ "MIT" ]
null
null
null
import time import traceback from IocManager import IocManager from datetime import datetime from domain.operation.execution.services.OperationExecution import OperationExecution from domain.operation.services.DataOperationJobService import DataOperationJobService from infrastructor.data.RepositoryProvider import Rep...
45.093023
168
0.691594
b49c9eb3c3eb69f27f9c4ba7b02c96c6ca9089e4
404
py
Python
L_3_dz3.py
Malamut86/2075_Python
a78443d4de741cdca0c67c0b014f23daf10428c0
[ "MIT" ]
null
null
null
L_3_dz3.py
Malamut86/2075_Python
a78443d4de741cdca0c67c0b014f23daf10428c0
[ "MIT" ]
2
2022-03-13T13:10:36.000Z
2022-03-20T12:08:26.000Z
L_3_dz3.py
Malamut86/2075_Python
a78443d4de741cdca0c67c0b014f23daf10428c0
[ "MIT" ]
null
null
null
print(thesaurus("", "", "", "", ""))
23.764706
59
0.564356
b49d958a46d14b05dba8cf75523bb3f4b5c4c07d
28
py
Python
adbc/commands/__init__.py
aleontiev/apg
c6a10a9b0a576913c63ed4f093e2a0fa7469af87
[ "MIT" ]
2
2020-07-17T16:33:42.000Z
2020-07-21T04:48:38.000Z
adbc/commands/__init__.py
aleontiev/apg
c6a10a9b0a576913c63ed4f093e2a0fa7469af87
[ "MIT" ]
null
null
null
adbc/commands/__init__.py
aleontiev/apg
c6a10a9b0a576913c63ed4f093e2a0fa7469af87
[ "MIT" ]
null
null
null
from .run import RunCommand
14
27
0.821429
b49ea8e7151a4c7f8e75d89321810fa271971c0e
430
py
Python
app/management/commands/delete_all_users.py
kantale/OpenBioC
e047e44d06613f30845f3b98b83d2a2c935dff54
[ "BSD-3-Clause" ]
5
2019-09-05T12:48:46.000Z
2020-08-27T12:47:28.000Z
app/management/commands/delete_all_users.py
kantale/OpenBioC
e047e44d06613f30845f3b98b83d2a2c935dff54
[ "BSD-3-Clause" ]
85
2019-07-25T06:45:44.000Z
2020-09-17T12:59:48.000Z
app/management/commands/delete_all_users.py
kantale/OpenBioC
e047e44d06613f30845f3b98b83d2a2c935dff54
[ "BSD-3-Clause" ]
4
2019-09-05T12:48:49.000Z
2019-12-05T13:29:31.000Z
from django.core.management.base import BaseCommand from django.conf import settings from django.contrib.auth.models import User from ...models import OBC_user
25.294118
51
0.686047
b4a37dfcf3562862645afaf93f9f77b2926dd541
12,886
py
Python
robonet/video_prediction/models/deterministic_generator.py
russellmendonca/RoboNet
de30fa069dacb2888e62bd239e7a3471ea3aaa9d
[ "MIT" ]
140
2019-10-25T03:05:04.000Z
2022-03-07T17:41:56.000Z
robonet/video_prediction/models/deterministic_generator.py
russellmendonca/RoboNet
de30fa069dacb2888e62bd239e7a3471ea3aaa9d
[ "MIT" ]
9
2019-12-22T20:52:47.000Z
2022-02-22T07:56:43.000Z
robonet/video_prediction/models/deterministic_generator.py
russellmendonca/RoboNet
de30fa069dacb2888e62bd239e7a3471ea3aaa9d
[ "MIT" ]
26
2019-10-21T04:49:55.000Z
2021-09-17T15:50:17.000Z
""" Boiled down version of SAVP model from https://github.com/alexlee-gk/video_prediction """ from robonet.video_prediction.models.base_model import BaseModel from robonet.video_prediction.utils import tf_utils import tensorflow as tf from collections import OrderedDict from robonet.video_prediction import losses from ...
57.526786
155
0.619122
b4a3a57a382cc1afa9ce35172dc42125af270306
2,145
py
Python
utils/boilerplate/test_elephant.py
cfginn/sap-simulation-package
73314e5380cec5c61a9fe5ff5fbafa25b9e2beac
[ "MIT" ]
null
null
null
utils/boilerplate/test_elephant.py
cfginn/sap-simulation-package
73314e5380cec5c61a9fe5ff5fbafa25b9e2beac
[ "MIT" ]
null
null
null
utils/boilerplate/test_elephant.py
cfginn/sap-simulation-package
73314e5380cec5c61a9fe5ff5fbafa25b9e2beac
[ "MIT" ]
null
null
null
import unittest from pysapets.elephant import Elephant from pysapets.animal import Animal import pysapets.constants as constants from unittest.mock import patch from io import StringIO from copy import deepcopy
32.014925
97
0.748252
b4a4e97414c6b6c88561b6464b26eaeee459ebc6
6,013
py
Python
checkproject/case.py
perror/checkproject
9321470164e010778d32e24dc77c0b28eccd9429
[ "BSD-3-Clause" ]
null
null
null
checkproject/case.py
perror/checkproject
9321470164e010778d32e24dc77c0b28eccd9429
[ "BSD-3-Clause" ]
null
null
null
checkproject/case.py
perror/checkproject
9321470164e010778d32e24dc77c0b28eccd9429
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 # Checkcase class implementation. """Checkcase class implementation. There is three kinds of ways to fail a check: - Warning: Generate a warning message but do not count as an error. - Error: Generate an error message and count as an error. - Failure: Generate a failure message and stop the run...
35.370588
78
0.640113
b4a5bbf08a7b51f662f40c48b225c0d4fcbb721e
8,200
py
Python
models/nerf_net.py
peihaowang/nerf-pytorch
24c11a42d65c381150d2bb6caa6d160920d6cae7
[ "MIT" ]
23
2021-02-03T07:59:22.000Z
2022-03-28T07:13:45.000Z
models/nerf_net.py
peihaowang/nerf-pytorch
24c11a42d65c381150d2bb6caa6d160920d6cae7
[ "MIT" ]
null
null
null
models/nerf_net.py
peihaowang/nerf-pytorch
24c11a42d65c381150d2bb6caa6d160920d6cae7
[ "MIT" ]
4
2021-12-06T12:18:44.000Z
2022-03-29T16:08:12.000Z
import os, sys import numpy as np import imageio import json import random import time import torch import torch.nn as nn import torch.nn.functional as F from torch.utils.tensorboard import SummaryWriter from tqdm import tqdm, trange import matplotlib.pyplot as plt from models.sampler import StratifiedSampler, Import...
42.051282
146
0.617805
b4a65d97b1e73201ba7a61c0189b55eeb9aa09c5
1,970
py
Python
code/data_wash.py
ylf2002/lol
476bea227227434fc19c012047243afbeab9d099
[ "MIT" ]
1
2021-05-26T03:03:33.000Z
2021-05-26T03:03:33.000Z
code/data_wash.py
ylf2002/lol
476bea227227434fc19c012047243afbeab9d099
[ "MIT" ]
null
null
null
code/data_wash.py
ylf2002/lol
476bea227227434fc19c012047243afbeab9d099
[ "MIT" ]
null
null
null
####################################### # School of Software Technology # # Dalian University of Technology # # yang lifan # # 2862506026@qq.com # ####################################### import numpy as np import pandas as pd df = pd.read_excel(r"lol\data\f...
35.178571
92
0.561421
b4a68eef0211ea8367075b0a591513830e5f31fa
1,116
py
Python
development/models/layers/mesh_conv.py
atomicsulfate/meshcnn-4-cadseg
c0d91ec593293cb58eec422556d1322a3b4f6183
[ "MIT" ]
7
2021-04-07T06:31:58.000Z
2022-01-27T09:49:51.000Z
development/models/layers/mesh_conv.py
atomicsulfate/meshcnn-4-cadseg
c0d91ec593293cb58eec422556d1322a3b4f6183
[ "MIT" ]
null
null
null
development/models/layers/mesh_conv.py
atomicsulfate/meshcnn-4-cadseg
c0d91ec593293cb58eec422556d1322a3b4f6183
[ "MIT" ]
2
2021-05-19T03:39:04.000Z
2021-08-12T08:20:19.000Z
import torch from meshcnn.models.layers import mesh_conv
34.875
95
0.49552
b4a7840aed45d076df5f2476093d1ece342ead3d
3,389
py
Python
miossl/schedulers.py
miossl/miossl
cf1d6e5375803e46c74d361ae650403f70fc2b4c
[ "Apache-2.0" ]
null
null
null
miossl/schedulers.py
miossl/miossl
cf1d6e5375803e46c74d361ae650403f70fc2b4c
[ "Apache-2.0" ]
null
null
null
miossl/schedulers.py
miossl/miossl
cf1d6e5375803e46c74d361ae650403f70fc2b4c
[ "Apache-2.0" ]
null
null
null
import math import warnings from typing import List from torch.optim import Optimizer from torch.optim.lr_scheduler import _LRScheduler
39.406977
119
0.588374
b4a7ca4b7618be6bc620a7d348026e8218320c74
4,305
py
Python
compiler/lexer/lexer.py
KrishnaKanth1729/FireScript
90c42163bfabff3b4e105f337f39da1f48dc4f3a
[ "MIT" ]
null
null
null
compiler/lexer/lexer.py
KrishnaKanth1729/FireScript
90c42163bfabff3b4e105f337f39da1f48dc4f3a
[ "MIT" ]
null
null
null
compiler/lexer/lexer.py
KrishnaKanth1729/FireScript
90c42163bfabff3b4e105f337f39da1f48dc4f3a
[ "MIT" ]
null
null
null
from typing import Tuple from compiler.errors.errors import FEOLError, FParsingError, FEOFError from compiler.lexer.tokens import * from compiler.lexer.readers import Reader
35.286885
83
0.523577
b4a7d54ebf43275a91b1af9ae00ff9bd58753690
118
py
Python
dataservice/api/outcome/__init__.py
ConnorBarnhill/kf-api-dataservice
547df467a307788882469a25c947a14965a26336
[ "Apache-2.0" ]
6
2018-01-25T13:49:24.000Z
2020-03-07T16:25:09.000Z
dataservice/api/outcome/__init__.py
ConnorBarnhill/kf-api-dataservice
547df467a307788882469a25c947a14965a26336
[ "Apache-2.0" ]
369
2018-01-17T15:22:18.000Z
2022-03-10T19:14:56.000Z
dataservice/api/outcome/__init__.py
ConnorBarnhill/kf-api-dataservice
547df467a307788882469a25c947a14965a26336
[ "Apache-2.0" ]
3
2018-04-11T14:18:37.000Z
2018-10-31T19:09:48.000Z
from dataservice.api.outcome.resources import OutcomeAPI from dataservice.api.outcome.resources import OutcomeListAPI
39.333333
60
0.881356
b4a89b047d9526903b1666439bd632bebb9235df
36,093
py
Python
src/aceinna/devices/openrtk/uart_provider.py
xhaidong/python-openimu
9cd20ed61f62d0abd964e37700972bc97e3d0e8c
[ "Apache-2.0" ]
null
null
null
src/aceinna/devices/openrtk/uart_provider.py
xhaidong/python-openimu
9cd20ed61f62d0abd964e37700972bc97e3d0e8c
[ "Apache-2.0" ]
null
null
null
src/aceinna/devices/openrtk/uart_provider.py
xhaidong/python-openimu
9cd20ed61f62d0abd964e37700972bc97e3d0e8c
[ "Apache-2.0" ]
null
null
null
import os import time import json import datetime import threading import math import re import collections import serial import serial.tools.list_ports from .ntrip_client import NTRIPClient from ...framework.utils import ( helper, resource ) from ...framework.context import APP_CONTEXT from ..base.provider_base im...
38.851453
131
0.506469
b4ab5336f243e3a61cf46c03fff4d5667a06f2b8
2,250
py
Python
src/77. Combinations.py
wisesky/LeetCode-Practice
65549f72c565d9f11641c86d6cef9c7988805817
[ "MIT" ]
null
null
null
src/77. Combinations.py
wisesky/LeetCode-Practice
65549f72c565d9f11641c86d6cef9c7988805817
[ "MIT" ]
null
null
null
src/77. Combinations.py
wisesky/LeetCode-Practice
65549f72c565d9f11641c86d6cef9c7988805817
[ "MIT" ]
null
null
null
from typing import List from itertools import product import random if __name__ == "__main__": so = Solution() n = 9 k = 8 res = so.combine(n, k) for r in res: print(r)
28.125
86
0.450667
b4ae6154e286558196a78ebd191992f0143763b1
4,082
py
Python
src/object_detector.py
jaswanthbjk/BCDC-Net
a83b7bc31e53ab89d9025fd6b7e3d45c9dbd4f4f
[ "MIT" ]
null
null
null
src/object_detector.py
jaswanthbjk/BCDC-Net
a83b7bc31e53ab89d9025fd6b7e3d45c9dbd4f4f
[ "MIT" ]
null
null
null
src/object_detector.py
jaswanthbjk/BCDC-Net
a83b7bc31e53ab89d9025fd6b7e3d45c9dbd4f4f
[ "MIT" ]
null
null
null
import cv2 import numpy as np
41.232323
78
0.566144
b4b08a6e22243f7c828aaf3dc42a0edf0a5971a8
407
py
Python
embasp/specializations/idlv/idlv_minimal_models.py
MikeCoder96/EmbASP-Python
60898633db9fa3786989bfe7b4c77c5381315e7a
[ "MIT" ]
1
2020-03-28T14:28:40.000Z
2020-03-28T14:28:40.000Z
embasp/specializations/idlv/idlv_minimal_models.py
MikeCoder96/EmbASP-Python
60898633db9fa3786989bfe7b4c77c5381315e7a
[ "MIT" ]
null
null
null
embasp/specializations/idlv/idlv_minimal_models.py
MikeCoder96/EmbASP-Python
60898633db9fa3786989bfe7b4c77c5381315e7a
[ "MIT" ]
5
2020-03-29T15:48:05.000Z
2021-09-07T22:05:04.000Z
from ...languages.datalog.minimal_models import MinimalModels from parsers.datalog.datalog_solvers_parser import DatalogSolversParser
31.307692
71
0.759214
b4b1e6c3082e6ef4193d783b860478fded91a496
1,548
py
Python
src/test/rdflib/__init__.py
sffjunkie/mogul
1634fd3e630dd27e7d875cbd2f053e97eaa1da6f
[ "Apache-2.0" ]
null
null
null
src/test/rdflib/__init__.py
sffjunkie/mogul
1634fd3e630dd27e7d875cbd2f053e97eaa1da6f
[ "Apache-2.0" ]
null
null
null
src/test/rdflib/__init__.py
sffjunkie/mogul
1634fd3e630dd27e7d875cbd2f053e97eaa1da6f
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2009-2014 Simon Kennedy <sffjunkie+code@gmail.com> # # 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 a...
30.96
98
0.709948
b4b219e46b871a781176af732787b6b6cfc80947
4,753
py
Python
ChiEngProj.py
meson200/ChiEngProj
9661f3d4ce66ddfc2b6e0c36a64bec67a31ef5aa
[ "MIT" ]
null
null
null
ChiEngProj.py
meson200/ChiEngProj
9661f3d4ce66ddfc2b6e0c36a64bec67a31ef5aa
[ "MIT" ]
null
null
null
ChiEngProj.py
meson200/ChiEngProj
9661f3d4ce66ddfc2b6e0c36a64bec67a31ef5aa
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Thu Oct 29 23:25:47 2015 Data incubator challenge question "predicting power usage for new home owners" version 1.0 based on 2010 usage and weather data in Chicago @author: Sangkyu Lee """ import pandas as pd import numpy as np import requests import json import calendar from g...
42.4375
115
0.723122
b4b3d80e55a5aa21605c46650fbb8fb3c8a414dc
17,666
py
Python
dotastats/models.py
romanalexander/opendota
e0ad79db9b425055a5a3ed40be793ddfb082ecd8
[ "MIT" ]
14
2016-08-31T15:21:59.000Z
2021-03-24T07:11:07.000Z
dotastats/models.py
romanalexander/opendota
e0ad79db9b425055a5a3ed40be793ddfb082ecd8
[ "MIT" ]
1
2017-09-07T01:13:49.000Z
2017-09-07T01:13:49.000Z
dotastats/models.py
romanalexander/opendota
e0ad79db9b425055a5a3ed40be793ddfb082ecd8
[ "MIT" ]
6
2016-09-06T04:45:28.000Z
2019-07-19T17:13:41.000Z
from datetime import datetime from datetime import timedelta from django.db import models from django.db.models import Q from django.core import serializers from django.core.exceptions import ObjectDoesNotExist from django.conf import settings from django.utils.timezone import get_current_timezone from django.utils imp...
40.518349
185
0.657874
b4b498934bcc4f96ba6a32615a180933e174d2c4
1,697
py
Python
setup.py
isabella232/resync
6e9ddfa83087a0c122f72a6cc375c490f758b016
[ "Apache-2.0" ]
1
2016-11-30T18:08:02.000Z
2016-11-30T18:08:02.000Z
setup.py
EHRI/resync
6e9ddfa83087a0c122f72a6cc375c490f758b016
[ "Apache-2.0" ]
1
2021-06-22T08:24:40.000Z
2021-06-22T08:24:40.000Z
setup.py
isabella232/resync
6e9ddfa83087a0c122f72a6cc375c490f758b016
[ "Apache-2.0" ]
1
2021-06-22T08:22:25.000Z
2021-06-22T08:22:25.000Z
from setuptools import setup # setuptools used instead of distutils.core so that # dependencies can be handled automatically # Extract version number from resync/_version.py. Here we # are very strict about the format of the version string # as an extra sanity check. (Thanks for comments in # http://stackoverflow.com/...
39.465116
95
0.64231
b4b57c305f668f559a512cca575b3c48c7b7230f
2,966
py
Python
tests/test_config.py
ARMmbed/snippet
e186338ceeca8727b1dc0843f22c5cc486c00045
[ "Apache-2.0" ]
4
2018-11-09T13:51:07.000Z
2022-03-02T08:16:16.000Z
tests/test_config.py
ARMmbed/snippet
e186338ceeca8727b1dc0843f22c5cc486c00045
[ "Apache-2.0" ]
2
2020-04-09T07:38:44.000Z
2020-04-09T07:49:32.000Z
tests/test_config.py
ARMmbed/snippet
e186338ceeca8727b1dc0843f22c5cc486c00045
[ "Apache-2.0" ]
15
2019-02-03T12:10:44.000Z
2022-03-02T20:40:32.000Z
# # Copyright (C) 2020 Arm Mbed. All rights reserved. # SPDX-License-Identifier: Apache-2.0 # import os import shutil import filecmp import subprocess import sys import textwrap import unittest from snippet import config as snippet_config from tests import tmp_test_dir from tests import sample_input_dir
29.366337
96
0.567094
b4b6b4138ca66bccd63341d93918ed34f71c9d55
6,705
py
Python
Train.py
lythings/FaceEmotionCamera
430545201a2ea2d1423ed5509d882f00f9d7dba6
[ "MIT" ]
null
null
null
Train.py
lythings/FaceEmotionCamera
430545201a2ea2d1423ed5509d882f00f9d7dba6
[ "MIT" ]
null
null
null
Train.py
lythings/FaceEmotionCamera
430545201a2ea2d1423ed5509d882f00f9d7dba6
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np import time import torch import torch.nn as nn import torch.optim as optim import torchvision from tqdm import tqdm import matplotlib.pyplot as plt TheTransform = torchvision.transforms.Compose([ # torchvision.transforms.ToPILImage(), # PIL Image # torchvision.transfo...
43.258065
107
0.579717
b4b770d170dc7ddd7d1fdf77ff1f8640146578d6
625
py
Python
readimc/_imc_file.py
BodenmillerGroup/readimc
d46a3cc0cbae973f21477daa1c57f55b140fa1e3
[ "MIT" ]
null
null
null
readimc/_imc_file.py
BodenmillerGroup/readimc
d46a3cc0cbae973f21477daa1c57f55b140fa1e3
[ "MIT" ]
5
2021-11-01T13:53:10.000Z
2022-03-10T16:34:43.000Z
readimc/_imc_file.py
BodenmillerGroup/readimc
d46a3cc0cbae973f21477daa1c57f55b140fa1e3
[ "MIT" ]
null
null
null
import numpy as np from abc import ABC, abstractmethod from pathlib import Path
23.148148
69
0.6112
b4b8ba2e649969fc6bb6f38a691b8170998175d9
1,579
py
Python
behaviour-analysis-pipeline.py
zhen-lab/behaviour-analysis
14cddaa342ad04538428faba1f91a4f34ab7b1e2
[ "MIT" ]
null
null
null
behaviour-analysis-pipeline.py
zhen-lab/behaviour-analysis
14cddaa342ad04538428faba1f91a4f34ab7b1e2
[ "MIT" ]
7
2020-02-07T14:16:48.000Z
2020-02-25T20:43:03.000Z
behaviour-analysis-pipeline.py
zhen-lab/behaviour-analysis
14cddaa342ad04538428faba1f91a4f34ab7b1e2
[ "MIT" ]
null
null
null
import cv2 import glob import os import shutil from tierpsy.processing.processMultipleFilesFun import processMultipleFilesFun from tierpsy.summary.collect import calculate_summaries path = './data/jpeg-30s/' img_extension = "*.jpg" fps = 10 masked_video_dir = path + 'MaskedVideos' results_dir = path + 'Results' parame...
26.762712
173
0.721343
b4ba681dc4c92ddb5d2f438ede0c482768226c4a
16,306
py
Python
dracoon/groups.py
Quirinwierer/dracoon-python-api
7fad8cdb95069fb80069e76c740547f3ad02b910
[ "Apache-2.0" ]
3
2020-10-05T14:34:46.000Z
2020-11-27T07:44:57.000Z
dracoon/groups.py
Quirinwierer/dracoon-python-api
7fad8cdb95069fb80069e76c740547f3ad02b910
[ "Apache-2.0" ]
1
2022-02-15T16:01:12.000Z
2022-02-15T16:01:12.000Z
dracoon/groups.py
Quirinwierer/dracoon-python-api
7fad8cdb95069fb80069e76c740547f3ad02b910
[ "Apache-2.0" ]
1
2021-03-04T08:16:07.000Z
2021-03-04T08:16:07.000Z
""" Async DRACOON users adapter based on httpx and pydantic V1.0.0 (c) Octavio Simone, November 2021 Collection of DRACOON API calls for user management Documentation: https://dracoon.team/api/swagger-ui/index.html?configUrl=/api/spec_v4/swagger-config#/groups Please note: maximum 500 items are returned in GET reque...
35.680525
170
0.631976
b4bb509664e64b4c97929d6b7c30c8a2ec08f3e2
1,758
py
Python
higra/accumulator/graph_accumulator.py
deisemaia/Higra
82cb78b606a383f3961faa882457a9a987f802e0
[ "CECILL-B" ]
64
2019-08-18T19:23:23.000Z
2022-03-21T04:15:04.000Z
higra/accumulator/graph_accumulator.py
deisemaia/Higra
82cb78b606a383f3961faa882457a9a987f802e0
[ "CECILL-B" ]
120
2019-08-16T09:10:35.000Z
2022-03-17T09:42:58.000Z
higra/accumulator/graph_accumulator.py
deisemaia/Higra
82cb78b606a383f3961faa882457a9a987f802e0
[ "CECILL-B" ]
12
2019-10-04T07:35:55.000Z
2021-01-10T19:59:11.000Z
############################################################################ # Copyright ESIEE Paris (2018) # # # # Contributor(s) : Benjamin Perret # # ...
43.95
81
0.521615
b4bd67bdd7932ab494ee265fcb7f8858ae2f0b83
48
py
Python
tests/__init__.py
konradical/python_boilerplate
726bce3729f2263b43bc4acc39549e4179a257b3
[ "MIT" ]
4
2021-09-16T15:51:33.000Z
2022-02-22T01:49:38.000Z
tests/__init__.py
konradical/python_boilerplate
726bce3729f2263b43bc4acc39549e4179a257b3
[ "MIT" ]
4
2021-03-30T13:39:29.000Z
2021-09-22T19:12:55.000Z
tests/__init__.py
konradical/python_boilerplate
726bce3729f2263b43bc4acc39549e4179a257b3
[ "MIT" ]
null
null
null
"""Unit test package for python_boilerplate."""
24
47
0.75
b4c08a0ea77bdace7128fe675e8b04ad49fff756
171
py
Python
py/ml/main/main.py
deadwind4/gumiho
672907d2f6e585c0042a5425dd1d6c55cd58af14
[ "MIT" ]
2
2019-06-03T12:09:46.000Z
2019-06-03T12:09:50.000Z
py/ml/main/main.py
deadwind4/gumiho
672907d2f6e585c0042a5425dd1d6c55cd58af14
[ "MIT" ]
12
2021-03-19T01:53:24.000Z
2022-03-15T02:26:33.000Z
py/ml/main/main.py
deadwind4/gumiho
672907d2f6e585c0042a5425dd1d6c55cd58af14
[ "MIT" ]
null
null
null
import torch import re import logging logging.basicConfig(level=logging.DEBUG) x = torch.eye(3) print(x) r=re.match('sys_apply', 'sys_apply') print(r) logging.debug("a")
15.545455
40
0.748538
b4c15794d223dfbfa08064e0cd66ab6569b6d28b
3,353
py
Python
tests/attr/core/strategies/test_margin_sampling.py
nocotan/orakl
b524bc311f008b7ac46f5c289e4cc86322f4c5e3
[ "Apache-2.0" ]
null
null
null
tests/attr/core/strategies/test_margin_sampling.py
nocotan/orakl
b524bc311f008b7ac46f5c289e4cc86322f4c5e3
[ "Apache-2.0" ]
null
null
null
tests/attr/core/strategies/test_margin_sampling.py
nocotan/orakl
b524bc311f008b7ac46f5c289e4cc86322f4c5e3
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 import numpy as np import tensorflow as tf from orakl.attr import MarginSampling from ...helpers.utils import BaseTest
31.632075
71
0.532061
b4c44cfa861a3cb2f7399a87693dea11f5c7ba5f
481
py
Python
search_service/models/base.py
verdan/amundsensearchlibrary
ca57770d82f7956339376655aaae736870671a66
[ "Apache-2.0" ]
null
null
null
search_service/models/base.py
verdan/amundsensearchlibrary
ca57770d82f7956339376655aaae736870671a66
[ "Apache-2.0" ]
null
null
null
search_service/models/base.py
verdan/amundsensearchlibrary
ca57770d82f7956339376655aaae736870671a66
[ "Apache-2.0" ]
null
null
null
from abc import ABCMeta, abstractmethod from typing import Set
19.24
50
0.609148
b4c5a0efbd3a143079b5efd4a1992af1f5fc5e31
13,196
py
Python
openpnm/models/physics/diffusive_conductance.py
edgargmartinez/OpenPNM
c68745993b3e9895f53938164a9cf6305500748e
[ "MIT" ]
3
2019-07-17T01:35:09.000Z
2021-05-08T02:03:35.000Z
openpnm/models/physics/diffusive_conductance.py
edgargmartinez/OpenPNM
c68745993b3e9895f53938164a9cf6305500748e
[ "MIT" ]
null
null
null
openpnm/models/physics/diffusive_conductance.py
edgargmartinez/OpenPNM
c68745993b3e9895f53938164a9cf6305500748e
[ "MIT" ]
null
null
null
r""" .. autofunction:: openpnm.models.physics.diffusive_conductance.ordinary_diffusion .. autofunction:: openpnm.models.physics.diffusive_conductance.taylor_aris_diffusion .. autofunction:: openpnm.models.physics.diffusive_conductance.generic_conductance """ import scipy as _sp def ordinary_diffusion(target, ...
37.91954
84
0.646863
b4c5e19a5fb4217eaf5c3e579db4be69866e0425
2,281
py
Python
app/caffeine.py
pknn1/radii
29a55161e283e972545f2fa6ab86eb06162aeb8e
[ "MIT" ]
null
null
null
app/caffeine.py
pknn1/radii
29a55161e283e972545f2fa6ab86eb06162aeb8e
[ "MIT" ]
65
2018-10-17T09:13:21.000Z
2019-05-12T15:27:28.000Z
app/caffeine.py
pknn1/radii
29a55161e283e972545f2fa6ab86eb06162aeb8e
[ "MIT" ]
2
2018-11-28T20:42:58.000Z
2019-10-26T07:31:25.000Z
import logging import os import tqdm import codecs import h5py from scipy.sparse import coo_matrix, csr_matrix from implicit.als import AlternatingLeastSquares import numpy as np log = logging.getLogger("implicit") calculate_similar_event("./data", "similar-event.csv")
29.623377
79
0.624288
b4c62c1d188683a74a0962fac84688ac5b97821d
2,606
py
Python
Externals/micromegas_4.3.5/Packages/smodels-v1.1.0patch1/Unum-4.1.3-py2.7.egg/unum/units/others/__init__.py
yuanfangtardis/vscode_project
2d78a85413cc85789cc4fee8ec991eb2a0563ef8
[ "Apache-2.0" ]
null
null
null
Externals/micromegas_4.3.5/Packages/smodels-v1.1.0patch1/Unum-4.1.3-py2.7.egg/unum/units/others/__init__.py
yuanfangtardis/vscode_project
2d78a85413cc85789cc4fee8ec991eb2a0563ef8
[ "Apache-2.0" ]
null
null
null
Externals/micromegas_4.3.5/Packages/smodels-v1.1.0patch1/Unum-4.1.3-py2.7.egg/unum/units/others/__init__.py
yuanfangtardis/vscode_project
2d78a85413cc85789cc4fee8ec991eb2a0563ef8
[ "Apache-2.0" ]
1
2022-01-15T12:22:30.000Z
2022-01-15T12:22:30.000Z
"""Define common units that are not SI units. Source: http://physics.nist.gov/cuu/Units/outside.html """ from math import pi from unum import Unum from unum.units.si import * unit = Unum.unit min = MIN = unit( 'min' , 60 * s , 'minute' ) h = H =...
63.560976
93
0.331926
b4c923ce3d32af3eeec668c17548a734deee2fca
5,563
py
Python
.ipynb_checkpoints/quickr-checkpoint.py
victorfica/utils
b61935a860838a0e70afde7c9ecf2c68f51a2c4b
[ "MIT" ]
5
2015-12-16T01:23:07.000Z
2020-04-27T11:41:43.000Z
.ipynb_checkpoints/quickr-checkpoint.py
victorfica/utils
b61935a860838a0e70afde7c9ecf2c68f51a2c4b
[ "MIT" ]
1
2021-05-06T23:47:20.000Z
2021-05-06T23:48:33.000Z
.ipynb_checkpoints/quickr-checkpoint.py
victorfica/utils
b61935a860838a0e70afde7c9ecf2c68f51a2c4b
[ "MIT" ]
6
2016-04-29T14:04:22.000Z
2021-05-06T23:49:34.000Z
import subprocess import pandas as pd import tempfile import os __all__ = ['runRscript'] def runRscript(Rcmd, inDf=None, outputFiles=0, removeTempFiles=None): """Runs an R cmd with option to provide a DataFrame as input and file as output. Params ------ Rcmd : str String containing the R-...
35.433121
104
0.577926
b4c9ce487e10dba3071c2961a4b998890acc04b4
1,790
py
Python
website/trafficlights/__init__.py
matthewrkitson/traffic-lights
4a469fe9e2b78d140f79e411f57f73a10161608c
[ "MIT" ]
1
2017-07-24T08:21:38.000Z
2017-07-24T08:21:38.000Z
website/trafficlights/__init__.py
matthewrkitson/traffic-lights
4a469fe9e2b78d140f79e411f57f73a10161608c
[ "MIT" ]
1
2017-08-26T22:48:40.000Z
2017-08-26T22:49:31.000Z
website/trafficlights/__init__.py
matthewrkitson/traffic-lights
4a469fe9e2b78d140f79e411f57f73a10161608c
[ "MIT" ]
null
null
null
from flask import Flask, render_template, request import trafficlights.controller as controller import trafficlights.poller as poller from trafficlights.updaters.teamcity_updater import TeamCityUpdater from trafficlights.updaters.flash_updater import FlashUpdater import os import pwd import logging from logging.handler...
30.862069
81
0.732961
b4caab1d782450ff5523fe9d995e78cea4812cc6
552
py
Python
google-calendar-notifier.py
motchy869/Google-Calendar-notifier
f25ff114f600bcf051622290ce5ee46fa6763b40
[ "MIT" ]
null
null
null
google-calendar-notifier.py
motchy869/Google-Calendar-notifier
f25ff114f600bcf051622290ce5ee46fa6763b40
[ "MIT" ]
null
null
null
google-calendar-notifier.py
motchy869/Google-Calendar-notifier
f25ff114f600bcf051622290ce5ee46fa6763b40
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ google-calendar-notifier Google Calendar """ import sys from modules.Global import APPLICATION_NAME from modules.Manager import Manager import setproctitle from PyQt5.QtWidgets import (QApplication, QWidget) def main(): """ main function """ setproctitle.set...
18.4
52
0.748188
b4cb7e7c29d9db6eb7015f3523a78eabfadd2701
6,121
py
Python
tests/alerters/exotel_test.py
perceptron01/elastalert2
bb91ecdb03dedda207237ca83d628fd5d40d29c6
[ "Apache-2.0" ]
250
2021-04-24T18:06:30.000Z
2022-03-31T04:37:47.000Z
tests/alerters/exotel_test.py
perceptron01/elastalert2
bb91ecdb03dedda207237ca83d628fd5d40d29c6
[ "Apache-2.0" ]
129
2021-04-24T17:09:50.000Z
2022-03-29T08:52:14.000Z
tests/alerters/exotel_test.py
perceptron01/elastalert2
bb91ecdb03dedda207237ca83d628fd5d40d29c6
[ "Apache-2.0" ]
128
2021-04-25T15:20:34.000Z
2022-03-31T04:37:49.000Z
import logging import pytest from unittest import mock from requests import RequestException from elastalert.alerters.exotel import ExotelAlerter from elastalert.loaders import FileRulesLoader from elastalert.util import EAException exotel_required_error_expected_data = 'Missing required option(s): exotel_account...
34.581921
123
0.59255
b4cb904211fffa6f3cd36f4d79779477007b846c
1,664
py
Python
gensort/gen_partitions.py
bskim45/akka-clustered-sorting
af9b5846c346fd758b90c66317edcc620acdaf67
[ "Apache-2.0" ]
4
2016-10-23T12:52:51.000Z
2018-12-07T04:44:17.000Z
gensort/gen_partitions.py
bskim45/akka-clustered-sorting
af9b5846c346fd758b90c66317edcc620acdaf67
[ "Apache-2.0" ]
null
null
null
gensort/gen_partitions.py
bskim45/akka-clustered-sorting
af9b5846c346fd758b90c66317edcc620acdaf67
[ "Apache-2.0" ]
null
null
null
# -*- coding: UTF-8 -*- import argparse import os import shlex import subprocess import sys if __name__ == "__main__": main(sys.argv)
32
106
0.616587
b4cbcf09ac9214d01520bb499e084a430a45cce9
6,855
py
Python
models/backbones/psa.py
EmanuelNk/semantic-segmentation
20ff16da49691fb407724909d9c7e84b47e2fee0
[ "MIT" ]
null
null
null
models/backbones/psa.py
EmanuelNk/semantic-segmentation
20ff16da49691fb407724909d9c7e84b47e2fee0
[ "MIT" ]
null
null
null
models/backbones/psa.py
EmanuelNk/semantic-segmentation
20ff16da49691fb407724909d9c7e84b47e2fee0
[ "MIT" ]
null
null
null
import torch from torch import nn, Tensor from torch.nn import functional as F resnet_settings = { '18': [BasicBlock, [2, 2, 2, 2]], '34': [BasicBlock, [3, 4, 6, 3]], '50': [Bottleneck, [3, 4, 6, 3]], '101': [Bottleneck, [3, 4, 23, 3]], '152': [Bottleneck, [3, 8, 36, 3]] } if __name__ == ...
34.104478
117
0.564989
b4cc740af35ab7b4d6f5b995924f2b85986c8d1a
2,318
py
Python
ruconlluconv/space/dataset.py
shkarupa-alex/ruconlluconv
7b1c2c5af7724f407b56e412629921dc9b4f163b
[ "MIT" ]
1
2019-10-24T10:23:53.000Z
2019-10-24T10:23:53.000Z
ruconlluconv/space/dataset.py
shkarupa-alex/ruconlluconv
7b1c2c5af7724f407b56e412629921dc9b4f163b
[ "MIT" ]
null
null
null
ruconlluconv/space/dataset.py
shkarupa-alex/ruconlluconv
7b1c2c5af7724f407b56e412629921dc9b4f163b
[ "MIT" ]
null
null
null
from __future__ import absolute_import from __future__ import division from __future__ import print_function import argparse import csv import os import random from conllu import parse
29.717949
101
0.592752
b4cca09337b02a9336a893eb3318ca00d49f56c0
203
py
Python
venv_restaurant/Scripts/django-admin.py
Frank1963-mpoyi/RUTH-RESTAURANT-BACK-END
b2c657b822295b717e699797a12c3db48f8d3b70
[ "MIT" ]
null
null
null
venv_restaurant/Scripts/django-admin.py
Frank1963-mpoyi/RUTH-RESTAURANT-BACK-END
b2c657b822295b717e699797a12c3db48f8d3b70
[ "MIT" ]
null
null
null
venv_restaurant/Scripts/django-admin.py
Frank1963-mpoyi/RUTH-RESTAURANT-BACK-END
b2c657b822295b717e699797a12c3db48f8d3b70
[ "MIT" ]
null
null
null
#!c:\users\mpoyi tshibuyi\desktop\cv\ruth-restaurant-back-end\venv_restaurant\scripts\python.exe from django.core import management if __name__ == "__main__": management.execute_from_command_line()
33.833333
96
0.802956
b4cd052381d84e741e9aba129e01ded11236ccc7
5,471
py
Python
code/head_and_flare_plot_rti_together.py
ryanvolz/thesis_defense
0ada54d632c0c98edaf338390a56f85a8c29381f
[ "CC-BY-4.0", "CC0-1.0", "BSD-3-Clause" ]
1
2022-03-24T22:52:14.000Z
2022-03-24T22:52:14.000Z
code/head_and_flare_plot_rti_together.py
ryanvolz/thesis_defense
0ada54d632c0c98edaf338390a56f85a8c29381f
[ "CC-BY-4.0", "CC0-1.0", "BSD-3-Clause" ]
null
null
null
code/head_and_flare_plot_rti_together.py
ryanvolz/thesis_defense
0ada54d632c0c98edaf338390a56f85a8c29381f
[ "CC-BY-4.0", "CC0-1.0", "BSD-3-Clause" ]
null
null
null
import numpy as np import matplotlib import matplotlib.pyplot as plt from mpl_toolkits import axes_grid1 import cPickle import copy import os import echolect as el params = {#'figure.subplot.left': 0.01, #'figure.subplot.bottom': 0.01, #'figure.subplot.right': .99, #'figure.subplot.top':...
36.718121
86
0.599708
b4ce3c157a11cf1e8eaa0e95bc2a27f12658839f
1,161
py
Python
second/utils/print_test.py
rogeriobonatti/wysiwyg
04a26c6e9125f55222bd0b5d5b0cfbfaebbdbcdf
[ "MIT", "BSD-3-Clause" ]
92
2020-04-16T08:52:55.000Z
2022-03-02T15:52:55.000Z
second/utils/print_test.py
rogeriobonatti/wysiwyg
04a26c6e9125f55222bd0b5d5b0cfbfaebbdbcdf
[ "MIT", "BSD-3-Clause" ]
6
2020-08-07T03:18:41.000Z
2022-03-09T04:49:07.000Z
second/utils/print_test.py
rogeriobonatti/wysiwyg
04a26c6e9125f55222bd0b5d5b0cfbfaebbdbcdf
[ "MIT", "BSD-3-Clause" ]
18
2020-05-21T15:47:48.000Z
2021-09-28T02:22:11.000Z
import os import json import argparse parser = argparse.ArgumentParser() parser.add_argument('--dataset', type=str, default='nuscenes') parser.add_argument('--step', type=int, default='-1') parser.add_argument('--metric', type=str, default='mean_dist_aps') parser.add_argument('--thresh', type=str, default="") args = p...
25.8
126
0.64255
b4ce7143a08fd78efc9047f19ca66cad8f2c7504
1,924
py
Python
core/snake.py
LucienShui/SnakeAI
9636d881f5d9647bf8f8a3f60ec890ccf7a6e245
[ "Apache-2.0" ]
1
2020-08-12T07:10:43.000Z
2020-08-12T07:10:43.000Z
core/snake.py
LucienShui/SnakeAI
9636d881f5d9647bf8f8a3f60ec890ccf7a6e245
[ "Apache-2.0" ]
1
2020-08-19T07:38:38.000Z
2020-08-19T07:38:38.000Z
core/snake.py
LucienShui/SnakeAI
9636d881f5d9647bf8f8a3f60ec890ccf7a6e245
[ "Apache-2.0" ]
null
null
null
import typing from .point import Point from .action import Action
26.722222
100
0.572765
b4cf2c91db7b015aa8aa4991bdda7ef428e1f465
915
py
Python
Python 3/8600TransientTrace.py
BKPrecisionCorp/8600DCLoad
94ab102dca952acc19af9a5216a686546c73340a
[ "Apache-2.0" ]
null
null
null
Python 3/8600TransientTrace.py
BKPrecisionCorp/8600DCLoad
94ab102dca952acc19af9a5216a686546c73340a
[ "Apache-2.0" ]
null
null
null
Python 3/8600TransientTrace.py
BKPrecisionCorp/8600DCLoad
94ab102dca952acc19af9a5216a686546c73340a
[ "Apache-2.0" ]
null
null
null
import time import visa rm=visa.ResourceManager() li=rm.list_resources() for index in range(len(li)): print(str(index)+" - "+li[index]) choice = input("Which device?: ") vi=rm.open_resource(li[int(choice)]) print(vi.query("*idn?")) vi.write("FUNC CURR") vi.write("trace:clear") vi.write("trace:feed two") vi.write("...
28.59375
71
0.689617
b4cf7e1c86e3205958291e7425a9a9f4f73be2ce
9,057
py
Python
tests/test_ssdp.py
esev/pywemo
95ee8271c4253c4872112bdfd02f7e24d2ae4aa5
[ "MIT" ]
null
null
null
tests/test_ssdp.py
esev/pywemo
95ee8271c4253c4872112bdfd02f7e24d2ae4aa5
[ "MIT" ]
null
null
null
tests/test_ssdp.py
esev/pywemo
95ee8271c4253c4872112bdfd02f7e24d2ae4aa5
[ "MIT" ]
null
null
null
"""Tests for SSDP and discovery.""" import queue import socket import unittest.mock as mock import pytest import requests from pywemo import ssdp MOCK_CALLBACK_PORT = 8989 MOCK_IP_ADDRESS = "5.6.7.8" def test_discovery_responder_notify(mock_socket, mock_interface_addresses): resp = ssdp.DiscoveryResponde...
30.701695
79
0.646572
b4cfce8b12a6ac49b647cb4f04c9fcd1077b1ec7
963
py
Python
Past Homeworks/homework6.py
hunterluepke/Learn-Python-for-Stats-and-Econ
d580a8e27ba937fc8401ac6d0714b6488ac8bbb6
[ "MIT" ]
16
2019-01-10T18:54:13.000Z
2022-01-28T20:07:20.000Z
Past Homeworks/homework6.py
hunterluepke/Learn-Python-for-Stats-and-Econ
d580a8e27ba937fc8401ac6d0714b6488ac8bbb6
[ "MIT" ]
null
null
null
Past Homeworks/homework6.py
hunterluepke/Learn-Python-for-Stats-and-Econ
d580a8e27ba937fc8401ac6d0714b6488ac8bbb6
[ "MIT" ]
15
2019-01-24T17:11:20.000Z
2021-12-11T01:53:57.000Z
#1. Run an OLS regression using a different set of data. Use the regression #class created in this chapter. Print the results. #2. Create scatter plots of the observation and predicted values as demonstrated at the end of this chapter. #3. Use the numpy libraries log function to log some or all value in your data. ...
48.15
108
0.768432
b4d0137f7fae0bad4c0708d52cc3a2d28862307e
4,563
py
Python
MCSH/logging.py
RealAllenDa/MinecraftServerHelper
888217070443c0cc04823ebe4a41c7f24ff785ec
[ "MIT" ]
null
null
null
MCSH/logging.py
RealAllenDa/MinecraftServerHelper
888217070443c0cc04823ebe4a41c7f24ff785ec
[ "MIT" ]
null
null
null
MCSH/logging.py
RealAllenDa/MinecraftServerHelper
888217070443c0cc04823ebe4a41c7f24ff785ec
[ "MIT" ]
null
null
null
""" *************************************** MCSH - A Minecraft Server Helper. Coded by AllenDa 2020. Licensed under MIT. *************************************** Module Name: MCSH.logging Module Revision: 0.0.1-18 Module Description: A module for all the shared functions. Including Logging, Downloading, ...
33.8
102
0.573526
b4d33929de3fd0bf625b63e39a95f8cfb6dfd254
6,366
py
Python
train.py
firehose-dataset/congrad
20792f43aa89beae75454e30b82b2e1280ed3106
[ "MIT" ]
9
2020-07-21T14:37:22.000Z
2021-07-14T12:44:13.000Z
train.py
firehose-dataset/congrad
20792f43aa89beae75454e30b82b2e1280ed3106
[ "MIT" ]
2
2020-09-22T18:05:03.000Z
2020-11-19T09:42:21.000Z
train.py
firehose-dataset/congrad
20792f43aa89beae75454e30b82b2e1280ed3106
[ "MIT" ]
2
2020-07-21T16:39:12.000Z
2020-07-30T02:20:47.000Z
# coding: utf-8 import argparse import json import time import math import os, sys import itertools import numpy as np import os.path as osp import torch import torch.nn as nn import torch.optim as optim from core.dataset.corpus import get_lm_corpus from core.configs import get_basic_parser from core.trainer import ...
47.864662
113
0.56409
b4d4ab3cc397b904b89f32e4f6a280d303e8fc9e
133
py
Python
python_100/Level1/33.new_list.py
relax-space/python-cy
eaf4650756e7ece5ec97894b65a7495b5c964eb3
[ "Apache-2.0" ]
1
2020-04-27T03:31:23.000Z
2020-04-27T03:31:23.000Z
python_100/Level1/33.new_list.py
relax-space/python-cy
eaf4650756e7ece5ec97894b65a7495b5c964eb3
[ "Apache-2.0" ]
1
2020-04-14T23:55:19.000Z
2020-04-15T03:29:37.000Z
python_100/Level1/33.new_list.py
relax-space/python-cy
eaf4650756e7ece5ec97894b65a7495b5c964eb3
[ "Apache-2.0" ]
null
null
null
# 33. # a = [1,2,5,8,10,3,18,6,20] res = [i for i in a[::2] if i %2 ==0] print(res)
22.166667
39
0.639098
b4d83f281f1eebd41934900dc6fcbc95f4422fa8
828
py
Python
Algorithm/Easy/1000+/1137ConstructStringfromBinaryTree.py
MartinYan623/Lint-Code
57d2fa441d6496234615736e3f55d0b71aaa51dc
[ "MIT" ]
null
null
null
Algorithm/Easy/1000+/1137ConstructStringfromBinaryTree.py
MartinYan623/Lint-Code
57d2fa441d6496234615736e3f55d0b71aaa51dc
[ "MIT" ]
1
2020-08-08T10:14:53.000Z
2020-08-08T10:18:37.000Z
Algorithm/Easy/1000+/1137ConstructStringfromBinaryTree.py
MartinYan623/Lint-Code
57d2fa441d6496234615736e3f55d0b71aaa51dc
[ "MIT" ]
null
null
null
""" Definition of TreeNode: class TreeNode: def __init__(self, val): self.val = val self.left, self.right = None, None """
27.6
66
0.519324
b4d9bf8f6d4100f5fbe1040cb0ba4a581a667576
2,589
py
Python
nncf/common/quantization/quantizers.py
xiao1228/nncf
307262119ee3f50eec2fa4022b2ef96693fd8448
[ "Apache-2.0" ]
null
null
null
nncf/common/quantization/quantizers.py
xiao1228/nncf
307262119ee3f50eec2fa4022b2ef96693fd8448
[ "Apache-2.0" ]
null
null
null
nncf/common/quantization/quantizers.py
xiao1228/nncf
307262119ee3f50eec2fa4022b2ef96693fd8448
[ "Apache-2.0" ]
null
null
null
""" Copyright (c) 2021 Intel Corporation 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 writin...
34.065789
80
0.679413
b4d9d7e8ab9eba17dd2d34e0f48b7c7da2f7aa12
620
py
Python
Teaching-Evaluation-Assistant/main.py
xsx-123/awesome-sdu-scripts
bc371fda9d4d2a616f82c9a44b7d1d6eddb2c6eb
[ "MIT" ]
21
2021-06-01T09:54:20.000Z
2022-03-11T16:50:42.000Z
Teaching-Evaluation-Assistant/main.py
xsx-123/awesome-sdu-scripts
bc371fda9d4d2a616f82c9a44b7d1d6eddb2c6eb
[ "MIT" ]
1
2020-07-05T15:39:54.000Z
2020-07-05T15:39:54.000Z
Teaching-Evaluation-Assistant/main.py
xsx-123/awesome-sdu-scripts
bc371fda9d4d2a616f82c9a44b7d1d6eddb2c6eb
[ "MIT" ]
8
2021-07-21T03:11:40.000Z
2021-12-03T08:25:19.000Z
# -*- coding: utf-8 -*- #!/usr/bin/env python # Copyright 2018 ZhangT. All Rights Reserved. # Author: ZhangT # Author-Github: github.com/zhangt2333 # main.py 2019/1/18 10:24 from spider import * if __name__ == "__main__": main()
25.833333
77
0.651613
b4de7316ed1e8e13a0577cf10dc2841aba8c4450
114
py
Python
food_reference_listing/database/apps.py
bfssi-forest-dussault/food_reference_listing
85372a81a9201dda02797ab0c11b1bd710f9b70d
[ "MIT" ]
null
null
null
food_reference_listing/database/apps.py
bfssi-forest-dussault/food_reference_listing
85372a81a9201dda02797ab0c11b1bd710f9b70d
[ "MIT" ]
null
null
null
food_reference_listing/database/apps.py
bfssi-forest-dussault/food_reference_listing
85372a81a9201dda02797ab0c11b1bd710f9b70d
[ "MIT" ]
null
null
null
from django.apps import AppConfig
19
44
0.798246
b4e075d99493283f713d77ff2a9998ebc61bca27
6,905
py
Python
crawler/bot.py
danhorsley/my_fx_bot
fc62a9c6c8a596546d028bedd0ada5769038ca93
[ "MIT" ]
null
null
null
crawler/bot.py
danhorsley/my_fx_bot
fc62a9c6c8a596546d028bedd0ada5769038ca93
[ "MIT" ]
1
2021-06-02T00:37:56.000Z
2021-06-02T00:37:56.000Z
crawler/bot.py
danhorsley/my_fx_bot
fc62a9c6c8a596546d028bedd0ada5769038ca93
[ "MIT" ]
null
null
null
#import pandas as pd import numpy as np import random from tqdm import tqdm #from sklearn.linear_model import LinearRegression #from pandas.core.common import SettingWithCopyWarning #import warnings #from .dbtonumpy import eurusd_prices #warnings.simplefilter(action="ignore", category=SettingWithCopyWarning) from datet...
39.232955
116
0.623172
b4e1de52882ddfbf3559c816d3bb41dcee39e97e
3,824
py
Python
test/test_stream.py
pkch/executors
326677ab98de374314bfa76e75624a705c34bdda
[ "MIT" ]
1
2017-07-17T14:11:18.000Z
2017-07-17T14:11:18.000Z
test/test_stream.py
pkch/executors
326677ab98de374314bfa76e75624a705c34bdda
[ "MIT" ]
3
2017-05-29T10:24:36.000Z
2017-05-30T09:20:11.000Z
test/test_stream.py
pkch/executors
326677ab98de374314bfa76e75624a705c34bdda
[ "MIT" ]
1
2020-11-21T18:53:52.000Z
2020-11-21T18:53:52.000Z
from itertools import islice, count from functools import partial import time import os import pytest from streamexecutors import StreamThreadPoolExecutor, StreamProcessPoolExecutor approx = partial(pytest.approx, abs=0.5) test_classes = [StreamThreadPoolExecutor, StreamProcessPoolExecutor] # pytest bu...
30.592
100
0.631799
b4e304de012fad4ec3d5be2223cfc1f74ac57b63
1,997
py
Python
edit_exercise_page.py
delereyus/ProLog
b08c9d4c1aae5c0d7cf2dbafd5fd764b46243406
[ "MIT" ]
null
null
null
edit_exercise_page.py
delereyus/ProLog
b08c9d4c1aae5c0d7cf2dbafd5fd764b46243406
[ "MIT" ]
null
null
null
edit_exercise_page.py
delereyus/ProLog
b08c9d4c1aae5c0d7cf2dbafd5fd764b46243406
[ "MIT" ]
null
null
null
from tkinter import * from back_end import Database import confirm_sets_page import edit_workout_page import config database = Database("py_project.db")
46.44186
210
0.751127
b4e324cf93a35e2065c6896d6b9be38a85fb0fe0
4,463
py
Python
src/remote_pdb.py
MatthewWilkes/python-remote-pdb
ce1477a565b1b3cb42a018900c36eb17891b8a53
[ "BSD-2-Clause" ]
null
null
null
src/remote_pdb.py
MatthewWilkes/python-remote-pdb
ce1477a565b1b3cb42a018900c36eb17891b8a53
[ "BSD-2-Clause" ]
null
null
null
src/remote_pdb.py
MatthewWilkes/python-remote-pdb
ce1477a565b1b3cb42a018900c36eb17891b8a53
[ "BSD-2-Clause" ]
null
null
null
from __future__ import print_function import errno import logging import re import socket import sys from pdb import Pdb __version__ = "1.2.0" PY3 = sys.version_info[0] == 3 def set_trace(host='127.0.0.1', port=0, patch_stdstreams=False): """ Opens a remote PDB on first available port. """ rdb =...
32.107914
118
0.611696
b4e410c12154b75ec6c1f9e175b28611de1ac1b9
9,258
py
Python
dataproxy/__init__.py
peerplays-network/bos-dataproxy
ff19ce97981a10d8ff8d6ad3ed6afe7b4cdd42fc
[ "MIT" ]
6
2019-12-05T18:37:33.000Z
2019-12-20T17:58:32.000Z
dataproxy/__init__.py
peerplays-network/bos-dataproxy
ff19ce97981a10d8ff8d6ad3ed6afe7b4cdd42fc
[ "MIT" ]
2
2019-08-06T10:40:45.000Z
2020-02-21T14:14:12.000Z
dataproxy/__init__.py
peerplays-network/bos-dataproxy
ff19ce97981a10d8ff8d6ad3ed6afe7b4cdd42fc
[ "MIT" ]
1
2019-07-01T13:25:15.000Z
2019-07-01T13:25:15.000Z
import os import yaml import io from copy import deepcopy import logging import collections from logging.handlers import TimedRotatingFileHandler from bookiesports.normalize import IncidentsNormalizer __VERSION__ = get_version() if not Config.data: Config.load("config-defaults.yaml") notify = False ...
36.023346
196
0.600562
b4e4ea35c0b136bd77ad4305316db6545dfc8ef0
957
py
Python
api/migrations/0008_auto_20180527_2054.py
jcasmer/grow_control_backend-
6a18a137e0a16138607413925727d7e5f8486777
[ "BSD-3-Clause" ]
1
2019-05-11T14:45:47.000Z
2019-05-11T14:45:47.000Z
api/migrations/0008_auto_20180527_2054.py
jcasmer/grow_control_backend-
6a18a137e0a16138607413925727d7e5f8486777
[ "BSD-3-Clause" ]
6
2021-03-18T20:45:02.000Z
2021-09-22T17:41:38.000Z
api/migrations/0008_auto_20180527_2054.py
jcasmer/grow_control_backend-
6a18a137e0a16138607413925727d7e5f8486777
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 2.0.5 on 2018-05-27 20:54 import django.core.validators from django.db import migrations, models
38.28
329
0.667712
b4e51bf7923cd3c56e111afff2886221c0eb4630
9,221
py
Python
designs/migrations/0001_initial.py
ygrass/handsome
0ea016745d92054bd4df8d934c1b67fd61b6f845
[ "Unlicense" ]
null
null
null
designs/migrations/0001_initial.py
ygrass/handsome
0ea016745d92054bd4df8d934c1b67fd61b6f845
[ "Unlicense" ]
null
null
null
designs/migrations/0001_initial.py
ygrass/handsome
0ea016745d92054bd4df8d934c1b67fd61b6f845
[ "Unlicense" ]
null
null
null
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models
69.856061
195
0.584102
b4e764ff085936858ce0218d82e10f1f4328559c
1,125
py
Python
python_4/sun.py
SPbAU-ProgrammingParadigms/materials
447bc7639c218cf5ee869d461e35998e1a0e02e5
[ "Unlicense" ]
null
null
null
python_4/sun.py
SPbAU-ProgrammingParadigms/materials
447bc7639c218cf5ee869d461e35998e1a0e02e5
[ "Unlicense" ]
null
null
null
python_4/sun.py
SPbAU-ProgrammingParadigms/materials
447bc7639c218cf5ee869d461e35998e1a0e02e5
[ "Unlicense" ]
7
2017-09-02T17:09:46.000Z
2021-01-10T09:53:56.000Z
#!/usr/bin/env python3 if __name__ == '__main__': # runtime s1 = Singleton() s2 = Singleton() if id(s1) == id(s2): print("Same") else: print("Different") # summary # https://www.python.org/doc/essays/list2str/ sb = StringBuilder() result = (sb.add('hello,') ...
20.454545
65
0.535111
b4e7a3522fd2849798df7f967eae45a3a6fe16a0
506
py
Python
notes/code/yahoo/history.py
bckenstler/msan692
1a9dedca98570bacbbec5f755344cd2f66ffc5a9
[ "MIT" ]
null
null
null
notes/code/yahoo/history.py
bckenstler/msan692
1a9dedca98570bacbbec5f755344cd2f66ffc5a9
[ "MIT" ]
null
null
null
notes/code/yahoo/history.py
bckenstler/msan692
1a9dedca98570bacbbec5f755344cd2f66ffc5a9
[ "MIT" ]
1
2019-06-15T16:49:26.000Z
2019-06-15T16:49:26.000Z
HistoryURL = "http://ichart.finance.yahoo.com/table.csv?s=%s" import sys import urllib2 ticker = sys.argv[1] # AAPL response = urllib2.urlopen(HistoryURL % ticker) csvdata = response.read() print csvdata """ ... 1998-02-23,20.125,21.624999,20.00,21.250001,119372400,0.694818 1998-02-20,20.50,20.5625,19.8125,20.00,81...
23
79
0.701581
b4e976b9f90b3ddddb85b1feba1420243bbfa81c
1,894
py
Python
scripts/genmanualtrimlist.py
taneliang/mellotron
259ffb66b0c23d571a5350ee5f05618c4101a59d
[ "BSD-3-Clause" ]
2
2021-09-17T10:15:57.000Z
2021-12-28T08:09:18.000Z
scripts/genmanualtrimlist.py
taneliang/mellotron
259ffb66b0c23d571a5350ee5f05618c4101a59d
[ "BSD-3-Clause" ]
null
null
null
scripts/genmanualtrimlist.py
taneliang/mellotron
259ffb66b0c23d571a5350ee5f05618c4101a59d
[ "BSD-3-Clause" ]
2
2020-11-19T23:03:18.000Z
2021-12-18T11:38:41.000Z
#!/usr/bin/env python3 # Generates a list of files to be manually trimmed. To aid pre-processing of # our existing files. import glob import os import re EMOVDB_CMUARCTIC_PATH = '/home/e/e-liang/is4152/tacotron2/cmuarctic.data' # Transcripts for emovdb dataset located in repo root dataLookup = {} with open(EMOVDB_C...
43.045455
159
0.67529
b4ea4abbb674908b308a29f2c1088bdba4b29c37
1,587
py
Python
tests/test_zip.py
shengqh/bamsnap
4815c618011b2a1f2ab0d9e6418e39dbd292239b
[ "MIT" ]
84
2020-01-09T11:12:52.000Z
2022-03-05T00:15:55.000Z
tests/test_zip.py
shengqh/bamsnap
4815c618011b2a1f2ab0d9e6418e39dbd292239b
[ "MIT" ]
23
2020-08-24T14:28:06.000Z
2021-11-27T16:42:40.000Z
tests/test_zip.py
shengqh/bamsnap
4815c618011b2a1f2ab0d9e6418e39dbd292239b
[ "MIT" ]
14
2020-08-28T16:55:21.000Z
2021-12-01T20:20:50.000Z
import sys import shlex sys.path.append('..') bamsnap_prog = "src/bamsnap.py" from src import bamsnap # import bamsnap # bamsnap_prog = "bamsnap" cmdlist = [] cmdlist.append(""" -bam ./data/test_SV1_softclipped_1.bam \ -title "Clipped read" \ -pos chr1:37775740 chr1:37775780 chr1:37775783 chr1:3777578...
21.16
80
0.587902
b4eb14a0b04fc6b011592ad8a874f914b0b2709b
943
py
Python
systems/models.py
KenkoGeek/assigned-it-resources
2407dc309b9cc4751dc556898596d60b3b57b539
[ "MIT" ]
null
null
null
systems/models.py
KenkoGeek/assigned-it-resources
2407dc309b9cc4751dc556898596d60b3b57b539
[ "MIT" ]
null
null
null
systems/models.py
KenkoGeek/assigned-it-resources
2407dc309b9cc4751dc556898596d60b3b57b539
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models # Create your models here. PERMISSIONS_NAMES = ( ("Lectura","Lectura"), ("Escritura","Escritura"), ("Administrador","Administrador"), ("Superusuario","Superusuario") )
25.486486
79
0.700954
b4ebe3d8d5c147beec7d63a578314a1710325450
3,751
py
Python
doc/source/rstprocess.py
jefalon/WindSE
bf7e0dbad85552b32327bda2b5c29a0fac5286bb
[ "Apache-2.0" ]
35
2019-07-14T17:08:10.000Z
2022-03-15T11:09:44.000Z
doc/source/rstprocess.py
jefalon/WindSE
bf7e0dbad85552b32327bda2b5c29a0fac5286bb
[ "Apache-2.0" ]
45
2020-11-16T16:40:12.000Z
2022-03-30T20:04:37.000Z
doc/source/rstprocess.py
jefalon/WindSE
bf7e0dbad85552b32327bda2b5c29a0fac5286bb
[ "Apache-2.0" ]
21
2020-02-11T12:01:36.000Z
2022-03-18T19:07:14.000Z
# -*- coding: utf-8 -*- # Copyright (C) 2017 Garth N. Wells # # This file is part of DOLFIN. # # DOLFIN is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your opt...
36.417476
140
0.604639
b4ecc6c166b9223c2444d0ba856f875609a0d0b7
7,084
py
Python
homeassistant/components/thermostat/homematic.py
magas0/home-assistant
3c9e4934946ce99f5193ca550296034e86337997
[ "MIT" ]
1
2016-07-14T05:20:54.000Z
2016-07-14T05:20:54.000Z
app/bower_components/home-assistant-dev/homeassistant/components/thermostat/homematic.py
EkoHub/CustomizableWalkThroughTourElement
0a4ae793a1e031c9bd042b0e8ffef3be96b7c1b0
[ "BSD-3-Clause" ]
null
null
null
app/bower_components/home-assistant-dev/homeassistant/components/thermostat/homematic.py
EkoHub/CustomizableWalkThroughTourElement
0a4ae793a1e031c9bd042b0e8ffef3be96b7c1b0
[ "BSD-3-Clause" ]
1
2018-11-22T13:55:23.000Z
2018-11-22T13:55:23.000Z
""" Support for Homematic (HM-TC-IT-WM-W-EU, HM-CC-RT-DN) thermostats. For more details about this platform, please refer to the documentation at https://home-assistant.io/components/thermostat.homematic/ """ import logging import socket from xmlrpc.client import ServerProxy from xmlrpc.client import Error from collec...
36.328205
79
0.56917
b4eebbcaac2662f45a776502923fe86d751ae5dc
1,658
py
Python
src/main/python/bridge_access.py
afichet/candela
eafa61fb6054b3beedbb63d9b9ca3c1f5a15f562
[ "MIT" ]
1
2020-07-27T21:37:28.000Z
2020-07-27T21:37:28.000Z
src/main/python/bridge_access.py
afichet/candela
eafa61fb6054b3beedbb63d9b9ca3c1f5a15f562
[ "MIT" ]
1
2020-06-22T13:36:37.000Z
2020-10-04T19:26:52.000Z
src/main/python/bridge_access.py
afichet/candela
eafa61fb6054b3beedbb63d9b9ca3c1f5a15f562
[ "MIT" ]
null
null
null
# This Python file uses the following encoding: utf-8 import phue from PySide2.QtCore import QObject, Signal, Slot, Property
26.741935
71
0.626659
b4f154a32dafa26aff0166449879bde375421d24
3,779
py
Python
toqnets/nn/gnntc.py
C-SUNSHINE/TOQ-Nets-PyTorch-Release
05e06bf633fb3c6b610dda9a5126ecd7af1db02f
[ "MIT" ]
6
2021-08-24T21:46:01.000Z
2022-03-09T14:34:05.000Z
toqnets/nn/gnntc.py
vacancy/TOQ-Nets-PyTorch-Release
53a712be28e2ecf8d2e04a9f71a2d7e8db5430e1
[ "MIT" ]
null
null
null
toqnets/nn/gnntc.py
vacancy/TOQ-Nets-PyTorch-Release
53a712be28e2ecf8d2e04a9f71a2d7e8db5430e1
[ "MIT" ]
2
2021-08-23T03:06:20.000Z
2021-09-30T14:17:14.000Z
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # File : gnntc.py # Author : Zhezheng Luo # Email : luozhezheng@gmail.com # Date : 08/02/2021 # # This file is part of TOQ-Nets-PyTorch. # Distributed under terms of the MIT license. import torch from torch import nn from toqnets.nn.propnet import AgentEncoder, Rel...
41.527473
117
0.645144
b4f33c8f5454d70f21eee639b9eaec15c00e3876
553
py
Python
2020/2/part1.py
atsvetkov/adventofcode2020
392ca75f89214fce696cd4facfcf34a7a91d74c8
[ "MIT" ]
null
null
null
2020/2/part1.py
atsvetkov/adventofcode2020
392ca75f89214fce696cd4facfcf34a7a91d74c8
[ "MIT" ]
null
null
null
2020/2/part1.py
atsvetkov/adventofcode2020
392ca75f89214fce696cd4facfcf34a7a91d74c8
[ "MIT" ]
null
null
null
valid_count = 0 for line in open('input.txt'): space_index = line.index(' ') limits = [int(limit) for limit in line[:space_index].split('-')] lo, hi = limits[0], limits[1] colon_index = line.index(':') letter = line[space_index+1:colon_index] word = line[colon_index+1:] letter_count = 0 ...
29.105263
68
0.582278
b4f83beaa12a9866f44ed0f21189ccc8f4c1bf21
1,187
py
Python
evaluation/hand_calculation/agari.py
VictorZXY/meowjong
ec71171f7dc2369c55f5e3bd3302cbaa76346561
[ "MIT" ]
null
null
null
evaluation/hand_calculation/agari.py
VictorZXY/meowjong
ec71171f7dc2369c55f5e3bd3302cbaa76346561
[ "MIT" ]
null
null
null
evaluation/hand_calculation/agari.py
VictorZXY/meowjong
ec71171f7dc2369c55f5e3bd3302cbaa76346561
[ "MIT" ]
null
null
null
from evaluation.hand_calculation.hand_divider import HandDivider from evaluation.hand_calculation.yaku_list.yakuman import KokushiMusou
38.290323
80
0.648694
b4f880d130da7c09dd7f3647df3d4c2bfe447453
2,961
py
Python
SentiLARE/finetune/run_sentilr_tests.py
authorAnonymousGit/WOCEL
5edcf1c0cce07c8280ef3c10c9e01ad0d2643885
[ "Apache-2.0" ]
null
null
null
SentiLARE/finetune/run_sentilr_tests.py
authorAnonymousGit/WOCEL
5edcf1c0cce07c8280ef3c10c9e01ad0d2643885
[ "Apache-2.0" ]
null
null
null
SentiLARE/finetune/run_sentilr_tests.py
authorAnonymousGit/WOCEL
5edcf1c0cce07c8280ef3c10c9e01ad0d2643885
[ "Apache-2.0" ]
null
null
null
import os import numpy as np SEEDS = [1, 2, 3, 4, 5] LOSS_TYPES = ["OCE_loss_final_with_prox_dynamic_L7_with_alpha", "CrossEntropy"] ALPHAS = np.linspace(0.5, 0.9, 5) # Irrelevant for CrossEntropy # SEEDS = [1, 3, 5] # LOSS_TYPES = ['OCE_loss_final_with_prox_dynamic_L7_with_alpha_ablation_prox', # ...
55.867925
116
0.444107
b4f91e22fe213c7ec2c0ae9a49e8a93da6fcfe82
45
py
Python
src/__init__.py
gchhablani/DRIFT
8d748998b695489a40ff732a974e4b1f915bab34
[ "MIT" ]
90
2021-07-01T15:42:57.000Z
2021-12-06T04:57:59.000Z
src/__init__.py
gchhablani/DRIFT
8d748998b695489a40ff732a974e4b1f915bab34
[ "MIT" ]
8
2021-07-02T12:41:13.000Z
2021-08-08T17:59:30.000Z
src/__init__.py
gchhablani/DRIFT
8d748998b695489a40ff732a974e4b1f915bab34
[ "MIT" ]
7
2021-07-01T13:08:14.000Z
2021-08-29T05:29:09.000Z
from .analysis import * from .utils import *
15
23
0.733333
b4f9ccdefea2153e5041d2860cc16cc5a2038328
570
py
Python
CreaFiguraConSimbolos.py
brown9804/Python_DiversosAlgortimos
e9ff0fbe761f24a49a30a513d50824ca56cafaa3
[ "Apache-2.0" ]
3
2018-06-28T21:06:53.000Z
2018-07-01T20:39:30.000Z
CreaFiguraConSimbolos.py
brown9804/Python_DiversosAlgortimos
e9ff0fbe761f24a49a30a513d50824ca56cafaa3
[ "Apache-2.0" ]
null
null
null
CreaFiguraConSimbolos.py
brown9804/Python_DiversosAlgortimos
e9ff0fbe761f24a49a30a513d50824ca56cafaa3
[ "Apache-2.0" ]
null
null
null
#Python3 #Crea una figura con un simbolo digitado ###### DEFINICIONES ###### ###### IMPLEMENTACION ###### ancho = int(input("Digite el ancho para el de asteriscos ")) for indice in range (1, ancho + 1): impr(ancho) ancho = int(input("Digite el ancho que desea para la figura ")) alto = int(input("Di...
23.75
72
0.659649
b4fa243292a8aeaaab2484645654ac37e38928e0
16,093
py
Python
domain.py
acrovato/geoGen
55cea28f9d6cea7a9b04cb8403e6b9b69e326133
[ "Apache-2.0" ]
1
2021-01-05T11:53:13.000Z
2021-01-05T11:53:13.000Z
domain.py
acrovato/gridGen
55cea28f9d6cea7a9b04cb8403e6b9b69e326133
[ "Apache-2.0" ]
1
2019-09-17T07:18:23.000Z
2019-10-17T16:24:37.000Z
domain.py
acrovato/geoGen
55cea28f9d6cea7a9b04cb8403e6b9b69e326133
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- ''' Copyright 2019 University of Liege 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 requir...
48.914894
346
0.512956
b4fb690e180278fffd33e59c9c5b194dc52708ab
2,039
py
Python
Leak #5 - Lost In Translation/windows/Resources/Dsz/PyScripts/Lib/mcl/lp/cmdparser/XmlCommandArgument.py
bidhata/EquationGroupLeaks
1ff4bc115cb2bd5bf2ed6bf769af44392926830c
[ "Unlicense" ]
9
2019-11-22T04:58:40.000Z
2022-02-26T16:47:28.000Z
Leak #5 - Lost In Translation/windows/Resources/Dsz/PyScripts/Lib/mcl/lp/cmdparser/XmlCommandArgument.py
bidhata/EquationGroupLeaks
1ff4bc115cb2bd5bf2ed6bf769af44392926830c
[ "Unlicense" ]
null
null
null
Leak #5 - Lost In Translation/windows/Resources/Dsz/PyScripts/Lib/mcl/lp/cmdparser/XmlCommandArgument.py
bidhata/EquationGroupLeaks
1ff4bc115cb2bd5bf2ed6bf769af44392926830c
[ "Unlicense" ]
8
2017-09-27T10:31:18.000Z
2022-01-08T10:30:46.000Z
# uncompyle6 version 2.9.10 # Python bytecode 2.7 (62211) # Decompiled from: Python 3.6.0b2 (default, Oct 11 2016, 05:27:10) # [GCC 6.2.0 20161005] # Embedded file name: XmlCommandArgument.py from XmlCommandBase import XmlCommandBase
35.155172
105
0.615498
b4fc46a1bb23ac5c4deeb4b6415184c741b08da2
10,390
py
Python
userPayWin.py
Salalami/SmartSupermarket4Win
0442de2c821361ecdb88cf1ce9523ac78c48d6d1
[ "Apache-2.0" ]
null
null
null
userPayWin.py
Salalami/SmartSupermarket4Win
0442de2c821361ecdb88cf1ce9523ac78c48d6d1
[ "Apache-2.0" ]
null
null
null
userPayWin.py
Salalami/SmartSupermarket4Win
0442de2c821361ecdb88cf1ce9523ac78c48d6d1
[ "Apache-2.0" ]
null
null
null
from PyQt5.QtWidgets import QApplication, QMainWindow, QDialog, QWidget, QMessageBox from PyQt5 import QtWidgets from PyQt5.QtGui import QPixmap from PyQt5.QtCore import pyqtSignal, QThread, QCoreApplication, Qt from Ui_userPayWin import Ui_Dialog import sys, utils from alipay import AliPay import qrcode, time, threadi...
39.505703
116
0.626083