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
853aa2cbde81cdffdfe2b77c12fb974721306692
99be92b56bc6f21ef4809989a92228668755cb5e
/data_generators/all_problems.py
313d56df37cd85706c2bd4173328ede6db5d147b
[]
no_license
spacegoing/t2t_sg
33e4e1096f9261ac0abfd0b83432466c6f0596fb
3830d730d0591c0897b0327be41521474f59f9ce
refs/heads/master
2022-11-15T08:34:36.886209
2018-06-08T12:09:26
2018-06-08T12:09:26
129,492,484
0
1
null
2022-10-11T07:23:32
2018-04-14T07:22:58
Python
UTF-8
Python
false
false
2,702
py
# coding=utf-8 # Copyright 2018 The Tensor2Tensor Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
[ "spacegoing@gmail.com" ]
spacegoing@gmail.com
fd408408d2b09cddf79a3de21ae44cc0fde72463
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/built-in/cv/semantic_segmentation/BiseNetV1_for_PyTorch/configs/deeplabv3plus/deeplabv3plus_r50-d8_480x480_40k_pascal_context.py
36b57346fc82bd1f901ebabc4ca0c60f60108044
[ "GPL-1.0-or-later", "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
1,122
py
# Copyright (c) Facebook, Inc. and its affiliates. # Copyright 2020 Huawei Technologies Co., Ltd # # 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...
[ "chenyong84@huawei.com" ]
chenyong84@huawei.com
4c6af234dd939e5c53f992d246e9f35ac9fad897
0e50497e14e2002fa2f40a181a92d010bcb8ca83
/ecom/models.py.330e15ab17c791d5f8b0099010130a51.tmp
0d33e8506bfe5f66111887a79c5f1e013dbda04e
[]
no_license
ChetanKoranga/ecommerce
00e14d103d81908632b0cd00dff7053d20f204e4
3a8fbd1fb56767c88ec04ce6748ad33cfbad4ce9
refs/heads/master
2023-04-30T15:53:50.625754
2020-07-20T15:01:41
2020-07-20T15:01:41
263,393,645
0
1
null
2023-04-21T20:59:13
2020-05-12T16:38:02
CSS
UTF-8
Python
false
false
807
tmp
from django.db import models class Category(models.Model): category_name = models.CharField(max_length=50) def __str__(self): return self.category_name class SubCategory(models.Model): subcategory_name = models.CharField(max_length=50) category_name = models.ForeignKey( Category, on...
[ "chetankoranga3@gmail.com" ]
chetankoranga3@gmail.com
ea6ce416fa9d249afa3492eb1c916f9f40396336
caceb60f71165772b6d6155f619e79189e7c80a9
/第二期/成都-MFC/selfpractice/backupdemo/bakcup_ver5.py
9dd64f4a71baa8db911348dabc142c3ad88afe96
[ "Apache-2.0" ]
permissive
beidou9313/deeptest
ff41999bb3eb5081cdc8d7523587d7bc11be5fea
e046cdd35bd63e9430416ea6954b1aaef4bc50d5
refs/heads/master
2021-04-26T23:06:08.890071
2019-04-03T02:18:44
2019-04-03T02:18:44
123,931,080
0
0
Apache-2.0
2018-03-05T14:25:54
2018-03-05T14:25:53
null
UTF-8
Python
false
false
726
py
#!/usr/bin/env python # -*- coding:utf-8 -*- __author__ = 'MFC' __time__ = '18/2/25 20:54' """ A-Byte-of-Python P97 继续改进 需求: 1.支持参数设置 在程序中添加-v显示详尽程序 在程序中添加-q使程序能静默运行 在程序中添加-V显示程序版本号 2.在命令行中允许额外的文件与目录传递到脚本中 从sys.argv获得名称 通过list类的extend方法把名称添加到source列表中 3.不使用os.system创建备份 使用zipfile和tarfile来归档文件 软件开发流程中的阶段...
[ "moneyfromcat@foxmail.com" ]
moneyfromcat@foxmail.com
e8aa999f782421da240912e644ceac12de7e8a44
24a9c8f2fac4e2b20f731387336ec4e22d5fd2c7
/AdministrativePenalty/宁夏/石嘴山市数据/24.16石嘴山市地方税务局直属征收管理局 .py
da896f01a4655ce3855d1e803963dc5d5f81de29
[]
no_license
yunli45/pycharmProjectHome
94833822e3036bf2baf8700c4493132e63177d4c
9a382c060963eb801a3da07423e84a4132257b02
refs/heads/master
2020-05-23T23:35:20.476973
2019-05-16T09:45:58
2019-05-16T09:49:16
186,986,803
0
0
null
null
null
null
UTF-8
Python
false
false
6,879
py
# -*- coding:utf-8 -*- import requests import re import time from bs4 import BeautifulSoup from 宁夏.工具包 import 链接数据库, 替换标签, 附件下载程序, 只有行政处罚信息公开表,判断全文的类型返回表中需要的字段,表格加全文的形式8行19格10行23格,_24左右结构的表格 class Utils(object): def __init__(self): self.header = {'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_1...
[ "yunli_45@163.com" ]
yunli_45@163.com
00fc34eedfa09a150e799622761b5fe526023d21
fa4a3379cf9cc388f31cfc82a1f2e680dffdfbf4
/demo/lightshow/lightshow-eng.py
580d5fefb87258b086dc2b22d66ac9077422ed2d
[]
no_license
vswraith/pycyborg
2665d0787f7afc8c530544ee14ea0f11dc6a28bf
7b91bdbe1e0360a9386a6deec9bc58f806f12fa7
refs/heads/master
2021-01-17T05:19:21.051109
2016-03-09T05:38:40
2016-03-09T05:38:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,946
py
#!/usr/bin/python """The emperors new groove""" from lightshow import LightShow from colors import * import sys import random import os show=LightShow() show.audiodelay_offset=0 for _ in range(6): show.add_light() show.soundfile=os.path.expanduser('~/perfectworld.ogg') # --- ALIAS SETUP --- # #lights L1=0 L2=...
[ "oli@fuglu.org" ]
oli@fuglu.org
466a2336524ed1eb2ac82d053d09b508b501fc53
5e8d99f4c0ac8e562d6f5ac1501b63725ae47265
/scripts/Button/ButtonBase.py
e9bed3e7b8f849dd20b0e14492adea986c6d14d0
[]
no_license
nickhuang1996/format-tools
f4e8ef36c6e5a1db15f50487514de9ed24717c79
79ad212a8ea0bfbbb47b237097bd918e6925e7e1
refs/heads/master
2023-01-14T14:19:59.084337
2020-11-12T12:21:07
2020-11-12T12:21:07
305,701,122
4
1
null
null
null
null
UTF-8
Python
false
false
243
py
from abc import ABCMeta, abstractmethod from PyQt5.QtWidgets import * class ButtonBase(metaclass=ABCMeta): def __init__(self, MainForm): self.btn = QPushButton(MainForm) @abstractmethod def get_btn(self): pass
[ "nickhuang1996@126.com" ]
nickhuang1996@126.com
dbff59c0ee9fbe8a85524e2c073c071454f6eb04
dc5e51d1b5623dbd6325444d4b93cc9b6306f423
/lenstronomy_extensions/Scripts/monch_array_script.py
6b03670c30401f8ef8f0a0d28ba6deb15f02b4b2
[ "MIT" ]
permissive
Thomas-01/lenstronomy_extensions
dee4c6d845da5140f2806a00db4b04a8dd2206bd
fbbfe24dcfd71eae9e7c2dd60865a9b94db67fe8
refs/heads/master
2020-06-03T04:21:14.620032
2019-07-17T21:09:44
2019-07-17T21:09:44
191,435,829
0
0
MIT
2019-07-17T21:09:45
2019-06-11T19:20:20
Jupyter Notebook
UTF-8
Python
false
false
3,103
py
__author__ = 'sibirrer' #this file is ment to be a shell script to be run with Monch cluster # set up the scene import pickle import sys import time import numpy as np from lenstronomy.Extensions.Substructure.clump_detection import ClumpDetect from lenstronomy.Extensions.Substructure.sensitivity_map import Sensiti...
[ "simon.birrer@pyhs.ethz.ch" ]
simon.birrer@pyhs.ethz.ch
06d48cfb04af806e139f917dd179c82c7ea779d2
7d122748fb075ffe16e82e3616cf5e5b60dee5bb
/custom/l10n_tw/__init__.py
1de5820ea2685f1cc0fe76ad8853cc9a15d99c95
[]
no_license
kulius/odoo11_uw
95cd3b9cfdb18676e61d3565901f8ded0ee537d3
a6f950a4c05c90ac5f53c1602ac2cda33faf41ee
refs/heads/master
2021-08-07T07:53:15.585825
2018-07-23T03:33:20
2018-07-23T03:33:20
131,130,935
1
4
null
null
null
null
UTF-8
Python
false
false
154
py
# -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. # Copyright (C) 2014-now Jason Wu (jaronemo@msn.com)
[ "kulius@gmail.com" ]
kulius@gmail.com
039789010ff2b6fd5db2fe6af245837a73c31d10
b03131e692be3f84617cc5a9073397407489725c
/CtCI/chap2_linked_list.py
652a7da2f29ecda3bbffff316a89d7abcd163ba4
[]
no_license
RW21/CS
1ad20c534d864150c76441011735878a4bccef67
3dc4cee33b219e66c77f18a7d7d98fd9abd9746d
refs/heads/master
2022-12-09T06:18:31.234442
2020-09-08T03:56:27
2020-09-08T03:56:27
198,140,449
0
0
null
null
null
null
UTF-8
Python
false
false
696
py
from data_structures.linked_list import Node def remove_duplicate(head: Node): checked = set() new: Node = Node(None) new_ = new while True: if head.val not in checked: new.val = head.val checked.add(head.val) else: new.next = Node(No...
[ "rinze.watanabe.translation@gmail.com" ]
rinze.watanabe.translation@gmail.com
d81140e1ea43f9bfaf22cb0805be838e95059457
951a84f6fafa763ba74dc0ad6847aaf90f76023c
/ZS/ZS161_S12_01.py
978e903a040670a9fa4282690c306e6eae31743c
[]
no_license
SakuraGo/leetcodepython3
37258531f1994336151f8b5c8aec5139f1ba79f8
8cedddb997f4fb6048b53384ac014d933b6967ac
refs/heads/master
2020-09-27T15:55:28.353433
2020-02-15T12:00:02
2020-02-15T12:00:02
226,550,406
1
1
null
null
null
null
UTF-8
Python
false
false
2,435
py
# 5097. 力扣排行榜 显示英文描述 我的提交返回竞赛 # 用户通过次数 8 # 用户尝试次数 9 # 通过次数 8 # 提交次数 9 # 题目难度 Medium # 新一轮的「力扣杯」编程大赛即将启动,为了动态显示参赛者的得分数据,需要设计一个排行榜 Leaderboard。 # # 请你帮忙来设计这个 Leaderboard 类,使得它有如下 3 个函数: # # addScore(playerId, score): # 假如参赛者已经在排行榜上,就给他的当前得分增加 score 点分值并更新排行。 # 假如该参赛者不在排行榜上,就把他添加到榜单上,并且将分数设置为 score。 # top(K):返回前 K 名参赛者的...
[ "452681917@qq.com" ]
452681917@qq.com
d5f8cb079b4c1062297a40a9a2a3c0aae2158295
880d9cc2704f7de649ad4455dd7ec2806b6a9e95
/PythonExam/北京理工大学Python语言程序设计-Book/Chapter7/m7.2PrintFileByLines.py
48f3375a8936c2a0d8644ed2a1c9c6411214a934
[]
no_license
shunz/Python-100-Days_Practice
14795757effcff50a4644f57c5c109fa1c9c38ac
82f508ff6911ce3aa5c5a69cd481a6cc87f02258
refs/heads/master
2020-12-26T18:52:32.755384
2020-04-07T15:49:36
2020-04-07T15:49:36
237,604,470
0
0
null
null
null
null
UTF-8
Python
false
false
449
py
"""微实例7.2 文本文件逐行打印""" fname = input('请输入要打开的文件:') fo = open(fname, 'r') # print(fo) # <_io.TextIOWrapper name='m7.1.txt' mode='r' encoding='UTF-8'> #for line in fo.readlines(): # 将文件的全部内容读入到一个列表中,占用内存多,影响程序执行速度 for line in fo: # 将文件本身做为一个行序列,遍历所有行,逐行读入内容到内存 print(line) fo.close()
[ "rockucn@gmail.com" ]
rockucn@gmail.com
cb11ef0ccfa04363cc72204f54822f77e0407fc6
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2589/60785/267996.py
fa1fbf03ab48bebd230e5b9d8425d72913e19ca8
[]
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
212
py
t=int(input()) def fib_recur(n): if n == 1: return 1 if n==0: return 0 return fib_recur(n-1) + fib_recur(n-2) for i in range(t): n=int(input()) print(fib_recur(n))
[ "1069583789@qq.com" ]
1069583789@qq.com
5fb31afb0caaa55ec55e9e881454244a32e3e6a4
4e96f383d4703ad8ee58869ed91a0c8432c8a051
/Cura/Cura/plugins/GCodeReader/__init__.py
4158a038b0afff438b0d58373e0a1a69d0ecb13a
[ "GPL-3.0-only", "LGPL-3.0-only" ]
permissive
flight7788/3d-printing-with-moveo-1
b2dba26010c4fa31815bc1d2d0966161a8600081
7fcb9c6b5da9245d54ac917de8c2a7f5148e42b0
refs/heads/Feature_Marlin_with_AlanBoy
2022-08-30T18:36:44.785058
2020-05-30T07:52:58
2020-05-30T07:52:58
212,583,912
0
0
MIT
2020-05-16T07:39:47
2019-10-03T13:13:01
C
UTF-8
Python
false
false
719
py
# Copyright (c) 2016 Aleph Objects, Inc. # Cura is released under the terms of the LGPLv3 or higher. from . import GCodeReader from UM.i18n import i18nCatalog i18n_catalog = i18nCatalog("cura") def getMetaData(): return { "mesh_reader": [ { "extension": "gcode", ...
[ "t106360212@ntut.org.tw" ]
t106360212@ntut.org.tw
65447da32107ceaae9b4906998aff3818b784242
26f6313772161851b3b28b32a4f8d255499b3974
/Python/54_SpiralMatrix.py
770f2a44e5e9168a1a5113479e74ae974e022f25
[]
no_license
here0009/LeetCode
693e634a3096d929e5c842c5c5b989fa388e0fcd
f96a2273c6831a8035e1adacfa452f73c599ae16
refs/heads/master
2023-06-30T19:07:23.645941
2021-07-31T03:38:51
2021-07-31T03:38:51
266,287,834
1
0
null
null
null
null
UTF-8
Python
false
false
1,576
py
""" Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order. Example 1: Input: [ [ 1, 2, 3 ], [ 4, 5, 6 ], [ 7, 8, 9 ] ] Output: [1,2,3,6,9,8,7,4,5] Example 2: Input: [ [1, 2, 3, 4], [5, 6, 7, 8], [9,10,11,12] ] Output: [1,2,3,4,8,12,11,10,...
[ "here0009@163.com" ]
here0009@163.com
f530e803184d654892390e13d143df728715993b
b35f80114ad96928ccce44d40840177e0b5158aa
/dfvfs/analyzer/tsk_partition_analyzer_helper.py
018ea75371da4495702ae3bb6fc114944240c7b0
[ "Apache-2.0" ]
permissive
ryanmjones/dfvfs
7b62bab127cb201e679331fa808ec79e8ef03bd9
29ae5baddbf285260a596a67a199d0f5077214c1
refs/heads/master
2020-03-29T23:47:49.363000
2018-09-03T11:43:03
2018-09-03T11:43:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,076
py
# -*- coding: utf-8 -*- """The SleuthKit (TSK) partition format analyzer helper implementation.""" from __future__ import unicode_literals import pytsk3 from dfvfs.analyzer import analyzer from dfvfs.analyzer import analyzer_helper from dfvfs.lib import definitions from dfvfs.lib import tsk_image class TSKPartitio...
[ "joachim.metz@gmail.com" ]
joachim.metz@gmail.com
1162b79bceb52e9aa306e9a6e7b0aa6b25d0776e
32dd1920a58736dc6edb9b4e63f41e435d2fdb00
/tests/test_codes.py
4fd16ca66666fbedf0b2cd6c12ade86202cc1051
[ "MIT" ]
permissive
simongarisch/pxtrade
870a3f4471c2773f24e78db2147e7804445e7df4
6245c0a47017a880299fa7704a49580f394fa87b
refs/heads/master
2023-03-12T18:00:49.518383
2021-03-01T02:43:27
2021-03-01T02:43:27
293,418,866
2
0
MIT
2020-12-24T02:59:50
2020-09-07T04:08:11
Python
UTF-8
Python
false
false
1,350
py
import pytest from pxtrade.assets.codes import ( check_code, check_currency_code, Codes, ) class Test: pass def test_check_code(): assert check_code("AAPL") == "AAPL" assert check_code(" aapl ") == "AAPL" with pytest.raises(TypeError): check_code(123) def test_check_currency_co...
[ "gatman946@gmail.com" ]
gatman946@gmail.com
b9e67dca10c477dce5152c712f895e68e948d987
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02995/s739403155.py
6f939fd4a642248024986034a649cd04acf9b228
[]
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
509
py
import sys sys.setrecursionlimit(10**7) input = sys.stdin.readlines import math def main(): lines = input() a, b, c, d = list(map(int, lines[0].split())) def gcd(a, b): r = a % b if r == 0: return int(b) return gcd(b, r) g = gcd(c, d) gcm = int(c *...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
c15ea5381153ca94491a968e0cd38229da809000
e09f7ea46071dec6fb83a9be940a51c440d05095
/src/main/config.py
425931a2c634fcd3c28413df84ab2257435a5c46
[]
no_license
nhuntwalker/flask_tasks
54ee06d47ee56cb4e928549c534c6061d6d917a7
7939b522ddc78380d843546e40216ba008a4b359
refs/heads/master
2021-01-21T15:48:20.387493
2017-05-20T07:07:50
2017-05-20T07:07:50
91,856,936
0
0
null
null
null
null
UTF-8
Python
false
false
593
py
"""Configuration for the application.""" import os basedir = os.path.dirname(__file__) class Config(object): """Configuration settings for the flask-tasks app.""" DEBUG = False TESTING = False CSRF_ENABLED = True SECRET_KEY = os.environ.get('SECRET_KEY', '') SQLALCHEMY_DATABASE_URI = os.envir...
[ "nhuntwalker@gmail.com" ]
nhuntwalker@gmail.com
8106a61825e486ddc811331c40ad73cda9c21e79
656def2ca5c0bd959b31b98cdbc53fea3420b2dc
/Python3.7-VideoSplice/src/tencentcloud/faceid/v20180301/models.py
03cb53776b5ed9c7eabd454e6ac11576b19a1078
[]
no_license
tencentyun/serverless-demo
120271b96f8f960b6125c9d1481a5d8fe56165ae
4c324bb186c460fe78252f0ca5c28132a8bce6c9
refs/heads/master
2023-08-25T17:07:04.959745
2023-08-25T08:10:49
2023-08-25T08:10:49
281,120,881
94
119
null
2023-08-31T06:34:36
2020-07-20T13:15:46
null
UTF-8
Python
false
false
104,819
py
# -*- coding: utf8 -*- # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. 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...
[ "colorguitar@hotmail.com" ]
colorguitar@hotmail.com
76aa19d206ff037f24a620d8976db634522ba895
8d39c25241e89593e7bb8da8a568033b20a59fe1
/suspend/discuz/discuz.py
fe07490a1402ba7ea9bd669c50cee1c8040ceb85
[]
no_license
Jason20015/Py3Crawler
62a59c8b487728daf772237fbd95bbc00c707f6d
f04348691c1809bbbc5a4cf4f084c998e8b49803
refs/heads/master
2020-04-05T07:18:08.342880
2018-11-07T12:03:07
2018-11-07T12:03:07
156,670,337
0
1
null
null
null
null
UTF-8
Python
false
false
2,188
py
# -*- coding:UTF-8 -*- """ discuz论坛解析爬虫 @author: hikaru email: hikaru870806@hotmail.com 如有问题或建议请联系 """ import re from common import * # 获取论坛全部版块的地址列表 def get_bbs_forum_url_list(index_url): index_response = net.http_request(index_url, method="GET") if index_response.status == net.HTTP_RETURN_CODE_SUCCEED: ...
[ "hikaru870806@hotmail.com" ]
hikaru870806@hotmail.com
ad5e17575dc3953c1dd71be8e0a4d8f5f5207ffe
cd4bbecc3f713b0c25508d0c5674d9e103db5df4
/toontown/minigame/RingTracks.py
b252af15f9cae616636191fe9537de5631ce3682
[]
no_license
peppythegod/ToontownOnline
dce0351cfa1ad8c476e035aa3947fdf53de916a6
2e5a106f3027714d301f284721382cb956cd87a0
refs/heads/master
2020-04-20T05:05:22.934339
2020-01-02T18:05:28
2020-01-02T18:05:28
168,646,608
11
2
null
null
null
null
UTF-8
Python
false
false
3,182
py
import math import RingTrack import RingAction center = (0, 0) up = (0, 1) down = (0, -1) left = (-1, 0) right = (1, 0) ul = (-1, 1) ur = (1, 1) lr = (1, -1) ll = (-1, -1) def ringLerp(t, a, b): omT = 1.0 - t return (float(a[0]) * omT + float(b[0]) * t, float(a[1]) * omT + float(b[1]) * t) def r...
[ "47166977+peppythegod@users.noreply.github.com" ]
47166977+peppythegod@users.noreply.github.com
d3ee8bfe1765746290d3e770bc8c17946a59c909
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03380/s181984102.py
3cc401f7c6c00bbe291cbb34997117e33c495815
[]
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
222
py
import bisect n = int(input()) a = list(map(int, input().split())) a.sort() ci = a[-1] index = bisect.bisect_left(a, ci/2) if abs(a[index]-ci/2)<abs(a[index-1]-ci/2): print(ci, a[index]) else: print(ci, a[index-1])
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
57bd4ea11c13397e5cbb1d38b25d3e0b422ea3fb
afbae26b958b5ef20548402a65002dcc8e55b66a
/release/stubs.min/Autodesk/Revit/DB/Analysis_parts/EnergyDataSettings.py
34b3cd566a12c6e5f0e6bfe3e47d27b0014d0421
[ "MIT" ]
permissive
gtalarico/ironpython-stubs
d875cb8932c7644f807dc6fde9dd513d159e4f5c
c7f6a6cb197e3949e40a4880a0b2a44e72d0a940
refs/heads/master
2023-07-12T01:43:47.295560
2022-05-23T18:12:06
2022-05-23T18:12:06
95,340,553
235
88
NOASSERTION
2023-07-05T06:36:28
2017-06-25T05:30:46
Python
UTF-8
Python
false
false
25,266
py
class EnergyDataSettings(Element,IDisposable): """ This element contains settings for gbXML Export and Heating and Cooling Load Calculations and project level settings for Conceptual Energy Analysis. for serialization """ @staticmethod def CheckAnalysisType(analysisType): """ CheckAnalysis...
[ "gtalarico@gmail.com" ]
gtalarico@gmail.com
79f98b434580814e5f8b5dbcd31f0bfb33cca912
397c9e2743c41cf591692c4fc37f43a9070119bd
/build/env/bin/launch_instance
8de37d05c444ddb55297d813050e981bb84422c1
[ "Apache-2.0" ]
permissive
bopopescu/myhue
cf41238c782d12b3a1a0ee9ef70196359bb67894
5f566970a5a1fa5af9f01832c9e9808c47634bc7
refs/heads/master
2022-11-18T05:37:24.467150
2019-11-23T16:16:22
2019-11-23T16:16:22
282,390,507
0
0
Apache-2.0
2020-07-25T07:03:40
2020-07-25T07:03:39
null
UTF-8
Python
false
false
216
#!/home/inx/PycharmProjects/hue/build/env/bin/python2.7 # EASY-INSTALL-SCRIPT: 'boto==2.46.1','launch_instance' __requires__ = 'boto==2.46.1' __import__('pkg_resources').run_script('boto==2.46.1', 'launch_instance')
[ "352322399@qq.com" ]
352322399@qq.com
b86689253d3e0cc83c1fb7840a9803c9661516df
0e1e643e864bcb96cf06f14f4cb559b034e114d0
/Exps_7_v3/doc3d/I_w_M_to_Wxyz_focus_Z_ok/pyr_Tcrop256_pad60_jit15/pyr_4s/L3/step10_a.py
1fb7ce64fe0b4bd423848e4e8dfb42bf6fe1b9de
[]
no_license
KongBOy/kong_model2
33a94a9d2be5b0f28f9d479b3744e1d0e0ebd307
1af20b168ffccf0d5293a393a40a9fa9519410b2
refs/heads/master
2022-10-14T03:09:22.543998
2022-10-06T11:33:42
2022-10-06T11:33:42
242,080,692
3
0
null
null
null
null
UTF-8
Python
false
false
23,980
py
############################################################################################################################################################################################################# ##################################################################################################################...
[ "s89334roy@yahoo.com.tw" ]
s89334roy@yahoo.com.tw
5ddb3befc9ff6786127d5a22e1cf22ebd4e26f89
d6c117812a618ff34055488337aaffea8cf81ca1
/sort/mergeSort1.py
aeb26c24d40227bfbd807ce5e0dbfc322a66ba12
[]
no_license
c0ns0le/Pythonista
44829969f28783b040dd90b46d08c36cc7a1f590
4caba2d48508eafa2477370923e96132947d7b24
refs/heads/master
2023-01-21T19:44:28.968799
2016-04-01T22:34:04
2016-04-01T22:34:04
55,368,932
3
0
null
2023-01-22T01:26:07
2016-04-03T21:04:40
Python
UTF-8
Python
false
false
1,100
py
# # merge(list1,list2): merges two sorted lists into one sorted list # # Parameters: # list1, list2: lists whose entries are in ascending order # # Returns: # a sorted list containing the contents of list1 and list2 # def merge(list1, list2): i = 0 j = 0 result = [] while i < len(list1)...
[ "itdamdouni@gmail.com" ]
itdamdouni@gmail.com
5fb0eccb6b23ec8899ff5c76dcf01a11d0fc6249
5ed664e1d507c36e90cf3f46292f2d694154f8fa
/nested saral que1.py
dfe2ac2b0163092e99d7b29965fdccc6bd7ce260
[]
no_license
gauriindalkar/function
5dc24ccb384740a0b906250f8304a35c706b435f
b191311894ea04dc7ca66860800bc3208060d938
refs/heads/main
2023-05-08T15:38:23.195734
2021-05-29T17:40:48
2021-05-29T17:40:48
372,035,049
0
0
null
null
null
null
UTF-8
Python
false
false
165
py
#######simple question saral question 1 # def massage_1(): # print("GAURI") # def massage_2(): # print("JAL KA J1") # massage_2() # massage_1()
[ "noreply@github.com" ]
gauriindalkar.noreply@github.com
d6824f0b5b2dcff24d464f61a1c581db43fdc017
7c94bd20b7ee069dfb557f41279416aba7d8447a
/exchangelib/items/message.py
92764e1b2398b888f494d5ef68dff9a354d9adfe
[ "BSD-2-Clause" ]
permissive
AnkushGupta02/exchangelib
63a42d70fe8254ca2edb6075ac05822a8ccaae01
5430e603a1b42248c6a154ae24270b63e94cc49d
refs/heads/master
2022-08-19T08:34:49.634728
2020-05-28T10:25:33
2020-05-28T10:25:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,258
py
import logging from ..fields import BooleanField, Base64Field, TextField, MailboxField, MailboxListField, CharField from ..properties import ReferenceItemId, Fields from ..services import SendItem from ..util import require_account, require_id from ..version import EXCHANGE_2013 from .base import BaseReplyItem from .i...
[ "erik@cederstrand.dk" ]
erik@cederstrand.dk
7d618a0f55e9a970e5adf6a07fc612a6161638ac
6cdd43a67b9a3f636eb3a63a340d5eb2a9cb84f1
/blog/models.py
66fd981e21b1e928bc90f70222231c86090a2b11
[ "MIT" ]
permissive
phuclhv/blog_django
76944818a4ba18510897e21906da585b92bc6b87
f03ffee172c431e845f589c12054bb1a805c02b8
refs/heads/master
2020-09-09T20:54:28.410086
2019-11-19T00:16:15
2019-11-19T00:16:15
221,566,921
0
0
null
null
null
null
UTF-8
Python
false
false
647
py
from django.db import models from django.utils import timezone from django.contrib.auth.models import User from django.urls import reverse # create Post class for Blog app class Post(models.Model): title = models.CharField(max_length=100) content = models.TextField() date_posted = models.DateTimeField(default=t...
[ "you@example.com" ]
you@example.com
df3df37aa5eb41870650aa8cda622db3a42f1ddf
fced25b055ec68ee522bd156c3be5902172beb55
/Libraries/model_application.py
542470c12d27e4b3e509685803f4ca82d616519b
[]
no_license
EAC-Technology/eApp-Builder
3cff5576139b78fc507406e31a4b5201eab436b7
c3bbadde24330fb2dff4aa2c32cc6b11e044fbc9
refs/heads/master
2021-08-16T23:56:54.241674
2017-11-20T14:15:10
2017-11-20T14:15:10
111,399,334
0
0
null
null
null
null
UTF-8
Python
false
false
2,504
py
""" Application model """ import os import json from utils_base_classes import SoftDeletionModel, cached_property from model_workspace import Workspace class Application(SoftDeletionModel): db_table = 'eapp_application' # db_table fields_list = [ 'id', 'guid', 'workspace_id', 'creator_id', 'start_view_id', ...
[ "alain.abraham@web-atrio.com" ]
alain.abraham@web-atrio.com
37ede9d9fc6e41eb6adbba0715623b60e6bb0cff
492e591beceecae1e79758acf0512ee92c3c0a3b
/dllogger/tags.py
40c7646b1d4ef0335e273c56724164ccb05ba798
[ "BSD-3-Clause" ]
permissive
plkmo/Tacotron2-adapted
6067fa3ac888d1f91c2a7fcc05b760c12f8c805a
4b57f35b2400ebd0b2a40f1671655522bd7289c2
refs/heads/master
2020-08-04T03:56:27.316500
2019-10-01T07:36:48
2019-10-01T07:36:48
211,994,761
1
1
null
null
null
null
UTF-8
Python
false
false
7,758
py
# Copyright 2018 MLBenchmark Group. 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 appl...
[ "plkmo@hotmail.com" ]
plkmo@hotmail.com
111e6a511808aca8ae68fd54d4aea8d58ebedaf6
a1dce04838e2a4aa85e8a98459ae384aa00911bc
/src/spinnaker_ros_lsm/venv/lib/python2.7/site-packages/spinnman/connections/abstract_classes/abstract_listenable.py
6b15b6abad364926907ae65e6c7fbeee9a07d9ff
[ "BSD-3-Clause" ]
permissive
Roboy/LSM_SpiNNaker_MyoArm
8cb5b44c772bd9843989c64265dfcabd08905b4c
04fa1eaf78778edea3ba3afa4c527d20c491718e
refs/heads/master
2021-01-23T17:42:33.122281
2017-10-30T11:34:22
2017-10-30T11:34:22
102,772,213
2
0
null
null
null
null
UTF-8
Python
false
false
656
py
from six import add_metaclass from abc import ABCMeta from abc import abstractmethod @add_metaclass(ABCMeta) class AbstractListenable(object): @abstractmethod def get_receive_method(self): """ Get the method that receives for this connection """ @abstractmethod def is_ready_to_receiv...
[ "simon.trendel@tum.de" ]
simon.trendel@tum.de
ca5c5ad65aebba0f45cadf62b52a5aced79cd5a0
aa37b7aec635fd62707c90a7b536926e20cddaef
/contrib/zmq/zmq_sub.py
422fd5600819e82f32d8f1d1d50242783c6d34a0
[ "MIT" ]
permissive
planbcoin/planbcoin
d85b9345998c9a2221ea0b44ed0dec86c7d3dc1e
7d132eebdce94f34ca2e74278b5ca09dc012d164
refs/heads/master
2020-12-02T20:58:31.167685
2017-08-06T17:57:51
2017-08-06T17:57:51
96,237,224
0
0
null
null
null
null
UTF-8
Python
false
false
3,058
py
#!/usr/bin/env python3 # Copyright (c) 2014-2016 The PlanBcoin developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """ ZMQ example using python3's asyncio Planbcoin should be started with the command line arguments...
[ "ysoheil@gmail.com" ]
ysoheil@gmail.com
50bcb046b5eafc5d51e031608d16cfc96c031e00
1e9fed88ce4a623970f7e53143753a170d4bdcda
/aat/parser.py
014a16496c5139caf3153733c5f862e557860519
[ "Apache-2.0" ]
permissive
krusty45/aat
06dedbfe0abaf76c4a584ad441dc7badd093a939
a14b652f7ff90761d0e1198a85d8fc02efeff0eb
refs/heads/master
2020-06-24T09:34:30.981326
2019-07-09T19:34:22
2019-07-09T19:34:22
198,929,483
1
0
Apache-2.0
2019-07-26T02:07:57
2019-07-26T02:07:56
null
UTF-8
Python
false
false
8,944
py
import os import os.path from configparser import ConfigParser from pydoc import locate from .config import TradingEngineConfig, BacktestConfig, StrategyConfig, SyntheticExchangeConfig from .enums import TradingType, InstrumentType, ExchangeType, PairType from .exceptions import ConfigException from .structs import Ins...
[ "t.paine154@gmail.com" ]
t.paine154@gmail.com
5436800877b524ce434f83ec26c59c116850e6d9
9ae6ce54bf9a2a86201961fdbd5e7b0ec913ff56
/google/ads/googleads/v9/resources/types/search_term_view.py
46c5f93d3f432ee1f72cb283df1f044f0f0c209c
[ "Apache-2.0" ]
permissive
GerhardusM/google-ads-python
73b275a06e5401e6b951a6cd99af98c247e34aa3
676ac5fcb5bec0d9b5897f4c950049dac5647555
refs/heads/master
2022-07-06T19:05:50.932553
2022-06-17T20:41:17
2022-06-17T20:41:17
207,535,443
0
0
Apache-2.0
2019-09-10T10:58:55
2019-09-10T10:58:55
null
UTF-8
Python
false
false
2,246
py
# -*- coding: utf-8 -*- # Copyright 2020 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...
[ "noreply@github.com" ]
GerhardusM.noreply@github.com
9d02bd51deb767dc7cd525fd701b1a97688fdcf6
920741a72578f1a206a38fd27a7b7d22c30fba9b
/pyNastran/bdf/cards/aero/zona.py
6cd24a9dbc15067017b0523e0db547f028e2817b
[]
no_license
RafFloSan/pyNastran
1d2ab60c6f93f1f63fafc6322c42f9897338d197
bd87f8e26f08f072d747d424ad5494e6449e3ece
refs/heads/master
2020-12-02T19:10:14.021636
2019-12-31T04:16:50
2019-12-31T04:16:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
143,490
py
# coding: utf-8 # pylint: disable=W0212,C0103 """ All ZONA aero cards are defined in this file. This includes: * TRIM All cards are BaseCard objects. """ from itertools import count from typing import List, Optional import numpy as np from pyNastran.utils import object_attributes, object_methods from pyNastran.uti...
[ "mesheb82@gmail.com" ]
mesheb82@gmail.com
bf5e9296a64509f9a9931d561aba48f2004f2332
2657027483626cbaf5fdf26ff684f7058d43916f
/app/user/tests/test_user_api.py
59fff6a3cb24fc9c4664d844e757afdb87c0dfd9
[]
no_license
amitbhalla/recipe-app-api
7c74b4b2647cadd2897217498bc93db0042a6fdc
723e58f438a27bbc5dfa427a4a64146db3677607
refs/heads/main
2023-07-17T04:06:52.246312
2021-08-28T07:14:50
2021-08-28T07:14:50
394,696,615
0
0
null
null
null
null
UTF-8
Python
false
false
6,237
py
from django.test import TestCase from django.contrib.auth import get_user_model from django.urls import reverse from rest_framework.test import APIClient from rest_framework import status CREATE_USER_URL = reverse("user:create") TOKEN_URL = reverse("user:token") ME_URL = reverse("user:me") def create_user(**prams): ...
[ "amit9815@gmail.com" ]
amit9815@gmail.com
c513f2be67e3ed364599b23eb0166cbe56627735
d4fd47b78fb33c7f1bbfd0c8e3b783d181ba6b56
/ucopy.py
efc75712b706296dbd7f8d39e25f6ca4156a7490
[]
no_license
bsrdjan/ucopy
a42f47d9298a0193b08e5e264e41f94130e356c6
c66b01f4a5a8e5921aeeb98d33f382b0200fa019
refs/heads/master
2021-01-23T06:49:38.543739
2015-04-29T07:52:45
2015-04-29T07:52:45
29,462,616
7
1
null
null
null
null
UTF-8
Python
false
false
2,448
py
# -*- coding: utf-8 -*- from pyrfc import * import datetime # BAPI calls log def print_log(bapi_return): if len(bapi_return) > 0: for line in bapi_return: print '%s: %s' % (line['TYPE'], line['MESSAGE']) def abapusercopy() : # Connect to ABAP system SAPROUTER = '/H/123.12.123.12/E/yt6...
[ "srdjan.boskovic@sap.com" ]
srdjan.boskovic@sap.com
d62c32b7c6f1bce04b029f83853012ca95664216
73e082c93ddb9eb6e8f2a68aefd5d636bfe35f56
/golden_section_search.py
7acfa6e30c2931b7c1ad9c3bc44d5d5de0b95e79
[ "BSD-3-Clause-LBNL" ]
permissive
ssongna/sastbx_module_scitbx
3f60a768c482be13afb51a72d86ac8db6135e4ec
f7634dd32bf565ea596759b9430b274997b0a331
refs/heads/master
2021-08-17T09:01:17.753205
2017-11-21T01:27:40
2017-11-21T01:27:40
111,482,627
0
0
null
null
null
null
UTF-8
Python
false
false
1,725
py
import sys def print_progress_dots(outfile,ii,n_monitor=10,width=80,offset=5, is_final=False): out = open(outfile,"a") if ii-1 == 0: print >> out," "*offset+"Starting search" if (ii-1)%width==0: print >>out,"\n"+offset*" ", if (ii-1)%n_monitor==0: print >>out, ".", out.flush() if is_final: ...
[ "15298375979@126.com" ]
15298375979@126.com
50be5dade0e1c00ee621f7f3fc8aa586745e9fe0
57ae5bfbb24ba5fec90c9b3ecf1e15f06f1546ee
/.history/5-10-3_20200511131650.py
dfc19068d457f4db17e26656bd9bd0ddbde0ff07
[]
no_license
cjjhust/python_datastucture
f9104f1d5cae2df6436f56d4d3eaa212e6045943
a222bbe4bfc145ee11f73676c8f033f451d45f78
refs/heads/master
2022-07-03T19:53:07.066387
2020-05-15T08:06:21
2020-05-15T08:06:21
260,272,705
0
0
null
null
null
null
UTF-8
Python
false
false
2,832
py
# -*- coding: utf-8 -*- """ Created on Sat Nov 10 17:02:15 2018 @author: Administrator """ class Test: def __init__(self): self.center=None self.palindromeLen=None def getCenter(self):return self.center def getLen(self): return self.palindromeLen def mins(self,a,b): ...
[ "44698055@qq.com" ]
44698055@qq.com
64ded7c74296f375b8cd9f74938b769e2002bf03
35fc3136ca3f4af52ebeb36cedcd30b41d685146
/simulation/pipelines_reg/simulatedGenex18.py
9a0d7cba4d954e8b7e464c64f750ed3ec24dc337
[]
no_license
stockedge/tpot-fss
cf260d9fd90fdd4b3d50da168f8b780bb2430fd1
d1ee616b7552ef254eb3832743c49a32e1203d6a
refs/heads/master
2022-09-19T13:10:30.479297
2020-06-02T15:43:16
2020-06-02T15:43:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,020
py
import numpy as np import pandas as pd from sklearn.ensemble import GradientBoostingClassifier from sklearn.kernel_approximation import RBFSampler from sklearn.model_selection import train_test_split from sklearn.pipeline import make_pipeline # NOTE: Make sure that the class is labeled 'target' in the data file tpot_d...
[ "grixor@gmail.com" ]
grixor@gmail.com
ba473f3d1464565c77d806c56f9a7156ee3911b9
a0285b3ecf9ab064acbc482c90c8f54280e5dccd
/d_celery/__init__.py
aafcd2c369f8a5baa040b8051b8739c7b0a30554
[]
no_license
zhangdavids/django2.x_demo
f447ddef2cbd92f1db5021ec354f6f74d6a2ffd7
8693314b2a54412e848c25ec69a38c520fa5996e
refs/heads/master
2020-04-23T02:39:43.613783
2019-02-22T01:41:48
2019-02-22T01:41:48
170,853,315
0
0
null
null
null
null
UTF-8
Python
false
false
74
py
from d_celery.celery import app as celery_app __all__ = ('celery_app',)
[ "1269969739@qq.com" ]
1269969739@qq.com
07af4cde9b4c909e01d1003970c041e8478a0b08
f56455f80cb445262cd662e256295c6a74ce7a5f
/main/main/urls.py
1ef2d04ae97688b236060003d638a6a85cedcad5
[]
no_license
MovinTarg/survey-form
cb2ac71b615bb05622f5672d5a692c9b58483981
6c44e4feac09714e7c0aa22c95e182a549aba24c
refs/heads/master
2021-04-06T19:37:48.153391
2018-03-14T13:42:29
2018-03-14T13:42:29
125,218,673
0
0
null
null
null
null
UTF-8
Python
false
false
818
py
"""main URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-based...
[ "pbianchi192@gmail.com" ]
pbianchi192@gmail.com
d012d97ea73bc8c9c2eb0250ea3f2e666e8b011b
b9b19792e1890b56679dc167fb99f9612af477f7
/test/unit/feedforward/test_recurrent.py
22f2b3a2f494fce0a454214473b82ba8194c526e
[ "MIT" ]
permissive
fullstackenviormentss/deeppy_experimental
7990674a8eda0655671940d3baf25256af8a384b
dc06e294e37a30340c7d02ac12c4d00653baf96c
refs/heads/master
2020-03-18T22:01:01.964338
2015-08-25T18:15:28
2015-08-25T18:15:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,283
py
from copy import copy import itertools import numpy as np import cudarray as ca import deeppy as dp from deeppy.graph.recurrent_graph import Recurrent, GatedRecurrent from test_layers import check_grad batch_sizes = [1, 4, 5] n_ins = [1, 2, 7, 8] n_hiddens = [1, 2, 7, 8] if ca._backend == 'cuda': rtol = 1e-4 ...
[ "anders.bll@gmail.com" ]
anders.bll@gmail.com
5dfd9a8d3070b70a30172dc08bccbd42393da6df
12abe02e205d3e8dabe78fb5a93ccca89e2c42c4
/toontown/cogdominium/CogdoFlyingLocalPlayer.py
41e551436f465b997d3f194a28655a52a63c3d98
[]
no_license
nate97/toontown-src-py3.0
55092b2973b76e6b6d566887f44c52822684394c
f76c515801ae08c40b264b48365211fd44b137eb
refs/heads/master
2022-07-07T05:23:22.071185
2022-06-22T16:36:10
2022-06-22T16:36:10
187,682,471
15
8
null
null
null
null
UTF-8
Python
false
false
49,532
py
import math import random from panda3d.core import Vec3 from direct.showbase import PythonUtil from direct.directnotify import DirectNotifyGlobal from direct.task.Task import Task from direct.interval.FunctionInterval import Wait from direct.interval.IntervalGlobal import Func, LerpFunc, LerpPosInterval, LerpHprInterva...
[ "nathanielfuhr@gmail.com" ]
nathanielfuhr@gmail.com
88c9cea1b2cf7eb79db6e6e54125c73379b3fd63
0bbb296619e4fd6d5d5ce436f61d80b2ef84f987
/simple-18.py
90fd9a10541e598a8d17a227c82e7af34e234608
[]
no_license
smith-sanchez/T06-guerrero_villavicencio
79eea0ab11e10ea6e409bd8eb1219678a308c8e9
0097e81b57112109529f75d30b76a704095a35ef
refs/heads/master
2020-09-12T04:40:32.691034
2019-11-17T20:59:10
2019-11-17T20:59:10
222,310,110
0
0
null
null
null
null
UTF-8
Python
false
false
824
py
import os #BOLETA DE VENTA #DECLARAR VARIABLES cliente,precio,numero_producto="",0.0,0 #INPUT cliente=os.sys.argv[1] precio=float(os.sys.argv[2]) numero_libros=int(os.sys.argv[3]) #PROCESSING total=round(numero_libros*precio) #VERIFICADOR gasto_necesario=(total>50) #OUTPUT print("##################...
[ "noreply@github.com" ]
smith-sanchez.noreply@github.com
9e28126143936a0c29d4c339b87d7f346aa46951
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/network/v20180901/get_virtual_network_link.py
bb9c01d18cd0f1aa473cc4002f1f7b76f4b0de78
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
7,445
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
morrell.noreply@github.com
a0273884a39dab0862d17cdd0e44d1e32fb8af5b
48edd1fac46a7239ed8dba7a95e3309c133d35bf
/CONST.py
a13ded224065c397a3b12beff8fb45e8eaa370f8
[]
no_license
ttpro1995/DecisionTreeExercise
6a60cc0c26355a2655e08dd33ec8e4cf58e2c038
20caff4d2f52a9859a5708ec9cf405c5b4b83234
refs/heads/master
2021-01-21T06:24:39.288104
2017-02-28T16:52:28
2017-02-28T16:52:28
83,226,168
0
0
null
null
null
null
UTF-8
Python
false
false
108
py
DAY = 0 OUTLOOK = 1 TEMP = 2 HUMIDITY = 3 WIND = 4 TENNIS = 5 POSITIVE_TARGET = 'YES' # Thai Thien # 1351040
[ "tthien@apcs.vn" ]
tthien@apcs.vn
1e625c30ab259a4ae32ba25fa7ea129cfaad4b4f
bdbc9cd8c64cfa92efffb9e138cb282d36f69b0a
/addons/mail/res_config.py
c7a74517166f2a1130cbd736bc423b4de21b4789
[]
no_license
clebaresu/impra-adns
d330cece1b710643625627bfd7ed66bac7d233ef
8b9889d86c6ea194cfb7b0db8bdc3284635cc081
refs/heads/master
2020-05-02T16:51:41.798969
2019-03-27T22:03:32
2019-03-27T22:03:32
178,080,681
0
0
null
null
null
null
UTF-8
Python
false
false
2,282
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2012-Today OpenERP SA (<http://www.openerp.com>) # # This program is free software: you can redistribute it and/or modify # it under the ...
[ "clebaresu@gmail.com" ]
clebaresu@gmail.com
f73a0b1109087dcddd10a4616e473dc3af286702
0487fc46cb214166df3536cda364c8f03b9be3c9
/staff/urls/__init__.py
4f656b8f0307054feae6e2687293a3b64b03ea9b
[ "Apache-2.0" ]
permissive
manens/nadine
ac817974492084cf1d062015893dba85171c33bc
4938afa2d2c69ae5ac54f4360b081d10521a0a2f
refs/heads/master
2021-08-17T07:11:02.328500
2019-10-18T20:44:20
2019-10-18T20:44:20
217,627,473
0
0
NOASSERTION
2020-09-01T22:00:59
2019-10-25T23:12:38
null
UTF-8
Python
false
false
1,419
py
from django.urls import include, path from django.shortcuts import redirect from staff.views import core app_name = 'staff' urlpatterns = [ path('', lambda r: redirect('staff:tasks:todo'), name="home"), # A url file for every tab path('tasks/', include('staff.urls.tasks', namespace="tasks")), path('m...
[ "jsayles@gmail.com" ]
jsayles@gmail.com
978253ffc4edc8556a08fbbab422d681e7d5a693
a50c60267ee587b0b315ae7d56a8ae51cb74d8d8
/huawei/online/HJ013.py
9b8ef7cedeb5ef0fd1e338b7b310fe350f3a8811
[]
no_license
aojie654/nowcoder
ae839a42266dd4318103d78cfbcfd6029d2723c7
b864d66fa94baf6157f306c9d514a6341f1efe43
refs/heads/master
2023-06-14T05:55:34.175772
2021-07-09T06:18:53
2021-07-09T06:18:53
381,324,641
0
0
null
null
null
null
UTF-8
Python
false
false
253
py
# encoding=utf-8 """ HJ13 句子逆序 """ # Get input input_str = input() # Split with space and revese input_list = input_str.split() input_list.reverse() # print every word in reversed list for word_tmp in input_list: print(word_tmp, end=" ")
[ "aojie654@live.cn" ]
aojie654@live.cn
9221fae55349859e257481bde2398200b52bda4e
75e11c16f367f9f6d27d5bc0e5107cd30ac2da91
/xsect/calc/round_test.py
3a57c8030910d23c582e023515ea2bcc7ee6a548
[ "BSD-3-Clause" ]
permissive
mpewsey/xsect
ace21a7ca08da3237cb6f989b27e008024e6d3cb
1cc491972d14eb595369b4e7f52213734ae4cec4
refs/heads/master
2020-04-14T22:34:32.042301
2019-03-03T20:53:49
2019-03-03T20:53:49
164,168,323
18
6
BSD-3-Clause
2019-03-03T20:53:50
2019-01-05T00:37:50
Python
UTF-8
Python
false
false
2,303
py
from __future__ import division import pytest import numpy as np from .round import * def test_round_area(): # No thickness assert pytest.approx(round_area(4), 0.01) == 4*np.pi # With thickness assert pytest.approx(round_area(4, 1), 0.01) == 3*np.pi def test_round_inertia(): # No thickness ...
[ "mattpewsey@gmail.com" ]
mattpewsey@gmail.com
48e905ff80df1951cbf453900b16c8859efaf02b
4439ce1743f0de3ad80a27386292658a8b446a00
/common/weather_xml.py
da898c92439cbb98f47ca114d8ea4aa15af784f0
[]
no_license
Linyoucan/python-demo
790654c403f6e7843d685cf9e5e46a2a184c3d2c
cbb9d447be9f3f37d3c332f55a3ac57c08d25630
refs/heads/master
2020-08-10T14:01:55.479083
2019-03-01T10:24:23
2019-03-01T10:24:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,550
py
# -*- coding:utf-8 -*- from xml.parsers.expat import ParserCreate from urllib import request class WeatherSaxHandler(object): weather = {} forecastArr = [] def weather_forecast(self, name, attrs): if name == 'yweather:location': self.weather['city'] = attrs['city'] ...
[ "152668252@qq.com" ]
152668252@qq.com
cb7af472d25e81b15a3a1c085ffe899c3683e8e1
aa3dc5ae4fa7d531bbaa75c3008031f2a1b8845d
/242. Valid Anagram.py
3845cedce94ef12ce0e3bb928ff6b4eab1639a7f
[]
no_license
alankrit03/LeetCode_Solutions
354e797d1d5f5a78b116c1f9a3034dd651d71d9a
f8ca46afdfbd67509dde63e9cdc5fd178b6f111b
refs/heads/master
2021-01-08T17:41:22.976375
2020-11-03T17:01:37
2020-11-03T17:01:37
242,097,188
1
0
null
null
null
null
UTF-8
Python
false
false
215
py
class Solution: from collections import Counter def isAnagram(self, s: str, t: str) -> bool: s = Counter(s) if Counter(t) == s: return True else: return False
[ "alankritagarwal9@gmail.com" ]
alankritagarwal9@gmail.com
ffbb0f78f011c54e62cec103f038409508dbb3c1
3a2af7b4b801d9ba8d78713dcd1ed57ee35c0992
/zerver/migrations/0252_realm_user_group_edit_policy.py
193fc7b1dd485ddd9141dc56f8df8b74a6d6ce4b
[ "Apache-2.0", "LicenseRef-scancode-free-unknown" ]
permissive
timabbott/zulip
2b69bd3bb63539adbfc4c732a3ff9d52657f40ac
42f239915526180a1a0cd6c3761c0efcd13ffe6f
refs/heads/master
2023-08-30T21:45:39.197724
2020-02-13T23:09:22
2020-06-25T21:46:33
43,171,533
6
9
Apache-2.0
2020-02-24T20:12:52
2015-09-25T19:34:16
Python
UTF-8
Python
false
false
481
py
# Generated by Django 1.11.24 on 2019-10-16 22:48 from django.db import migrations, models USER_GROUP_EDIT_POLICY_MEMBERS = 1 class Migration(migrations.Migration): dependencies = [ ('zerver', '0251_prereg_user_add_full_name'), ] operations = [ migrations.AddField( model_name=...
[ "tabbott@zulipchat.com" ]
tabbott@zulipchat.com
81188d5b2d23e61395e9820152770631110e1d4c
72b3abf09f2194a1ff585adf41c17967690f7b4e
/django_ocr_server/apps.py
28e4b3dff86f497feb2c001fc0484d343b4c6ced
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
tjennt/django_ocr_server
f4ea50332aa53fd7a31d99b9a4256a63e06e1018
3c11bec5a9220495ac3d4ab26c21a3ff0cbbf946
refs/heads/master
2023-02-03T14:03:06.663555
2020-12-25T09:55:24
2020-12-25T09:55:24
325,015,857
1
0
null
null
null
null
UTF-8
Python
false
false
307
py
""" django_ocr_server/app.py """ __author__ = 'shmakovpn <shmakovpn@yandex.ru>' __date__ = '2019-04-03' from django.apps import AppConfig class DjangoOcrServerConfig(AppConfig): """ OCR Server configuration 2019-04-03 """ name = 'django_ocr_server' verbose_name = 'Django OCR Server'
[ "shmakovpn@yandex.ru" ]
shmakovpn@yandex.ru
54e12dbe5a4d60f9a50b0e73d904eb0d72b739c2
4b4df51041551c9a855468ddf1d5004a988f59a2
/leetcode_python/Stack/ternary-expression-parser.py
fbe3909facf957c331b0d152f46e4b269d143d5c
[]
no_license
yennanliu/CS_basics
99b7ad3ef6817f04881d6a1993ec634f81525596
035ef08434fa1ca781a6fb2f9eed3538b7d20c02
refs/heads/master
2023-09-03T13:42:26.611712
2023-09-03T12:46:08
2023-09-03T12:46:08
66,194,791
64
40
null
2022-08-20T09:44:48
2016-08-21T11:11:35
Python
UTF-8
Python
false
false
695
py
# V0 # V1 # V2 # Time: O(n) # Space: O(1) class Solution(object): def parseTernary(self, expression): """ :type expression: str :rtype: str """ if not expression: return "" stack = [] for c in expression[::-1]: if stack and stack[...
[ "f339339@gmail.com" ]
f339339@gmail.com
29e8dd76f93577ffcbbdd00fce9480d1d0ff3d4a
7cf599584efad0bec34441e49fe4a0b7a970c149
/web_s/models.py
788acf710512ef9b1c3418f18383dc6ca62e19d6
[]
no_license
imreplay/mnu-engn-chatbot
8ca78534100b64cea5aab11069f0e70f3a65e83b
3297c890da6d4b4b301abb753cd95c1355f36eec
refs/heads/master
2021-03-18T04:53:54.729789
2020-03-24T09:33:26
2020-03-24T09:33:26
247,047,422
0
0
null
null
null
null
UTF-8
Python
false
false
1,242
py
from django.db import models # Create your models here. class User(models.Model): class Meta: verbose_name = '사용자' verbose_name_plural = '사용자 목록' def __str__(self): return f"{self.department.replace('학과','')} {self.name}" check_verify = ( ('verified', '승인됨'), ('unverified','승인대기'), ) na...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
0c27ed900a118e65555aa66ede96ba20c1a3f50d
3dcef13e8190c30b7bc342ac9af72e08743994c1
/bnptool/__init__.py
82d6139938e44cae8050c26c4f73cd8e6c45c818
[ "MIT" ]
permissive
jordanbtucker/bnptool
787fa766ee1d724c18c66e7ce02af23a67f34c56
2f75d343ff45b2dd4966a17bca6bc1d1e6e91186
refs/heads/main
2023-08-19T07:16:23.955700
2021-08-11T02:13:09
2021-08-11T02:13:09
402,192,142
0
0
MIT
2021-09-01T20:18:32
2021-09-01T20:18:32
null
UTF-8
Python
false
false
45
py
from bnptool import * __version__ = "1.0.0"
[ "linktlh@gmail.com" ]
linktlh@gmail.com
37d9c03ad865be66e849db5a993665a8f9162be4
741143ad1428c4cb3d3b5c6f24dda5245fb37cd3
/PYTHON/2343(accepted).py
77b321ec71a67956552fd419cbbf5c9615821387
[]
no_license
marcelcosme/URI
162f2c5e6d462a157394e7f34281abf927fe26aa
fb7dd54ac584c3aee7e00c499d8fd8eceec111cd
refs/heads/master
2022-12-24T15:51:43.832585
2020-09-12T15:46:14
2020-09-12T15:46:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
138
py
r = 0 x = int(input()) l = [] for i in range(0, x): y = str(input()) l.append(y) if len(set(l)) != len(l): r = 1 print(r)
[ "juliane_maru@yahoo.com.br" ]
juliane_maru@yahoo.com.br
bebdb9b53fec9cf6bc32c61d069dc75f8b6f0337
aa4d4f79f5b2e73571953f657c4afe625dcec888
/djpagan/wsgi_default.py
b23ff18883a6460251358ee503e9eb84a8245cff
[ "MIT" ]
permissive
carthage-college/django-djpagan
da0656ffe6debe5df195764beed009fb7f3fa579
311d556ed0216f25bb5d95c96f4e7912514a9122
refs/heads/master
2023-03-07T06:47:11.842584
2023-02-24T18:09:09
2023-02-24T18:09:09
56,244,099
0
0
MIT
2023-02-24T18:09:48
2016-04-14T14:27:25
Python
UTF-8
Python
false
false
641
py
import os import sys # python sys.path.append('') sys.path.append('') # django os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'djpagan.settings.production') os.environ.setdefault('PYTHON_EGG_CACHE', '/var/cache/python/.python-eggs') os.environ.setdefault('TZ', 'America/Chicago') # informix os.environ['INFORMIXSERVER'...
[ "plungerman@gmail.com" ]
plungerman@gmail.com
a3e2e7088c78ad8e72f62c28eec793f7817dbf9d
d3ce58c4576431df14de0990f45cfd574f0aa45f
/.history/riskCalculator/forms_20201020002944.py
4cdfa5193ed62fcfc804c0520818b5fc1395028f
[]
no_license
rahulsolankib/portfolio
fe93f0e6b0b28990f0b9fad84dbf7c3aa07243c4
281ed429e2590376aee4649b2ea7b3e8facaf6f1
refs/heads/master
2023-01-02T06:55:21.319094
2020-10-26T08:55:22
2020-10-26T08:55:22
305,586,595
0
0
null
null
null
null
UTF-8
Python
false
false
805
py
from django import forms from .models import Que,RiskModel class QForm(forms.Form): age_group=( (1,'Less than 25 years') ,(2,'25-35 years') ,(3,'36-40 years') ,(4,'51 above') ) ques1 = forms.TypedChoiceField(label='Which age group do you belong?',choices=a...
[ "rahulsolankib@gmail.com" ]
rahulsolankib@gmail.com
34a22998bceef017d403d36c641b873612a71c3e
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_easterners.py
3f8c8e6ff8388e07e7efb2bc84fcfa06b3b50d60
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
234
py
#calss header class _EASTERNERS(): def __init__(self,): self.name = "EASTERNERS" self.definitions = easterner self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['easterner']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
971b3fcb497a9daea57fdf2fb6940e19563c7013
c913c952cf4019d67f02bf1971917116da375c81
/Data/OMIMresults/omimResults20to40.py
6ff2213684d97eed870778a1c4325fe6cb0a56af
[]
no_license
jiangchb/OMIMscraping
57afa5b2f8b7ca975e7459814e0410a872f71990
27d4ac8faea526b1c70937317caec064bed00a0a
refs/heads/master
2022-03-14T21:35:56.102665
2019-11-22T15:48:48
2019-11-22T15:48:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
90,364
py
omim = {'omim': { 'version': '1.0', 'searchResponse': { 'search': '*', 'expandedSearch': '*:*', 'parsedSearch': '+*:* ()', 'searchSuggestion': None, 'searchSpelling': None, 'filter': '', 'expandedFilter': None, 'fields': '', 'searchReport': None, 'totalResults': 7368, 'startIndex': 20, 'endIndex': 39, 'so...
[ "jhostyk@gmail.com" ]
jhostyk@gmail.com
3aa51c1d8e60b60263a2abc7e482bd3c81907354
85d5120edf435f6c474ddf8590bd2c25c7b95f1e
/pyEX/commodities/commodities.py
20b1c752ed4ec38dc439fc7880c9286a532f0320
[ "Apache-2.0" ]
permissive
bradwhitcomb/pyEX
9a745f59b8a4ee67278515578ab662193efe6187
d34173f459470237f132b0458474e97c1f858c55
refs/heads/main
2023-03-05T15:39:44.729804
2021-02-22T00:47:44
2021-02-22T00:47:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,884
py
# ***************************************************************************** # # Copyright (c) 2020, the pyEX authors. # # This file is part of the pyEX library, distributed under the terms of # the Apache License 2.0. The full license can be found in the LICENSE file. # from enum import Enum from functools import ...
[ "t.paine154@gmail.com" ]
t.paine154@gmail.com
cd9d849229630a0ae61db32ffe0ce2b246ac22e1
549270020f6c8724e2ef1b12e38d11b025579f8d
/recipes/winmd/all/conanfile.py
1882e7a4ae70325d1b863d57019669a61d6255a0
[ "MIT" ]
permissive
conan-io/conan-center-index
1bcec065ccd65aa38b1fed93fbd94d9d5fe6bc43
3b17e69bb4e5601a850b6e006e44775e690bac33
refs/heads/master
2023-08-31T11:34:45.403978
2023-08-31T11:13:23
2023-08-31T11:13:23
204,671,232
844
1,820
MIT
2023-09-14T21:22:42
2019-08-27T09:43:58
Python
UTF-8
Python
false
false
2,440
py
import os from conan import ConanFile from conan.errors import ConanInvalidConfiguration from conan.tools.build import check_min_cppstd from conan.tools.files import copy, get from conan.tools.layout import basic_layout from conan.tools.scm import Version from conan.tools.microsoft import is_msvc, check_min_vs requir...
[ "noreply@github.com" ]
conan-io.noreply@github.com
02ef9c72a75c0558cdf68fd27e4723dc0d7728ba
82da6d0ee5ed9c4e641690dbe3d348c06d78c707
/investment_portfolio/taskapp/celery.py
1e0cdae1edd648804100a1e212fc3e78890ac882
[]
no_license
vladimirmyshkovski/investment_portfolio
acf75d6a168498578f161f912e024b156f4b2935
6492f2a772c57528ed575146a9401891e2df012c
refs/heads/master
2021-09-03T07:09:44.946613
2018-01-06T19:18:03
2018-01-06T19:18:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,099
py
import os from celery import Celery from django.apps import apps, AppConfig from django.conf import settings if not settings.configured: # set the default Django settings module for the 'celery' program. os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'config.settings.local') # pragma: no cover app = Cele...
[ "narnikgamarnikus@gmail.com" ]
narnikgamarnikus@gmail.com
065ce199ecafdea460d0c8df70046a36c822d3cc
9f118ed377f62c84ff46710d15bfeb60ff43a514
/LPHTW/projects/Battleship.py
48aa249b4842decac7f519b669507f1397704007
[]
no_license
srujanprophet/PythonPractice
382f8bd5cc3f70504c3d62c1d8795c7451b344dc
ebc13e9f21a6b0f594d10b8524ef358c797979de
refs/heads/master
2021-09-12T15:37:22.423484
2018-04-18T05:05:59
2018-04-18T05:05:59
67,717,033
0
0
null
null
null
null
UTF-8
Python
false
false
5,037
py
from random import randint def foo(): menu() def QG(): board = [] for x in range(5): board.append(["O"] * 5) def print_board(board): for row in board: print " ".join(row) print "Let's play Battleship!" print "You have 11 chances" print_board(board) def random_row(board): return randint(1, ...
[ "noreply@github.com" ]
srujanprophet.noreply@github.com
8298a22122e825b8f53c5942fa9ca314f630114f
7208db50a22368c335e7d7d8b37a3fedb09c60e5
/cairis/gui/ReferenceContributionPanel.py
5efe4128f6086c7f34bcc4984ea26cf924197a64
[ "Apache-2.0" ]
permissive
nebloc/cairis
41c7f20af56c46bddcb3927dc4aa410f6477e6ed
1277a148a270d5471b59fc238aa6590bc1d3044e
refs/heads/master
2020-03-24T03:51:11.908096
2018-07-27T16:07:36
2018-07-27T16:07:36
142,434,768
0
0
Apache-2.0
2018-07-26T11:58:24
2018-07-26T11:58:24
null
UTF-8
Python
false
false
2,561
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may...
[ "shamal.faily@googlemail.com" ]
shamal.faily@googlemail.com
b85e656f8e0a6aea56df1a554ecddc5463f1c14c
ef90992dc00640f42ec615075a9b030b771f81e4
/python-machine-learning/ch06/ch06-5/lev-distance.py
8aafd51d627b08c94b0e28d0148d3d6cafebb107
[]
no_license
korea7030/pythonwork
88f5e67b33e9143eb40f6c10311a29e08317b77e
70741acb0477c9348ad3f1ea07a183dda82a5402
refs/heads/master
2023-01-08T01:47:15.141471
2020-09-09T13:28:20
2020-09-09T13:28:20
54,378,053
0
0
null
2022-12-26T20:25:43
2016-03-21T10:00:07
Jupyter Notebook
UTF-8
Python
false
false
1,530
py
# -*- coding: utf-8 -*- def calc_distance(a, b): '''레벤슈타인 거리 계산하기 : 단어 A와 B가 얼마나 유사한지를 측정하기 위해 A를 B로 바꾸기 위해 문자열을 어떻게 수정해 나가야 하는지 규정하고 그 수정횟수를 두 단어 사이의 거리라고 칭함 ''' if a == b: return 0 a_len = len(a) b_len = len(b) if a == "": return b_len if b == "": return a_...
[ "korea7030@naver.com" ]
korea7030@naver.com
40ad27c46f8cd1029ff79e6558220fc6b523b799
3866b9f4357f4ecc8c58f6b3066776e8700aeecb
/tests/fs/test_fs_utilities.py
4f4d1ad7784a7a6a3a7a357db282b2fc636ba99c
[ "MIT" ]
permissive
ryankanno/py-utilities
973a7634e455a688b88aa99ed8cecff8ed07ea3c
68c83a358ef4a607bbbe85d910fb2eba5136dd8e
refs/heads/master
2020-04-02T12:55:22.618886
2014-08-29T04:07:49
2014-08-29T04:07:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,285
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from ..helpers import write_file_contents from nose.tools import ok_ from nose.tools import raises import os from py_utilities.fs.fs_utilities import mkdir_p from py_utilities.fs.fs_utilities import rm_if_exists from py_utilities.fs.fs_utilities import rm_rf from py_utilit...
[ "ryankanno@localkinegrinds.com" ]
ryankanno@localkinegrinds.com
c2ba4e5c22cec0925abd2791f62b877c81db595c
9127210c320c6b94ff0806fa93f9fd17f92f94d5
/django/core/celery.py
21ec085da60cc1cf61142c326a65bd0ba8b629c7
[]
no_license
pillarploughandpython/universitas.no
bd6ddd7d7d4208fc967ce5baf395e2602a2e3392
aba03e344bdde7095e09ef2fd9757ef617f97dcb
refs/heads/master
2021-01-22T23:34:23.243839
2017-02-06T10:44:10
2017-02-06T10:44:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
267
py
# -*- coding: utf-8 -*- """ Configuration for the task runner celery """ from celery import Celery from django.conf import settings celery = Celery('core') celery.config_from_object('django.conf:settings') celery.autodiscover_tasks(lambda: settings.INSTALLED_APPS)
[ "haakenlid@gmail.com" ]
haakenlid@gmail.com
5cbe29d05964f9035aaa9aea9566982ea60d259a
3495de5b7cee8a3d0dd96324e7d4a49ac6e913bc
/virtual/bin/django-admin.py
134a5e35719f5ca3689cf8f2930621d9a0c0a35f
[]
no_license
lilianwaweru/work
55de269681fefaed45340157cc4cc88082c1c81f
a9afecf8a4e4464b6683e406247c567d6fbc31d6
refs/heads/master
2020-11-25T20:06:47.165507
2020-03-09T12:05:18
2020-03-09T12:05:18
228,823,905
0
0
null
null
null
null
UTF-8
Python
false
false
154
py
#!/home/lilian/Documents/kns/virtual/bin/python from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "lilowesh.lw@gmail.com" ]
lilowesh.lw@gmail.com
d8e7fe990f4107e5fdd2fea867c2d9e24143420d
3a5ea75a5039207104fd478fb69ac4664c3c3a46
/vega/modules/tensformers/embeddings.py
028506fc20b601b5d6ac7e91456bc0cf1c0ec7b1
[ "MIT" ]
permissive
fmsnew/vega
e3df25efa6af46073c441f41da4f2fdc4929fec5
8e0af84a57eca5745fe2db3d13075393838036bb
refs/heads/master
2023-06-10T04:47:11.661814
2021-06-26T07:45:30
2021-06-26T07:45:30
285,174,199
0
0
MIT
2020-08-11T14:19:09
2020-08-05T03:59:49
Python
UTF-8
Python
false
false
2,060
py
# -*- coding:utf-8 -*- # Copyright (C) 2020. Huawei Technologies Co., Ltd. All rights reserved. # This program is free software; you can redistribute it and/or modify # it under the terms of the MIT License. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the ...
[ "zhangjiajin@huawei.com" ]
zhangjiajin@huawei.com
624d5b32fbe6fa44fb316cb2b517eb337217530b
7dd2c86659d5b78663517aec8c77866079456509
/src/warhammer/_io/data_loader.py
784b7c1a015f804df7ab963559464739fb54415c
[ "MIT" ]
permissive
Peilonrayz/warhammer
8c0270627d22aa893397066909200e2f54ea0e90
76610bf3c64418f914efb9ff3336daacdd6c5c4c
refs/heads/master
2021-01-09T13:40:15.358542
2020-02-22T09:56:44
2020-02-22T09:56:44
242,322,542
0
0
null
null
null
null
UTF-8
Python
false
false
1,192
py
from __future__ import annotations from typing import Type from .. import models, unit from . import store class Effects: stores: store.StoreCollection def __init__(self, stores: store.StoreCollection) -> None: self.stores = stores def __getattr__(self, item: str) -> Type[models.Effect]: ...
[ "peilonrayz@gmail.com" ]
peilonrayz@gmail.com
36a3edddd3d93f3af9afe95a6086b504fa41d78b
3537265c1b60f0c0eb06d165a0b5779438fc698c
/py/rabbit/rpc_server.py
d4dc9cd7ea4c8c9158e928fad2641163d6ae53aa
[ "MIT" ]
permissive
iqihao/mabo.io
f864ba3e158d8c6ee113dd8c0ae8708cae86e9d1
7f646db9d5ee3cd0b137866bf8eaf295890f134c
refs/heads/master
2021-05-30T12:59:56.723936
2016-02-10T23:45:36
2016-02-10T23:45:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
930
py
# -*- coding: utf-8 -*- """ """ import pika connection = pika.BlockingConnection(pika.ConnectionParameters( host='localhost')) channel = connection.channel() channel.queue_declare(queue='rpc_queue') def fib(n): if n == 0: return 0 elif n == 1: return 1 else: return fib...
[ "aidear@163.com" ]
aidear@163.com
54dea7311e45697eea662d2820f20e16e861b9f1
3ee050f49034df774be6396d2fc2e497e937944d
/accounts/views.py
306f5cae289386920a27e274e9b8fa2a0a554668
[]
no_license
hyunsang-ahn/instagram
9b85f39115e10a2f47539fd96079d64c7e608944
8c414598cb44f980793c91389409ce4b8e49b290
refs/heads/master
2021-10-30T07:57:02.949798
2019-04-26T00:08:23
2019-04-26T00:08:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,425
py
from django.shortcuts import render, redirect from django.contrib.auth.forms import UserCreationForm, AuthenticationForm # 인증&권한:AuthenticationForm from django.contrib.auth import login as auth_login from django.contrib.auth import logout as auth_logout from .forms import CustomUserCreationForm, CustomUserChangeForm fr...
[ "happylovetkd@naver.com" ]
happylovetkd@naver.com
56045b31cadcff37fa1c5a7f29e57237924facc5
dbe1f4110921a08cb13e22ea325d503bd5627195
/chuhuo_2.7_clickhouse/bluedon/bdwafd/newscantools/plugins/EmailDiscloseScript.py
853f0acd1978dca213a92317abc4305408a556ec
[]
no_license
Hehouhua/waf_branches
92dc1b1cbecba20f24ef6c7372dde7caa43f9158
ca76f3a1ed8150b423474c9e37aee37841a5ee35
refs/heads/main
2023-01-07T11:33:31.667688
2020-11-03T06:58:33
2020-11-03T06:58:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,544
py
#!/usr/bin/python # -*- coding: utf-8 -*- import re from lib.common import * def run_url(http,ob,item): try: result = [] if item['method'] != 'get': return [] #end if #temp = item['url'].lower() #if temp.find(".css") >= 0 or temp.find(".js") >= 0: ...
[ "hanson_wong@qq.com" ]
hanson_wong@qq.com
c537a3293bccb2282c72331a9a94d696208150c5
dc804a7bb999aa91c37c9015f9fd7d9c5ba1901f
/src/tweet/urls.py
90207e9c42fcbb69ee18df4dc66631ff3ca116ff
[]
no_license
samarthhegdekalgar/Twitter
eda9f0b3baa46fc6cbd1bcd87f2ad75e3e88bcd7
a133563639dcf86d08ceb2a6c77acc69b257d273
refs/heads/master
2020-09-05T21:56:10.690671
2019-11-13T07:37:04
2019-11-13T07:37:04
220,224,386
0
0
null
2019-11-13T07:37:05
2019-11-07T11:46:00
Python
UTF-8
Python
false
false
438
py
from django.urls import path from .views import TweetListAPIView, TweetCreateAPIView, TweetUpdateAPIView, TweetDestroyAPIView urlpatterns = [ path('', TweetListAPIView.as_view(), name='tweet-list'), path('create/', TweetCreateAPIView.as_view(), name='create-tweet'), path('update/<int:pk>', TweetUpdateAPIVi...
[ "samarthhegdekalgar@gmail.com" ]
samarthhegdekalgar@gmail.com
2508d6218648225d2424586e287ec4f069268b5f
d60c06ce1cf676752c4d2331315a5fa4a18389b0
/文件操作/excel/02xlwt存储.py
6db8d2aa7edfd73d9a8471a78ff9e45d02247a43
[ "MIT" ]
permissive
HuangCongQing/Spider
f9bab6462ba7e2525a3297fceb0a0bc6f2b5e61a
f0204b8bc60ad4f78f1606a9e5c4c157094fea9b
refs/heads/master
2023-07-05T23:19:00.272380
2023-07-04T12:29:27
2023-07-04T12:29:27
134,965,705
14
13
null
null
null
null
UTF-8
Python
false
false
1,828
py
''' Description: 存储excel 参考:https://blog.csdn.net/wangkai_123456/article/details/50457284? Author: HCQ Company(School): UCAS Email: 1756260160@qq.com Date: 2021-01-04 21:41:17 LastEditTime: 2021-01-05 11:36:35 FilePath: /Spider/文件操作/excel/02xlwt存储.py ''' # _*_ coding:utf-8 _*_ #------------------------------------...
[ "1756260160@qq.com" ]
1756260160@qq.com
c7b589c115335f15f21057e1ac1eb7d8462dff83
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/480/usersdata/328/110379/submittedfiles/Av2_Parte2.py
002c9165ca38c85801d7b00acb67a8d58504e27b
[]
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
79
py
# -*- coding: utf-8 -*- l=[] l.append(n=int(input('Digite o Valor desejado:'))
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
ff2fed097d4cb603e517467445a6671ea3c96285
0f637888c1706c3bb6ee57065013256433780b37
/test/038.py
f39facca3304254b03a1e409fe19781a078dd350
[]
no_license
DeepxHyeon/python-100
8699e096dc79d91d874076b7a28683127b8c5ac1
bea1e5a3244e286db02fec5e263393e4c6136f59
refs/heads/master
2022-11-05T10:39:32.327252
2020-06-20T12:34:20
2020-06-20T12:34:20
266,347,629
0
0
null
null
null
null
UTF-8
Python
false
false
284
py
# 문제 038 : 호준이의 아르바이트 input = input().split() result = [] for i in input: result.append(int(i)) count = 0 for i in range(3): top = max(result) count += result.count(top) for j in range(result.count(top)): result.remove(top) print(count)
[ "deepxhyeon@gmail.com" ]
deepxhyeon@gmail.com
533a7e246b5828ceb5e4d2b17d8f29021719a9c9
aa0270b351402e421631ebc8b51e528448302fab
/sdk/containerservice/azure-mgmt-containerservice/generated_samples/agent_pools_create_custom_node_config.py
41597102f0a2cc3dd6a93d356f96d9e7e2409f2b
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
fangchen0601/azure-sdk-for-python
d04a22109d0ff8ff209c82e4154b7169b6cb2e53
c2e11d6682e368b2f062e714490d2de42e1fed36
refs/heads/master
2023-05-11T16:53:26.317418
2023-05-04T20:02:16
2023-05-04T20:02:16
300,440,803
0
0
MIT
2020-10-16T18:45:29
2020-10-01T22:27:56
null
UTF-8
Python
false
false
2,845
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" ]
fangchen0601.noreply@github.com
b5086e1391fc1aea4e83878a232ed8d8bc6539ae
baa2c6f22ff563d417e34692bf3345077eb8fa5f
/tools/testupload
77adbe79055c7c6830a3de0721fa317b13e89327
[ "BSD-3-Clause" ]
permissive
ipython/ipython
c42ea223b6e391bb7dd39888cb959d4d5d6b21a1
e5103f971233fd66b558585cce7a4f52a716cd56
refs/heads/main
2023-08-30T18:27:18.436521
2023-08-29T12:16:00
2023-08-29T12:16:00
658,518
13,673
4,729
BSD-3-Clause
2023-09-12T20:22:09
2010-05-10T04:46:06
Python
UTF-8
Python
false
false
618
#!/usr/bin/env python """Simple upload script to push up into the testing directory a local build """ from __future__ import print_function from toollib import * # Get main ipython dir, this will raise if it doesn't pass some checks ipdir = get_ipdir() distdir = pjoin(ipdir, 'dist') # Load release info execfile(pjoi...
[ "Fernando.Perez@berkeley.edu" ]
Fernando.Perez@berkeley.edu
f69afcdb3653cd251cfb4b6cff6a128b85e0e8b2
74f0c966d09786f447ad60bf837ea342cb405874
/neutron/tests/unit/plugins/ml2/drivers/linuxbridge/agent/test_linuxbridge_neutron_agent.py
02c29448e79b28ba7037dea52ed9439cd19a5969
[ "Apache-2.0" ]
permissive
mrwukang/neutron
ad354d19a6ba4ec9a92b4e54d02cf1bbfd66e47e
ebdb2ad1213eaf09c6a3f061a94ff4453c3e7506
refs/heads/master
2020-04-11T18:24:09.601969
2019-01-02T15:42:05
2019-01-02T15:42:05
161,997,228
1
0
null
null
null
null
UTF-8
Python
false
false
53,658
py
# Copyright (c) 2012 OpenStack Foundation. # # 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...
[ "wukangmr@163.com" ]
wukangmr@163.com
e961a236c855ed87af5be4c4293dbc979b7800cf
c6858de561523d60370d785d8fced373fb9630a3
/SingleServerSingleClient/Server.py
7b09360653c1c5b2e36d7832d084996ccc15f22f
[]
no_license
VineetPrasadVerma/Simple-Chat-Application
b392a627c5666c8cbd98a5bd52b11ae4e76e4a85
cac5c99974c76c2ae4d72012d6f92ce298e94b0e
refs/heads/master
2020-06-03T14:50:21.343280
2019-06-12T17:41:32
2019-06-12T17:41:32
191,612,939
0
0
null
null
null
null
UTF-8
Python
false
false
681
py
import socket import time import sys s = socket.socket() host = socket.gethostname() print("Server will start on host :",host) port =8080 s.bind((host, port)) print() print("Server done binding to host and port successfully") print() print("server is waiting for incoming connection") print() s.listen(1) conn, addr = ...
[ "vineetpd1996@gmail.com" ]
vineetpd1996@gmail.com
3b214eda9fa0e1900655325779373956005773d6
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03588/s493020537.py
fb150d3d1f4c14cf3f0660d194bc28e0d4650f27
[]
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
184
py
import sys readline=sys.stdin.readline read=sys.stdin.read n=int(readline()) p=[list(map(int,lst.split())) for lst in read().splitlines()] e=max(p, key=lambda x:x[0]) print(e[0]+e[1])
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
b7a5814f3aad905957e34fa6926276aaaa1f69fc
806bf6a28854da12df7fad1deefa175f4e974ad6
/visualization/c4.2.15.py
92521c90bf21faad8d4e0064e0d9f3f44b673f77
[]
no_license
qliu0/PythonInAirSeaScience
ba613e61ce331e5e2b4b5c0045f0223cde42718b
1c8d5fbf3676dc81e9f143e93ee2564359519b11
refs/heads/master
2023-08-28T08:24:15.894918
2021-08-26T12:26:58
2021-08-26T12:26:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
335
py
import numpy as np from mayavi import mlab # 创建间距为1的6个点 x = [1, 2, 3, 4, 5, 6] y = [0, 0, 0, 0, 0, 0] z = y # 提供一个变化为0.5到1的标量 s = [.5, .6, .7, .8, .9, 1] # 使用points3d进行绘图 mlab.figure(bgcolor=(1, 1, 1), size=(400,150)) pts = mlab.points3d(x, y, z, s) mlab.view(-90, 90, 4, [3.5, 0, 0])
[ "queensbarry@foxmail.com" ]
queensbarry@foxmail.com
9a0ed5af5e6669a7541730683ea666a8acff946b
79bf797423e4c591e33b199ae578fff328c811cd
/practico_02/ejercicio_01.py
54ee6711a85abc42c217954c8d2f9726c0a1ed13
[]
no_license
DanielDruetta/frro-soporte-2019-25
6512c7c7ebaca8429883a09dbaac5c8b4e49bf0c
5244116177a67023694cfd6966ff35d22d31c284
refs/heads/master
2020-04-29T05:15:10.050444
2019-11-01T18:46:54
2019-11-01T18:46:54
175,875,936
0
0
null
2019-08-16T18:44:23
2019-03-15T18:58:00
Python
UTF-8
Python
false
false
293
py
# Implementar la clase Rectangulo que contiene una base y una altura, y el método area. class Rectangulo: def __init__(self,base,altura): self.base=base self.altura=altura def area(self): return self.base * self.altura assert Rectangulo(2,3).area() == 6
[ "franmrivera@gmail.com" ]
franmrivera@gmail.com
97285542cf8880c81c3c3ad0ec9eb2a49c234b93
a5d418868bdc1d81719cd111f2787f2c5137518c
/PyStudy/day09/userdb.py
665581ff110ff2db878e4f678a19d83c810684b3
[]
no_license
sohn0356-git/TIL
aa0e89b2d163a342fc99e93b0552b73bf1db9e4a
9c7447326caed4d25044a0ab559744ffc469924c
refs/heads/master
2023-07-15T23:33:19.650261
2021-08-24T11:04:12
2021-08-24T11:04:12
327,533,782
0
1
null
null
null
null
UTF-8
Python
false
false
1,295
py
from sqlitedb import * class UserDB(SqliteDB): def __init__(self, dbName): super().__init__(dbName) def insert(self, user): """Insert usertb Table""" cc = self.getConnect() cc['cursor'].execute(Sql.sqlInsertUser % user.sqlmap()) cc['con'].commit() self.close(cc)...
[ "sohn0356@gmail.com" ]
sohn0356@gmail.com
1e98c7cf6e67f3ce103b1a385734f037ea52cdd8
e7d85c42cf20fb22558607828c10743d245a5fce
/450 Questions Of Data Structure/Qu1 Array.py
31e8ad53d989e7b425894fe75aa431a75c0ce1d6
[]
no_license
Pankaj-GoSu/Python-Data-Structure-Exercises
e0af5793954f7ae10d132b515c99ff0db8fe45fd
df2c08054becf84e2869d577e4ea9ff3414608df
refs/heads/master
2023-07-07T00:19:59.740295
2021-08-01T15:18:31
2021-08-01T15:18:31
374,333,987
0
0
null
null
null
null
UTF-8
Python
false
false
968
py
# ===== Reverse the array ==== ''' Example - Input - [1,2,3,4,5] output - [5,4,3,2,1] ''' # First method # Time complexity --> O(n) list = [1,2,3,4,5] reverse_list1 = [] for item in list: reverse_list1.insert(0,item) print("Method 1 result") print(reverse_list1) # secoond method recursion reverse_list2 =[] d...
[ "Pankajgoswami330@gmail.com" ]
Pankajgoswami330@gmail.com
27fb45373eb33b40669d06b19bad857101706324
e28009b0a4584e8d128ed6fbd4ba84a1db11d1b9
/744.Find Smallest Letter Greater Than Target/744.Find Smallest Letter Greater Than Target.py
8978bb2b1dc149ff807f57ed22716fd03d5dfe07
[]
no_license
jerrylance/LeetCode
509d16e4285296167feb51a80d6c382b3833405e
06ed3e9b27a3f1c0c517710d57fbbd794fd83e45
refs/heads/master
2020-12-02T23:10:27.382142
2020-08-02T02:03:54
2020-08-02T02:03:54
231,141,551
3
0
null
null
null
null
UTF-8
Python
false
false
1,288
py
# LeetCode Solution # Zeyu Liu # 2019.4.12 # 744.Find Smallest Letter Greater Than Target from typing import List # method 1 ord() class Solution: def nextGreatestLetter(self, letters: List[str], target: str) -> str: if ord(target) >= ord(letters[-1]): return letters[0] for i in...
[ "noreply@github.com" ]
jerrylance.noreply@github.com
542c76dc06c1f197a64cd2112971644a915f55b0
d842a95213e48e30139b9a8227fb7e757f834784
/gcloud/google-cloud-sdk/.install/.backup/lib/surface/deployment_manager/types/create.py
25220a68a56329526aa6b3061ea932b910c38b4d
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "MIT" ]
permissive
bopopescu/JobSniperRails
f37a15edb89f54916cc272884b36dcd83cdc868a
39e7f871887176770de0f4fc6789e9ddc7f32b1f
refs/heads/master
2022-11-22T18:12:37.972441
2019-09-20T22:43:14
2019-09-20T22:43:14
282,293,504
0
0
MIT
2020-07-24T18:47:35
2020-07-24T18:47:34
null
UTF-8
Python
false
false
3,872
py
# -*- coding: utf-8 -*- # # Copyright 2016 Google LLC. 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 requir...
[ "luizfper@gmail.com" ]
luizfper@gmail.com
408cf1f6937ed2df924952641f713bf0e34bc4be
c38b292e7bfaa95ac9a5fbf56d247403941139f4
/user_register/models.py
d7906e76002a47fbdaad15637ad7d98c461e7d79
[]
no_license
poojapauskar/vzcards-api
f6a79938ee032c1da1d04b86a266d939d73b8797
ed0185f36e274d46f978a8f670a4189571280e8b
refs/heads/master
2020-12-29T02:38:14.288750
2017-08-08T12:30:51
2017-08-08T12:30:51
44,667,282
0
0
null
null
null
null
UTF-8
Python
false
false
3,139
py
from django.db import models import time from pygments.lexers import get_all_lexers from pygments.styles import get_all_styles from django.core.validators import RegexValidator from pygments.lexers import get_lexer_by_name from pygments.formatters.html import HtmlFormatter from pygments import highlight import random ...
[ "git.poojapauskar@gmail.com" ]
git.poojapauskar@gmail.com
a161fbcc5985b22e98657ff6f658fe027b650b15
60ce73bf2f86940438e5b7fecaaccad086888dc5
/working_scrapers/Louisiana_baton_rouge.py
0d4b5ceddb1bbd62726d22b55d9bfd5e43860d7d
[]
no_license
matthewgomies/jailcrawl
22baf5f0e6dc66fec1b1b362c26c8cd2469dcb0d
9a9ca7e1328ae549860ebeea9b149a785f152f39
refs/heads/master
2023-02-16T06:39:42.107493
2021-01-15T16:37:57
2021-01-15T16:37:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,707
py
from urllib.request import urlopen, Request import pandas as pd import os import time import numpy as np from datetime import datetime import datetime as dt import sys from io import StringIO from joblib import Parallel, delayed import requests from jailscrape.common import save_to_s3, get_browser, get_logger, record_e...
[ "jborowitz@gmail.com" ]
jborowitz@gmail.com
c78b0fc925ff8e8859f096b72891da93268771ee
dac3a695b895c0170c350054fcc52d95f0daef5d
/data/level/level240.py
4efa9d88b40d88bcff7f503befe789e2f131f1b7
[ "Apache-2.0" ]
permissive
xingchen1106/match3-level-similarity
aad87de6e54c5bdc89cf4dac168559d11997d496
cc9b28b8741b41bea1273c8bc9b4d265d79a1dca
refs/heads/master
2021-05-22T02:48:09.444957
2019-07-19T09:19:09
2019-07-19T09:19:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,608
py
data = { 'level_index': 240, 'move_count': 22, 'board_info': { (0, 0): { 'prev': (0, -1), 'next': (0, 1), 'base': (4, 1), 'cover': (61, 1) }, (0, 1): { 'prev': (0, -1), 'next': (0, 1), 'base': (2, 1),...
[ "salild1011@gmail.com" ]
salild1011@gmail.com
13126732775df3ee55d218925bdead3228da72ed
7bd5ca970fbbe4a3ed0c7dadcf43ba8681a737f3
/atcoder/abc/abc028/c.py
f6ac7e05ff0078032c9b76ef23bb2f53ddf0f317
[]
no_license
roiti46/Contest
c0c35478cd80f675965d10b1a371e44084f9b6ee
c4b850d76796c5388d2e0d2234f90dc8acfaadfa
refs/heads/master
2021-01-17T13:23:30.551754
2017-12-10T13:06:42
2017-12-10T13:06:42
27,001,893
0
0
null
null
null
null
UTF-8
Python
false
false
206
py
nums = map(int, raw_input().split()) ans = [] for i in xrange(5): for j in xrange(i + 1, 5): for k in xrange(j + 1, 5): ans.append(nums[i] + nums[j] + nums[k]) print sorted(ans)[-3]
[ "roiti46@gmail.com" ]
roiti46@gmail.com
db2abaf6eefdeaf3d90a2a2e20055df7d923cacb
361adca9f871ae8ca03f1d4bedff99b3de5fd0a4
/cameras/disparity_stats/scripts/bwssand2_random_load_disparity_stats_sandwich.py
940c2f7c0350c9ada1e2a235dac30b721fd95c69
[]
no_license
Berkeley-BORIS/NDS-Code
123fb76eb7c339a2dd8dd17fd8110520839e4a50
aca912e22d62980ae78729355ad2b3b761186da3
refs/heads/master
2016-09-06T10:30:00.075969
2015-03-24T18:44:33
2015-03-24T18:44:33
39,850,584
0
0
null
null
null
null
UTF-8
Python
false
false
1,123
py
import os from create_disparity_stats_matrix import * def find_start_frame(src_dir): """ Finds the first frame number """ imlist = os.listdir(src_dir) imlist.sort() imname_components = imlist[0].strip('.npy').split('_') return int(imname_components[-1]) subj = 'bwssand2' fixation_flag = '...
[ "bill.sprague@berkeley.edu" ]
bill.sprague@berkeley.edu
b4692a9014bbc790e0d9ddd3c9752519716087c7
930822ded3de346524648244a6f8edc3e7a2a038
/leetcode/FindPath.py
bdb5cf98d15cb40f6147de35da246d588fcd8a89
[]
no_license
xy2333/Leetcode
4ad317fa21d3b3c37859e76b25a87993c22ca1b2
5915e039868527d624ee4f0ad431d23c6ed2d8bd
refs/heads/master
2020-06-19T13:30:14.755534
2019-08-12T02:12:03
2019-08-12T02:12:03
196,726,468
1
0
null
null
null
null
UTF-8
Python
false
false
1,074
py
# -*- coding:utf-8 -*- class TreeNode: def __init__(self, x, left=None, right=None): self.val = x self.left = left self.right = right class Solution: # 返回二维列表,内部每个列表表示找到的路径 def __init__(self): self.res = [] def FindPath(self, root, expectNumber): # write code ...
[ "2531188679@qq.com" ]
2531188679@qq.com