blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
683d159a37abb8fcabc1893bcb298c151da97ec0
1cd5275832f8af8d0550fc0539836a3baf95ea7c
/MouseEvent.py
d26a14a2d5a4bab2773920e77f3884a3d4029d2a
[]
no_license
NyangUk/AutoSoldering
b10a67a0812ee90c1758972cc44ec6db2e2d80ea
29d21572ad534c8a97243bb4211485e05f20b8df
refs/heads/master
2023-02-25T20:32:30.808231
2021-01-29T04:19:14
2021-01-29T04:19:14
269,067,416
0
0
null
null
null
null
UTF-8
Python
false
false
3,014
py
import cv2 import numpy as np # 클릭 이벤트 선언 ROIevents = [i for i in dir(cv2) if 'EVENT' in i] # SelectEvents = [j for j in dir(cv2) if 'EVENT' in j] # 클릭이 되었을때 드래그 할것 이므로 Click flag 넘기기 OriginalImg = cv2.imread('PCB(0).jpg') H,W,C =OriginalImg.shape[:] RoiImg = np.zeros((H,W,C),np.uint8) mask = np.zeros((H,W,C),np....
[ "lobgd9150@gmail.com" ]
lobgd9150@gmail.com
2a75e8b776adf77118adf0d54f42f84b2551c522
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/303/usersdata/303/113604/submittedfiles/testes.py
b38cb9db11ad8f8582188be5061ca9df68f86486
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
536
py
nome=str(input('DIGITE O NOME DO USUÁRIO:')) n=int(input('DIGITE A QUANTIDADE DE CARACTERES:')) senha=[] for i in range(0,n,1): senha.append(int(input('DIGITE UM NUMERO P SENHA:'))) cont=0 for i in range(0,n-1,1): if senha[i] == senha[i+1]: cont+=1 while cont != 0: print('SENHA INVÁLIDA') ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
b83e8a6ee60459e5d14a6c88488c71a87a39bf03
bb150497a05203a718fb3630941231be9e3b6a32
/models/PaddleHub/hub_all_func/test_hrnet18_imagenet.py
fe47da5a17a9ed230afe2c30b89ac3851267324b
[]
no_license
PaddlePaddle/PaddleTest
4fb3dec677f0f13f7f1003fd30df748bf0b5940d
bd3790ce72a2a26611b5eda3901651b5a809348f
refs/heads/develop
2023-09-06T04:23:39.181903
2023-09-04T11:17:50
2023-09-04T11:17:50
383,138,186
42
312
null
2023-09-13T11:13:35
2021-07-05T12:44:59
Python
UTF-8
Python
false
false
490
py
"""hrnet18_imagenet""" import os import paddle import paddlehub as hub if paddle.is_compiled_with_cuda(): paddle.set_device("gpu") use_gpu = True else: paddle.set_device("cpu") use_gpu = False def test_hrnet18_imagenet_predict(): """hrnet18_imagenet predict""" os.system("hub install hrnet18_...
[ "noreply@github.com" ]
PaddlePaddle.noreply@github.com
02c4dcd07823de17baa8b4d8aab9220976d3e480
338dbd8788b019ab88f3c525cddc792dae45036b
/bin/jupyter-trust
61083c1cbdc70c3a63711f834326a32daebbb528
[]
permissive
KshitizSharmaV/Quant_Platform_Python
9b8b8557f13a0dde2a17de0e3352de6fa9b67ce3
d784aa0604d8de5ba5ca0c3a171e3556c0cd6b39
refs/heads/master
2022-12-10T11:37:19.212916
2019-07-09T20:05:39
2019-07-09T20:05:39
196,073,658
1
2
BSD-3-Clause
2022-11-27T18:30:16
2019-07-09T19:48:26
Python
UTF-8
Python
false
false
284
#!/Users/kshitizsharma/Desktop/Ktz2/bin/python3 # -*- coding: utf-8 -*- import re import sys from nbformat.sign import TrustNotebookApp if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(TrustNotebookApp.launch_instance())
[ "kshitizsharmav@gmail.com" ]
kshitizsharmav@gmail.com
3b7117eaffa82e3a6acc038157c672635cab47e5
bfaf64c553eb43684970fb3916eedaafbecf0506
/Hunter/set3/as2.py
a20bf7a7d5f61c0501ab86d7d268d2d9fd64b8fd
[]
no_license
santhoshbabu4546/GUVI-9
879e65df0df6fafcc07166b2eaecf676ba9807a2
b9bfa4b0fa768e70c8d3f40b11dd1bcc23692a49
refs/heads/master
2022-01-24T15:22:34.457564
2019-07-21T14:20:35
2019-07-21T14:20:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
127
py
b=int(input()) lst1=list(map(int,input().split())) re1=1 len=[] for i in lst1: re1=re1*i for i in lst1: len.append(re1//i)
[ "noreply@github.com" ]
santhoshbabu4546.noreply@github.com
61fde716fc9aa18c597e13bf6a75fae4f5e24a20
dde0d75db42c19390f2625a7888586e4d2a14fd7
/devel/lib/python2.7/dist-packages/cob_object_detection_msgs/msg/_DetectObjectsFeedback.py
0b38ddd2ccca9d736873f4fb3f3af80c934bc709
[]
no_license
dhemp09/uml-robotics
16460efe8195a3f9a6a8296047f4fd4d9df0de80
862132e00e221b0a86bc283e7568efa984be673f
refs/heads/master
2020-03-26T09:44:04.033762
2018-08-15T18:11:18
2018-08-15T18:11:18
144,762,178
0
0
null
null
null
null
UTF-8
Python
false
false
141
py
/home/dan/dan_ws/devel/.private/cob_object_detection_msgs/lib/python2.7/dist-packages/cob_object_detection_msgs/msg/_DetectObjectsFeedback.py
[ "dhemp09@gmail.com" ]
dhemp09@gmail.com
67b29bf7daa0c0b0ce6c52fe5c85eb82b14b1151
bd72c02af0bbd8e3fc0d0b131e3fb9a2aaa93e75
/Math/reverse_integer.py
3530292157d2d2c928ffdf80db8d13c8f43c9475
[]
no_license
harvi7/Leetcode-Problems-Python
d3a5e8898aceb11abc4cae12e1da50061c1d352c
73adc00f6853e821592c68f5dddf0a823cce5d87
refs/heads/master
2023-05-11T09:03:03.181590
2023-04-29T22:03:41
2023-04-29T22:03:41
222,657,838
1
0
null
null
null
null
UTF-8
Python
false
false
261
py
class Solution: def reverse(self, x: int) -> int: res, remains = 0, abs(x) while remains: res, remains = res * 10 + remains % 10, remains // 10 if x < 0: res *= -1 return res if abs(res) < 0x7fffffff else 0
[ "iamharshvirani7@gmail.com" ]
iamharshvirani7@gmail.com
c28fb8fc2a4334556b948b4b105d41221be43ad9
4b72cfb730e9d967ecc9ece7a5dcdff03242ce7a
/7 კლასი/7_3/ფეიქრიშვილი თამარ/ციფრთა_ჯამი.py
b84fcd3aec12120e492bd3a5755e719354dbfd7f
[]
no_license
sc-199/2018-2019
20945a0aaf7a998e6038e3fd3310c8be2296e54f
578d7aad254dc566cf5f8502f1a82c1eb267cbc2
refs/heads/master
2020-04-26T02:59:26.560166
2019-05-03T13:32:30
2019-05-03T13:32:30
168,499,541
4
0
null
2019-02-14T17:17:25
2019-01-31T09:36:13
Python
UTF-8
Python
false
false
157
py
n1=input ("რიცხვი :") n1=int(n1) n2=n1 ans=0 while (n1>0): ans+=n1%10 n1//=10 print (n2,"ის ციფრთა ჯამია",ans)
[ "pm72github@yahoo.com" ]
pm72github@yahoo.com
43c200e5d7084e82f82da331ad9eca1cb8cf1156
6d48a1f8d4243ddffad0b0fc9d035baf7a9ca87b
/citibike.py
250539533bac1970c5dad98d2aaef407386a2155
[]
no_license
scstu/GCNTrafficPrediction
38027cc437555f59b90f79070e24dce3a8b44b4e
4eae5b1515fec1b39e0483710de998deec72bbce
refs/heads/master
2022-11-14T21:47:52.972377
2020-07-02T03:54:17
2020-07-02T03:54:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,633
py
import os import argparse import numpy as np import tensorflow as tf #from gensim.models import Word2Vec from model.FC_LSTM import FC_LSTM from model.FC_GRU import FC_GRU from model.GCN import GCN from model.Coupled_GCN import Coupled_GCN from model.flow_GCN import flow_GCN from solver import ModelSolver from preproces...
[ "zhouxian@sjtu.edu.cn" ]
zhouxian@sjtu.edu.cn
a2b0c359f4da196842f99948a3ee61a1f4d744ca
3fbd28e72606e5358328bfe4b99eb0349ca6a54f
/.history/a_lucky_number_20210606191954.py
b041fa21188bdd03b0ad2ed3d85af6f7cb3e4810
[]
no_license
Tarun1001/codeforces
f0a2ef618fbd45e3cdda3fa961e249248ca56fdb
576b505d4b8b8652a3f116f32d8d7cda4a6644a1
refs/heads/master
2023-05-13T04:50:01.780931
2021-06-07T21:35:26
2021-06-07T21:35:26
374,399,423
0
0
null
null
null
null
UTF-8
Python
false
false
132
py
n= int(input()) count= 0 while n!=0: if n%10==4 or n%10==7: count+=1 n=n/10 if count ==4 or count==7:
[ "tarunsivasai8@gmail.com" ]
tarunsivasai8@gmail.com
dad8cf8c89082d71ba12771c42b06974bbf8d0aa
509823ea14f04d5791486b56a592d7e7499d7d51
/parte18/demo50_dibujo.py
11b11c4fa76b7a6c4582464be00e4da3e8ffbbd7
[]
no_license
Fhernd/Python-CursoV2
7613144cbed0410501b68bedd289a4d7fbefe291
1ce30162d4335945227f7cbb875f99bc5f682b98
refs/heads/master
2023-08-08T05:09:44.167755
2023-08-05T19:59:38
2023-08-05T19:59:38
239,033,656
64
38
null
null
null
null
UTF-8
Python
false
false
1,643
py
from tkinter import Canvas, Tk class Dibujo(object): def __init__(self, master): self.master = master self.inicializar_gui() def inicializar_gui(self): self.canvas = Canvas(bg='white', height=300, width=300) self.canvas.pack() self.canvas.bind('<ButtonPress-1>', ...
[ "johnortizo@outlook.com" ]
johnortizo@outlook.com
758a78f2514e8832a8e26e6989826523e8f71918
8be5929368bd987caf744c92f234884bf49d3d42
/services/web/apps/main/messageroute/views.py
cff0d7e546d5ec40804fdad5750c0b3a05d585a6
[ "BSD-3-Clause" ]
permissive
oleg-soroka-lt/noc
9b670d67495f414d78c7080ad75f013ab1bf4dfb
c39422743f52bface39b54d5d915dcd621f83856
refs/heads/master
2023-08-21T03:06:32.235570
2021-10-20T10:22:02
2021-10-20T10:22:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
716
py
# ---------------------------------------------------------------------- # main.messageroute application # ---------------------------------------------------------------------- # Copyright (C) 2007-2020 The NOC Project # See LICENSE for details # ---------------------------------------------------------------------- ...
[ "aversanta@gmail.com" ]
aversanta@gmail.com
8acebdf1f210641c6ca8b6e7b089a55c784932ea
7dc240e587213e4b420676c60aa1b24905b1b2e4
/src/diplomas/services/diploma_generator.py
12a3fca9d83d34bd91583ed496ca192eb36fe208
[ "MIT" ]
permissive
denokenya/education-backend
834d22280717f15f93407108846e2eea767421c8
3b43ba0cc54c6a2fc2f1716170393f943323a29b
refs/heads/master
2023-08-27T09:07:48.257108
2021-11-03T00:19:04
2021-11-03T00:19:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,932
py
import requests from dataclasses import dataclass from django.conf import settings from django.core.files.base import ContentFile from urllib.parse import urljoin from diplomas.models import Diploma, DiplomaTemplate from products.models import Course from studying.models import Study from users.models import User cl...
[ "noreply@github.com" ]
denokenya.noreply@github.com
84fa237b31973a55a76d7db0c5c59e4a408aa9d0
a40950330ea44c2721f35aeeab8f3a0a11846b68
/Django/Django.py
4224dc68380a1c0e32675dc55a56ce3ce59e7ead
[]
no_license
huang443765159/kai
7726bcad4e204629edb453aeabcc97242af7132b
0d66ae4da5a6973e24e1e512fd0df32335e710c5
refs/heads/master
2023-03-06T23:13:59.600011
2023-03-04T06:14:12
2023-03-04T06:14:12
233,500,005
3
1
null
null
null
null
UTF-8
Python
false
false
274
py
""" https://www.djangoproject.com/start/ 学习网址:例子什么都有 pip3 -m install django python3 -m django startproject 项目名称(非存在)会建立一个项目 python3 -m django help --commands 列出所有指令 python -m django <command> [options] """
[ "443765159@qq.com" ]
443765159@qq.com
0d4fa822d511761432ee7ba760c62f146b04cf69
a8b29cc5a2ecd8a1434fc8e1c9ad8f106b75f8dc
/setup.py
f39fb9091bfb84ac5fbee9e713450527b9672b67
[ "MIT" ]
permissive
ipalindromi/notion-py
7a2df43dd1eedb7279e6df16f0055f497ebb978e
573cf67a4ab7ce10558c6a666b7c77b5728de93c
refs/heads/master
2020-05-22T09:40:00.553506
2019-05-11T16:11:49
2019-05-11T16:11:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,000
py
import setuptools try: # for pip >= 10 from pip._internal.req import parse_requirements except ImportError: # for pip <= 9.0.3 from pip.req import parse_requirements with open("README.md", "r") as fh: long_description = fh.read() reqs = parse_requirements("requirements.txt", session=False) install_requ...
[ "jamalex@gmail.com" ]
jamalex@gmail.com
024fddd4f9e6fcd1ef11b8229f5dee8d71fe2ca0
27d982d2b1d7d70b6d2589a182b272c0afd15016
/zx_module/ppt_v12.py
b731b82131f6e2f9865f1a3552ae53914ce75b62
[]
no_license
zXpp/hw_easy_ppt_kits
d5c494f71a03e7ddc973154fb858cd296f11c38a
ec0014a4de380da1639fd5cafe7a0ca1c3213ed6
refs/heads/master
2021-06-27T04:31:39.694137
2017-09-19T10:41:27
2017-09-19T10:41:27
104,061,957
0
0
null
null
null
null
UTF-8
Python
false
false
8,698
py
# -*- coding: utf-8 -*- """ """ import os import win32com.client #sys.path= pyrealpath.append(os.path.split(os.path.realpath(__file__))[0]) #from win32com.client import Dispatch from rmdjr import rmdAndmkd as rmdir#import timeremove and makedir from PIL.Image import open as imgopen,new as imgnew # OFFI...
[ "784723438@qq.com" ]
784723438@qq.com
c39fb94a63fdbd19eb8a17838ffe3e6bce300a65
6e7aa175667d08d8d285fd66d13239205aff44ff
/apps/gcc_media/rest.py
55a8f9eee75081aca883da6cf57845c16161ed9c
[]
no_license
jaredly/GameCC
c2a9d7b14fc45813a27bdde86e16a3e3594396e2
babadbe9348c502d0f433fb82e72ceff475c3a3b
refs/heads/master
2016-08-05T10:53:03.794386
2010-06-25T03:13:02
2010-06-25T03:13:02
269,735
1
0
null
null
null
null
UTF-8
Python
false
false
717
py
#!/usr/bin/env python from django.conf.urls.defaults import * from django.conf import settings from models import Image, Font, Sound from restive import Service service = Service() @service.add(name='list') def list_all(request): return {'_models': list(request.user.gcc_images.all().order_by('pk')) + ...
[ "jared@jaredforsyth.com" ]
jared@jaredforsyth.com
a2dc60b59d5b4e13c8f38e8012d5ca22b4fc4b68
77bde91c91d6ab173829a25fc3c3e0e80eb2c897
/tests/et_md3/verletlist/verletlist_cpp/test_verletlist_cpp.py
10fcb1daf1c7b54dff5d2305a0b2afbc0a7cbc69
[]
no_license
etijskens/et-MD3
ddddadbf4a8eb654277086f6f46bedb912bc1f01
9826ade15c546103d3fa1254c90f138b61e42fe7
refs/heads/main
2023-07-10T16:27:27.296806
2021-08-18T11:04:49
2021-08-18T11:04:49
395,253,565
0
0
null
null
null
null
UTF-8
Python
false
false
748
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Tests for C++ module et_md3.verletlist.cpp. """ import sys sys.path.insert(0,'.') import numpy as np import et_md3.verletlist.verletlist_cpp #=============================================================================== # The code below is for debugging a part...
[ "engelbert.tijskens@uantwerpen.be" ]
engelbert.tijskens@uantwerpen.be
ecc0109c2c95ce9605015f86bfb5113ad2e28148
1dc4a70ad29989efbcb7c670c21838e6e42a60f0
/dbaas/workflow/steps/build_database.py
2be1cc55cc349091e0e4202ea1dce43b7239eea6
[]
no_license
andrewsmedina/database-as-a-service
fb45ddb0f4bb0c5f35094f4b34cdb3aae63ad53d
bbe454631fad282c6e3acbed0d5bfddefd15d7ce
refs/heads/master
2020-12-13T21:46:30.221961
2014-10-29T17:14:54
2014-10-29T17:14:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,110
py
# -*- coding: utf-8 -*- import logging from base import BaseStep from logical.models import Database import datetime from ..exceptions.error_codes import DBAAS_0003 from util import full_stack LOG = logging.getLogger(__name__) class BuildDatabase(BaseStep): def __unicode__(self): return "Creating logical databas...
[ "raposo.felippe@gmail.com" ]
raposo.felippe@gmail.com
2d201164d5d96ab0e272ba9cbbde60a03f5615a6
0f2b08b31fab269c77d4b14240b8746a3ba17d5e
/orttraining/orttraining/python/training/ortmodule/experimental/json_config/__init__.py
d4399b1ee9c09763510caa7de207a45a11dc26ff
[ "MIT" ]
permissive
microsoft/onnxruntime
f75aa499496f4d0a07ab68ffa589d06f83b7db1d
5e747071be882efd6b54d7a7421042e68dcd6aff
refs/heads/main
2023-09-04T03:14:50.888927
2023-09-02T07:16:28
2023-09-02T07:16:28
156,939,672
9,912
2,451
MIT
2023-09-14T21:22:46
2018-11-10T02:22:53
C++
UTF-8
Python
false
false
272
py
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. # __init__.py # JSON global constants goes here JSON_PATH_ENVIRONMENT_KEY = "ORTMODULE_JSON_CONFIG_PATH" from ._load_config_from_json import load_from_json # noqa: E402, F401
[ "noreply@github.com" ]
microsoft.noreply@github.com
5b3aa86b8d0fc8ff213bedf0c58f4d1b47b2f43f
cdd1901812799e5542ac6c2ecd5af06eb30aeacd
/Datasets/voc/find_cls_in_voc.py
1183ca0e033352f784398f162221a1315bbea092
[]
no_license
thinkinchaos/Tools
ff0030494996493aa75b355880961a5d6b511ba6
f0571d101c7003ded516b036ce2d6552d38b443f
refs/heads/master
2023-06-10T01:30:29.285972
2021-07-01T02:09:51
2021-07-01T02:09:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,107
py
import glob import xml.etree.ElementTree as ET import numpy as np ANNOTATIONS_PATH = 'E:/datasets/nuclear_obj_cold/Annotations' # names=set() from pathlib import Path all=[] train=[] val=[] for xml_file in Path(ANNOTATIONS_PATH).glob('*.xml'): tree = ET.parse(str(xml_file)) xml_root = tree.getroot() names_...
[ "1044068981@qq.com" ]
1044068981@qq.com
8871cdcc6760cba68626ebe15775032f93f8426c
fa6f91b50125150c8d77937e002b53788dbcb19d
/bin/pushmp
013788499bc1a9c20a3a68eac484738d4faa3132
[]
no_license
howiemac/mp
b5402be12cfe3b3a4be77adb673dc20371c3cf4b
694568f45020f7fe2ed2b8914ddc875aada852d1
refs/heads/master
2020-05-22T09:33:53.160473
2018-04-07T22:09:14
2018-04-07T22:09:14
34,397,381
0
1
null
2017-08-17T13:04:31
2015-04-22T15:05:42
Python
UTF-8
Python
false
false
4,840
#! /usr/bin/python # # script to archive the master music system - REQUIRES mp to be running at the start ## - pulls from the archive, the slave log since the last update # CURRENTLY DISABLED ## - updates master system with the previous slave log # CURRENTLY DISABLED # (note: up to here could alternatively be done i...
[ "howiemac@gmail.com" ]
howiemac@gmail.com
0dfea63cd551aaa3e88d3dd5f3e72bf1481714c3
ca4da546f815ef7e14fd79dfbc5a0c3f9f8c72c9
/test/test_ICUNormalizer2Filter.py
096bc618004010da29ad3ea48348ffd0537e8eda
[ "Apache-2.0" ]
permissive
qiugen/pylucene-trunk
be955aedca2d37411f0683e244c30b102d4839b4
990079ff0c76b972ce5ef2bac9b85334a0a1f27a
refs/heads/master
2021-01-18T08:46:38.817236
2012-07-18T16:18:45
2012-07-18T16:18:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,110
py
# -*- coding: utf-8 -*- # ==================================================================== # 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/LIC...
[ "roman.chyla@gmail.com" ]
roman.chyla@gmail.com
c15fb530ecc23ae42a89c8cc953494b4dc1ca8ac
6bd3c6875797750a9cf7b00817aaca6ed9c42e95
/tensorflow/python/eager/tensor_test.py
f61d84781770b04db235e6ec700f3241c4faeabb
[ "Apache-2.0" ]
permissive
XunZhiyang/tensorflow
c2f71cc7167dfe886c4866a32af8a0dc4bd40739
345435812684b79fb47f494779ff6d037fbc4699
refs/heads/master
2020-04-05T17:16:00.139418
2018-11-11T06:03:03
2018-11-11T06:03:03
157,052,160
0
0
Apache-2.0
2018-11-11T06:00:51
2018-11-11T06:00:51
null
UTF-8
Python
false
false
15,499
py
# Copyright 2017 The TensorFlow 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 applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
ee15b4c52486572ddb7c2958f1a220ec2a1e3528
a19cd9aebb697fc1dd384e9ce8596d6cc728e6f2
/fabfile.py
88dfdbee00ddc4cb3a8ed9ede23f657a74cb2a73
[]
no_license
aclark4life/Debian-Deploy-Plone
315c52e5dfcf278f7e5b2f2dfc5f1045d0518d99
2a779c30f1f4b83f4f715ea5f5ae2a93f23afdda
refs/heads/master
2021-06-04T03:57:38.743523
2016-07-27T09:44:30
2016-07-27T09:44:30
null
0
0
null
null
null
null
UTF-8
Python
true
false
2,580
py
# A work in progress from fabric.api import env, local, put, run env.user = 'root' env.warn_only = True FORM_VARS = ('form.submitted:boolean=True', 'extension_ids:list=plonetheme.sunburst:default', 'setup_content:boolean=true') MODULE_CONFS = ('filter.load', 'proxy.conf', 'proxy.load', 'proxy_http.load', ...
[ "aclark@aclark.net" ]
aclark@aclark.net
390bd290bfcf3c4bcda4e837f0b09c4b9049499e
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/eventgrid/azure-mgmt-eventgrid/generated_samples/system_topics_get.py
3c841e84e51e5d149b8c34c211d2202bcf26188d
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
1,580
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
Azure.noreply@github.com
8e012c503d6ef8c4c7682c1d21641caa3adee5b1
2a8a6327fb9a7ce8696aa15b197d5170661fb94f
/zuora_client/models/put_credit_memo_tax_item_type_finance_information.py
266d9a0b555a2462ed49fa8029542d9fcf9eb479
[]
no_license
moderndatainc/zuora-client
8b88e05132ddf7e8c411a6d7dad8c0baabaa6dad
d50da49ce1b8465c76723496c2561a3b8ebdf07d
refs/heads/master
2021-09-21T19:17:34.752404
2018-08-29T23:24:07
2018-08-29T23:24:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
43,873
py
# coding: utf-8 """ Zuora API Reference # Introduction Welcome to the reference for the Zuora REST API! <a href=\"http://en.wikipedia.org/wiki/REST_API\" target=\"_blank\">REST</a> is a web-service protocol that lends itself to rapid development by using everyday HTTP and JSON technology. The Zuora REST A...
[ "jairo.velasco@alertlogic.com" ]
jairo.velasco@alertlogic.com
ac86e7fd216d0562913ad2a8cb7dfa6b323d20d3
24595e74a83dcd263e92c121210c710c4438d979
/lib/hammerlib.py
d5004d47f7133e87ce58e9a4ad8c21608fc953f8
[]
no_license
amyth/hammer
94dde5e6182da8368ed9859b4213226ac4543225
54e4fb07ee81055db47ccfd77ee6fc55bdb8fbe8
refs/heads/master
2021-01-17T15:30:30.717196
2016-05-20T07:00:43
2016-05-20T07:00:43
55,591,019
1
0
null
null
null
null
UTF-8
Python
false
false
1,443
py
from __future__ import division def levenshtein_distance(x1, x2): """ Finds a match between mis-spelt string based on the lavenhtein distance formula """ if len(x1) > len(x2): x1, x2 = x2, x1 distances = range(len(x1) + 1) for i2, c2 in enumerate(x2): distances_ = [i2+1] ...
[ "aroras.official@gmail.com" ]
aroras.official@gmail.com
1a7c5e5a095621a27269f73ad97d5e16cd34c65c
8e69eee9b474587925e22413717eb82e4b024360
/v1.0.0.test/toontown/catalog/CatalogAccessoryItemGlobals.py
75eda050eda7aa4d4e2bcc4c7daa23283e3857df
[ "MIT" ]
permissive
TTOFFLINE-LEAK/ttoffline
afaef613c36dc3b70514ccee7030ba73c3b5045b
bb0e91704a755d34983e94288d50288e46b68380
refs/heads/master
2020-06-12T15:41:59.411795
2020-04-17T08:22:55
2020-04-17T08:22:55
194,348,185
5
4
null
null
null
null
UTF-8
Python
false
false
13,314
py
ATArticle = 0 ATString = 1 ATBasePrice = 2 ATReleased = 3 ATEmblemPrices = 4 AHat = 0 AGlasses = 1 ABackpack = 2 AShoes = 3 ABoysHat = 4 ABoysGlasses = 5 ABoysBackpack = 6 ABoysShoes = 7 AGirlsHat = 8 AGirlsGlasses = 9 AGirlsBackpack = 10 AGirlsShoes = 11 APriceTest = 5 APriceBasic = 250 APriceBasicPlus = 400 APriceCoo...
[ "s0mberdemise@protonmail.com" ]
s0mberdemise@protonmail.com
bc0e8083bcf514fd9f3302b7fbdfdf561af9d5ae
30a1a391444181473b1af54c994bb81781fe830d
/Recusrion-and-Dynamic-Programming/triple-step.py
1f3a69e6be39a7e21e42a65c37f49bc49c7ad24e
[]
no_license
sharmayuvraj/cracking-the-coding-interview
8b2a4760041fec98252f32c030a267c9951f0a18
b8e63d4190e82cc6d4677ba3dbe27f991c34da8a
refs/heads/master
2023-04-16T15:27:27.072935
2021-04-26T12:18:08
2021-04-26T12:18:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
830
py
""" A child is running up a staircase with n steps and can hop either 1 step, 2 steps or 3 steps at a time. Implement a method to count how many possible ways the child can run up the satirs. """ # Recursive Method def countWays(n): memo = [-1]*(n+1) return countWaysRecursive(n,memo) def countWaysRecursiv...
[ "anant.kaushik2@gmail.com" ]
anant.kaushik2@gmail.com
4801e1eaf02b1557859585316af8ce5e240b6fa3
281a10505f8044dbed73f11ed731bd0fbe23e0b5
/expenseApp/migrations/0012_auto_20181023_1608.py
18e381b3c7040d31723ae82e68cb0a57a0d68e76
[ "Apache-2.0" ]
permissive
cs-fullstack-fall-2018/project3-django-jpark1914
7c6f57ab5f8055c11ac5b9d3c8bf0aa5057008d7
53bca13243d7e50263ec25b2fb8a299a8bbada1c
refs/heads/master
2020-04-02T00:59:33.254360
2018-10-29T04:58:42
2018-10-29T04:58:42
153,831,819
0
0
null
null
null
null
UTF-8
Python
false
false
1,053
py
# Generated by Django 2.0.6 on 2018-10-23 16:08 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('expenseApp', '0011_auto_...
[ "parkerj4321@gmail.com" ]
parkerj4321@gmail.com
f1486683533caa71df3b0601c146e9d68192bb77
2d24c495ba7318c639043095b6bdf4707be29f7e
/test/test_vehicle_stats_nfc_card_scan_with_decoration.py
5aaddd8883d10ce00e2189cac785c93e0a3cf360
[]
no_license
samsarahq/samsara-python
e032d72b041f45a142566d7d9756c28e6acb24bd
59704b2e2c8af94a069a512b0bc0db7494c8c10d
refs/heads/master
2021-12-11T08:21:57.218305
2021-11-29T19:13:47
2021-11-29T19:13:47
66,108,617
13
7
null
null
null
null
UTF-8
Python
false
false
10,521
py
# coding: utf-8 """ Samsara API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: 2020-06-15 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import un...
[ "ci@samsara.com" ]
ci@samsara.com
942b224bad7b2c2a6138e375dec16529a6d08fac
c91e32b5e7a28fd31698764086b88203fd3c8029
/root_numpy/info.py
c669cbd8832aebac1169448f7ae98cad8eeb4a39
[ "MIT" ]
permissive
balarsen/root_numpy
5b409a1d90d499f2677990a95246e19d9f596144
6229f4eb7ab7884b1950210c92275299d631b9da
refs/heads/master
2021-01-15T07:54:23.935985
2014-02-10T23:10:35
2014-02-10T23:10:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
""" _ _ __ ___ ___ | |_ _ __ _ _ _ __ ___ _ __ _ _ | '__/ _ \ / _ \| __| | '_ \| | | | '_ ` _ \| '_ \| | | | | | | (_) | (_) | |_ | | | | |_| | | | | | | |_) | |_| | |_| \___/ \___/ \__|___|_| |_|\__,_|_| |_| |_| .__/ \__, | {0} |_____| |_| ...
[ "noel.dawe@gmail.com" ]
noel.dawe@gmail.com
48b0f55c8b8802c52876e069c124eb8a0fadbd56
add74ecbd87c711f1e10898f87ffd31bb39cc5d6
/xcp2k/classes/_move_mm_charge2.py
9b960a7447c8177d8674a046b34f493d633239db
[]
no_license
superstar54/xcp2k
82071e29613ccf58fc14e684154bb9392d00458b
e8afae2ccb4b777ddd3731fe99f451b56d416a83
refs/heads/master
2021-11-11T21:17:30.292500
2021-11-06T06:31:20
2021-11-06T06:31:20
62,589,715
8
2
null
null
null
null
UTF-8
Python
false
false
985
py
from xcp2k.inputsection import InputSection class _move_mm_charge2(InputSection): def __init__(self): InputSection.__init__(self) self.Atom_index_1 = None self.Atom_index_2 = None self.Alpha = None self.Radius = None self.Corr_radius = None self._name = "MOV...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
fc61d8ff3efe35ece110d4fef6228e3793921dc0
f74dd098c3e665d8f605af5ebe7e2874ac31dd2f
/aiogithubapi/models/base.py
086dcb1b6e17eb22f4c9629e7ea27c46c0145156
[ "MIT" ]
permissive
ludeeus/aiogithubapi
ce87382698827939aaa127b378b9a11998f13c06
90f3fc98e5096300269763c9a5857481b2dec4d2
refs/heads/main
2023-08-20T19:30:05.309844
2023-08-14T20:24:21
2023-08-14T20:24:21
198,505,021
21
20
MIT
2023-09-11T06:12:10
2019-07-23T20:39:53
Python
UTF-8
Python
false
false
2,080
py
"""Base class for all GitHub objects.""" from __future__ import annotations from logging import Logger from typing import Any, Dict from ..const import LOGGER IGNORE_KEYS = ("node_id", "performed_via_github_app", "_links") class GitHubBase: """Base class for all GitHub objects.""" logger: Logger = LOGGER ...
[ "noreply@github.com" ]
ludeeus.noreply@github.com
b0a5eda3acff547197ee9ca1ca43194ab7378f29
7142f2095fce389ee34c7c7141fb0d0bd99620cd
/backend/tst_daniel_connector_7521/urls.py
ea9923540bed669525d89baf4e28c94dff468c09
[]
no_license
crowdbotics-apps/tst-daniel-connector-7521
4364df5be6e1f0662b4a5ff4c80b67e40a5f08f9
c785608370fd02b2fa6b7971e2c63c3588b6784b
refs/heads/master
2022-11-18T02:49:44.052058
2020-07-13T18:49:18
2020-07-13T18:49:18
279,385,556
0
0
null
null
null
null
UTF-8
Python
false
false
1,995
py
"""tst_daniel_connector_7521 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
9e86d85037eff55e36fd681cacb39e4363bb8e6d
007c1bb62ee70fb387b24bac9387da90745a85db
/development/inelastic/vesuvio_calibration/VesuvioGeometryEnergyResolutionTest.py
a7ab85cc8ecbd72bb9eb655183d1bb744c990097
[]
no_license
mantidproject/scripts
fc14040f0674fda31b28bbc668a923fecc00fe99
f5a7b79825c7bdd8977e1409967bce979e4ca690
refs/heads/master
2021-01-17T11:36:00.426451
2017-08-25T13:01:26
2017-08-25T13:01:26
3,379,430
1
2
null
null
null
null
UTF-8
Python
false
false
3,319
py
#pylint: disable=too-many-public-methods import unittest from mantid.api import (ITableWorkspace, WorkspaceGroup) from mantid.simpleapi import * class VesuvioGeometryEnergyResolutionTest(unittest.TestCase): def tearDown(self): mtd.clear() def _execute_resolution_algorithm(self, **argv): d...
[ "dan@dan-nixon.com" ]
dan@dan-nixon.com
a237c65c46210c1e9d9669557d5d36a9d956ca26
9df2fb0bc59ab44f026b0a2f5ef50c72b2fb2ceb
/sdk/dynatrace/azure-mgmt-dynatrace/generated_samples/monitors_get_sso_details_minimum_set_gen.py
660bfb94f9b61744d91446c0a3f37affbc7c7cf0
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
openapi-env-test/azure-sdk-for-python
b334a2b65eeabcf9b7673879a621abb9be43b0f6
f61090e96094cfd4f43650be1a53425736bd8985
refs/heads/main
2023-08-30T14:22:14.300080
2023-06-08T02:53:04
2023-06-08T02:53:04
222,384,897
1
0
MIT
2023-09-08T08:38:48
2019-11-18T07:09:24
Python
UTF-8
Python
false
false
1,631
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
openapi-env-test.noreply@github.com
5c51d540225abc65aba220b7b3bf103579c1f61a
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02913/s835324386.py
047781bcb31ffe52b746c9b0454b01728cb1b3cc
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
655
py
def main(): import sys input = sys.stdin.readline sys.setrecursionlimit(10**7) from collections import Counter, deque #from collections import defaultdict from itertools import combinations, permutations, accumulate, groupby, product from bisect import bisect_left,bisect_right from heapq...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
b8bf3ead37ab6905d1d3250e0dcc5ad2e961386e
48a89c1ceb3a761f796ed054c59a44106adefba5
/src/moveit_pose.py
baf76cbf90210ec3cb175469d503eb360f02bae6
[]
no_license
ayushgargdroid/hsr_custom_launch
ec404519cc9e8096c078468f5336fc6852204fda
f84d4e3e6dc3fcbcb00e65b05d69c9a33e43b94f
refs/heads/master
2020-09-20T14:26:41.354211
2019-12-05T21:36:16
2019-12-05T21:36:16
224,510,478
0
0
null
null
null
null
UTF-8
Python
false
false
2,525
py
#!/usr/bin/env python import sys import copy import rospy import moveit_commander import moveit_msgs.msg import geometry_msgs.msg import tf import numpy as np from math import pi from std_msgs.msg import String from moveit_commander.conversions import pose_to_list if __name__ == '__main__': moveit_commander.roscpp...
[ "ayushgargdroid@gmail.com" ]
ayushgargdroid@gmail.com
b8bcb78bbf8726eb8cc4098a99018c8f38990b6c
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/fv/apndg.py
9bbc9206e5d94cae540d5d9b7a425e781af43b51
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
4,205
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
602852152151ceb503e5cf7d75816f4089723ef5
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/ZaEFRDBZ7ZMTiSEce_17.py
b22158d637597759d56d9b831520a39cf3c26141
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
908
py
""" You're given a string of words. You need to find the word "Nemo", and return a string like this: `"I found Nemo at [the order of the word you find nemo]!"`. If you can't find Nemo, return `"I can't find Nemo :("`. ### Examples find_nemo("I am finding Nemo !") ➞ "I found Nemo at 4!" find_nemo("Nem...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
e72472b43e78f165604f008d221b85de375c397d
78d3d78ebded691dd6a92f357c7cc75004ff2184
/majorana/3/conductance_disorder.py
c73171b6058a0426c432f6e44c4eb66eb398e8bd
[]
no_license
rafaelha/paper_zbcp
0b5bb9500d997ab99cea9959998e3651be75483b
db2096eb0cb2d7bb801b4e513320adc9cef7a0d9
refs/heads/master
2023-02-25T01:41:24.728767
2019-09-06T17:24:16
2019-09-06T17:24:16
199,933,622
0
0
null
null
null
null
UTF-8
Python
false
false
9,911
py
import matplotlib as mpl #mpl.use('Agg') import matplotlib.pyplot as plt import kwant as kw import numpy as np import tinyarray from numpy import kron, cos, sin, sqrt import time import scipy.sparse as sp from scipy.sparse.linalg import eigsh from numpy.random import rand import pickle import datetime as dt import sys ...
[ "rafaelhaenel@phas.ubc.ca" ]
rafaelhaenel@phas.ubc.ca
7a4c1f18a33fabea011455db37153243c394e77c
5c5b75f09be052e3b2e8f40802100bb381cc041b
/src/kbqa/scripts/simpq_candgen.py
60c870c2e9df647020ce6db7ef6649f47d219903
[ "MIT" ]
permissive
xuehuiping/TransDG
a6f408a03adadf7cedb40039094628213c63b4a1
ca55744594c5c8d6fe045bed499df72110880366
refs/heads/master
2022-04-22T10:49:53.245542
2020-04-24T02:05:38
2020-04-24T02:05:38
258,379,892
0
0
MIT
2020-04-24T02:04:40
2020-04-24T02:04:39
null
UTF-8
Python
false
false
7,755
py
""" Generate candidate query graph for SimpQ """ import os import json import codecs import shutil import pickle import argparse from src.kbqa.utils.link_data import LinkData from src.kbqa.utils.log_util import LogInfo from src.kbqa.dataset.schema import Schema class SimpleQCandidateGenerator: def __init__(self,...
[ "1049136551@qq.com" ]
1049136551@qq.com
e84fa4cea01f255f22566d3aa239eceff4c8ea21
afc677459e46635ceffccf60d1daf50e62694557
/ACME/math/perturb.py
9dc7c4abb0a9e47c4955e89d1793b41b1c231f16
[ "MIT" ]
permissive
mauriziokovacic/ACME
056b06da4bf66d89087fcfcbe0fd0a2e255d09f3
2615b66dd4addfd5c03d9d91a24c7da414294308
refs/heads/master
2020-05-23T23:40:06.667416
2020-01-10T14:42:01
2020-01-10T14:42:01
186,997,977
3
1
null
null
null
null
UTF-8
Python
false
false
314
py
import torch def perturb(tensor): """ Perturbs the input tensor with random noise Parameters ---------- tensor : Tensor the input tensor Returns ------- Tensor the perturbed tensor """ return torch.randn_like(tensor) * tensor + torch.randn_like(tensor)
[ "maurizio.kovacic@gmail.com" ]
maurizio.kovacic@gmail.com
9d897506defc849e1be82128a929f2bf07239fc0
a1615563bb9b124e16f4163f660d677f3224553c
/LI/lib/python3.8/site-packages/astropy/table/tests/test_mixin.py
1e694c2e508b7da524cd1c52fd7f4ee06682af60
[ "MIT" ]
permissive
honeybhardwaj/Language_Identification
2a247d98095bd56c1194a34a556ddfadf6f001e5
1b74f898be5402b0c1a13debf595736a3f57d7e7
refs/heads/main
2023-04-19T16:22:05.231818
2021-05-15T18:59:45
2021-05-15T18:59:45
351,470,447
5
4
MIT
2021-05-15T18:59:46
2021-03-25T14:42:26
Python
UTF-8
Python
false
false
28,594
py
# -*- coding: utf-8 -*- # Licensed under a 3-clause BSD style license - see LICENSE.rst try: import h5py # pylint: disable=W0611 # noqa except ImportError: HAS_H5PY = False else: HAS_H5PY = True try: import yaml # pylint: disable=W0611 # noqa HAS_YAML = True except ImportError: HAS_YAML = Fa...
[ "honey.bhardwaj.18cse@bmu.edu.in" ]
honey.bhardwaj.18cse@bmu.edu.in
9fb0d5b275776d93f611e8155d9b45109e0e3a2e
00c6ded41b84008489a126a36657a8dc773626a5
/.history/Sizing_Method/ConstrainsAnalysis/DesignPointSelectStrategy_20210715190839.py
a2ac951ec777c61b515fff6cb84697d45b202fa7
[]
no_license
12libao/DEA
85f5f4274edf72c7f030a356bae9c499e3afc2ed
1c6f8109bbc18c4451a50eacad9b4dedd29682bd
refs/heads/master
2023-06-17T02:10:40.184423
2021-07-16T19:05:18
2021-07-16T19:05:18
346,111,158
0
0
null
null
null
null
UTF-8
Python
false
false
12,946
py
# author: Bao Li # # Georgia Institute of Technology # import sys import os sys.path.insert(0, os.getcwd()) import numpy as np import matplotlib.pylab as plt import Sizing_Method.Other.US_Standard_Atmosphere_1976 as atm import Sizing_Method.Aerodynamics.ThrustLapse as thrust_lapse import Sizing_Method.Aerodynamics.Ae...
[ "libao@gatech.edu" ]
libao@gatech.edu
148cdb131a56fd63ff2ef0abeb3b986b26f89eea
ac4b9385b7ad2063ea51237fbd8d1b74baffd016
/.history/google/docs_quickstart_20210213142716.py
483f1642a07b3d11faa3808ec62f56fa18f7a9dd
[]
no_license
preethanpa/ssoemprep
76297ef21b1d4893f1ac2f307f60ec72fc3e7c6f
ce37127845253c768d01aeae85e5d0d1ade64516
refs/heads/main
2023-03-09T00:15:55.130818
2021-02-20T06:54:58
2021-02-20T06:54:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,082
py
from __future__ import print_function import pickle import os.path import io from googleapiclient.discovery import build from google_auth_oauthlib.flow import InstalledAppFlow from google.auth.transport.requests import Request from googleapiclient.http import MediaIoBaseDownload from oauth2client.service_account import...
[ "{abhi@third-ray.com}" ]
{abhi@third-ray.com}
4c6abdca47eed860cbbbd80db8e8195616fdc873
7c3a066c2f4e3be8b3f8a418f0152f9d3de69599
/google_kickstart/15683.py
75639c55a00f4cf507ab52e131684ae11a8d1dab
[]
no_license
wkdtjsgur100/algorithm-python
5c0fa5ac5f5c2b8618e53ab0f1f599427345734d
134809388baac48195630e1398b8c2af7526966c
refs/heads/master
2020-04-02T19:58:20.480391
2018-12-31T08:33:44
2018-12-31T08:33:44
154,753,276
0
0
null
null
null
null
UTF-8
Python
false
false
1,143
py
import copy, sys cctv=[ [[0], [1], [2], [3]], [[0, 1], [2, 3]], [[0, 3], [0, 2], [2, 1], [1, 3]], [[1, 2, 3], [0, 1, 2], [0, 2, 3], [0, 1, 3]], [[0, 1, 2, 3]] ] d = [[0, 1], [0, -1], [1, 0], [-1, 0]] N, M = map(int, input().split()) m = [list(map(int, input().split())) for _ in range(N)] cctv_pos...
[ "wkdtjsgur100@naver.com" ]
wkdtjsgur100@naver.com
84de9302b013fd741256a039e1e919f9abfe13ce
372edad1cd6399cadba82818e9fb9682c3bac1b4
/packages/python/plotly/plotly/validators/_layout.py
35ec745486825a04421fc837dfe6cb3b998c4fcc
[ "MIT" ]
permissive
OGVGdev/plotly.py
78bfa9e25e92c367f0da30af7885cdd163ba612b
96a9101c79aa588023f56153bf274d0d570ffcf6
refs/heads/master
2022-11-10T16:44:06.732450
2020-06-26T13:07:06
2020-06-26T13:07:06
275,173,321
1
0
MIT
2020-06-26T14:19:41
2020-06-26T14:19:40
null
UTF-8
Python
false
false
25,576
py
import _plotly_utils.basevalidators class LayoutValidator(_plotly_utils.basevalidators.CompoundValidator): def __init__(self, plotly_name="layout", parent_name="", **kwargs): super(LayoutValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, data_c...
[ "noreply@github.com" ]
OGVGdev.noreply@github.com
131d239b5a8e340e9dbe95bf2ef6172b9a91bb12
97ee5c0f2320aab2ca1b6ad0f18a4020dbd83d1c
/venv/Lib/site-packages/ibm_watson_machine_learning/libs/repo/swagger_client/models/error_schema_repository.py
ff5393cbefcc0d009faa312008628d9bfc6d0141
[]
no_license
yusufcet/healty-hearts
4d80471e82a98ea1902b00c8998faed43f99616c
a4cd429484e857b849df08d93688d35e632b3e29
refs/heads/main
2023-05-28T13:57:09.323953
2021-05-06T04:15:27
2021-05-06T04:15:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,486
py
# coding: utf-8 """ Copyright 2016 SmartBear Software 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 applica...
[ "yusufcetin9999@gmail.com" ]
yusufcetin9999@gmail.com
3e4b223cc21e71e5175421f134ba6136f711a6dd
af1a5e8245a34cb205216bc3e196045bb53f27d1
/cottonformation/res/amazonmq.py
4a7e5bc34197f0cfd5cbb067327746fc7a517eef
[ "BSD-2-Clause" ]
permissive
gitter-badger/cottonformation-project
b77dfca5679566fb23a63d94c0f56aebdd6f2508
354f1dce7ea106e209af2d5d818b6033a27c193c
refs/heads/main
2023-06-02T05:51:51.804770
2021-06-27T02:52:39
2021-06-27T02:52:39
380,639,731
0
0
BSD-2-Clause
2021-06-27T03:08:21
2021-06-27T03:08:21
null
UTF-8
Python
false
false
41,076
py
# -*- coding: utf-8 -*- """ This module """ import attr import typing from ..core.model import ( Property, Resource, Tag, GetAtt, TypeHint, TypeCheck, ) from ..core.constant import AttrMeta #--- Property declaration --- @attr.s class BrokerLogList(Property): """ AWS Object Type = "AWS::AmazonMQ::Broker...
[ "husanhe@gmail.com" ]
husanhe@gmail.com
1eaf0839de9bc5dadf576355771ad319fe60ef55
2f330fc050de11676ab46b963b7878882e9b6614
/test/test_conversations_api.py
57e18e0156fc8c9ab6b181d2209168880857eefa
[ "Apache-2.0" ]
permissive
zerodayz/memsource-cli-client
609f48c18a2b6daaa639d4cb8a61da43763b5143
c2574f1467539a49e6637c874e88d75c7ef789b3
refs/heads/master
2020-08-01T12:43:06.497982
2019-09-30T11:14:13
2019-09-30T11:14:13
210,999,654
1
0
null
null
null
null
UTF-8
Python
false
false
3,966
py
# coding: utf-8 """ Memsource REST API Welcome to Memsource's API documentation. To view our legacy APIs please [visit our documentation](https://wiki.memsource.com/wiki/Memsource_API) and for more information about our new APIs, [visit our blog](https://www.memsource.com/blog/2017/10/24/introducing-rest-apis...
[ "cerninr@gmail.com" ]
cerninr@gmail.com
6d72846e5637395a9e8186735df19ecf8593262c
6d24a0820a2e1227e8caff083a8fef4f6f207c6f
/django_test8remotedb/django_test8remotedb/wsgi.py
e1c3c34a28f8e9da506e1712d7ee44b07b95f92e
[]
no_license
pyh3887/Django
45d4b3be955634edba924cc18bbc8d3454c7355b
a44e1067494391ff4a7473aeaeb63bbeba43b3d8
refs/heads/master
2022-11-08T08:36:04.750050
2020-06-28T14:00:53
2020-06-28T14:00:53
275,596,275
0
0
null
null
null
null
UTF-8
Python
false
false
417
py
""" WSGI config for django_test8remotedb project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault(...
[ "pyh3887@naver.com" ]
pyh3887@naver.com
c22e5285f55b9a024db9c6a181f7be86ac4aa38d
d0fcc2198f1caf5633c4fc0d004ba68714396f1b
/bc4py/__init__.py
e4f948768169653f959d63eacfa2036467347985
[ "MIT" ]
permissive
webclinic017/bc4py
4bfce04b666c2aaadda4b7ecc2a8270839231850
620b7d855ec957b3e2b4021cf8069d9dd128587a
refs/heads/master
2022-12-09T22:23:49.842255
2019-06-21T14:24:17
2019-06-21T14:24:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
648
py
__version__ = '0.0.27-alpha' __chain_version__ = 0 __block_version__ = 1 __message__ = 'This is alpha version - use at your own risk, do not use for merchant applications' __logo__ = r""" _____ _____ _ _ | __ \ / ____| | | | | | |__) | _ | | ...
[ "thhjuu@yahoo.co.jp" ]
thhjuu@yahoo.co.jp
4d7c7bef47a7b0a60f1eb495d804d2eb2c8ade27
93022749a35320a0c5d6dad4db476b1e1795e318
/issm/bamgmesh.py
a74e7b1994e1ba700f8cf936b7d747286f4f44d7
[ "BSD-3-Clause" ]
permissive
pf4d/issm_python
78cd88e9ef525bc74e040c1484aaf02e46c97a5b
6bf36016cb0c55aee9bf3f7cf59694cc5ce77091
refs/heads/master
2022-01-17T16:20:20.257966
2019-07-10T17:46:31
2019-07-10T17:46:31
105,887,661
2
3
null
null
null
null
UTF-8
Python
false
false
2,051
py
import numpy as np class bamgmesh(object): """ BAMGMESH class definition Usage: bamgmesh(varargin) """ def __init__(self,*args): # {{{ self.Vertices=np.empty((0,3)) self.Edges=np.empty((0,3)) self.Triangles=np.empty((0,0)) self.IssmEdges=np.empty((0,0)) self.IssmSegments=np.empty((0,0)) ...
[ "cummings.evan@gmail.com" ]
cummings.evan@gmail.com
28d0aafa50a59f4ae999a524de929130e15508da
7b82b6189e0e5ebeb5cc84e22d87edecc3cb38ba
/charlies_revenge/lib/python2.7/UserDict.py
335a99e253d13a9929832dbb451f80ab47b57b78
[ "BSD-2-Clause" ]
permissive
rv816/omop_harvest
6ef52f44e8196e52815774737274de8871826784
629b69559bb04d495b4499e0d277d7deeb849b79
refs/heads/master
2021-01-15T13:19:53.542160
2014-12-04T16:08:44
2014-12-04T16:08:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
47
py
/Users/vassr/anaconda/lib/python2.7/UserDict.py
[ "ryan.vass.junk@gmail.com" ]
ryan.vass.junk@gmail.com
2aeb9fcb51b0105557890554d8ed3a4f83d5f27c
d489eb7998aa09e17ce8d8aef085a65f799e6a02
/lib/modules/powershell/management/get_domain_sid.py
61786bf029320aa283e34ee9af48782232a1b12b
[ "MIT" ]
permissive
fengjixuchui/invader
d36078bbef3d740f95930d9896b2d7dd7227474c
68153dafbe25e7bb821c8545952d0cc15ae35a3e
refs/heads/master
2020-07-21T19:45:10.479388
2019-09-26T11:32:38
2019-09-26T11:32:38
206,958,809
2
1
MIT
2019-09-26T11:32:39
2019-09-07T11:32:17
PowerShell
UTF-8
Python
false
false
2,979
py
from lib.common import helpers class Module: def __init__(self, mainMenu, params=[]): self.info = { 'Name': 'Get-DomainSID', 'Author': ['@harmj0y'], 'Description': ('Returns the SID for the current of specified domain.'), 'Background' : True, ...
[ "noreply@github.com" ]
fengjixuchui.noreply@github.com
d6cd273dd70bb1adf7a00656ce07e3a7d18afb1e
ebae416013607b045b505dbb0b5598c9e732dcf4
/2b Rozmienianie monet.py
fc4f0377b9bf95a51b48d6343a5b1bcf82548afb
[]
no_license
Ernest93/Ernest93
08bbadc067e9ef277bad5f0922ca89a8ae298fb8
7570ccf18631c5e88bd38c0498d7c9348e81dd7b
refs/heads/master
2020-04-06T15:24:56.128434
2018-12-10T16:21:06
2018-12-10T16:21:06
157,577,667
0
0
null
null
null
null
UTF-8
Python
false
false
285
py
""" 2) Program przyjmuje kwotę w parametrze i wylicza jak rozmienić to na monety: 5, 2, 1, 0.5, 0.2, 0.1 wydając ich jak najmniej. """ moneta5 = 5 moneta2 = 2 moneta1 = 1 moneta50 = 0.50 moneta20 = 0.20 moneta10 = 0.10 kwota = input("Podaj kwotę do wymiany na drobne: ") if kwota
[ "you@example.com" ]
you@example.com
3bd394ba3bd4bde21e3af8745d23d7012a1674fa
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/88/usersdata/216/59764/submittedfiles/listas.py
59dcb46254afeaa8ea7c2cfa8c36ed1c7c2a8dfa
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
646
py
# -*- coding: utf-8 -*- def degrau(a): for i in range(0,len(a)-1,1): menos=0 l=[] if a[i]<0: a[i]=a[i]*(-1) menos=menos+(a[i]-a[i+1]) l.append(menos) if a[i]>=0: menos=menos+(a[i]-a[i+1]) l.append(menos) return(...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
0ea486071cf97380f79f7282e57c31033c2db52a
e573161a9d4fc74ef4debdd9cfd8956bdd1d0416
/src/products/migrations/0001_initial.py
c5e75cc6b8ce4aa5d27f37b4086623b92994f43b
[]
no_license
tanjibpa/rx-verify
a11c471afc628524bf95103711102258e6e04c19
3947fd2f9a640b422014d1857b9377e42d8961a5
refs/heads/main
2023-02-23T08:16:43.910998
2021-01-23T07:07:43
2021-01-23T07:07:43
331,103,311
0
0
null
null
null
null
UTF-8
Python
false
false
3,357
py
# Generated by Django 3.1.5 on 2021-01-21 05:22 import django.contrib.postgres.fields.jsonb from django.db import migrations, models import django.db.models.deletion import uuid class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( ...
[ "ikram.tanjib@gmail.com" ]
ikram.tanjib@gmail.com
9e1a9f7e8ff63503ca25b48244d1b4f4cc6212e7
cc9a0d5608b2209b02591ceace0a7416823a9de5
/hyk/users/urls.py
752239befcc25821e106299311f9a488a257c93b
[ "MIT" ]
permissive
morwen1/hack_your_body
240838e75dd4447c944d47d37635d2064d4210fd
d4156d4fbe2dd4123d5b5bceef451803a50a39f8
refs/heads/master
2020-11-24T01:55:46.323849
2019-12-15T18:15:51
2019-12-15T18:15:51
226,505,010
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
#django from django.urls import path , include #rest_framework from rest_framework.routers import SimpleRouter #views from hyk.users.views import UserViewset ,ProfileViewset router = SimpleRouter() router.register(r'' , UserViewset , basename='users_urls') router.register(r'profile', ProfileViewset , basename='profile...
[ "morwen901@gmail.com" ]
morwen901@gmail.com
25a5631cbd7c7365beaf481e7e89807d81afbfe9
ca4fff998b3a345595adfc8a33fb273f2ac10a58
/tensorflow/python/keras/layers/preprocessing/text_vectorization_distribution_test.py
ebf68e3bce2897f82a7bef4c73b6900c69018e69
[ "Apache-2.0" ]
permissive
yair-ehrenwald/tensorflow
d485cef7847ab027639550fe2b19fd7521ea640e
eaceb03d7f5ec31c0d27c464f17ae003027980ca
refs/heads/master
2023-05-04T19:43:16.142132
2021-03-21T06:10:13
2021-03-21T06:16:59
287,766,702
2
0
Apache-2.0
2020-08-15T14:51:47
2020-08-15T14:51:46
null
UTF-8
Python
false
false
3,914
py
# Copyright 2019 The TensorFlow 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 applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
895e18e52390f46b88c59c8e8bb946d861c58834
6237a1d1aa61be65f1a71bb645ec6d8689f24715
/PythonistaAppTemplate/PythonistaKit.framework/pylib/site-packages/jedi/api/helpers.py
77fc7827a66f2f8eac56ccec40c4e65833df446f
[]
no_license
Tkizzy/PythonistaAppTemplate
cf8485dc8e9e45c65af624916d71b38e2e11ce56
f196581cfee4a1c10168892a20ddcf16270c91b0
refs/heads/master
2021-01-16T00:17:04.628848
2016-03-13T08:15:35
2016-03-13T08:15:35
52,062,119
1
0
null
2016-02-19T04:48:36
2016-02-19T04:48:35
null
UTF-8
Python
false
false
2,568
py
""" Helpers for the API """ import re from jedi.parser import tree as pt from jedi.evaluate import imports def completion_parts(path_until_cursor): """ Returns the parts for the completion :return: tuple - (path, dot, like) """ match = re.match(r'^(.*?)(\.|)(\w?[\w\d]*)$', path_until_cursor, fla...
[ "olezorn@gmx.net" ]
olezorn@gmx.net
926040ad10f55d950cc51d7ce892409565567b4a
7585016de4256206dbc3219248f1a266e2b853a4
/tests/processes/test_convert.py
f79352d7a5104c20ed6cd3619216cb74b242ff93
[ "Apache-2.0" ]
permissive
pedringcoding/weaver
fe7db0d75dafaff9c677f458b57f0230af25c441
691c8b820c24b53d6a4a86a421477b611206bef1
refs/heads/master
2023-07-13T21:42:48.574816
2021-05-25T21:59:10
2021-05-25T21:59:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,461
py
""" Unit tests of functions within :mod:`weaver.processes.convert`. """ from copy import deepcopy import pytest from pywps.inout.formats import Format from pywps.inout.inputs import LiteralInput from pywps.inout.literaltypes import AllowedValue, AnyValue from pywps.validator.mode import MODE from weaver.exceptions im...
[ "francis.charette.migneault@gmail.com" ]
francis.charette.migneault@gmail.com
6176ca8999bab8c589d13d80a4c7c5c7ac8ff137
a543a24f1b5aebf500c2200cd1d139435948500d
/satory074/_abc004/c.py
9227c0ec27dc1aa64b43222d4668fa5c0f98ccc1
[]
no_license
HomeSox/AtCoder
18c89660762c3e0979596f0bcc9918c8962e4abb
93e5ffab02ae1f763682aecb032c4f6f4e4b5588
refs/heads/main
2023-09-05T03:39:34.591433
2023-09-04T13:53:36
2023-09-04T13:53:36
219,873,371
0
0
null
null
null
null
UTF-8
Python
false
false
178
py
n = int(input()) ordlist = ['123456'] for i in range(29): l = list(ordlist[-1]) l[i%5], l[i%5+1] = l[i%5+1], l[i%5] ordlist.append(''.join(l)) print(ordlist[n%30])
[ "satory074@gmail.com" ]
satory074@gmail.com
c0994aa64dbf0307204e0f6d0a5b88fe03b6d811
12c1b764e0f339aed6ac3538111ec0d5bef70698
/pythonutils/cgiutils.py
ab3053610f73ae47ed4d4bf63c1c94804d3a812c
[]
no_license
bashu/pythonutils
d63b879b901ba06a35d12ad47e2d3633e86d6060
8214207fc611690ca93fc139a802cd491eed8c30
refs/heads/master
2016-08-11T22:11:56.343437
2015-10-01T09:35:32
2015-10-01T09:35:32
43,283,424
0
0
null
2015-10-01T09:35:32
2015-09-28T06:16:41
Python
UTF-8
Python
false
false
18,733
py
# Version 0.3.6 # 2009/06/08 # Copyright Michael Foord 2004-2009 # cgiutils.py # Functions and constants useful for working with CGIs # http://www.voidspace.org.uk/python/modules.shtml # Released subject to the BSD License # Please see http://www.voidspace.org.uk/python/license.shtml # For information about bugfixe...
[ "basil.shubin@gmail.com" ]
basil.shubin@gmail.com
3af98569cf8e2029999739ed562ac539f5bce4fb
e1b94d6fc781af26c08d7d108d9f9a463b154cac
/test20.py
a544b507f3842c31604ac995a8c10d3f87e05daf
[]
no_license
404akhan/math6450
b27d6928bbbddd9903122099b66e8adf49b7525b
818baf5ad9c47e7237b3d21f4a698f684649b9f4
refs/heads/master
2021-01-20T07:42:58.415286
2017-05-02T13:02:44
2017-05-02T13:02:44
90,034,123
0
0
null
null
null
null
UTF-8
Python
false
false
2,657
py
import numpy as np import pandas as pd import random import statsmodels.api as sm from sklearn.feature_selection import RFE from sklearn.svm import SVC import sys from pylab import pcolor, show, colorbar, xticks, yticks df = pd.read_csv("./speed_code.csv", encoding="ISO-8859-1") input_vars = np.array(['attr', 'sinc', ...
[ "404akhan@gmail.com" ]
404akhan@gmail.com
a6b1f0bbee7fe4666bf8d05fb29773efb460b249
47a08ca494ee35cf553d223ff7fd69fdf92c1aa5
/sourcebook_app/migrations/0006_auto_20180509_1922.py
f298c34ae95a14332538631cab4e9c4526eb1522
[]
no_license
apjanco/90s-sourcebook
010541d2718613a08008285d00ec59d96f742bb0
183fb012f87285d641678fe5c9c8da8ab6998084
refs/heads/master
2021-07-17T01:36:40.098417
2019-02-09T02:15:17
2019-02-09T02:15:17
132,296,098
0
1
null
null
null
null
UTF-8
Python
false
false
927
py
# Generated by Django 2.0.5 on 2018-05-09 19:22 import ckeditor.fields from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('sourcebook_app', '0005_auto_20180509_1917'), ] operations = [ migrations.CreateModel( name='category', ...
[ "apjanco@gmail.com" ]
apjanco@gmail.com
e2eff4ea305101f35ffcf05f15cc188ccb32ced6
d044e88e622d9f4ca350aa4fd9d95d7ba2fae50b
/application/dataentry/migrations/0207_auto_20211119_1807.py
a61f3dfa9a81a9f94de6886491918e4ab7c650cc
[]
no_license
Tiny-Hands/tinyhands
337d5845ab99861ae189de2b97b8b36203c33eef
77aa0bdcbd6f2cbedc7eaa1fa4779bb559d88584
refs/heads/develop
2023-09-06T04:23:06.330489
2023-08-31T11:31:17
2023-08-31T11:31:17
24,202,150
7
3
null
2023-08-31T11:31:18
2014-09-18T19:35:02
PLpgSQL
UTF-8
Python
false
false
615
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.29 on 2021-11-19 18:07 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('dataentry', '0206_personmatch_match_results'), ] operations = [ migrations.RunSQL(...
[ "scrishel@sbcglobal.net" ]
scrishel@sbcglobal.net
3109b75d342ecc7144506e06f756165024efbfde
751cf52d62dba7d88387fc5734d6ee3954054fc2
/opencv/commercial/Instructions/Examples/Backprojection/backProjection.py
6700e987ebba4ac4cd7f725e033de35ffb5792a4
[ "MIT" ]
permissive
nooralight/lab-computer-vision
70a4d84a47a14dc8f5e9796ff6ccb59d4451ff27
0c3d89b35d0468d4d3cc5ce2653b3f0ac82652a9
refs/heads/master
2023-03-17T12:45:22.700237
2017-07-11T22:17:09
2017-07-11T22:17:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,081
py
import numpy as np import cv2 xi, yi, xf, yf = 0, 0, 0, 0 selecting = False newHist = False begin = False def regionSelect( event, x, y, flags, param ): global xi, yi, xf, yf, selecting, newHist, begin if event == cv2.EVENT_LBUTTONDOWN: selecting = True xi, yi = x, y elif event == cv2.EVENT...
[ "danbudanov@gmail.com" ]
danbudanov@gmail.com
11c815726dd58daf7008db0bd038e4928eabfdf4
4323ef02073a8e3c9e6aceba738aef5fc72c3aa6
/PythonExercicio/ex101.py
baf7c053bab3f6e080ca4354ddfda5d608c417b9
[ "MIT" ]
permissive
fotavio16/PycharmProjects
e1e57816b5a0dbda7d7921ac024a71c712adac78
f5be49db941de69159ec543e8a6dde61f9f94d86
refs/heads/master
2022-10-19T15:45:52.773005
2020-06-14T02:23:02
2020-06-14T02:23:02
258,865,834
0
0
null
null
null
null
UTF-8
Python
false
false
514
py
from time import gmtime def voto(ano): anoAtual = gmtime().tm_year idade = anoAtual - ano #print(f'Com {idade} anos: ', end='') if idade < 16: return "NEGADO", idade elif idade < 18: return "OPCIONAL", idade elif idade < 70: return "OBRIGATÓRIO", idade else: ...
[ "fotaviofonseca@gmail.com" ]
fotaviofonseca@gmail.com
dddfb5db6026c566353c7f826f4552c02c9021c0
bc441bb06b8948288f110af63feda4e798f30225
/state_workflow_sdk/model/cmdb/instance_tree_root_node_pb2.py
6ee3af86e87fa1990cdee356016a84a48a148421
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
true
4,421
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: instance_tree_root_node.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from goo...
[ "service@easyops.cn" ]
service@easyops.cn
b79bee798fa0c9f83afa01e877fb1c6112869372
51885da54b320351bfea42c7dd629f41985454cd
/abc061/b.py
2bb0198431586f9681539f68d514ce6e49ba67fc
[]
no_license
mskt4440/AtCoder
dd266247205faeda468f911bff279a792eef5113
f22702e3932e129a13f0683e91e5cc1a0a99c8d5
refs/heads/master
2021-12-15T10:21:31.036601
2021-12-14T08:19:11
2021-12-14T08:19:11
185,161,276
0
0
null
null
null
null
UTF-8
Python
false
false
1,154
py
# # abc061 b # import sys from io import StringIO import unittest class TestClass(unittest.TestCase): def assertIO(self, input, output): stdout, stdin = sys.stdout, sys.stdin sys.stdout, sys.stdin = StringIO(), StringIO(input) resolve() sys.stdout.seek(0) out = sys.stdout.r...
[ "mskt4440@gmail.com" ]
mskt4440@gmail.com
78bae165bd0366eb263356cb6ad9e5697febb35e
7e8fcf142e5192be045263fe886cb0d29d9b69c3
/huaweicloud-sdk-meeting/huaweicloudsdkmeeting/v1/meeting_async_client.py
eaf9697e8f16111a0c48a8939b1553da984ab8f4
[ "Apache-2.0" ]
permissive
bobo123-dev/huaweicloud-sdk-python-v3
97b5bf20e87d2326d561402e634f5d7f9f5e8341
61e2ba5bc5a9dea5cec7001c0f952afb607e2fe5
refs/heads/master
2023-03-10T15:07:16.306615
2021-02-27T10:37:46
2021-02-27T10:37:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
289,385
py
# coding: utf-8 from __future__ import absolute_import import datetime import re import importlib import six from huaweicloudsdkcore.client import Client, ClientBuilder from huaweicloudsdkcore.exceptions import exceptions from huaweicloudsdkcore.utils import http_utils from huaweicloudsdkcore.sdk_stream_request imp...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
13cadb461e8dcc7eb8ec1196d1b737fac51cb3b8
55a8940b41527a79c3c45f34f2035a53ee7f3621
/repositorioDeReferencias/pycom-libraries/examples/lorawan-nano-gateway/config.py
78f770651d3c373e06cd4ac367be4d4df16f8036
[]
no_license
RegisMelgaco/LoPyLearn
ec37a58d334e2bf2dfd9aaf93b4e1bed016c957b
3e8115545675947b24d646945a8859cae94b82b1
refs/heads/master
2021-09-03T10:55:49.614250
2018-01-08T13:45:46
2018-01-08T13:45:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
630
py
""" LoPy LoRaWAN Nano Gateway configuration options """ import machine import ubinascii WIFI_MAC = ubinascii.hexlify(machine.unique_id()).upper() # Set the Gateway ID to be the first 3 bytes of MAC address + 'FFFE' + last 3 bytes of MAC address GATEWAY_ID = WIFI_MAC[:6] + "FFFE" + WIFI_MAC[6:12] SERVER = 'router.eu...
[ "regis.melgaco@gmail.com" ]
regis.melgaco@gmail.com
e9b4e4732fa50f1e05c1f15dce5454ddf633aa9a
ca1f95723d29f3c72f36e98a69aa86f827f90812
/request_helpers.py
ea665a3d2e9335db2cff53907e780f2486cb7478
[]
no_license
zzaakiirr/parser_stackoverflow
70b0376f487303fafe7cbb739b65da8299dea4bb
3f39240107fcc8b1cfef95e6f63c0dc8dd3c81ad
refs/heads/master
2020-03-08T14:44:36.083748
2018-04-05T21:09:41
2018-04-05T21:09:41
128,193,857
0
0
null
null
null
null
UTF-8
Python
false
false
665
py
import requests def is_url(request): try: requests.get(request) except requests.exceptions.MissingSchema: return False return True def create_request_url(request): key_words = request.split() key_words_sting = '' for key_word in key_words: key_words_sting += '+%s' % k...
[ "zzaakiirr@gmail.com" ]
zzaakiirr@gmail.com
18416831775dcf5a874ae485a50a8664e7427803
8acffb8c4ddca5bfef910e58d3faa0e4de83fce8
/ml-flask/Lib/site-packages/sklearn/feature_selection/tests/test_mutual_info.py
90912a4817535201553ce92bef653d054964f5a5
[ "MIT" ]
permissive
YaminiHP/SimilitudeApp
8cbde52caec3c19d5fa73508fc005f38f79b8418
005c59894d8788c97be16ec420c0a43aaec99b80
refs/heads/master
2023-06-27T00:03:00.404080
2021-07-25T17:51:27
2021-07-25T17:51:27
389,390,951
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:20a5dcd51f98742f23b8c7f37c2a42a52dc8089b83f2d8acc528fd88f1288e3c size 7293
[ "yamprakash130@gmail.com" ]
yamprakash130@gmail.com
b65417573b6585e83dc4f560df7a9195ef2c53f2
83cfd4dec02d1bfe36663b1ef1c5344a9ac922ef
/orco/report.py
f1d920f1ff9343abb58ef7e82f8100ac1f58a86d
[ "MIT" ]
permissive
spirali/orco
f170a968725408caca08ec0915b835cebd19423d
32c839b4d691a3eb83cfa379a1ec429adcf7f1b0
refs/heads/master
2021-07-22T11:41:19.430670
2020-06-10T08:56:17
2020-06-10T08:56:17
195,656,806
4
2
MIT
2020-07-13T08:40:46
2019-07-07T13:50:34
Python
UTF-8
Python
false
false
1,389
py
class Report: """ Report of an event in ORCO. It can be viewed via ORCO browser. Attributes: * report_type - "info" / "error" / "timeout" * executor_id - Id of executor where even comes from * message - string representation of message * builder_name - name of builder where event occurs (or...
[ "spirali@kreatrix.org" ]
spirali@kreatrix.org
1456ea0a97ad69d4665eccefa722464babba6e6a
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2539/60617/267823.py
0ac81f42b23d79d08df13bc7a0bd2236501f741b
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
339
py
def cutinous_subArr(): arr=eval(input()) start=0 end=0 for i in range(1, len(arr)): if start==0: if arr[i]<arr[i-1]: start=i-1 end=i else: if arr[i]<arr[i-1]: end=i print(end-start+1) if __name__=='__main__': ...
[ "1069583789@qq.com" ]
1069583789@qq.com
3ef8cce8910cc02ab0f2bd51f71613ab2e31635b
1e6eb70f63fe91e40fab63675eee2bb05e6f1f28
/src/orion/core/worker/strategy.py
7a9df26908bb86f08e4632434176667a03fa6dfb
[ "BSD-3-Clause" ]
permissive
jerrychatz/orion
ed587abc81bceaef5bd8e90e432112df0aad5f43
0ef3eea2decafce1985dc6a1cbea80cc2a92e9e8
refs/heads/master
2023-08-07T01:31:19.195565
2021-09-14T18:52:18
2021-09-14T18:52:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,335
py
# -*- coding: utf-8 -*- """ Parallel Strategies =================== Register objectives for incomplete trials """ import logging from abc import ABCMeta, abstractmethod from orion.core.utils import Factory from orion.core.worker.trial import Trial log = logging.getLogger(__name__) CORRUPTED_DB_WARNING = """\ Tria...
[ "xavier.bouthillier@umontreal.ca" ]
xavier.bouthillier@umontreal.ca
f9fc77089bab51a5b86d400aa82d54397353ecd0
c0bf1f7ca6d9d7562f72b4a668e97a2d5ffe7c88
/veriloggen/core/vtypes.py
ed03be3a6259773264d44a823248877bfb205062
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
00mjk/veriloggen
cee0da16182c3c9bd95340a966d6a3febc0e7ad1
9d0af9638470b3b85cbf9cb53f16b853932571c8
refs/heads/master
2023-06-23T07:10:20.645734
2021-07-18T14:53:13
2021-07-18T14:53:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
56,115
py
from __future__ import absolute_import from __future__ import print_function import re # Object ID counter for object sorting key global_object_counter = 0 operator_dict = { 'Uminus': '-', 'Ulnot': '!', 'Unot': '~', 'Uand': '&', 'Unand': '~&', 'Uor': '|', 'Unor': '~|', 'Uxor': '^', 'Uxnor': '~^', 'Power':...
[ "shta.ky1018@gmail.com" ]
shta.ky1018@gmail.com
cb3e782d2e8d4c07ddb117999aa1faf47756683f
eb59f8212f40bd7c316e1ef3be03bf7da3dde65f
/annotated2_0/scr_useea.py
d58536a905383f09f108651629f2610863a69e57
[]
no_license
shtkn/frameDataParser
764cc3197051966717990f7ca3eb2f02639cf438
690d44d4bf188a14c4e5ebebd95bdc75b827f5e5
refs/heads/master
2021-07-05T00:52:53.316670
2020-10-03T18:16:52
2020-10-03T18:16:52
187,556,058
0
0
null
2019-11-25T05:36:06
2019-05-20T02:40:24
Python
UTF-8
Python
false
false
72,440
py
@State def EffNmlAtk5A(): def upon_IMMEDIATE(): Unknown4010(3) Unknown4007(3) sprite('Action_071_00', 5) # 1-5 sprite('Action_071_01', 5) # 6-10 sprite('Action_071_02', 1) # 11-11 @State def EffNmlAtk5A_2nd(): def upon_IMMEDIATE(): Unknown4010(3) Unknown4007(3) ...
[ "shtkn001@gmail.com" ]
shtkn001@gmail.com
fb54d19b3e0e115daed7e8ea028298023bd94bc5
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02925/s813842519.py
fd514890376add5cc9ff63723b435deab183d427
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
831
py
n = int(input()) a = [list(map(int, input().split())) for _ in range(n)] l = [i for i in range(n)] pos = [0] * n res = 0 cnt = 0 while True: res += 1 flag = True tmp = l.copy() l = [] used = [False] * n for v in tmp: if used[v] or pos[v] == n - 1: continue opp = a[v...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
b3c32db3186b4caf7016dabb7784a1f42ab8e00a
32eeb97dff5b1bf18cf5be2926b70bb322e5c1bd
/benchmark/antennapod/testcase/firstcases/testcase6_004.py
9e861b2631f1cd4c20da6b5730e18a08b29e1c30
[]
no_license
Prefest2018/Prefest
c374d0441d714fb90fca40226fe2875b41cf37fc
ac236987512889e822ea6686c5d2e5b66b295648
refs/heads/master
2021-12-09T19:36:24.554864
2021-12-06T12:46:14
2021-12-06T12:46:14
173,225,161
5
0
null
null
null
null
UTF-8
Python
false
false
6,080
py
#coding=utf-8 import os import subprocess import time import traceback from appium import webdriver from appium.webdriver.common.touch_action import TouchAction from selenium.common.exceptions import NoSuchElementException, WebDriverException desired_caps = { 'platformName' : 'Android', 'deviceName' : 'Android Emulat...
[ "prefest2018@gmail.com" ]
prefest2018@gmail.com
a868589ab22d6b001a1e0a8c4cd3b53b2b965c0e
10d89b6e07a7c72c385eb1d1c60a3e0ed9f9fc3c
/boss/report/views/movie_sum.py
5d816002dcf23fdd6d97d0c4b852eaccb658a172
[]
no_license
cash2one/pt
2a4998a6627cf1604fb64ea8ac62ff1c227f0296
8a8c12375610182747099e5e60e15f1a9bb3f953
refs/heads/master
2021-01-20T00:36:43.779028
2016-11-07T03:27:18
2016-11-07T03:27:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,978
py
#coding: utf-8 """ 服务质量追踪-电影票 """ from report_pub import * def get_movie_sum_data(start_date, end_date, app, ver, channel): if not start_date: start_date = None if not end_date: end_date = None if not app: app = None if not ver: ver = None if not channel: ...
[ "xl@putao.cn" ]
xl@putao.cn
901df2bd27ecb8f459e0b79373f18de62a4fec93
e21599d08d2df9dac2dee21643001c0f7c73b24f
/practice/concurrency/threadpool_executor.py
5de7abb753749c293b03937824f0c77e6414843f
[]
no_license
herolibra/PyCodeComplete
c7bf2fb4ce395737f8c67749148de98a36a71035
4ef7d2c3aec6d28a53eed0e649cdeb74df3d783b
refs/heads/master
2022-07-17T05:39:03.554760
2020-05-03T07:00:14
2020-05-03T07:00:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
707
py
#!/usr/bin/env python # coding=utf-8 import time import requests from concurrent.futures import ProcessPoolExecutor def visit_url(url): response = requests.request('GET', url) return response.content if __name__ == '__main__': start = time.time() # 创建需要处理的URL序列 urls = ['http://api.bilibili.co...
[ "ijumper@163.com" ]
ijumper@163.com
7f6f5cb399c032bf7955265b384a932ad7e4bdbd
3fa7203b6180ab9a8955642f1373f3e436514a1e
/projects/apexlearningcenter/gdata-python-client/setup.py
a057292cc6d08e7313830bbdba294277ff4a9563
[ "Apache-2.0" ]
permissive
Opportunitylivetv/blog
ce55db2f03dba42286b403f8df0839f6f75b7eea
01e99810d977d8ddbb7a99b7f8f6d0c4276f3cd7
refs/heads/master
2021-07-25T21:40:01.599864
2017-11-08T22:10:51
2017-11-08T22:10:51
110,347,355
1
1
null
2017-11-11T13:26:21
2017-11-11T13:26:21
null
UTF-8
Python
false
false
1,987
py
#!/usr/bin/python # # Copyright (C) 2007 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
[ "joe@bitworking.org" ]
joe@bitworking.org
b46a9f045a08dbe61856a95eec669f548997abff
074ce641fe9ab26835e4bfa77bdcac4aed92fcc7
/locations/spiders/bojangles.py
0e584c803734199752d1f60be07cccbd6260fee0
[ "MIT" ]
permissive
zerebubuth/all-the-places
173623ef00be2517bda26aff568a342ba1168c74
a8b5931ca2e727194a6eb622357998dddccf1bb4
refs/heads/master
2021-07-04T04:02:54.306426
2017-08-02T16:17:46
2017-08-02T16:17:46
105,061,033
0
0
null
2017-09-27T19:35:12
2017-09-27T19:35:12
null
UTF-8
Python
false
false
4,326
py
# -*- coding: utf-8 -*- import json import scrapy import re from scrapy.utils.url import urljoin_rfc from scrapy.utils.response import get_base_url from locations.items import GeojsonPointItem class BojanglesSpider(scrapy.Spider): name = "bojangles" allowed_domains = ["locations.bojangles.com"] start_urls...
[ "ian.dees@gmail.com" ]
ian.dees@gmail.com
a927f9c813867b753eff1fe9ffff2a4ca4958e48
f65c074b9d47a86488ea82bccf3bcea2c089b576
/Matc_links/Matc_links/items.py
ab239cf684765f22c9935412ffce36888c35f3d9
[ "MIT" ]
permissive
Nouldine/CrawlerSystems
32aea71bf4f24f7f5f3430fa93576d4524bf0448
7bba8ba3ec76e10f70a35700602812ee6f039b63
refs/heads/master
2020-09-15T12:18:50.117873
2020-01-23T14:50:45
2020-01-23T14:50:45
223,441,439
0
0
null
null
null
null
UTF-8
Python
false
false
354
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://doc.scrapy.org/en/latest/topics/items.html import scrapy from scrapy.item import Item, Field class MatcLinksItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() ...
[ "abdoulyigo@gmail.com" ]
abdoulyigo@gmail.com
7d0c1a071fb41cdfe747f02f3ff8aacdd1540482
5864f03e60b18b6ba6d5f666f5656193a423be2a
/5.3-random.py
a810965241b091e21e408279cdb5a52e425e4457
[]
no_license
c4collins/python-standard-library-examples
1ca66176cee9dab606afc8cd70f806f7c261ef81
ef812ca846692243604a0fc119b6eece4025f148
refs/heads/master
2021-01-01T17:05:21.504397
2018-01-18T21:15:06
2018-01-18T21:15:06
8,157,627
22
9
null
null
null
null
UTF-8
Python
false
false
7,582
py
## 5.3 Random # Uses the Mersenne Twister algorithm import random, os, itertools, time, decimal, math import cPickle as pickle ## 5.3.1 Generating Random numbers for i in xrange(5): print '%04.3f' % random.random(), print # uniform() will generate numbers within a specified range for i in xrange(5): ...
[ "connor.collins@gmail.com" ]
connor.collins@gmail.com
46eb89357e79a72c0d54fe04daaea91db1801d5d
3c01d7928029e74a19d646f5a40b3bf099b281a7
/typeshed/stdlib/_thread.pyi
2425703121b5dd5c8b5f33b5571063d7ac4de438
[ "MIT" ]
permissive
arpancodes/protectsql
f3ced238c103fca72615902a9cb719c44ee2b5ba
6392bb7a86d1f62b86faf98943a302f7ea3fce4c
refs/heads/main
2023-08-07T16:33:57.496144
2021-09-24T19:44:51
2021-09-24T19:44:51
409,894,807
0
1
MIT
2021-09-24T19:44:52
2021-09-24T08:46:02
Python
UTF-8
Python
false
false
1,427
pyi
import sys from threading import Thread from types import TracebackType from typing import Any, Callable, NoReturn, Optional, Tuple, Type error = RuntimeError def _count() -> int: ... _dangling: Any class LockType: def acquire(self, blocking: bool = ..., timeout: float = ...) -> bool: ... def release(self) ...
[ "arpanforbusiness@gmail.com" ]
arpanforbusiness@gmail.com
a2fab96aa42133cf1bef5480f1a3154ef1479005
6923f79f1eaaba0ab28b25337ba6cb56be97d32d
/programming_computer_vision_with_python/cvbook-contrib/rof.py
cca76f74204c8c254b9909d2168401a571270eac
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause" ]
permissive
burakbayramli/books
9fe7ba0cabf06e113eb125d62fe16d4946f4a4f0
5e9a0e03aa7ddf5e5ddf89943ccc68d94b539e95
refs/heads/master
2023-08-17T05:31:08.885134
2023-08-14T10:05:37
2023-08-14T10:05:37
72,460,321
223
174
null
2022-10-24T12:15:06
2016-10-31T17:24:00
Jupyter Notebook
UTF-8
Python
false
false
1,102
py
import numpy def denoise(im, U_init, tolerance=0.1, tau=0.125, tv_weight=30): """Denoises |im| using the ROF image denoising model. Note: If tv_weight is set to something large, tolerance needs to be lowered.""" # THe code is from Jan Erik Solem's book; it's based on: # Chambolle 2005, eq 11 on p14 "Total...
[ "bb@b.om" ]
bb@b.om
d376851a61e7d1f753b45331107716086f934b7e
fa9bae32c203323dfb345d9a415d4eaecb27a931
/33. Search in Rotated Sorted Array.py
e6cd02b083ea61bcdaa241d139c7425c617c6ff7
[]
no_license
IUIUN/The-Best-Time-Is-Now
48a0c2e9d449aa2f4b6e565868a227b6d555bf29
fab660f98bd36715d1ee613c4de5c7fd2b69369e
refs/heads/master
2020-09-14T12:06:24.074973
2020-02-15T06:55:08
2020-02-15T06:55:08
223,123,743
3
0
null
null
null
null
UTF-8
Python
false
false
772
py
class Solution: def search(self, nums: List[int], target: int) -> int: if not nums: return -1 left, right = 0, len(nums) - 1 if nums[left] ==target: return left if nums[right] ==target: return right while left +1 < right: mid = ...
[ "liuyijun0621@hotmail.com" ]
liuyijun0621@hotmail.com
54894be402b8fc5a0c43e67ef20cae3642449ae9
5e84763c16bd6e6ef06cf7a129bb4bd29dd61ec5
/blimgui/dist/sdl2/test/audio_test.py
569d249f8a32b6a76e411c269fc60885af4c9d7d
[ "MIT" ]
permissive
juso40/bl2sdk_Mods
8422a37ca9c2c2bbf231a2399cbcb84379b7e848
29f79c41cfb49ea5b1dd1bec559795727e868558
refs/heads/master
2023-08-15T02:28:38.142874
2023-07-22T21:48:01
2023-07-22T21:48:01
188,486,371
42
110
MIT
2022-11-20T09:47:56
2019-05-24T20:55:10
Python
UTF-8
Python
false
false
16,668
py
import os import sys import ctypes import pytest import sdl2 from sdl2 import SDL_Init, SDL_Quit, SDL_InitSubSystem, SDL_QuitSubSystem, \ SDL_INIT_AUDIO from sdl2.audio import FORMAT_NAME_MAP from sdl2.error import SDL_GetError, SDL_ClearError # NOTE: This module is missing a lot of tests, but is also going to be ...
[ "justin.sostmann@googlemail.com" ]
justin.sostmann@googlemail.com
9dda382f321a6bd1b6fe598188a36bf543a1a2e8
026f12a5fdd4b3bfee00713091267aaef71047c1
/end/demo4/hualiservice/trade/admin.py
daf8549e21a189ea882ce11a3ab0e6af12b56ab1
[]
no_license
zzy0371/py1911project
64c64413ea0107926ae81479adc27da87ee04767
7ce2a2acfc1dade24e6e7f8763fceb809fabd7a1
refs/heads/master
2023-01-08T07:51:13.388203
2020-03-19T03:31:33
2020-03-19T03:31:33
239,649,431
0
1
null
2023-01-05T09:04:53
2020-02-11T01:22:35
JavaScript
UTF-8
Python
false
false
170
py
from django.contrib import admin from .models import * # Register your models here. admin.site.register(Cart) admin.site.register(Order) admin.site.register(OrderDetail)
[ "496575233@qq.com" ]
496575233@qq.com
28fde1cc01caebb7f303b02bcf82fa3c46c163d1
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_examples/_algorithms_challenges/leetcode/leetCode/DynamicProgramming/132_PalindromePartitioningII.py
207d00a98abde367cada73c26aa59d47492dee70
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
1,820
py
#! /usr/bin/env python # -*- coding: utf-8 -*- class Solution(object): """ Dynamic Programming: cuts[i]: minimum cuts needed for a palindrome partitioning of s[i:], so we want cuts[0]. To get cuts[i-1], we scan j from i-1 to len(s)-1. Once we comes to a is_palindrome[i-1][j]==true: if j==...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
46ff6bb671dba2e977cd92127af3a8fdffa5e7eb
2cd06e44dd79b45708ddf010c31289458d850b94
/test/functional/p2p_leak.py
17143f418ca822b3cde05e7a2d2f0874b7260b7b
[ "MIT" ]
permissive
adymoloca/flocoin
bc66233e5b3b1af294ca6719b4a26f8829d682e4
d9244577577dede975c852f6fcfe1afba4d71a57
refs/heads/master
2023-08-21T23:51:28.266695
2021-10-06T01:40:10
2021-10-06T01:40:10
408,609,250
0
0
MIT
2021-09-30T10:11:53
2021-09-20T21:45:28
C++
UTF-8
Python
false
false
7,392
py
#!/usr/bin/env python3 # Copyright (c) 2017-2020 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test message sending before handshake completion. Before receiving a VERACK, a node should not send an...
[ "adymoloca91@gmail.com" ]
adymoloca91@gmail.com
9578af48e44f55f45d0eac8073ab379d3a7704ac
dc83706c0fc77dca0dde8f5d8de0c53dd746bd59
/cachier/scripts/cli.py
c467b07ac8cef327a7cab774a89c4f8a48456cc3
[ "MIT" ]
permissive
ofirnk/cachier
5a773d38c6093a276a7ce735e5173461e86bcc60
0d4a914806e5a6d048dc4189c9f6176105f8954f
refs/heads/master
2023-06-20T07:09:09.761919
2021-07-22T07:56:52
2021-07-22T07:56:52
388,360,470
0
0
MIT
2021-07-22T07:15:51
2021-07-22T06:57:58
null
UTF-8
Python
false
false
429
py
"""A command-line interface for cachier.""" import click from cachier.core import _set_max_workers @click.group() def cli(): """A command-line interface for cachier.""" @cli.command("Limits the number of worker threads used by cachier.") @click.argument('max_workers', nargs=1, type=int) def set_max_workers(ma...
[ "shaypal5@gmail.com" ]
shaypal5@gmail.com
ea81c1667ac5b76d19d935cf2e009a85fbf12b9f
610ac1da64200c109b9ac48d162058fdd85801aa
/Exception handling/runtimeerror2.py
09a54c4a09a30824641f60a4979d524c33d96794
[]
no_license
rajdharmkar/Python2.7
3d88e7c76c92bbba7481bce7a224ccc8670b3abb
9c6010e8afd756c16e426bf8c3a40ae2cefdadfe
refs/heads/master
2021-05-03T18:56:36.249812
2019-10-08T00:17:46
2019-10-08T00:17:46
120,418,397
1
0
null
null
null
null
UTF-8
Python
false
false
76
py
a = input('Enter a number:') b = input('Enter a number:') c = a*b print c
[ "rajdharmkar@gmail.com" ]
rajdharmkar@gmail.com