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
23b991d12666c815fd91709f9380c3dd0a5f7ff1
83de24182a7af33c43ee340b57755e73275149ae
/aliyun-python-sdk-eventbridge/aliyunsdkeventbridge/request/v20200401/ListApiDestinationsRequest.py
ea56b2c0a786c4668796b9c0f271fa46e30cff38
[ "Apache-2.0" ]
permissive
aliyun/aliyun-openapi-python-sdk
4436ca6c57190ceadbc80f0b1c35b1ab13c00c7f
83fd547946fd6772cf26f338d9653f4316c81d3c
refs/heads/master
2023-08-04T12:32:57.028821
2023-08-04T06:00:29
2023-08-04T06:00:29
39,558,861
1,080
721
NOASSERTION
2023-09-14T08:51:06
2015-07-23T09:39:45
Python
UTF-8
Python
false
false
1,878
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 not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
f91f2010f2e8223dd9304fc1bbf4e21fa295d5c7
43b0679349d4f8a8c281705df1bf4cf2805b2816
/backend/code/archipelag/event/migrations/0005_auto_20170909_1004.py
5561e8ad2d914586dfa2bee6d8e6cf2782f56c5a
[]
no_license
socek/archipelag
d2eecc1e7b49954d3d9de89d571f7a5021b995e4
359ea98d9e8cca0eac2469413d4b4469166f6a43
refs/heads/master
2021-03-24T09:12:29.137254
2017-09-09T14:14:33
2017-09-09T14:14:33
102,904,818
0
2
null
2017-12-18T22:32:12
2017-09-08T21:12:10
Python
UTF-8
Python
false
false
529
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2017-09-09 10:04 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('event', '0004_auto_20170909_0933'), ] operations =...
[ "d.dlugajczyk@clearcode.cc" ]
d.dlugajczyk@clearcode.cc
3446157ad4d00593c36962a090ac33aa87f2f45b
cfb705f3727ff2f53288269ae37bd2cb6687951d
/build/SubmissionHelpers/CMakeFiles/python_submissionControllerskubernetespycGen.py
67472e3bddb45b9b3081b46cddaa64bfd39ce77d
[]
no_license
alessio94/di-Higgs-analysis
395934df01190998057f7c81775209c5d32f906e
79c793cc819df7c8511c45f3efe6bdd10fd966bf
refs/heads/master
2023-02-17T05:44:59.997960
2023-02-13T18:02:42
2023-02-13T18:02:42
224,252,187
0
0
null
null
null
null
UTF-8
Python
false
false
332
py
import py_compile; py_compile.compile( '/afs/cern.ch/work/a/apizzini/private/2022/nov/CAFbbll/SubmissionHelpers/python/submissionControllers/kubernetes.py', cfile = '/afs/cern.ch/work/a/apizzini/private/2022/nov/CAFbbll/build/SubmissionHelpers/CMakeFiles/pythonBytecode/python/submissionControllers/kubernetes.pyc', dora...
[ "alessiopizzini@gmail.com" ]
alessiopizzini@gmail.com
d1b223b99ccc20932fbbadf3a004e2e0128ec2fd
5d7b619d6bd8117db0abc878af02d7f4f30ca938
/fileIO_Includes.py
9c97566943c292e11fef69ff2bf5df5245b21699
[]
no_license
LeeHuangChen/2018_01_17_1_BlastAllToAll
3b55f3efc5e837e9692cd32b117b240846a67026
32dad9ef0eff7f725734365c41488cd530e6bdcb
refs/heads/master
2021-09-04T09:54:35.336820
2018-01-17T20:46:28
2018-01-17T20:46:28
117,890,770
0
0
null
null
null
null
UTF-8
Python
false
false
1,999
py
import os #A list of includes for file io def createEmptyFiles(paths): for path in paths: f=open(path,"w") f.close() def testPath(path): if not os.path.exists(path): os.mkdir(path) def appendFile(path,content): f=open(path,"a") f.write(content) f.close() def readFile(path): f=open(path,"r") content=f.read(...
[ "lhc1@rice.edu" ]
lhc1@rice.edu
f3716608d9c07e2bfa41779e9f5bebd961f12cf3
cc2029f40a12e82712072275fc76a07ac59b5940
/battles/challenges/leftover.py
f1f494d260bbf60ca98f6f60873b37896969161e
[ "MIT" ]
permissive
heitorchang/learn-code
d3fb8e45d539d302372126fe28e85032590b5707
5e6e56f7257de1910830619c01d470e892d7f9d8
refs/heads/master
2023-08-09T13:46:18.623772
2023-07-21T16:57:11
2023-07-21T16:57:11
147,522,837
1
0
null
null
null
null
UTF-8
Python
false
false
541
py
def leftover(s): u = s.upper() su = sum(map(ord, u)) return sum(map(ord, s)) % su def trymod(a, c): solutions = [] for i in range(2, a): if a % i == c: solutions.append(i) return solutions def test(): testeql(leftover("antidisestablishmentarianism"), 27) testeql(le...
[ "heitorchang@gmail.com" ]
heitorchang@gmail.com
1620d78c72c1f7e1b85e480f5639de81c127ad1e
9b410c4884b978f654e1538467549d26456f60e0
/src/fuzz_closure_3178.py
c0a38983637435f2ceeb1ef23ae239bcb386b76e
[]
no_license
vrthra/ddset
4c49e13a91c4a1c1b4a7b580174abe21323324da
6c776c998a0d7e2ee0092cf688e352149b177330
refs/heads/master
2022-11-29T23:46:40.730354
2020-08-03T13:36:49
2020-08-03T13:36:49
257,855,512
4
0
null
null
null
null
UTF-8
Python
false
false
177
py
import Fuzz as F import closure_3178 as Main if __name__ == '__main__': F.main('./lang/js/grammar/javascript.fbjson', './lang/js/bugs/closure.3178.js', Main.my_predicate)
[ "rahul@gopinath.org" ]
rahul@gopinath.org
93ec4324fe75da5921ba6871ebe99da564045576
b589f3997e790c3760ab6ddce1dd1b7813cfab3a
/665.py
254ca38201ea67ab0e46990b8f10261e4019ab22
[]
no_license
higsyuhing/leetcode_easy
56ceb2aab31f7c11671d311552aaf633aadd14a8
48d516fdbb086d697e2593a9ce1dbe6f40c3c701
refs/heads/master
2022-12-04T00:49:33.894066
2022-11-15T20:44:36
2022-11-15T20:44:36
135,224,120
0
0
null
null
null
null
UTF-8
Python
false
false
474
py
class Solution(object): def checkPossibility(self, nums): """ :type nums: List[int] :rtype: bool """ # wtf this problem... p = None for i in xrange(len(nums) - 1): if nums[i] > nums[i+1]: if p is not None: retur...
[ "noreply@github.com" ]
higsyuhing.noreply@github.com
4bb930fddf7b3752d067f732a558b58be2f49b4f
b1cf54e4d6f969d9084160fccd20fabc12c361c2
/misc/python/list_comp.py
30133d550bfa444f552434571332ab5c3ebeecee
[]
no_license
zarkle/code_challenges
88a53477d6f9ee9dd71577678739e745b9e8a694
85b7111263d4125b362184df08e8a2265cf228d5
refs/heads/master
2021-06-10T11:05:03.048703
2020-01-23T06:16:41
2020-01-23T06:16:41
136,668,643
0
1
null
2019-02-07T23:35:59
2018-06-08T21:44:26
JavaScript
UTF-8
Python
false
false
1,890
py
""" List Comprehension practice https://www.reddit.com/r/learnpython/comments/4d2yl7/i_need_list_comprehension_exercises_to_drill/ Tip: Practice mechanically translating a list comprehension into the equivalent for loop and back again. """ # Find all of the numbers from 1-1000 that are divisible by 7 seven = [num fo...
[ "beverly.pham@gmail.com" ]
beverly.pham@gmail.com
3199fe280a37613c9116da698abbdbb9541d069b
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_75/166.py
1165a86b97154abf8872b43df4ac9635e82595f0
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,578
py
INPUT_FILE = r'C:\Downloads\FromFirefox\B-large.in' OUTPUT_FILE = r'C:\Users\Assaf\Fun\codeJam\B-large.out' inputFile = file(INPUT_FILE, 'rb') numQuestions = int(inputFile.readline()) outputFile = file(OUTPUT_FILE, 'wb') def solveQuestion(combain, disappear, elements): magicka = ['\x00'] for element ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
2205f8227b4cfacbdec160fedda6f00dab2b89d8
cbc107b4a98275bd6d007b496d3477d9bc8dc89a
/catalog/api_router.py
7a9bdf96d7397cdf587e5b494aaee645241d024b
[]
no_license
grogsy/local-library
1a9e35692cb5173f3197b948d13ce3a5861b03ba
783c8965d5aa01c53297f77396010e998272d8c2
refs/heads/master
2023-08-22T22:28:24.302301
2020-06-10T00:07:20
2020-06-10T00:07:20
271,135,512
0
0
null
2021-09-22T19:11:10
2020-06-10T00:05:55
Python
UTF-8
Python
false
false
205
py
from rest_framework.routers import DefaultRouter from .api_views import AuthorViewSet, BookViewSet router = DefaultRouter() router.register('authors', AuthorViewSet) router.register('books', BookViewSet)
[ "a.gray.cloud@gmail.com" ]
a.gray.cloud@gmail.com
8737c3804357d15c0f2a38478876a0af9addecf2
78c062054304534f2a4b7b9ebd4b6fbe7d9dc3b2
/Ampere-Law-Example.py
e5d8d63a75eedbd1ebe3c5adc860b254a7c0e390
[]
no_license
buckees/ICP-field-solver
5d4137ee6d6e7345c83b212b7e844b0adf794abc
51644c311c62d63e5d7f689d5c6659ab6bda52aa
refs/heads/master
2022-12-10T18:43:35.387773
2020-09-04T04:48:16
2020-09-04T04:48:16
290,904,111
0
0
null
null
null
null
UTF-8
Python
false
false
3,119
py
# -*- coding: utf-8 -*- """ ICP Field Solver Ampere's Law """ import numpy as np from math import pi import matplotlib.pyplot as plt from matplotlib import colors, ticker, cm from Constants import MU0 from Mesh import MESHGRID #set infinite-long wire to position (wx, wy) with infinitesimal radius I = 1.0 # wire curr...
[ "67809187+buckees@users.noreply.github.com" ]
67809187+buckees@users.noreply.github.com
6c95cc60743e241e2ea83b22b81fcfde4ec4a846
60284a471e48e49e9b184305b08da38cbaf85c38
/src/tests/ftest/container/query_attribute.py
a1a6e819ad27b3d44a00c63b6c53a7b7a369d0ab
[ "BSD-2-Clause-Patent", "BSD-2-Clause" ]
permissive
minmingzhu/daos
734aa37c3cce1c4c9e777b151f44178eb2c4da1f
9f095c63562db03e66028f78df0c37f1c05e2db5
refs/heads/master
2022-05-10T17:23:32.791914
2022-02-28T18:44:50
2022-02-28T18:44:50
228,773,662
1
0
Apache-2.0
2019-12-18T06:30:39
2019-12-18T06:30:38
null
UTF-8
Python
false
false
7,045
py
#!/usr/bin/python """ (C) Copyright 2020-2022 Intel Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent """ from apricot import TestWithServers import base64 class ContainerQueryAttributeTest(TestWithServers): # pylint: disable=anomalous-backslash-in-string """Test class for daos container query an...
[ "noreply@github.com" ]
minmingzhu.noreply@github.com
4aeab5318b535611b91139d2bc101a65282f49c9
6eb13e52b6babe24eaa7122b11bb3041752d1ede
/stock/forms.py
e55fb855b02a1c3af321406980641cbc20cbe5ce
[]
no_license
siuols/Inventory
a992076736bf34e0a5ad35e965860bd5971e3b73
e30e15593f1c2e1faabb382d8f4c2753f717fb73
refs/heads/master
2022-12-08T07:32:49.101561
2019-03-05T01:39:29
2019-03-05T01:39:29
173,235,778
1
2
null
2022-12-08T01:21:31
2019-03-01T04:40:13
JavaScript
UTF-8
Python
false
false
2,963
py
from django import forms from .models import Brand,Category,Course,Customer,Release,Office,Item from django.contrib.auth import get_user_model from django.core.validators import RegexValidator from django.utils.translation import ugettext, ugettext_lazy as _ User = get_user_model() class ItemForm(forms.ModelForm): ...
[ "louisaleksieb.dagusen@gmail.com" ]
louisaleksieb.dagusen@gmail.com
775c68a1333634d972eebf451d817b86a9e833eb
23d55806db77d9e735dec5f71b85d31bcb88b6d3
/lib/clientProcessing.py
448a742a6e2b73f2be86da23aca0cf7994777451
[ "MIT" ]
permissive
schollz/splitthework
60fa69f0a8aeda911718937ff0fff3f20cf564ae
cfb2d9495fab64018b73483c41d371408823abe0
refs/heads/master
2023-09-01T00:07:38.606938
2016-01-25T13:24:17
2016-01-25T13:24:17
50,106,122
0
1
null
null
null
null
UTF-8
Python
false
false
411
py
import os from lib.compress import * def processWork(data): strData = [] for a in data: strData.append(str(a)) os.system("sudo python3 downloadPages.py " + " ".join(strData)) results = json.load(open('downloadedPages.json','r')) # print(sys.getsizeof(json.dumps(results))) dataCompresse...
[ "zack.scholl@gmail.com" ]
zack.scholl@gmail.com
5042d48f346bea32b1c892f4b34cf1d6c611d4ab
d45ae345eb677df44c8940de49faa54554392259
/player.py
d059193080e902204e4d7caddae96527a16b3e0f
[]
no_license
ErickMwazonga/tic-tac-toe
e2c1577a26e86f6846477ba930530f02ed3c9760
852d71bdbd30e6c7d6a1a6c5454b27782c04dd9c
refs/heads/main
2023-02-16T18:41:26.656770
2021-01-17T18:55:25
2021-01-17T18:55:25
330,277,710
0
0
null
null
null
null
UTF-8
Python
false
false
1,027
py
import math import random class Player: def __init__(self, letter): self.letter = letter def get_move(self, game): pass class RandomComputerPlayer(Player): def __init__(self, letter): super().__init__(letter) def get_move(self, game): square = random.choice(game.a...
[ "erickmwazonga@gmail.com" ]
erickmwazonga@gmail.com
21fff6327264a41c228458d5d90a207273cc788d
c1c7214e1f9230f19d74bb9776dac40d820da892
/examples/django/urlディスパッチャ/pathconverterの使い方/project/project/urls.py
351f32b488f3fde9be2c0319b72c653193e0088b
[]
no_license
FujitaHirotaka/djangoruler3
cb326c80d9413ebdeaa64802c5e5f5daadb00904
9a743fbc12a0efa73dbc90f93baddf7e8a4eb4f8
refs/heads/master
2020-04-01T13:32:28.078110
2018-12-13T00:39:56
2018-12-13T00:39:56
153,256,642
0
0
null
null
null
null
UTF-8
Python
false
false
369
py
from django.contrib import admin from django.urls import path, include from django.conf import settings from django.conf.urls.static import static urlpatterns = [ path('admin/', admin.site.urls), path('app/', include('app.urls')), ] if settings.DEBUG: urlpatterns += static(settings.MEDIA_URL, ...
[ "fujiozone@msn.com" ]
fujiozone@msn.com
dffba14a10e2a9605e6d4e2c4867a0b64bb48df5
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02571/s951856680.py
877fada58e3c8f14ea495f8dbf96727c9212573a
[]
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
265
py
from sys import stdin input = stdin.readline s = input().strip() t = input().strip() ns = len(s) nt = len(t) def cnt(a,b): return sum(1 for aa,bb in zip(a,b) if aa != bb) res = nt for i in range(ns - nt + 1): res = min(res,cnt(s[i:i+nt],t)) print(res)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
7fbc9e51df7922527afeba0c282b8daf8f33a7bc
8f2c55a2530c3e59dab5907c0044c618b88dd09b
/tests_python/test_tracing_on_top_level.py
fa53ad46bf0ff18b4f97d0774ad20ad927cf5194
[ "Apache-2.0", "EPL-1.0" ]
permissive
fabioz/PyDev.Debugger
5a9c6d4c09be85a0e2d9fb93567fd65faf04c81d
26864816cbfcf002a99913bcc31ebef48042a4ac
refs/heads/main
2023-08-18T01:08:34.323363
2023-04-15T11:15:47
2023-04-15T11:15:47
21,870,144
363
126
Apache-2.0
2023-07-30T23:03:31
2014-07-15T18:01:12
Python
UTF-8
Python
false
false
11,578
py
from pydevd import PyDB import pytest from tests_python.debugger_unittest import IS_CPYTHON import threading DEBUG = False class DummyTopLevelFrame(object): __slots__ = ['f_code', 'f_back', 'f_lineno', 'f_trace'] def __init__(self, method): self.f_code = method.__code__ self.f_back = None ...
[ "fabiofz@gmail.com" ]
fabiofz@gmail.com
b26270c83c99d4a88804354df7d7dcfc67c423a8
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/clips_pattern/pattern-master/pattern/text/tree.py
11fee24fc9ae5b2e83edfcce5eeb454ea8f31b40
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
72,048
py
#### PATTERN | EN | PARSE TREE ##################################################################### # Copyright (c) 2010 University of Antwerp, Belgium # Author: Tom De Smedt <tom@organisms.be> # License: BSD (see LICENSE.txt for details). # http://www.clips.ua.ac.be/pages/pattern ####################################...
[ "659338505@qq.com" ]
659338505@qq.com
cf29ae1399310eb4eef155d268cd8c66f9b0237f
03dacfab20ffb93eeb675f78005824bf68b72e7c
/Python/Algorithms/String/高级字符串算法/最长子串和子序列问题/1143 M_最长公共子序列.py
18f7a7737f2a65f2b64ae7bdb1c3399384fc097b
[]
no_license
RuiWu-yes/leetcode
e343a55ebd7a3cacd400d6d2605fdbd2345a28d3
bfc5641445c505f2b41155c61bdf65f3e601554f
refs/heads/master
2023-07-14T07:27:42.525472
2021-08-01T08:57:00
2021-08-01T08:57:00
342,442,765
4
2
null
null
null
null
UTF-8
Python
false
false
2,620
py
# -*- coding: utf-8 -*- # @Author : ruiwu # @Email : ryanwoo@zju.edu.cn # @Title : 1143 最长公共子序列 # @Content : 给定两个字符串 text1 和 text2,返回这两个字符串的最长公共子序列的长度. # 若这两个字符串没有公共子序列,则返回 0. class Solution: def longestCommonSubsequence1(self, text1: str, text2: str) -> int: # 暴力解法:可以用备忘录去优化 def d...
[ "ryanwoo@zju.edu.cn" ]
ryanwoo@zju.edu.cn
78363b0fe2022a55e40a75f79966bd4e280108fb
99dd08b129792494cd2cd74224ce5a8de68ac4c9
/app/migrations/0009_auto_20160605_2237.py
c453c0484a366bdb7ec0961161d1fe95913ce75b
[]
no_license
ssssergey/DjangoPauk
78d90239792d1c07f88809fed36682242260be8e
887b71648c3c30f0bd90eb5becf3e9b50d6f44a8
refs/heads/master
2021-01-20T19:36:38.899428
2016-07-10T21:20:26
2016-07-10T21:20:26
60,295,481
0
0
null
null
null
null
UTF-8
Python
false
false
1,378
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2016-06-05 19:37 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependen...
[ "lse1983@mail.ru" ]
lse1983@mail.ru
f483e7c7b7682bce9d8387d15166f0d4ba4223ae
78b7b3e27553ccf0b89c24cbd11662600db26b4c
/ScrapeNASAPicDayWebsite/.history/scraper_20190701155658.py
9085a093cb3265c5dda31be4a0d1f5a1e80d88a7
[]
no_license
web3-qa/intermediatePython
2c23408bd6d6dffc070b92e1155d3c072cfe040c
b4791db2bcb59aaf9c447cf50ffd4d21cacbe16b
refs/heads/master
2023-02-08T14:18:54.288227
2019-07-18T13:31:23
2019-07-18T13:31:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
188
py
import urllib.request from bs4 import BeautifulSoup from scraper import BeautifulSoup urllib.request.urlopen("hhtp://apod.nasa.gov/apod/archivepix.html").read() BeautifulSoup(content, )
[ "dcolmer@statestreet.com" ]
dcolmer@statestreet.com
4f9e97ff4a141d409fa1a42cf7808dcf0bd944bb
b77e12c0fc66cf47f83359fe8a04890669058f08
/day_5/dictAndSet.py
e9db838ac14a2b726afe23383f0aae6c8d717cf6
[]
no_license
dydy061951/SeleniumProject
177bb8bdd9f3f586d63c7330d4e5bcdc473cf7c8
857fddb74748133475e5f4583007446ab7d2184f
refs/heads/master
2021-08-23T04:41:30.705381
2017-12-03T09:26:14
2017-12-03T09:26:14
112,907,712
0
0
null
null
null
null
UTF-8
Python
false
false
1,105
py
# dict 是字典的缩写;set是集合的缩写;它们都和数组类似 # python 中的元组用小括号表示,列表用中括号表示 # 元组用小括号,列表用中括号,字典和集合用大括号表示 #比如,同样描述一个学生的信息 stu=("001","小明","男",23) #元组:只读,不可增删改,只可查看 #元组和数组的区别: #数组可以修改元素的内容,但是不能增加和删除,数组中所有元素的类型一样 #元组不能增删改,元素的类型不固定(可以有数字和字符串) stu1=["001","小明","男",23] #列表:可以进行增删改查,列表是最常用的数据格式 #find_elements()返回的就是列表 stu2={"001","小明","...
[ "51Testing" ]
51Testing
ded8cc2105b8e2776cda74b3ba9523ce406a7267
e57d7785276053332c633b57f6925c90ad660580
/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2021_07_01/operations/_shared_galleries_operations.py
6917433a7bf25264449d40b6e4bd996c5ca9de98
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
adriananeci/azure-sdk-for-python
0d560308497616a563b6afecbb494a88535da4c5
b2bdfe659210998d6d479e73b133b6c51eb2c009
refs/heads/main
2023-08-18T11:12:21.271042
2021-09-10T18:48:44
2021-09-10T18:48:44
405,684,423
1
0
MIT
2021-09-12T15:51:51
2021-09-12T15:51:50
null
UTF-8
Python
false
false
8,424
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" ]
adriananeci.noreply@github.com
08d14434ed320a79bfd7b6ad544964e314a6d41a
9d0195aa83cc594a8c61f334b90375961e62d4fe
/JTTest/SL7/CMSSW_10_2_15/src/dataRunA/nano3815.py
3c452a77941e271ddd339cde4b81831fd7359261
[]
no_license
rsk146/CMS
4e49592fc64f6438051544c5de18598db36ed985
5f8dab8c59ae556598b9747b52b88205fffc4dbe
refs/heads/master
2022-12-01T03:57:12.126113
2020-08-04T03:29:27
2020-08-04T03:29:27
284,863,383
0
0
null
null
null
null
UTF-8
Python
false
false
4,293
py
# Auto generated configuration file # using: # Revision: 1.19 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v # with command line options: nanoAOD_jetToolbox_cff -s NANO --data --eventcontent NANOAOD --datatier NANOAOD --no_exec --conditions 102X_dataRun2_Sep2018Rereco_v1 --era...
[ "rsk146@scarletmail.rutgers.edu" ]
rsk146@scarletmail.rutgers.edu
674ef2ade2f77f65c921287874e2e1a94c29f507
27da9fb329a867a6035ecefb77c3a591eefa1e17
/tools/data_faker/data_faker/__main__.py
63faaed86541ebc70adffb12911f915503996460
[ "BSD-3-Clause" ]
permissive
ngoctrantl/rotki
ceef5d3c11ff987889997b3ef1939ef71daaa2ce
c30b2d0084c215b72e061e04d9f8391f8106b874
refs/heads/develop
2020-12-21T06:49:47.819538
2020-01-26T10:35:45
2020-01-26T15:29:56
236,344,817
0
0
BSD-3-Clause
2020-01-26T17:04:32
2020-01-26T17:03:27
null
UTF-8
Python
false
false
815
py
from gevent import monkey # isort:skip # noqa monkey.patch_all() # isort:skip # noqa import logging from data_faker.args import data_faker_args from data_faker.faker import DataFaker from data_faker.mock_apis.api import APIServer, RestAPI logger = logging.getLogger(__name__) def main() -> None: arg_parser = d...
[ "lefteris@refu.co" ]
lefteris@refu.co
19a0bd540f1464267b32189c9380ffdd67d3eb3f
a1fc57c6a3e3101d53729ad11df22adb058f1060
/instagram/posts/models/posts.py
65ff67af1e6b4c9e356e4d7d992c72aaa9674904
[]
no_license
morwen1/curso_instagram
7f5742256a1eacf38a78b06a62e3f21bcf8b10a9
d201ff1f35f5f682242e4f49867fe6cad144d5c8
refs/heads/master
2020-07-17T23:00:47.259139
2019-09-03T02:37:21
2019-09-03T02:37:21
206,119,167
0
0
null
null
null
null
UTF-8
Python
false
false
857
py
from django.db import models from utils.abstract_model import AbstractModel class Post(AbstractModel): """ model for posts """ profile = models.ForeignKey('users.Profile', help_text = 'este es una clave foranea diciendo que los posts pueden tener muchos usuarios' , on_delete=models.CASC...
[ "morwen901@gmail.com" ]
morwen901@gmail.com
57e440f9fd98a0afa4340c24c19adfdec78fcf41
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03011/s231502042.py
7a3be73ad896f44c8d92be6dc0b51274a08bf211
[]
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
150
py
# -*- coding: utf-8 -*- from itertools import combinations print(min(map(lambda x: sum(x), list(combinations(list(map(int, input().split())), 2)))))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
3f053d139e2165e119e91310782c2ab28c379bfa
50914176887f9f21a3489a9407195ba14831354c
/three_sum.py
47d8ce947ca63a31a4d8a149ad33f21e2a0c41bf
[]
no_license
nkukarl/leetcode
e8cfc2a31e64b68222ad7af631277f1f66d277bc
b1dbe37e8ca1c88714f91643085625ccced76e07
refs/heads/master
2021-01-10T05:42:04.022807
2018-02-24T03:55:24
2018-02-24T03:55:24
43,725,072
0
0
null
null
null
null
UTF-8
Python
false
false
856
py
class Solution: def three_sum(self, numbers, target): numbers.sort() res = [] for i in range(len(numbers) - 2): if i > 0 and numbers[i] == numbers[i - 1]: continue j = i + 1 k = len(numbers) - 1 while j < k: trip...
[ "kai.wang.nankai@gmail.com" ]
kai.wang.nankai@gmail.com
16a5e5311dd5aa7dcfe895249e7d901d2b518249
397e125e94f4f139f2bf5055824d81f24b8b1757
/ABC/061/C.py
47ac392a04a86831bd757380bb2584b700a9cb8c
[]
no_license
tails1434/Atcoder
ecbab6ee238e3f225551297db961b1b502841fa4
e7c7fed36be46bbaaf020a70997842240ba98d62
refs/heads/master
2021-07-07T00:31:49.235625
2020-09-30T01:42:01
2020-09-30T01:42:01
189,009,622
0
0
null
null
null
null
UTF-8
Python
false
false
316
py
def main(): N, K = map(int, input().split()) ans = [0] * (10 ** 5 + 1) for i in range(N): a, b = map(int, input().split()) ans[a] += b for i in range(10 ** 5 + 1): if K <= ans[i]: print(i) exit() else: K -= ans[i] main()
[ "sososo1333@gmail.com" ]
sososo1333@gmail.com
4e4e7e019f8f77c6f1c5dfdc25e15ce358740c13
adf428caea488bfbc22917b8d340dde3293fc306
/gan/cloud/trainer/mytask.py
ea4de8f20e131a8cc074ecd3edd431b3a661f397
[]
no_license
tingleshao/riviera
3269a0a0cb30da96bfd33ba3d950a873fdfa24e3
f44f43bc2b08d50d6bbc6d0b61fcb91146da5d9f
refs/heads/master
2021-09-11T20:29:35.615539
2018-04-11T23:23:32
2018-04-11T23:23:32
115,686,329
0
0
null
null
null
null
UTF-8
Python
false
false
5,803
py
import argparse import model import tensorflow as tf from tensorflow.contrib.learn.python.learn import learn_runner from tensorflow.contrib.learn.python.learn.utils import ( saved_model_export_utils) def generate_experiment_fn(train_files, eval_files, num_ep...
[ "cshao@cs.unc.edu" ]
cshao@cs.unc.edu
ead3852d5b3896dc4a4817d88070380e31e7f65c
e210c28eeed9d38eb78c14b3a6388eca1e0e85d8
/nvflare/app_opt/pt/file_model_locator.py
2caab1f304cf3f0c974eb142e0c6083e1d68b582
[ "Apache-2.0" ]
permissive
NVIDIA/NVFlare
5a2d2e4c85a3fd0948e25f1ba510449727529a15
1433290c203bd23f34c29e11795ce592bc067888
refs/heads/main
2023-08-03T09:21:32.779763
2023-07-05T21:17:16
2023-07-05T21:17:16
388,876,833
442
140
Apache-2.0
2023-09-14T19:12:35
2021-07-23T17:26:12
Python
UTF-8
Python
false
false
2,996
py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
[ "noreply@github.com" ]
NVIDIA.noreply@github.com
295adab3b33c2f876c9b28ae186e1deafbe3fdfd
c4e97f2eb1081d8fad5e64872c3d6acf9a89d445
/Solutions/0140_wordBreak.py
04f7ecd57c34aa3b8fb6e9be01cefe48758ef41d
[]
no_license
YoupengLi/leetcode-sorting
0efb3f4d7269c76a3ed11caa3ab48c8ab65fea25
3d9e0ad2f6ed92ec969556f75d97c51ea4854719
refs/heads/master
2020-05-18T23:28:51.363862
2019-09-12T00:42:14
2019-09-12T00:42:14
184,712,501
3
1
null
null
null
null
UTF-8
Python
false
false
5,485
py
# -*- coding: utf-8 -*- # @Time : 2019/7/23 15:47 # @Author : Youpeng Li # @Site : # @File : 0140_wordBreak.py # @Software: PyCharm ''' 140. Word Break II Given a non-empty string s and a dictionary wordDict containing a list of non-empty words, add spaces in s to construct a sentence where each...
[ "noreply@github.com" ]
YoupengLi.noreply@github.com
484aec251ff1c5e25208e3ebcacfbfdcfa821b7b
e4045e99ae5395ce5369a1374a20eae38fd5179b
/files/read_names.py
4020137ff8b621ccfc423a9891205d6ca36c0eba
[]
no_license
srikanthpragada/09_MAR_2018_PYTHON_DEMO
74fdb54004ab82b62f68c9190fe868f3c2961ec0
8684137c77d04701f226e1e2741a7faf9eeef086
refs/heads/master
2021-09-11T15:52:17.715078
2018-04-09T15:29:16
2018-04-09T15:29:16
124,910,054
0
1
null
null
null
null
UTF-8
Python
false
false
207
py
# open file for writing in text mode with open(r"e:\classroom\python\mar9\names.txt", "rt") as f: for lineno, name in enumerate(f.readlines()): print("{:03} {}".format(lineno + 1, name), end='')
[ "srikanthpragada@gmail.com" ]
srikanthpragada@gmail.com
6685570716f0c046013d2b6a6abc428738b35399
85f5dff291acf1fe7ab59ca574ea9f4f45c33e3b
/api/tacticalrmm/checks/migrations/0018_auto_20210205_1647.py
cce78b61d2167ba2adcec7ff771ee85901adcc0b
[ "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference" ]
permissive
sadnub/tacticalrmm
a4ecaf994abe39244a6d75ed2166222abb00d4f4
0af95aa9b1084973642da80e9b01a18dcacec74a
refs/heads/develop
2023-08-30T16:48:33.504137
2023-04-10T22:57:44
2023-04-10T22:57:44
243,405,684
0
2
MIT
2020-09-08T13:03:30
2020-02-27T01:43:56
Python
UTF-8
Python
false
false
518
py
# Generated by Django 3.1.4 on 2021-02-05 16:47 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('checks', '0017_check_dashboard_alert'), ] operations = [ migrations.AlterField( model_name='check', name='alert_seve...
[ "josh@torchlake.com" ]
josh@torchlake.com
f751e7a8acf0536d699fa16c80f652308a74ce43
9318b1885946f639f1446431abc6ec4fa33fc9ac
/typeData.py
1b85d8810b009197b06a00e1557aefa5546fc95d
[]
no_license
mcewenar/PYTHON_INFO_I_BASIC
1d365bcd3d0186c8955e3cde2605831717d0a412
e5c3278969b420e7ce03bf7903cf57e63865aaca
refs/heads/master
2023-06-04T02:26:42.124304
2021-06-22T02:48:08
2021-06-22T02:48:08
326,510,259
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
#IMPORTANTE: def isInt(data): if type(data) == int: print("es entero") return True elif type(data) == float: print("es float") return False elif type(data) == str: print("es string") return None #print(isInt(5)) #print(isInt(5.0)) #print(isInt("5")) #p...
[ "dmcewena@hotmail.com" ]
dmcewena@hotmail.com
c6aaa99c6e382ba9cb455550f3944c94fc5935df
490a934f36fdb97827934220eeff71f89f7c3e5d
/config.py
026520f65ada648e65573c49c6af390f1694a9cf
[ "MIT" ]
permissive
qq453388937/Tornado_home_Git
9c34a198be8737bbb49a28732cfbe899c0f86828
65b36a2816b6648c9bad136249552c8276d4584e
refs/heads/master
2021-04-06T06:33:46.631606
2018-03-29T08:55:43
2018-03-29T08:55:43
124,759,358
0
0
MIT
2018-03-20T13:07:43
2018-03-11T13:30:04
JavaScript
UTF-8
Python
false
false
905
py
# -*- coding:utf-8 -*- import os # redis 配置抽离 torndb_settings = dict( host="127.0.0.1", database="ihome", user="root", password="123", # 看源码得知默认3306端口 ) redis_settings = dict( host='127.0.0.1', port=6379, ) settings = { 'debug': True, 'static_path': os.path.join(os.path.dirname(__file...
[ "453388937@qq.com" ]
453388937@qq.com
7bda8d156f687a4d69a597afd6dacbe903332568
c0f69bf01d09718b81814bb8bf274c931801e9c8
/codebase/manager_component/monitoring_subcomponent/history_subcomponent/graphing_subcomponent/graphing_class.py
522e0767a94a2f96d6d3b706d99124d234954be8
[]
no_license
johnpcole/Download-Manager
369ec1232f35ec3ab8d653c03f4ea12bbb57207c
fd9b287cbfb6b813a6d23877f25423079b063c46
refs/heads/master
2021-07-19T17:33:40.473368
2019-11-03T23:43:19
2019-11-03T23:43:19
85,001,326
0
0
null
null
null
null
UTF-8
Python
false
false
5,795
py
from .....common_components.datetime_datatypes import datetime_module as DateTime from .graph_subcomponent import graph_module as Graph class DefineGraphing: def __init__(self, smallera, largeera): # Define graphset size self.graphsetsize = 6 # Defines the granularity of display of monitor data self.shorte...
[ "homeserverstatus@gmail.com" ]
homeserverstatus@gmail.com
af638ccb4cbe7e382ee5237fc60ac8cb90f021ab
0eb8bde44f28866596b9612835b4c0bb37c3a30f
/morsels/20200622_instance_tracker/problem_text.py
47ba7e437c23ffedc2efa80754b80f954149c6b3
[]
no_license
gtcooke94/snippets
609ebc85b40453a79845e28113bd545579796379
4792e10cf9f056487e992219cfb088529a53e897
refs/heads/master
2021-06-25T13:01:55.282635
2020-11-13T21:01:18
2020-11-13T21:01:18
170,204,644
0
1
null
null
null
null
UTF-8
Python
false
false
2,712
py
Greetings, This week I'd like you to make a "class factory" which will allow classes to track instances of themselves. This instance_tracker class factory will return a class when called and can be used like this: class Account(instance_tracker()): def __init__(self, number): self.number = number ...
[ "gtcooke94@gmail.com" ]
gtcooke94@gmail.com
bd5f261eaa813c6baee78561351043cf93204240
61aa319732d3fa7912e28f5ff7768498f8dda005
/tests/configs/memcheck.py
669c71b30a1d9f09e065a72010191df495b1cc72
[ "BSD-3-Clause", "LicenseRef-scancode-proprietary-license", "LGPL-2.0-or-later", "MIT" ]
permissive
TeCSAR-UNCC/gem5-SALAM
37f2f7198c93b4c18452550df48c1a2ab14b14fb
c14c39235f4e376e64dc68b81bd2447e8a47ff65
refs/heads/main
2023-06-08T22:16:25.260792
2023-05-31T16:43:46
2023-05-31T16:43:46
154,335,724
62
22
BSD-3-Clause
2023-05-31T16:43:48
2018-10-23T13:45:44
C++
UTF-8
Python
false
false
2,695
py
# Copyright (c) 2016 ARM Limited # All rights reserved. # # The license below extends only to copyright in the software and shall # not be construed as granting a license to any other intellectual # property including but not limited to intellectual property relating # to a hardware implementation of the functionality ...
[ "sroger48@uncc.edu" ]
sroger48@uncc.edu
09394ec926883c40727a02a56b5b4e0447abecb3
b15ccd04d3edfb4d6278a055422610be09c3916c
/4861_회문/sol1.py
150a37727e44769ce062900a4cbe6fe7238ab4b5
[]
no_license
hksoftcorn/Algorithm
d0f3a1a6009f47e4f391e568b29a3b51d6095d33
81b067b8105ba305172dd8271787c19f04d170ba
refs/heads/master
2023-05-12T21:15:34.668580
2021-06-08T07:57:04
2021-06-08T07:57:04
337,121,489
0
0
null
null
null
null
UTF-8
Python
false
false
714
py
import sys sys.stdin = open('sample_input.txt') def solution(N, M, arr): # 가로 for i in range(N): for j in range(N-M+1): palindrome = arr[i][j:j+M] if palindrome == palindrome[::-1]: return palindrome # 세로 for j in range(N): for i in range(N-M+1):...
[ "hksoftcorn.dev@gmail.com" ]
hksoftcorn.dev@gmail.com
c21f0f7ddfb24849fcae721146b7c813fd8bbd6b
a86ca34e23afaf67fdf858df9e47847606b23e0c
/lib/temboo/Library/Amazon/SNS/ListSubscriptionsByTopic.py
d3fabd538f4ac9b5184e976b8af2beefa94acba4
[]
no_license
miriammelnick/dont-get-mugged
6026ad93c910baaecbc3f5477629b0322e116fa8
1613ee636c027ccc49c3f84a5f186e27de7f0f9d
refs/heads/master
2021-01-13T02:18:39.599323
2012-08-12T23:25:47
2012-08-12T23:25:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,212
py
############################################################################### # # ListSubscriptionsByTopic # Returns a list of the subscriptions for a specified topic. # # Python version 2.6 # ############################################################################### from temboo.core.choreography import Choreo...
[ "miriam@famulus" ]
miriam@famulus
81ef572b2720d4856f76b694186f6bcfb53baa0f
1c560f8035793e75fb9fda0ff6807cd67a2370ec
/ABC214/C.py
bbaccfd8e49a455c79e986c8d9cfa5c7fe3e2701
[]
no_license
pumbaacave/atcoder
fa4c488a30388e3d8b4928a570c730c29df7ac0c
61923f8714f21e8dd5ebafa89b2c3929cff3adf1
refs/heads/master
2023-08-17T02:27:03.091792
2023-08-05T13:10:58
2023-08-05T13:10:58
155,023,403
1
0
null
2022-11-12T02:36:11
2018-10-28T01:01:52
Python
UTF-8
Python
false
false
1,000
py
import sys import collections stdin = sys.stdin # sys.setrecursionlimit(10**5) def ii(): return int(stdin.readline()) def li(): return map(int, stdin.readline().split()) def li_(): return map(lambda x: int(x)-1, stdin.readline().split()) def lf(): return map(float, stdin.readline().split()) def ls(): return ...
[ "pumbaacave@yahoo.co.jp" ]
pumbaacave@yahoo.co.jp
7c402d715018475f125d7ed7546a3819242a9451
b1aa3c599c5d831444e0ae4e434f35f57b4c6c45
/month1/week3/class7/operator.py
4fc87cc493b996cd295e5b5d82bda5b92cd31cde
[]
no_license
yunyusha/xunxibiji
2346d7f2406312363216c5bddbf97f35c1e2c238
f6c3ffb4df2387b8359b67d5e15e5e33e81e3f7d
refs/heads/master
2020-03-28T12:31:17.429159
2018-09-11T11:35:19
2018-09-11T11:35:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
164
py
from month1.week3.class7.test_Class import jisuan,Fenshu # 先创建两个分数对象 fel = Fenshu(4,9) fe2 = Fenshu(5,8) mf = jisuan() mf.adjust(fel, fe2, ' +')
[ "576462286@qq.com" ]
576462286@qq.com
f663f67d3b155d0b30a1b47e75008bf5eba2ffbc
338062cc2bb422f1364fd18ad5e721f6f713907a
/39. ООП. Определение операторов/Дополнительные задачи/Сложение многочленов.py
51105a443ee66d24ae7e477f720aaf022755bbce
[]
no_license
rady1337/FirstYandexLyceumCourse
f3421d5eac7e7fbea4f5e266ebeb6479b89941cf
0d27e452eda046ddd487d6471eeb7d9eb475bd39
refs/heads/master
2022-06-17T03:07:51.017888
2020-05-12T22:17:34
2020-05-12T22:17:34
263,459,364
0
1
null
null
null
null
UTF-8
Python
false
false
621
py
class Polynomial: def __init__(self, koef): self.koef = koef def __call__(self, value): s = 0 for i in range(len(self.koef)): s += self.koef[i] * pow(value, i) return s def __add__(self, other): st = [] k = Polynomial(st) if len(self.koef) < len(other...
[ "noreply@github.com" ]
rady1337.noreply@github.com
69e0d566f725250eeb6a4df86ade0a78bb6ecaa6
4266e9b1c59ddef83eede23e0fcbd6e09e0fa5cb
/vs/gyp/test/win/gyptest-rc-build.py
c6ee4492d87a3fe06f0d61154a719d5e3350e1c0
[ "BSD-3-Clause" ]
permissive
barrystudy/study
b3ba6ed652d1a0bcf8c2e88a2a693fa5f6bf2115
96f6bb98966d3633b47aaf8e533cd36af253989f
refs/heads/master
2020-12-24T14:53:06.219236
2017-10-23T02:22:28
2017-10-23T02:22:28
41,944,841
0
0
null
null
null
null
UTF-8
Python
false
false
629
py
#!/usr/bin/env python # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """ Make sure we build and include .rc files. """ import TestGyp import sys if sys.platform == 'win32': test = TestGyp.T...
[ "2935973620@qq.com" ]
2935973620@qq.com
12934916e6b0d3c94d1a4fee1d88ccb21c46b386
7fd1406b7e94d4b82a158ce5be87b5ae821e16b6
/pro4_2.py
4f291fb3e1e6b3638c2ed6eb70f86a2232d3f486
[]
no_license
THABUULAGANATHAN/guvi-programs
c1c4d314c7ce43d6c3996fdac85616248c69e4fd
fb004f6916776ca9fbe07b8d507f9725cc55248f
refs/heads/master
2022-01-15T09:08:32.904234
2019-07-19T06:45:04
2019-07-19T06:45:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
308
py
nu1,nu2=map(int,input().split()) if nu1<=nu2: u=nu1 else: u=nu2 m=[] for i in range(0,u): m.append(sorted(list(map(int,input().split())))) m=sorted(m) for i in range(0,len(m[0])): for j in range(0,len(m)-1): if m[j][i]>m[j+1][i]: m[j][i],m[j+1][i]=m[j+1][i],m[j][i] for i in m: print(*i)
[ "noreply@github.com" ]
THABUULAGANATHAN.noreply@github.com
60a6329221eaa31ed4c8bdfa2540f68b65f5a2cc
8883b85daf1a07f6ff4945055356134dc2889522
/Telstra_Messaging/models/provision_number_request.py
a64cd44bba136c0c9a8a48a893dcf33450e00f70
[ "Apache-2.0" ]
permissive
yashints/MessagingAPI-SDK-python
968d86a4efb7220bfec4f2add18e6abef7ea721e
6cb41ed90fd237e57a6ce4ca383fa035cd842a7d
refs/heads/master
2020-12-10T05:20:15.915247
2018-08-10T06:40:11
2018-08-10T06:40:11
233,511,705
0
0
Apache-2.0
2020-01-13T04:34:27
2020-01-13T04:34:26
null
UTF-8
Python
false
false
15,001
py
# coding: utf-8 """ Telstra Messaging API # Introduction <table><tbody><tr><td class = 'into_api' style='border:none;padding:0 0 0 0'><p>Send and receive SMS and MMS messages globally using Telstra's enterprise grade Messaging API. It also allows your application to track the delivery status of both sent an...
[ "steven@developersteve.com" ]
steven@developersteve.com
d224e4bc048889e5860384746a106809df71fbd6
4b169d970dc9390ab53281d4a4a1cb32f79f9317
/subject.py
7e9214220b4ef27ce31b7bce1366a7b8d0c816f6
[]
no_license
marloverket/crosstask
96a710946f2db1cda18c9f9cb9da3cc8aaa3455f
21ba7ea1c5a0f48be252acbea23e916d49bbaebb
refs/heads/master
2021-01-19T15:40:32.553961
2012-11-26T04:04:09
2012-11-26T04:04:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,747
py
import viz,vizinfo,viztask,vizact from datetime import datetime global subj """ Adds a panel to the screen where the subject info gets filled out. """ info_box = vizinfo.add('') info_box.scale(2,2) info_box.translate(0.85,0.8) info_box.title('Participant Info') #Add the GUI elements to the box id_box = info_box.add(...
[ "mattcieslak@gmail.com" ]
mattcieslak@gmail.com
09ad4a8a300cc289665cb238bd3bdbbaf5769d75
f06d9cd5fb86885a73ee997c687f3294840dd199
/services/flickr.py
c21a01e2fd33883bb08bcd8d4e89cbe4ed018d9d
[]
no_license
bu2/oauth-proxy
aaff16a07d5c2c07c8243293c9ed41205b251a74
dbed492f8a806c36177a56ca626f005acec904b1
refs/heads/master
2020-12-26T15:53:40.618570
2013-07-09T05:06:16
2013-07-09T05:06:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,290
py
import foauth.providers class Flickr(foauth.providers.OAuth1): # General info about the provider provider_url = 'http://www.flickr.com/' docs_url = 'http://www.flickr.com/services/api/' category = 'Pictures' # URLs to interact with the API request_token_url = 'http://www.flickr.com/services/o...
[ "marty@martyalchin.com" ]
marty@martyalchin.com
21703522e9344dd45bae154f7468fa13d918ed67
600df3590cce1fe49b9a96e9ca5b5242884a2a70
/build/android/pylib/junit/test_dispatcher.py
51253d4cc07f90be1bf883c29ac92bd70b12bc0c
[ "BSD-3-Clause" ]
permissive
metux/chromium-suckless
efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a
72a05af97787001756bae2511b7985e61498c965
refs/heads/orig
2022-12-04T23:53:58.681218
2017-04-30T10:59:06
2017-04-30T23:35:58
89,884,931
5
3
BSD-3-Clause
2022-11-23T20:52:53
2017-05-01T00:09:08
null
UTF-8
Python
false
false
843
py
# Copyright 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from pylib import constants from pylib.base import base_test_result def RunTests(tests, runner_factory): """Runs a set of java tests on the host. Retur...
[ "enrico.weigelt@gr13.net" ]
enrico.weigelt@gr13.net
b8aa82a8b82c5da5dc36d563d5cbd1447a6552cb
1a1b7f607c5e0783fd1c98c8bcff6460e933f09a
/core/ras/ras_loader.py
b66f88e4e3755f436f6ce986949291f6a9faf8f8
[]
no_license
smrmohammadi/freeIBS
14fb736fcadfaea24f0acdafeafd2425de893a2d
7f612a559141622d5042614a62a2580a72a9479b
refs/heads/master
2021-01-17T21:05:19.200916
2014-03-17T03:07:15
2014-03-17T03:07:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,124
py
from core.db import db_main from core.ras import ras_main from core.ibs_exceptions import * from core.errors import errorText from radius_server.pyrad.server import RemoteHost class RasLoader: def __init__(self): self.rases_ip={} self.rases_id={} self.radius_remote_hosts={} def __getitem__(self,key): retu...
[ "farshad_kh" ]
farshad_kh
7df9cc92dfba37d4d64f5ac42303e6293ec477df
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_0_1_neat/16_0_1_Kaster_count_numbers.py
a8f821f2452a7b5e684a7c06e79b1215ca4b622a
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
1,156
py
import sys def counting_numbers(n, case, i = 1, already_have = set()): if (n == 0): message = 'Case #%d: %s' % (case, 'INSOMNIA') else: N = str(i * n) unique_nums = set(list(N)) combined = unique_nums | already_have if len(combined) < 10: message = counting_nu...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
295395e9c4c9fb7d25a1f433a3626ce141121cb9
9db82d0fc7819b11ebcae4c3904dde1a75bd1054
/setup.py
a06c2273e17b0d0b51aa6c03bf54007730d3d415
[]
no_license
rblack42/PyLit4
f49278ff3417ad4a3348657f1f199f7afc589a1f
352f6e962f2265a585de274372ab678a9f3ccddb
refs/heads/master
2021-01-10T20:47:03.897946
2014-08-17T05:37:46
2014-08-17T05:37:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
964
py
import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name='PyLit4', version='0.1dev', url='https://github.com/rblack42/PyLit4', license='BSD3', author='Roie Black', author_email='rblack@austincc.edu', descript...
[ "rblack@austincc.edu" ]
rblack@austincc.edu
d192513223a3c78eeb653b57ba0afc6b50e163eb
becfe7904e7e17bcd23b891021292542a7968b60
/basic_elements/cross_and_circle.py
f08aee209c76448d5c7e1d35aea0620fa814d597
[ "Apache-2.0" ]
permissive
ppinko/python_knowledge_library
5ef482ddc36b1e4968f11b295a72589be268af99
089348c80e3f49a4a56839bfb921033e5386f07e
refs/heads/master
2023-03-21T04:15:15.947396
2021-03-07T12:26:00
2021-03-07T12:26:00
256,592,705
0
0
null
null
null
null
UTF-8
Python
false
false
3,350
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sat Nov 2 10:32:18 2019 @author: lx """ """ My first interactive game - cross and circle """ import sys from recursion import test board = [['-', '-', '-'], ['-', '-', '-'], ['-', '-', '-']] def update_board(a, b, c, current_board): """ Update boar...
[ "p.pinkowicz@gmail.com" ]
p.pinkowicz@gmail.com
e413a8d1df5d879d723ed8cfe9d8ae4391e1a9ba
e4c4255f89f7e2ebac11d9d14fde6b7556dea483
/src/firestudio/interpolate/scene_interpolate.py
42d080b4648a153f5055893d22689e1eb652598f
[ "MIT" ]
permissive
agurvich/FIRE_studio
9bb10d6c3756a83d5db1967f8f50056536187421
8b027f9a28416a5f7a163008afcb6283b7ceb907
refs/heads/main
2023-05-31T19:14:09.341688
2022-09-12T02:57:18
2022-09-12T02:57:18
108,601,747
9
7
MIT
2022-09-15T17:45:11
2017-10-27T22:35:12
Jupyter Notebook
UTF-8
Python
false
false
12,646
py
import gc import multiprocessing import itertools import numpy as np from abg_python.parallel.multiproc_utils import copySnapshotNamesToMPSharedMemory from abg_python.galaxy.gal_utils import Galaxy from .time_interpolate import TimeInterpolationHandler from .time_helper import get_single_snap,get_load_flags,multi_wo...
[ "agurvich@u.northwestern.edu" ]
agurvich@u.northwestern.edu
ad0163094ee7e3c39d856c2a8d32a28d55661207
7bead245354e233f76fff4608938bf956abb84cf
/cloudmersive_convert_api_client/models/remove_whitespace_from_text_request.py
98ee877987d0fcd6f673c4f2bc3c1052c4a3d3c5
[ "Apache-2.0" ]
permissive
Cloudmersive/Cloudmersive.APIClient.Python.Convert
5ba499937b9664f37cb2700509a4ba93952e9d6c
dba2fe7257229ebdacd266531b3724552c651009
refs/heads/master
2021-10-28T23:12:42.698951
2021-10-18T03:44:49
2021-10-18T03:44:49
138,449,321
3
2
null
null
null
null
UTF-8
Python
false
false
3,711
py
# coding: utf-8 """ convertapi Convert API lets you effortlessly convert file formats and types. # noqa: E501 OpenAPI spec version: v1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class RemoveWhitespaceFromTextRequest...
[ "35204726+Cloudmersive@users.noreply.github.com" ]
35204726+Cloudmersive@users.noreply.github.com
fdd7630f165b381094274f0ee6ad3caae9b8abeb
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/KWoj7kWiHRqJtG6S2_10.py
65551bedd3a2aa334347384e82cd7b4ef7a2f2ef
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
593
py
""" There is a single operator in Python, capable of providing the remainder of a division operation. Two numbers are passed as parameters. The first parameter divided by the second parameter will have a remainder, possibly zero. Return that value. ### Examples remainder(1, 3) ➞ 1 remainder(3, 4) ➞ 3 ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
7da4675809919b8ee509fd2815c35901a2f3e54b
5f2f3743e0f8054d62042fc6c05bf994995bfdee
/tests/test_dlthx.py
14d0cffd033391ce59baf17813d95cad08d92c2d
[ "MIT" ]
permissive
li7300198125/itmlogic
1374a295278af1b818377049c6e0720386c50195
b7297a595b6ab8ec36d3ac5f81755171beed4407
refs/heads/master
2022-11-15T01:59:57.574625
2020-06-27T22:51:23
2020-06-27T22:51:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
541
py
import pytest from itmlogic.dlthx import dlthx def test_dlthx(setup_pfl1): """ Tests the delta h value, which is the interdecile range of elevations between point x1 and point x2, generated from the terrain profile pfl1. The terrain profile (pfl1) is imported from tests/conftest.py via the fixture ...
[ "edward.oughton@gmail.com" ]
edward.oughton@gmail.com
06e6aaa2ca2b7d9bd08666139ce3cf28ff269e0e
7b102f9c8f2e3f9240090d1d67af50333a2ba98d
/gbd_2019/shared_code/central_comp/cod/codem/hybridizer/joblaunch/HybridTask.py
6d838cef584d3c08aa703402a2922aba19274e34
[]
no_license
Nermin-Ghith/ihme-modeling
9c8ec56b249cb0c417361102724fef1e6e0bcebd
746ea5fb76a9c049c37a8c15aa089c041a90a6d5
refs/heads/main
2023-04-13T00:26:55.363986
2020-10-28T19:51:51
2020-10-28T19:51:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,972
py
from hybridizer.database import gbd_round_from_id import hybridizer.metadata as metadata from codem.joblaunch.CODEmTask import CODEmBaseTask import logging logger = logging.getLogger(__name__) class HybridTask(CODEmBaseTask): def __init__(self, user, developed_model_version_id, global_model_ver...
[ "cheth@uw.edu" ]
cheth@uw.edu
3781bf374bfe5f8826bd54fb515b1163b4b53ce4
4749d3cf395522d90cb74d1842087d2f5671fa87
/alice/LC022.py
d5ca5a07462cfcc708bf1982ffc93009853c53ea
[]
no_license
AliceTTXu/LeetCode
c1ad763c3fa229362350ce3227498dfb1f022ab0
ed15eb27936b39980d4cb5fb61cd937ec7ddcb6a
refs/heads/master
2021-01-23T11:49:49.903285
2018-08-03T06:00:16
2018-08-03T06:00:16
33,470,003
0
0
null
null
null
null
UTF-8
Python
false
false
1,107
py
class Solution(object): def generateParenthesis(self, n): """ :type n: int :rtype: List[str] """ if not n: return [''] else: return self.generateParenthesisCore(n - 1, 1, ['(']) def generateParenthesisCore(self, n, leftCount, out): ...
[ "aliceadelice@gmail.com" ]
aliceadelice@gmail.com
a1dc58d81bc25723ec4c8842e7e14cdd086fbf88
9c2b322b36564327cf15e75ff7ad6ef2461643af
/code/analysis/delayedfeedback/scaled_noise_test.py
aaf8d931f31f9d48cc2dc73af5a06e3f2d446a2a
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
dmytrov/stochasticcontrol
3951c0fd555cdcf38bcf6812b1758ed41fd28cf9
a289d5c0953c4a328b2177f51168588248c00f2c
refs/heads/master
2022-12-15T13:19:32.295905
2020-09-14T19:57:04
2020-09-14T19:57:04
295,521,166
0
0
null
null
null
null
UTF-8
Python
false
false
1,897
py
""" Test for the control-scaled noise covariance matrix Reference: "Christopher M. Harris and Daniel M. Wolpert - 1998 - Signal-dependent noise determines motor planning": "We assume that neural commands have signal-dependent noise whose standard deviation increases linearly with the absolute value of th...
[ "dmytro.velychko@gmail.com" ]
dmytro.velychko@gmail.com
68dd6b3d405e733518f0e2777a7fa632c3b710af
865ee6eb8ee52c8056fbf406059c5481f365de6e
/openresty-win32-build/thirdparty/x86/pgsql/pgAdmin 4/web/pgadmin/utils/driver/psycopg2/typecast.py
f1366049c72a54f28a94858ceb1a5e5958dd7673
[ "LicenseRef-scancode-ssleay", "MIT", "BSD-3-Clause", "LicenseRef-scancode-openssl", "LicenseRef-scancode-ssleay-windows", "LicenseRef-scancode-pcre", "LicenseRef-scancode-public-domain", "Zlib", "BSD-2-Clause" ]
permissive
nneesshh/openresty-oss
76e119081ea06bc82b184f96d531cc756b716c9d
bfbb9d7526020eda1788a0ed24f2be3c8be5c1c3
refs/heads/master
2022-12-12T21:39:48.917622
2019-05-31T03:14:18
2019-05-31T03:14:18
184,213,410
1
0
MIT
2022-12-06T17:28:59
2019-04-30T07:28:45
C
UTF-8
Python
false
false
8,221
py
########################################################################## # # pgAdmin 4 - PostgreSQL Tools # # Copyright (C) 2013 - 2018, The pgAdmin Development Team # This software is released under the PostgreSQL Licence # ########################################################################## """ Typecast vari...
[ "nneesshh@163.com" ]
nneesshh@163.com
206f6341e76afb3a6029ba678b56ef8a35aa2ff9
83bbca19a1a24a6b73d9b56bd3d76609ff321325
/bard/providers/download/__init__.py
b2f5fccd3085ca64f2b68c752b7284a583c5807e
[]
no_license
b1naryth1ef/bard
837547a0cbf5c196f5cb9b0dfbb944703fa993e0
a6325a4684080a7a3f61f6f361bd2e0a78986ab9
refs/heads/master
2021-04-30T22:16:17.347526
2020-01-10T18:57:53
2020-01-10T18:57:53
172,892,673
16
0
null
2021-03-25T22:35:25
2019-02-27T10:18:01
Python
UTF-8
Python
false
false
219
py
from .iptorrents import IPTorrentsDownloadProvider from .horriblesubs import HorribleSubsDownloadProvider PROVIDERS = { "iptorrents": IPTorrentsDownloadProvider, "horriblesubs": HorribleSubsDownloadProvider, }
[ "b1naryth1ef@gmail.com" ]
b1naryth1ef@gmail.com
caedcb717831f3959e5cb1d6e58f728a5038387b
702ad30ea1de11f109a5207919bddb5381bd206e
/toy_data.py
c3921fdb841e6d73e0f8bc8a2f4009eb6fbe2202
[]
no_license
glouppe/flowing-with-jax
84e2dfc1a81073328518ca95806f031fefe30287
f58b1772d08e235e71f10d4b28e2a39b771b17cf
refs/heads/master
2023-02-09T00:52:32.157418
2020-12-28T22:30:41
2020-12-28T22:30:41
323,332,121
17
1
null
null
null
null
UTF-8
Python
false
false
4,601
py
# Source: https://raw.githubusercontent.com/rtqichen/ffjord/master/lib/toy_data.py import numpy as np import sklearn import sklearn.datasets from sklearn.utils import shuffle as util_shuffle # Dataset iterator def inf_train_gen(data, rng=None, batch_size=200): if rng is None: rng = np.random.RandomState(...
[ "g.louppe@gmail.com" ]
g.louppe@gmail.com
379c1fa52e66c607912bbf3aec01ca28e4d2b81b
377dc973a58d30154cf485de141223d7ca5424dd
/havok_classes/hclStorageSetupMeshSectionSectionEdgeSelectionChannel.py
2a0b1f269d753d07efa1c18f0755cf5070e00a60
[ "MIT" ]
permissive
sawich/havok-reflection
d6a5552f2881bb4070ad824fb7180ad296edf4c4
1d5b768fb533b3eb36fc9e42793088abeffbad59
refs/heads/master
2021-10-11T12:56:44.506674
2019-01-25T22:37:31
2019-01-25T22:37:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
530
py
from .hkReferencedObject import hkReferencedObject from typing import List from .common import get_array class hclStorageSetupMeshSectionSectionEdgeSelectionChannel(hkReferencedObject): edgeIndices: List[int] def __init__(self, infile): self.edgeIndices = get_array(infile, int, 4) # TYPE_ARRAY:TYPE_...
[ "kevin@turtlerockweb.com" ]
kevin@turtlerockweb.com
eff804ac1d48782d19505cda1ee199107169edf8
354b26a5d854bd044286047d4aef1a0aa54961f1
/lock.py
1bddd56489c297a1cedc7b6e3ede027691018df2
[ "MIT" ]
permissive
liondani/pytshares
3796ca8705de409825ef8631604f49319887b510
45458a026a23c53ad2bacd56abb9e930e8268bb4
refs/heads/master
2020-12-31T01:36:56.896329
2014-12-14T00:08:22
2014-12-14T00:08:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
193
py
#!/usr/bin/python from btsrpcapi import * import config if __name__ == "__main__": rpc = btsrpcapi(config.url, config.user, config.passwd) print rpc.walletopen("delegate") print rpc.lock()
[ "mail@xeroc.org" ]
mail@xeroc.org
65ca126a7c2f6266a87cf7cd0e1e349388f0bba1
6928f8ee318edeb4a3bdbdce587c3b0b8d63057b
/generate_small.py
ec20bb2e670b8cb56ea64ef0181e06f4a6107608
[ "CC0-1.0", "MIT" ]
permissive
tonny2v/brand
9940aa4ffb245fe5b8ac956e76c02f8d3d133dbe
422d34acf78757073c0b186b9420a6e7bdf504ff
refs/heads/master
2021-01-15T16:04:46.009461
2016-06-04T01:18:19
2016-06-04T01:18:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,819
py
import random import svgwrite from svgwrite.container import Hyperlink phodal_width = 176 secondary_text_x = 200 basic_text_y = 35 def generate_idea(): y_text_split = phodal_width + 1 height = 50 rect_length = 2 width = 290 max_rect_length = 10 dwg = svgwrite.Drawing('shields/idea-small.svg...
[ "h@phodal.com" ]
h@phodal.com
67a21a65d9789ec1615b82c1d99d08c87c6c9089
da1f49aa0ee3cbbd0b7add4a8ee4210c50fc81b7
/demo/funs/passing_by_value_ref.py
37a1dea123297fec3d8947fe4dabb9f97c94cefb
[]
no_license
srikanthpragada/PYTHON_30_AUG_2021
a1cde290072e152440dcd07dce377154a9e3052e
f84f272718b483fbf67ca8f950e6e4f933307e63
refs/heads/master
2023-08-25T14:11:12.826321
2021-10-11T14:14:36
2021-10-11T14:14:36
402,412,522
1
0
null
null
null
null
UTF-8
Python
false
false
252
py
# Pass an immutable object by reference def increment(v): print(id(v)) v += 1 print(id(v)) print(v) def prepend(lst, value): lst.insert(0, value) a = 100 print(id(a)) increment(a) print(a) l = [1, 2, 3] prepend(l, 10) print(l)
[ "srikanthpragada@gmail.com" ]
srikanthpragada@gmail.com
e2d67dc32cb8b6f526bcf44f7fb21a804805dfc6
d5daa769d289c6e230982aa403cfd5dccc852d7f
/digipal/patches.py
94affe83ca3ae42c39c7ef5ae224f24ff32a6a3d
[]
no_license
kcl-ddh/digipal
912171fbe6c5046d72278cdba8613a8450f19e84
99f3d9d8d99d3bb9d074ccf147b6a9f06fb60ff1
refs/heads/master
2022-12-11T01:48:18.255582
2022-01-20T11:51:16
2022-01-20T11:51:16
6,492,508
54
19
null
2022-11-22T00:34:41
2012-11-01T16:04:53
JavaScript
UTF-8
Python
false
false
9,411
py
''' Patches for other apps or libraries. Patches should always be avoided if possible because they are likely to break when the patched app gets upgraded. However we don't have direct control over them and it's sometimes the most efficient way to quickly include missing features. Patches are ap...
[ "geoffroy.noel@kcl.ac.uk" ]
geoffroy.noel@kcl.ac.uk
63af416133ae408431705293a3634711f5cf8416
7bcc7f36743694a2b0a8aa1b496ceca1371b130e
/rltools/rltools/distributions.py
8759f25a04a5caad0764865ddf21a86f17d5cb22
[]
no_license
parachutel/MADRL
7cfa32ab0e9a6bee2b6e31434a8e2835b9e9265d
f03b8009ede6d3324f6e2091dcfa3911b5968fe0
refs/heads/master
2020-04-25T07:23:21.004116
2019-10-09T21:21:16
2019-10-09T21:21:16
172,612,159
0
1
null
2019-02-26T01:10:00
2019-02-26T01:10:00
null
UTF-8
Python
false
false
5,032
py
import numpy as np import tensorflow as tf from rltools import tfutil from rltools import util TINY = 1e-10 class Distribution(object): @property def dim(self): raise NotImplementedError() def kl(self, old, new): raise NotImplementedError() def log_density(self, dist_params, x): ...
[ "lisheng@stanford.edu" ]
lisheng@stanford.edu
be1820b5330c658d7e0361946656285991cd853c
7a4f61d55378fec4df952bd574cb1db57e795084
/analyze/simulation/Trader.py
273c29a7e0b47bf9d142acc039fb3a9db5d5fd64
[]
no_license
569593913/enoch
9da83638b99aa6e6a649914e01bef3abdc236895
8c8c7ff5a527a5287894b6522fe4e87974cc5e01
refs/heads/master
2021-05-05T15:48:45.931858
2019-03-03T12:07:47
2019-03-03T12:07:47
117,324,651
0
0
null
null
null
null
UTF-8
Python
false
false
5,497
py
# -*- coding: utf-8 -*- from .HoldStock import * from .TradeRecord import * import threading from datetime import * class Trader: """ 模拟交易者 attribute: original 初始资金 cash 当前资金 own 当前拥有的股票,map类,key为股票代码,value为HoldStock list record 交易记录 t...
[ "gogs@fake.local" ]
gogs@fake.local
2ed228386348b55ff136f6ca805e70a088d5c9d1
2f8190a41c90b5fdc44610358e5222d0193b1ae9
/geomodelgrids/apps/__init__.py
f9a17349b10e2cb487df056c5d1107496c1f2c29
[ "LicenseRef-scancode-public-domain", "CC0-1.0", "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
ehirakawa/geomodelgrids
26e296be37ade0d2f877d9e6263a41663835b08a
827668ea5b2d03621a750f1a068dc81f58316399
refs/heads/master
2020-08-20T22:32:30.093818
2019-11-27T04:35:51
2019-11-27T04:35:51
216,073,345
0
0
NOASSERTION
2019-10-18T17:17:31
2019-10-18T17:17:31
null
UTF-8
Python
false
false
77
py
"""Initialize geomodelgrids applications module.""" from . import rasterize
[ "baagaard@usgs.gov" ]
baagaard@usgs.gov
f957d70afd2e84447f77b11cfb6357e00c3b3251
09cd370cdae12eb45090033a00e9aae45ee26638
/BOJ/[S1]2110 공유기 설치.py
f30a43696c21b9a44ec824111b7989ae7af87ed9
[]
no_license
KWONILCHEOL/Python
ee340f6328945651eb29d2b23c425a92c84a4adb
1ea5f5f74894a5929e0e894c5c12f049b8eb9fb4
refs/heads/main
2023-04-11T09:36:54.874638
2021-04-24T04:29:12
2021-04-24T04:29:12
328,658,511
0
0
null
null
null
null
UTF-8
Python
false
false
666
py
# [S1]2110 공유기 설치 # https://www.acmicpc.net/problem/2110 # 파라메트릭 서치, 이진탐색 def check(k): value = arr[0] cnt = 1 for i in range(1,n): if arr[i] >= value + k: value = arr[i] cnt += 1 if cnt == c: return True return False import sys input = sys.stdin.readline n,c = list(map(int, inp...
[ "kwon6460@gmail.com" ]
kwon6460@gmail.com
bf376078d8387fe06b0ee8b09d2774dda4c6d84a
78c4f0d5cfcdcec678ff78e259b64550692120fa
/ormar/models/__init__.py
eb6bdd7c5c5224e69246a5b734a225109dc2cd42
[ "MIT" ]
permissive
dudil/ormar
3c31d592f6a23cacff2ac0e3a6163f4778ab286f
7c0f8e976a651c40dbc669f1caba1361f0af2ead
refs/heads/master
2023-07-07T22:26:20.165473
2021-03-05T11:37:28
2021-03-05T11:37:28
344,250,603
0
0
MIT
2021-09-07T03:44:08
2021-03-03T20:08:35
Python
UTF-8
Python
false
false
555
py
""" Definition of Model, it's parents NewBaseModel and mixins used by models. Also defines a Metaclass that handles all constructions and relations registration, ass well as vast number of helper functions for pydantic, sqlalchemy and relations. """ from ormar.models.newbasemodel import NewBaseModel # noqa I100 from ...
[ "collerek@gmail.com" ]
collerek@gmail.com
f459e40a8809ff26b3ca6c6860a1ad7d2bc37866
eb2ebaf1c53cfeb5a1abbc05e6423c5fdc27ca8a
/.history/game_functions_20200129213418.py
3fdbdaa6f774bd7226f7e217a22bd777294d0e99
[]
no_license
HeperW/VSCO
8120bde36c73601e5b956955c0b68b599c9a663d
4c3ee4aa45424313e335ff05934fbb6df7950304
refs/heads/master
2022-05-08T00:51:44.618385
2022-03-16T03:18:34
2022-03-16T03:18:34
233,367,724
0
0
null
null
null
null
UTF-8
Python
false
false
429
py
import sys import pygame def check_events(): """响应按键与鼠标事件""" for event in pygame.event.get(): if event.type == pygame.QUIT: sys.exit() def update_screen(ai_settings,screen,ship): """更新屏幕上的图像,并切换到新屏幕""" #每次循环时都重绘屏幕 screen.fill(ai_settings,bg_color) ship.blitme() #让最近绘制的...
[ "hgym300400@126.com" ]
hgym300400@126.com
3d5b02ff98f9c65ed8a040f582968c14c0bc5442
53fa34a5ecfbeea84c960afc3ba088c3a7a41587
/subunit2sql/migrations/versions/10a2b6d4b06e_add_even_more_indexes.py
76c52efc0511d66674a0a73f6f3796157a16d32f
[ "Apache-2.0" ]
permissive
mguiney/subunit2sql
dd7259110363416c7892fdab63e2391884a5179b
6f95e43478ba91027e07af0d9c7e1305f0829c2e
refs/heads/master
2021-09-06T23:09:21.095681
2018-02-07T19:42:46
2018-02-07T19:42:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,503
py
# Copyright (c) 2015 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "mtreinish@kortar.org" ]
mtreinish@kortar.org
61ef95b1f797f2f0ce56bf7014743057452773e3
6e601105760f09d3c9f5306e18e4cf085f0bb4a2
/10000-99999/10875.py
2f6f2663592474c300ad791f26143b1e12197241
[]
no_license
WSJI0/BOJ
6412f69fddd46c4bcc96377e2b6e013f3bb1b524
160d8c13f72d7da835d938686f433e7b245be682
refs/heads/master
2023-07-06T15:35:50.815021
2023-07-04T01:39:48
2023-07-04T01:39:48
199,650,520
2
0
null
2020-04-20T09:03:03
2019-07-30T12:48:37
Python
UTF-8
Python
false
false
633
py
''' 10875번 뱀 미완성 ''' import sys input=sys.stdin.readline l=int(input()) n=int(input()) a=[] for _ in range(n): a.append(list(input().rstrip().split())) visited=[] now=[0, 0] d='r' change={ 'r':['u', 'd'], 'd':['r', 'l'], 'l':['d', 'u'], 'u':['l', 'r'] } ans=0 for i in range(n): if d=='r': ...
[ "lifedev@naver.com" ]
lifedev@naver.com
de60657dc3cdcffb3495e5a43f9c653e3ec535ad
81d7c62c357c086a8990105d4179c9a2cda0f89c
/Requests_module_old_project_cDVR_reference/aurora_cdvr_sanity_tests/scripts/sanity_scripts/sanity_dataplane_MOSrecorder.py
b8be0ae710863f822af8a34ae23dcbfa6aa0c8e1
[]
no_license
JAGASABARIVEL/Python_reference
57f49a3f8d894f02f8003657a914395f4b55d844
f2438289f189fc364dbe9dff0421c3df9be366b2
refs/heads/master
2020-04-08T19:23:23.406783
2018-11-29T12:25:43
2018-11-29T12:25:43
159,653,055
0
1
null
2020-01-25T19:07:42
2018-11-29T11:06:42
Python
UTF-8
Python
false
false
3,606
py
#!/usr/bin/python import os import sys import time import requests import json import ast import mypaths from readYamlConfig import readYAMLConfigs from L1commonFunctions import * from L2commonFunctions import * ########################################################################## # Get MOS recorder ##########...
[ "jkarunan@cisco.com" ]
jkarunan@cisco.com
6bca10149c8caba082f89061bea81bdf7681bbb6
23dfbb1bab2e8a8a8d85b30fb9edfdbf0a2cbdaa
/python/test/feature_extractor_test.py
f632a7868ad93854f69ef642494231f3aa031000
[ "Apache-2.0" ]
permissive
zucksong/vmaf
ff13854bd06ddf3554bcdcea8bffb8c8daa767ac
90aff1d5464e05ed752dd39a285de6636b9fa897
refs/heads/master
2021-05-31T23:25:03.229557
2016-06-28T20:43:05
2016-06-28T20:43:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
37,542
py
__copyright__ = "Copyright 2016, Netflix, Inc." __license__ = "Apache, Version 2.0" import os import unittest import re import config from core.feature_extractor import VmafFeatureExtractor, MomentFeatureExtractor, \ PsnrFeatureExtractor, SsimFeatureExtractor, MsSsimFeatureExtractor from core.asset import Asset f...
[ "zli@netflix.com" ]
zli@netflix.com
907c9f9d2b9bd1d9a072348f7dbe58b4a396c314
877bd6d9f9f38320a82f46d6c581d6099f77597b
/dev/installers/windows/substitute_version.py
b93fc7dafa563a3d23215c2ebe705f6cdd978140
[ "BSD-3-Clause", "CC-BY-3.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
caltechlibrary/holdit
04b7563722e6883ffe135398401e35da35b0af73
474165764e3514303dfd118d1beb0b6570fb6e13
refs/heads/main
2021-06-01T17:06:24.569179
2020-12-04T20:39:45
2020-12-04T20:39:45
141,499,163
2
0
NOASSERTION
2020-07-28T00:18:25
2018-07-18T23:13:58
Python
UTF-8
Python
false
false
1,097
py
# ============================================================================= # @file substitute_version.py # @brief Replace version string in holdit_innosetup_script.iss.in # @author Michael Hucka <mhucka@caltech.edu> # @license Please see the file named LICENSE in the project directory # @website https://gith...
[ "mhucka@caltech.edu" ]
mhucka@caltech.edu
532e42534f668fbcfe7009eba86ba479f485e7fc
54937a50e74ad209f648f69b4a4509113d90b016
/unsubscribe/views.py
d96d3bcc0ba01c063caa2d37ec5e26c29e6f0e08
[ "MIT" ]
permissive
MHM5000/mechanical-mooc
0a728ab45659075f6cf28bd3cafb72ac9abff259
a0faa6d06f4cb157e4b92cc35d6d148e53096a41
refs/heads/master
2021-01-17T15:16:37.531668
2013-11-15T19:56:41
2013-11-15T19:56:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
789
py
from django import http from django.views.decorators.csrf import csrf_exempt from mailgun import utils import models as unsubscribe_model import logging log = logging.getLogger(__name__) @csrf_exempt def unsubscribe_webhook(request): verified = utils.verify_webhook( request.POST.get('token'), re...
[ "dirkcuys@gmail.com" ]
dirkcuys@gmail.com
e145bb17d89f0c7fbcba3dcc46cf5bdd6350a7af
3fcd2c184abaa9bef5f4a916fbf0e9587da06346
/ByTags/Two_pointers/N_Sum/Two_Sum.py
5e3fdf31bf183199ab56e2d7f281fb29c83cf6ef
[]
no_license
chinitacode/Python_Learning
865ff42722e256776ae91d744b779fa476e23f45
49aa02367e3097aca107b70dab43b5f60a67ef9f
refs/heads/master
2020-06-29T01:05:39.331297
2020-03-21T14:29:51
2020-03-21T14:29:51
200,393,997
0
0
null
null
null
null
UTF-8
Python
false
false
2,263
py
''' 1. 两数之和 [简单] 给定一个整数数组 nums 和一个目标值 target,请你在该数组中找出和为目标值的那 两个 整数, 并返回他们的数组下标。 你可以假设每种输入只会对应一个答案。但是,你不能重复利用这个数组中同样的元素。 示例: 给定 nums = [2, 7, 11, 15], target = 9 因为 nums[0] + nums[1] = 2 + 7 = 9 所以返回 [0, 1] [Method 1] 字典(空间换时间) [Time]: O(N) [Space]: O(N) ''' class Solution: def twoSum(self, nums: List[int], tar...
[ "ziyu_zhou_victoria@163.com" ]
ziyu_zhou_victoria@163.com
f8b6383e310a57cf9e66e15cab84cf3a09b22109
2071cf1aec8e9762a70b8c932943d8769da7f37a
/python_source/gui/tkinter/tkcascade.py
e795b56bd5793825da24ee9c77edbe452742da7b
[]
no_license
rinkeigun/linux_module
70581a793d1f170ad1a776fd1acf4cda1abecd52
94450fb2c6af0fc56f451ae9bf74f7aca248d0a6
refs/heads/master
2020-05-21T17:49:15.608902
2018-09-18T22:57:40
2018-09-18T22:57:40
60,572,658
0
0
null
null
null
null
UTF-8
Python
false
false
1,149
py
from tkinter import * import tkinter.messagebox as tkmsg root = Tk() root.option_add('*font', ('FixedSys', 14)) var = StringVar() var.set('normal') def dummy(): pass # 状態の変更 def change_state(): m1.entryconfigure('Menu1', state = var.get()) m1.entryconfigure('Menu2', state = var.get()) m1.entryconf...
[ "huiqun.lin@gmail.com" ]
huiqun.lin@gmail.com
0087bc89d3f65b6eb2c771479968d35395ed9bca
e7b7d22571fba04f333422a4d39cc24a9b6ccc18
/btre/accounts/models.py
5037b67096f7019f1fa95cf54cdf9d9aa17fa811
[]
no_license
fayblash/RealEstateSite
21ca7ef15d3e10d44e95e6d1028943f230166d64
49c94ccef58fd1a6bc0b022a8221f04d4163c2d6
refs/heads/main
2023-05-09T20:36:38.472318
2021-06-07T19:39:39
2021-06-07T19:39:39
374,766,507
0
0
null
null
null
null
UTF-8
Python
false
false
185
py
from django.db import models from django.contrib.auth.models import User from django.db.models.signals import post_save from django.dispatch import receiver # Create your models here.
[ "fayblash@gmail.com" ]
fayblash@gmail.com
86204860d504da65e8bee2af93e4a12db6e22975
0f79fd61dc47fcafe22f83151c4cf5f2f013a992
/BOJ/20061.py
513d669ff1856e5b91e001f0bd0c2ed3df46b2e8
[]
no_license
sangm1n/problem-solving
670e119f28b0f0e293dbc98fc8a1aea74ea465ab
bc03f8ea9a6a4af5d58f8c45c41e9f6923f55c62
refs/heads/master
2023-04-22T17:56:21.967766
2021-05-05T12:34:01
2021-05-05T12:34:01
282,863,638
0
0
null
null
null
null
UTF-8
Python
false
false
4,676
py
""" 모노미노도미노는 아래와 같이 생긴 보드에서 진행되는 게임이다. 보드는 빨간색 보드, 파란색 보드, 초록색 보드가 그림과 같이 붙어있는 형태이다. 게임에서 사용하는 좌표 (x, y)에서 x는 행, y는 열을 의미한다. 빨간색, 파란색, 초록색 보드가 사용하는 좌표는 그 색으로 그림에 적혀있다. 이 게임에서 사용하는 블록은 타일 하나 또는 두 개가 가로 또는 세로로 붙어있는 형태이다. 아래와 같이 세 종류가 있으며, 왼쪽부터 순서대로 크기가 1×1, 1×2, 2×1 이다. 행이나 열이 타일로 가득찬 경우와 연한 칸에 블록이 있는 경우가 동시에 발생할 수 있다....
[ "dltkd96als@naver.com" ]
dltkd96als@naver.com
520f12149113622abf4fab89bc8f557df8cb8448
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_stopcocks.py
68ca2f6991ffbd35b964e278c28a3a6940bfce02
[ "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
252
py
from xai.brain.wordbase.nouns._stopcock import _STOPCOCK #calss header class _STOPCOCKS(_STOPCOCK, ): def __init__(self,): _STOPCOCK.__init__(self) self.name = "STOPCOCKS" self.specie = 'nouns' self.basic = "stopcock" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
8eead63d1c460a41992cf8c79c6553c01f6c96fe
7dced0f2325269e8a4ebfdddd24330a0d33b1a53
/os_brick/tests/initiator/test_connector.py
2e985feaae00282788caeb2395eeafde2c6191b6
[ "Apache-2.0" ]
permissive
hemna/os-brick
d0fc017a4a7b62f8d8ab9cba1bb36b8191339422
4f4ced7d8ff1c043065091771c2a8c9d69161d96
refs/heads/master
2021-05-30T15:54:17.668144
2015-02-06T19:50:34
2015-02-06T19:50:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
46,237
py
# (c) Copyright 2013 Hewlett-Packard Development Company, L.P. # # 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 re...
[ "walter.boring@hp.com" ]
walter.boring@hp.com
0a9a17d46c80539a638273628970b034d16c45ab
cbf9f600374d7510988632d7dba145c8ff0cd1f0
/AISing/c.py
1bced9d46211c10b0d06d2db890caae23670859b
[]
no_license
sakakazu2468/AtCoder_py
d0945d03ad562474e40e413abcec39ded61e6855
34bdf39ee9647e7aee17e48c928ce5288a1bfaa5
refs/heads/master
2022-04-27T18:32:28.825004
2022-04-21T07:27:00
2022-04-21T07:27:00
225,844,364
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
n = int(input()) xyz = [[[0 for i in range(101)] for j in range(101)] for k in range(101)] ans = [0 for i in range(n+1)] def gen_n(x, y, z): return x**2 + y**2 + z**2 + x*y + y*z + z*x for i in range(1, 101): for j in range(1, 101): for k in range(1, 101): num = gen_n(i, j, k) i...
[ "sakakazu2468@icloud.com" ]
sakakazu2468@icloud.com
7e9fe626518f5b85951b1e02fa7d6781d85d37d9
664646ccbeb6575582299e7d1c6ccc696f07ccba
/web/route/user/api.py
3533bfbe0e367bb6cc3ade981e379c80b4e3e156
[]
no_license
0xss/bayonet
3f1ce5832a06eef7e60b198c6c56cf59e4543199
d723dbf0299ac86d9a4419741a197985558e283c
refs/heads/master
2021-02-25T20:21:11.342592
2020-03-06T04:40:14
2020-03-06T04:40:14
245,462,098
0
1
null
2020-03-06T16:02:33
2020-03-06T16:02:32
null
UTF-8
Python
false
false
18,514
py
from flask_restful import reqparse, Resource from flask import session, request, json from werkzeug.security import check_password_hash, generate_password_hash import datetime from web.utils.logs import logger from web.models import User, UserLoginLogs, UserLogs from web import DB, APP from web.utils.auxiliary import ...
[ "1767986993@qq.com" ]
1767986993@qq.com
d392365edbf57883fa52e225c5ec1c543754e39e
cccf0b4c6b08502dea94ac1febb49fc0f8561cc2
/src/bind.py
e9823644dd74973261df64057956374e5c7b9592
[]
no_license
rpm-io/rpm.io
55e13a4795f421a2514f45d707820c4fe605dbf2
80cd5f0703c550628d62a7f45e213e9434a64e8d
refs/heads/master
2022-12-15T21:54:14.040117
2019-08-25T16:44:28
2019-08-25T16:44:28
187,483,128
1
0
null
2022-12-10T15:03:44
2019-05-19T13:53:28
JavaScript
UTF-8
Python
false
false
3,020
py
import sys import uuid import json from importlib import import_module import os sys.path.append(os.getcwd()) class Bind: __VARIABLES__ = { "END": "END" } def __init__(self): self.module = import_module(sys.argv[1]) self.ok = True def declare(self, value): name = str...
[ "luismiguel.mopa@gmail.com" ]
luismiguel.mopa@gmail.com
ae21549b8b1f5138084eb96159f1b2b83e5bc6a6
fc772efe3eccb65e4e4a8da7f2b2897586b6a0e8
/Controller/glance/common/location_strategy/store_type.py
75f8c239670b96c2e5855ca2b5e1b7de69bda730
[]
no_license
iphonestack/Openstack_Kilo
9ae12505cf201839631a68c9ab4c041f737c1c19
b0ac29ddcf24ea258ee893daf22879cff4d03c1f
refs/heads/master
2021-06-10T23:16:48.372132
2016-04-18T07:25:40
2016-04-18T07:25:40
56,471,076
0
2
null
2020-07-24T02:17:46
2016-04-18T02:32:43
Python
UTF-8
Python
false
false
4,238
py
# Copyright 2014 IBM Corp. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by app...
[ "wwang@linx-info.com" ]
wwang@linx-info.com
d54bbda96683cdd763c1b279aba965e3873a5a09
34599596e145555fde0d4264a1d222f951f49051
/pcat2py/class/21ede120-5cc5-11e4-af55-00155d01fe08.py
517fcbf9e1895c3f103154e3d831715a37a09a75
[ "MIT" ]
permissive
phnomcobra/PCAT2PY
dc2fcbee142ce442e53da08476bfe4e68619346d
937c3b365cdc5ac69b78f59070be0a21bdb53db0
refs/heads/master
2021-01-11T02:23:30.669168
2018-02-13T17:04:03
2018-02-13T17:04:03
70,970,520
0
0
null
null
null
null
UTF-8
Python
false
false
1,497
py
#!/usr/bin/python ################################################################################ # 21ede120-5cc5-11e4-af55-00155d01fe08 # # Justin Dierking # justindierking@hardbitsolutions.com # phnomcobra@gmail.com # # 10/24/2014 Original Construction ################################################################...
[ "phnomcobra@gmail.com" ]
phnomcobra@gmail.com
bc1680235109bc4da1b863579b5bf349298ae9fe
2ae59d7f70f083fc255c29669ada5dcacbd3411f
/encasa/utils/models/common_regex.py
7b41e0009066740932b74d66f52a278a95a23019
[]
no_license
gonza56d/django_docker_template
aeccfec357aa9732abf869f8baf0c0b9f11f7200
f739c71dcb01819caf4520a2169264ea1abcf4b0
refs/heads/master
2023-03-14T04:09:01.200633
2021-03-07T21:08:28
2021-03-07T21:08:28
345,263,273
0
0
null
null
null
null
UTF-8
Python
false
false
606
py
# Django from django.core.validators import RegexValidator class CommonRegex: """Common validation regular expressions.""" LOWERCASE_AND_NUMBERS = RegexValidator( regex='[a0-z9]', message='Only lowercase letters and numbers allowed.' ) LETTERS_AND_NUMBERS = RegexValidator( reg...
[ "gonza56d@gmail.com" ]
gonza56d@gmail.com
4bd1566537db005bd9d5471cb5b042372ba16b80
7ba4e38e0835cd009a078ce39a480b5bacaba21f
/sample_code/chap8/8.4.5.rectify.py
0b0fab1f3600418d5bf6050b41150c51447f663e
[]
no_license
moguranran/computer_vision_test
fe0641987905755c733e4ab16f48c3b76d01b3f4
4c5b5572d01e13a42eefb2423e66e34675c305cb
refs/heads/master
2022-04-20T17:53:37.668609
2020-03-31T00:13:02
2020-03-31T00:13:02
249,196,701
0
0
null
null
null
null
UTF-8
Python
false
false
806
py
#!/usr/bin/python # -*- coding: utf-8 -*- from PIL import Image from pylab import * from scipy import ndimage import homography imname = 'sudoku_images/sudokus/sudoku8.JPG' im = array(Image.open(imname).convert('L')) # 4隅を入力する figure() imshow(im) gray() x = ginput(4) # 左上、右上、右下、左下 fp = array([array([p[1],p[0],1]) ...
[ "peehssalg@gmail.com" ]
peehssalg@gmail.com
15006b6d8c7f8ae7ecca9c43b3bfa34aa5e18d1c
62ea331d8da218e65a4aee517f4473110f80c03c
/matches/migrations/0011_auto_20180601_2337.py
5afbf4770bf95e23ffe57a987598cffa7867b8b4
[]
no_license
maddrum/world_cup_results
11f47a1b0f9a68a0761c7d83d25cc1efb57c2240
282d8f55344ba718ea371a22f34454673f23a615
refs/heads/master
2020-03-20T05:40:44.173185
2018-07-16T13:12:15
2018-07-16T13:12:15
136,724,186
0
0
null
null
null
null
UTF-8
Python
false
false
1,612
py
# Generated by Django 2.0.2 on 2018-06-01 20:37 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('matches', '0010_auto_201...
[ "maddrum9@gmail.com" ]
maddrum9@gmail.com
f68dedf0d4f41d08e278bea9df10e7841f8c749b
46c76c7ca1d9d030606f2e3e95a2a9e6bbad2789
/workspace201406/ClassExamples/accounts.py
77f58e4bc1ffee16226f5db5e4c1ad21430917fc
[]
no_license
KayMutale/pythoncourse
be9ff713cffc73c1b9b3c1dd2bdd6d293637ce1e
985a747ff17133aa533b7a049f83b37fc0fed80e
refs/heads/master
2023-04-13T07:58:00.993724
2021-04-16T14:19:41
2021-04-16T14:19:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,401
py
''' Created on 10 Jun 2014 @author: mark ''' class Account(object): ''' classdocs ''' last_accno = 0 types = ("ASSET","LIABILITY","EQUITY","INCOME","EXPENCE") _perm_accounts = types[:3] _credit_accounts = types[1:4] _debit_accounts = types[0] +types[4] def __init__(self,balanc...
[ "mark@ledge.co.za" ]
mark@ledge.co.za
f4630ba76d4e6069dec7ef7512e88ed698af23d2
5f61724fc5cad3f82094a681c853cc9f0337f050
/test/test_xmlpart.py
9f1f8a02e7773b2d4bbc9354889b40ace6f30d36
[ "Apache-2.0" ]
permissive
barseghyanartur/odfdo
2cecbbbb33f23d5ed0ba80cb9208a8e7857b93a0
e628a9e9daa40319a777d216ec7ebca4057b3344
refs/heads/master
2022-11-17T15:43:15.662484
2020-06-27T00:41:38
2020-06-28T22:53:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,598
py
#!/usr/bin/env python # Copyright 2018 Jérôme Dumonteil # Copyright (c) 2009-2010 Ars Aperta, Itaapy, Pierlis, Talend. # # 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.apach...
[ "jerome.dumonteil@gmail.com" ]
jerome.dumonteil@gmail.com
dee86a91a321348c1a9ea17593f58fb0fab6248f
a39f7413dcd87bb26319fe032d59cf12d7c69d54
/backbones/decoder.py
67afba19646e66388f3d87d8fefe214f1dc4ee88
[]
no_license
liangyuandg/cross_modality_ibsr
8ad937b5475bd5e6b00ad50351706304a962f975
bb5cefd890f5fa0e15eae6e54d9559f5e8eb94ed
refs/heads/master
2023-06-24T02:58:25.318170
2021-07-27T08:29:27
2021-07-27T08:29:27
389,904,637
0
1
null
null
null
null
UTF-8
Python
false
false
2,455
py
import torch.nn as nn import torch def conv3x3(in_planes, out_planes, stride=1, groups=1, dilation=1): """3x3 convolution with padding""" return nn.Conv2d(in_planes, out_planes, kernel_size=3, stride=stride, padding=dilation, groups=groups, bias=False, dilation=dilation) class ResNet_De...
[ "liangyuandg@g.ucla.edu" ]
liangyuandg@g.ucla.edu
979ced1823c4944d573592df7133274f4f069d64
0c13c5b6ca20c639a94ca3b52b891d2d7cf4366f
/code/libs/EM/EM POO/CDistribution.py
e132f38111a3a657cb2acf5880608e6fca3ca123
[]
no_license
manuwhs/EM-HMM-Directional-Statistics
3869b7dbbe21d81868f0e7c212f97de4216b58bc
275bf5ea3b2d84838e27f3c6fa60ded728947031
refs/heads/master
2021-04-28T03:09:51.787459
2018-04-28T08:51:01
2018-04-28T08:51:01
122,133,390
3
0
null
null
null
null
UTF-8
Python
false
false
26,987
py
# Change main directory to the main folder and import folders import os # Official libraries import matplotlib.pyplot as plt import pandas as pd # Own libraries from graph_lib import gl import sampler_lib as sl import EM_libfunc as EMlf import EM_lib as EMl import copy import pickle_lib as pkl import Gaussian_distri...
[ "manuwhs@bitbucket.org" ]
manuwhs@bitbucket.org