blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
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
684 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
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
73c51bd8b69ff04900fb067a2c58ac2d9905d963
5b34a971b0c0e81fd7fbb85985ac953ac74438bd
/data_centre/config.py
cb5d3fbd6622dbdf288ecfc6cebdcf24c37f87bd
[]
no_license
smellycats/SX-DataCentre
e6c90395ae1a6f3cf03702603480b705b0872eca
c906e29f42008d96b6abe677ded267aa033cb63e
refs/heads/master
2021-01-10T03:24:36.887224
2015-06-06T18:59:59
2015-06-06T18:59:59
36,661,760
0
0
null
null
null
null
UTF-8
Python
false
false
260
py
# -*- coding: utf-8 -*- DEBUG = False # 版本号 VERSION = '0.1.0' BASEPATH = 'C:\\' # 盘符 DEVICE = 'D:\\' MAX_CONTENT_LENGTH = 16 * 1024 # peewee数据库 DATABASE = 'datacentre.db' SQLALCHEMY_DATABASE_URI = 'sqlite:///test.db' SQLALCHEMY_BINDS = {}
[ "smellycat2014@foxmail.com" ]
smellycat2014@foxmail.com
b21b1ecc78edb9f29e15e814a9fa1ebee5c747de
9cf434b6ee59ab22496ee031fb4ab145bbaff1a2
/tranque_v1.5.1_source/backend-v1.5.1/src/targets/management/commands/graphtimeseries.py
6b163bc221f59a4785d54702cbf2d8878b216a25
[]
no_license
oliverhernandezmoreno/SourcesOH
f2ff1a5e3377f0ac1fb8b3153d99d0ee703700b7
5d9ca5ab1caceafd4d11207139c9e56210156ef8
refs/heads/master
2023-01-05T02:51:25.172103
2020-08-27T14:39:34
2020-08-27T14:39:34
64,422,812
0
1
null
2022-12-30T17:25:10
2016-07-28T19:33:44
JavaScript
UTF-8
Python
false
false
1,021
py
import sys from django.core.management.base import BaseCommand from targets.graphs import graph from targets.models import Timeseries class Command(BaseCommand): help = "Builds an SVG dependency or influence graph for the given time series" def add_arguments(self, parser): parser.add_argument( ...
[ "oliverhernandezmoreno@gmail.com" ]
oliverhernandezmoreno@gmail.com
e7a588bcdf4dedf184496bd375cc5267abf5c1d7
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/web/v20200601/list_web_app_metadata_slot.py
87bde52cef62a06bbe99e14134e7d6b031a75f45
[ "Apache-2.0", "BSD-3-Clause" ]
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
3,838
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 __...
[ "noreply@github.com" ]
morrell.noreply@github.com
6a11fb4392ec4779b7c193f29c0bed1461ef02d6
b0c044d7dafc84ff79b8ebeea496d4b6b66a6c94
/virtual/bin/django-admin
45105c91120fc3c943d1ec9a339ebc7d8aea1b28
[ "MIT" ]
permissive
amiinegal/Awwards
625e27e5c78ed07333a625d0a3d94ed58f03f064
dd667a1ffbd3fa9b90c8282d44d497b3a9d0c1ed
refs/heads/master
2021-09-08T11:41:16.850371
2019-05-30T06:07:16
2019-05-30T06:07:16
188,541,252
0
0
null
2021-09-08T01:01:59
2019-05-25T08:33:52
Python
UTF-8
Python
false
false
320
#!/home/amin/Documents/moringa-school-projects/Awards/virtual/bin/python # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line())
[ "you@example.com" ]
you@example.com
2379bb1eb30b3e2648b56ca065825042a09cc04f
a6bbf05116045ab187a9fa8e9cef37450459f663
/tests/util/test_deltaMag.py
865a620584b2cc50a5ca5128ff89a3706dc4aff6
[ "BSD-3-Clause" ]
permissive
dsavransky/EXOSIMS
0d9a5f40ebde07a2b6f11921188cc03ff440e2d1
f3518b10f66786edf7b1066b4a3a4ee1b2818ff7
refs/heads/master
2023-08-18T20:46:13.141551
2023-08-14T16:21:25
2023-08-14T16:21:25
36,674,772
22
30
BSD-3-Clause
2023-09-06T20:10:10
2015-06-01T16:51:37
Python
UTF-8
Python
false
false
1,261
py
import unittest from astropy import units as u from astropy import constants as const from EXOSIMS.util.deltaMag import deltaMag import numpy as np r"""DeltaMag module unit tests Paul Nunez, JPL, Aug. 2016 """ class Test_deltaMag(unittest.TestCase): def test1(self): r"""Testing some limiting cases.""" ...
[ "dsavransky@gmail.com" ]
dsavransky@gmail.com
486b2cd1f5aaa4775dae0b9ba4a4bcce100b418c
71d3632c19ada5585223d4800f681718af0e1f87
/startcamp/day04/dict.py
78b1d49372a9f7fefe971e0bb2cbad8af2f8f9d3
[]
no_license
hyunwoo-song/TOT
640433b909913098699ff517698e71a1b8661cff
76a8c18af942d9ed3d636fcec35001ae70b6b8d2
refs/heads/master
2023-01-05T08:11:38.858134
2019-08-14T08:53:23
2019-08-14T08:53:23
162,208,482
0
0
null
null
null
null
UTF-8
Python
false
false
1,690
py
# 1. 딕셔너리 만들기 lunch = { '중국집':'02-1123-4544', '양식집':'053-216-4545', '한식집':'054-451-5452', } dinner = dict(중국집='02-1233-4544') #딕셔너리로 변환시켜주는 내장함수 # key값은 문자열이 아닌 양쪽 따옴표 없이 기입 # int() # list() # 2. 딕셔너리 내용 추가하기 lunch['분식집'] = '053-123-4567' # 3. 딕셔너리 내용 가져오기 print(lunch['중국집']) #=> 02-1123-4544 idol = { ...
[ "gerrar486@gmail.com" ]
gerrar486@gmail.com
91d308bf209078a3a113be54a90ee3b8c66a600b
0bc399e4054192b901263844d481fb27ee391aa9
/test/test_asset_reference_impl.py
ca97e5e9eef68b08f77dc6a53086c28eaafd3be4
[]
no_license
chorvathdev/collibra-core
342509234fc8c91a3bcf3b91a54444c7c313ceed
db7ae3fb57df088ce3512801ba7a2bfccd0508c5
refs/heads/master
2022-12-11T19:33:29.487697
2020-08-31T23:29:46
2020-08-31T23:29:46
291,847,090
4
3
null
null
null
null
UTF-8
Python
false
false
1,803
py
# coding: utf-8 """ Collibra Data Governance Center Core API <p>The Core REST API allows you to create your own integrations with Collibra Data Governance Center.</p><p><i>Create custom applications to help users get access to the right data.</i></p> # noqa: E501 The version of the OpenAPI document: 2.0...
[ "chorvath@sundt.com" ]
chorvath@sundt.com
40f9f78f3f331d23daeab98a70c4249e0f16f68c
8a30aaa2693aff1d0c571fdd8143b763126fc144
/test_case/test_atp_base_api.py
2ab59fd5d984d8e8df2c8784fd691562c9a757f0
[ "Apache-2.0" ]
permissive
gitjayzhen/AppiumTestProject
4ddc23df9367d2100dbe2efe6de0738a5bb69807
1b143606a8c92eab32cbc4034a6031faa9954a20
refs/heads/master
2022-09-13T19:50:22.460651
2022-08-26T13:17:18
2022-08-26T13:17:18
84,637,177
39
27
null
null
null
null
UTF-8
Python
false
false
1,183
py
#!/usr/bin/env python # -*-coding=utf8 -*- """ @version: v1.0 @author: jayzhen @license: Apache Licence @contact: jayzhen_testing@163.com @site: http://blog.csdn.net/u013948858 @software: PyCharm """ import unittest from appium.webdriver.common.mobileby import MobileBy from framework.core.appiumapi.AppiumBaseApi impo...
[ "jayzhen_testing@163.com" ]
jayzhen_testing@163.com
4ad742a8ee70daf9de442e4ca3fd397c4d4f4df2
d03ae7fc0051dcbbb48719dee1f1d9279f43495a
/accounts/models.py
fec569f9d1baaa0753ebbdedfebd971da71ee4f4
[]
no_license
joegotflow83/student-platform
5745a9bbc8ea7dc734a4fa827015228e43d44103
af2d79ddb96dcdfcd90c37604081ab5264936edd
refs/heads/master
2021-01-18T19:55:08.474108
2016-07-13T16:32:14
2016-07-13T16:32:14
61,209,086
0
0
null
null
null
null
UTF-8
Python
false
false
195
py
from django.db import models from django.contrib.auth.models import User class UserProfile(models.Model): user = models.OneToOneField(User) teacher = models.BooleanField(default=False)
[ "joe@absolutod.com" ]
joe@absolutod.com
908b38a0570d86f366db59768584876ac26ae5b1
b8d700f4676ffee4c2af363eca0e4b92764110aa
/apitest/migrations/0021_apiinfo_level.py
51b97430edcb7020ae62fcd9c456894424305572
[]
no_license
linzhifu/autotest
c43614ce94fe4553c3769d5495fd4cb7e45b8d44
e294172ed3a527e0c3a5a0840419c3750215d6db
refs/heads/master
2020-04-25T20:22:10.075897
2019-03-09T11:45:18
2019-03-09T11:45:18
173,048,767
3
0
null
null
null
null
UTF-8
Python
false
false
405
py
# Generated by Django 2.1.2 on 2019-01-17 06:26 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('apitest', '0020_apis_level'), ] operations = [ migrations.AddField( model_name='apiinfo', name='level', ...
[ "leo.lin@longsys.com" ]
leo.lin@longsys.com
87d7242a8ed929e8ac4d599222003bad44505a1e
673e829dda9583c8dd2ac8d958ba1dc304bffeaf
/data/multilingual/Latn.ZAM/Mono_8/pdf_to_json_test_Latn.ZAM_Mono_8.py
226000f23d55b2a3d3b10180ee136f7c24074ea3
[ "BSD-3-Clause" ]
permissive
antoinecarme/pdf_to_json_tests
58bab9f6ba263531e69f793233ddc4d33b783b7e
d57a024fde862e698d916a1178f285883d7a3b2f
refs/heads/master
2021-01-26T08:41:47.327804
2020-02-27T15:54:48
2020-02-27T15:54:48
243,359,934
2
1
null
null
null
null
UTF-8
Python
false
false
301
py
import pdf_to_json as p2j import json url = "file:data/multilingual/Latn.ZAM/Mono_8/udhr_Latn.ZAM_Mono_8.pdf" lConverter = p2j.pdf_to_json.pdf_to_json_converter() lConverter.mImageHashOnly = True lDict = lConverter.convert(url) print(json.dumps(lDict, indent=4, ensure_ascii=False, sort_keys=True))
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
e0ad81782631edecca41fafdd6eb99641a9251db
9a73c54526082c27e5c5d88bd54950a589233658
/new/test.py
18418f5cc841781da7a12b27967ed44b343f527f
[ "Apache-2.0" ]
permissive
archu2020/python-2
af78b65ed7f3ad17f71d4f8a97c002df86908298
19c626ca9fd37168db8a7ac075fd80c8e2971313
refs/heads/master
2022-12-27T12:08:44.316760
2020-10-02T15:46:27
2020-10-02T15:46:27
300,660,839
0
0
Apache-2.0
2020-10-02T15:46:28
2020-10-02T15:37:58
Python
UTF-8
Python
false
false
135
py
import requests newurl = "http://course.wyu.cn/xsyzc/eoexam/main.asp" r = requests.get(newurl) r.encoding = "utf8" print(r.headers)
[ "767786685@qq.com" ]
767786685@qq.com
e5fade852be695e547e01b9b9aeffc7abc8860b3
4a0348ccb890c73ebd88feafafc279af26e05f25
/django/django_fullstack/TV shows - Copy/app/migrations/0001_initial.py
787131508f18c7f86c55311570320640186ddfee
[]
no_license
wadeeeawwad/python_stack
00936837103b9f78f66961d88ae3a6233adbbea3
6d2c3712c40b035e0d43cc7a27b2e2f48d4a8281
refs/heads/master
2023-07-11T14:59:02.617899
2021-08-23T11:37:15
2021-08-23T11:37:15
364,533,891
0
0
null
null
null
null
UTF-8
Python
false
false
796
py
# Generated by Django 2.2.4 on 2021-05-25 13:31 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Shows', fields=[ ('id', models.AutoField(au...
[ "wadee_awwad@hotmail.com" ]
wadee_awwad@hotmail.com
b57d74fdbd7f12e9c8ed907186109e26b5c30c11
691d3f3e04d354e11772335064f33245e1ed8c28
/lib/galaxy/webapps/reports/controllers/users.py
e35c1811e98f5be3e25d2d11b80c578879c40f9b
[ "CC-BY-2.5", "MIT" ]
permissive
dbcls/dbcls-galaxy
934a27cc13663549d5208158fc0b2821609399a8
6142165ef27f6a02aee42f26e0b94fed67ecc896
refs/heads/master
2016-09-05T22:53:27.553419
2009-09-09T06:35:28
2009-09-09T06:35:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,508
py
from datetime import * from time import strftime import calendar, operator from galaxy.webapps.reports.base.controller import * import galaxy.model from galaxy.model.orm import * import pkg_resources pkg_resources.require( "SQLAlchemy >= 0.4" ) import sqlalchemy as sa import logging log = logging.getLogger( __name__ ) ...
[ "h-morita@esm.co.jp" ]
h-morita@esm.co.jp
f40ca526be9c6f99ecf1bed04f97ca801ccc6d4f
e0980f704a573894350e285f66f4cf390837238e
/.history/menus/wagtail_hooks_20201030120819.py
5f29276e2e5ea1956777245267a0852e41c719eb
[]
no_license
rucpata/WagtailWebsite
28008474ec779d12ef43bceb61827168274a8b61
5aa44f51592f49c9a708fc5515ad877c6a29dfd9
refs/heads/main
2023-02-09T15:30:02.133415
2021-01-05T14:55:45
2021-01-05T14:55:45
303,961,094
0
0
null
null
null
null
UTF-8
Python
false
false
292
py
""" Kategoria zostanie dodana w pasku bocznym u admina""" from wagtail.contrib.modeladmin.options import ModelAdmin, modeladmin_register from .models import Menu class MenuAdmin(ModelAdmin): model = Menu menu_lable = 'Menus' menu_icon = 'list-ul' menu_order = 200 add_to
[ "rucinska.patrycja@gmail.com" ]
rucinska.patrycja@gmail.com
48c47556531ba93d22cb2863222ddf34f652bf95
ed6625148299e759f39359db9f932dd391b8e86f
/personal_env/lib/python3.8/site-packages/astroid/brain/brain_threading.py
72b75a1fa210fc39d59da1549492475e19a67b31
[ "MIT" ]
permissive
jestinmwilson/personal-website
128c4717b21fa6fff9df8295b1137f32bbe44b55
6e47a7f33ed3b1ca5c1d42c89c5380d22992ed74
refs/heads/main
2023-08-28T11:31:07.916714
2021-10-14T09:41:13
2021-10-14T09:41:13
414,847,553
1
0
null
null
null
null
UTF-8
Python
false
false
868
py
# -*- coding: utf-8 -*- # Copyright (c) 2016, 2018-2019 Claudiu Popa <pcmanticore@gmail.com> # Copyright (c) 2017 Łukasz Rogalski <rogalski.91@gmail.com> # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/master/COPYING.LESSER...
[ "noreply@github.com" ]
jestinmwilson.noreply@github.com
eb4a60d57ce9cf03b6e9bc13d2387ee5b788f233
3e1be4d78e1121b320d6680a72ec599076c9bfcd
/sort_procedures.py
fb7e3b36818955687fda45f23b17e82e46bb87cd
[ "MIT" ]
permissive
mirefek/neur-rec-seq
4b4643117cb0812ddcc55bb6debecc04f6d47f01
6e0ff723b01e290f1da7bb3aabed65c494a875e8
refs/heads/master
2022-11-19T02:25:37.079058
2020-07-02T15:13:37
2020-07-02T15:13:37
269,418,146
1
0
null
null
null
null
UTF-8
Python
false
false
3,171
py
import numpy as np class ArrayEnv: def __init__(self, data, emulate_swap = False): self.start_data = list(data) self.emulate_swap = emulate_swap self.reset() def swap(self, i0, i1): if self.emulate_swap: # assumes i0 != i1, i0, i1 are non-empty self.stack.push(i0) ...
[ "mirek@olsak.net" ]
mirek@olsak.net
ed205ba8100ad7134b43d0159e10ecacf28c6822
705e128b8f8fc7d6b4cc4be47ddb574d82970baa
/eventposter/event_obj.py
b7a663d1b89e63ea91c2e41a9ff26f9ee8a96a9e
[ "MIT" ]
permissive
Twentysix26/Trusty-cogs
54b538e06d08717e794fd0477d9a76edd43042d4
b00877fdf5d873f65219bb749e38bab74a38f443
refs/heads/master
2020-11-27T11:32:12.190931
2019-12-18T23:22:45
2019-12-18T23:22:45
229,422,105
0
0
MIT
2019-12-21T12:08:20
2019-12-21T12:08:20
null
UTF-8
Python
false
false
2,113
py
import discord import re from typing import List from discord.ext.commands.converter import Converter from discord.ext.commands.errors import BadArgument IMAGE_LINKS = re.compile(r"(http[s]?:\/\/[^\"\']*\.(?:png|jpg|jpeg|gif|png))") class Event: hoster: discord.Member members: List[discord.Member] even...
[ "TrustyJAID@gmail.com" ]
TrustyJAID@gmail.com
e83a4fe358322366177261fa1a30f18d2118bbe9
10ddfb2d43a8ec5d47ce35dc0b8acf4fd58dea94
/Python/maximum-profit-from-trading-stocks.py
03af6e7fdda7b2f224f48dc9e50f67c9c2d6d80c
[ "MIT" ]
permissive
kamyu104/LeetCode-Solutions
f54822059405ef4df737d2e9898b024f051fd525
4dc4e6642dc92f1983c13564cc0fd99917cab358
refs/heads/master
2023-09-02T13:48:26.830566
2023-08-28T10:11:12
2023-08-28T10:11:12
152,631,182
4,549
1,651
MIT
2023-05-31T06:10:33
2018-10-11T17:38:35
C++
UTF-8
Python
false
false
1,123
py
# Time: O(n * b) # Space: O(b) import itertools # dp, optimized from solution2 class Solution(object): def maximumProfit(self, present, future, budget): """ :type present: List[int] :type future: List[int] :type budget: int :rtype: int """ dp = [0]*(budget...
[ "noreply@github.com" ]
kamyu104.noreply@github.com
63e53f5271aa3b63874387113fa4331cbd4f22b7
033ebe500d43e6af073abb634c463d7e276e04e5
/evolution/evolution_04/test/tools.py
f257919040557da8bcf1490d446ab32d54d8b09f
[ "MIT" ]
permissive
lanzhiwang/lanzw_bottle
f3095cd6cf464b1e29e1b330a20bb50978be7b85
482284dc5b7c66ef89ef1557abc9420d41ea35c6
refs/heads/master
2022-12-07T07:10:40.875850
2020-08-30T13:40:55
2020-08-30T13:40:55
199,774,332
0
0
null
null
null
null
UTF-8
Python
false
false
4,015
py
# -*- coding: utf-8 -*- import bottle import threading import urllib import urllib2 import sys import time import unittest import wsgiref import wsgiref.simple_server import wsgiref.util from StringIO import StringIO try: from io import BytesIO except: pass import mimetypes import uuid class MethodRequest(urll...
[ "hzhilamp@163.com" ]
hzhilamp@163.com
09343ed27b5a010ced1b5cbcedb38685b73f8706
91acf428043e39323e6879861676d6528ef39419
/banques/migrations/0005_auto_20210227_1459.py
b3b4ef433b133e72922d297c55c1881b5070917c
[]
no_license
Zaenma/paiement-django
dec9fca85b2cad0c62b7ec3fa416b34420dea31f
e361873d4a1771403f008e768c76e374bbc8da2c
refs/heads/main
2023-03-19T07:31:53.409214
2021-03-15T23:47:03
2021-03-15T23:47:03
311,372,216
1
0
null
null
null
null
UTF-8
Python
false
false
559
py
# Generated by Django 3.1.7 on 2021-02-28 01:59 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('banques', '0004_auto_20210226_2103'), ] operations = [ migrations.AlterModelOptions( name='banque', options={'verbos...
[ "zaenma.halidisalim@gmail.com" ]
zaenma.halidisalim@gmail.com
4c9964839faa7dfbc8dced369876c457b8405487
b89474ef844f3b860b0027e46206ae0aa911dfd3
/Programming Funcamentals Using Python/Day 8/word_frequency.py
8e815554b55172b9183902fbec897ef9fe13544d
[]
no_license
AgentT30/InfyTq-Foundation_Courses
6e2574fca0dc5ff1126d1e910d5086e695921dce
a676478df0c083839ebe56ee3dcb9fffd2307390
refs/heads/master
2022-12-01T11:28:06.052658
2020-08-13T04:41:34
2020-08-13T04:41:34
287,181,261
0
0
null
null
null
null
UTF-8
Python
false
false
964
py
def max_frequency_word_counter(data): word = "" frequency = 0 count = {} # start writing your code here # Populate the variables: word and frequency word_list = data.lower().split(" ") for i in word_list: count.setdefault(i, 0) count[i] = count[i]+1 word_count = [] ...
[ "cthekkunja304@gmail.com" ]
cthekkunja304@gmail.com
aea803f032b9bc2c179f5c099d25fe9c665448ae
372e299709a70e30a8487dbaa669a4f572d99df0
/2017/src/day_01/part_1.py
327120f285d23273df12be8f3d0fa3488c60564b
[]
no_license
mkierc/advent-of-code
e806e30cbed5bb8224b28583b8943c58ba0f80e0
f5115403fcff0082e1cd33308a0259b234c58229
refs/heads/master
2021-12-25T05:43:24.673107
2021-12-17T07:56:20
2021-12-17T07:56:20
76,584,172
0
1
null
null
null
null
UTF-8
Python
false
false
942
py
test_list_1 = [1, 1, 2, 2] test_list_2 = [1, 1, 1, 1] test_list_3 = [1, 2, 3, 4] test_list_4 = [9, 1, 2, 1, 2, 1, 2, 9] number_list = [] with open("data.txt") as file: input_data = str(file.readline()) for character in input_data: number_list.append(int(character)) def solve_captcha(numbers): ca...
[ "urban.pl@gmail.com" ]
urban.pl@gmail.com
15a0b7c0aa71482aa702f5a5cd7aa08309b58ebf
3fb0ce33f00b96ae3808a32da44de3e887434afb
/.提出一覧/AtCoder/past202010-2/a/main.py
4956a6bd3c1f820b463a7b91db75c7e844d3b1ce
[]
no_license
Yukikazari/kyoupuro
ca3d74d8db024b1988cd0ff00bf069ab739783d7
343de455c4344dbcfa4524b492f7f6205c9db26f
refs/heads/master
2023-02-21T01:53:52.403729
2021-01-27T03:55:01
2021-01-27T03:55:01
282,222,950
0
0
null
null
null
null
UTF-8
Python
false
false
237
py
#!/usr/bin/env python3 #import #import math #import numpy as np #= int(input()) #= input() a, b, c = map(int, input().split()) if a < b < c or c < b < a: print("B") elif b < a < c or c < a < b: print("A") else: print("C")
[ "haya_nanakusa793@yahoo.co.jp" ]
haya_nanakusa793@yahoo.co.jp
262154ccaa873e68d544353ebd3ff097820eaecf
ac89e5d51d0d15ffdecfde25985c28a2af9c2e43
/tbaapiv3client/models/event_ranking_extra_stats_info.py
14e1dbb214996c57e4bf250ffa883d030ef5a7cc
[]
no_license
TBA-API/tba-api-client-python
20dc4a634be32926054ffc4c52b94027ee40ac7d
4f6ded8fb4bf8f7896891a9aa778ce15a2ef720b
refs/heads/master
2021-07-15T16:36:32.234217
2020-05-07T00:20:43
2020-05-07T00:20:43
134,112,743
4
8
null
2019-07-01T03:14:12
2018-05-20T02:13:45
Python
UTF-8
Python
false
false
5,071
py
# coding: utf-8 """ The Blue Alliance API v3 # Overview Information and statistics about FIRST Robotics Competition teams and events. # Authentication All endpoints require an Auth Key to be passed in the header `X-TBA-Auth-Key`. If you do not have an auth key yet, you can obtain one from your [Account...
[ "travis@example.org" ]
travis@example.org
ace67c76c2dce23c3393a8dba793310e4c5384ea
e519a439558484ce85378d04d4b72d6ebf804e3d
/weather/local_settings.example.py
fb81a5924201265c9f0b9e16894cda2164e39ef6
[]
no_license
kafesto/weather
4467e191d18dc96f0633529e8f7f13f903e697a6
7e6a43f3bc5d35d6a765560c40b90c7188504ff5
refs/heads/master
2020-12-07T13:45:04.666849
2011-12-04T20:55:51
2011-12-04T20:55:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
167
py
DEBUG = True SERVE_MEDIA = DEBUG TEMPLATE_DEBUG = DEBUG EMAIL_DEBUG = DEBUG THUMBNAIL_DEBUG = DEBUG EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
[ "george@ghickman.co.uk" ]
george@ghickman.co.uk