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
57144ba8660c10dd37892b39bbff1bd1ddd4c26b
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/tree-big-1632.py
c27e3c31f7a422f26419ccc5e47de4fac1aec0eb
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
23,289
py
# Binary-search trees class TreeNode(object): value:int = 0 left:"TreeNode" = None right:"TreeNode" = None def insert(self:"TreeNode", x:int) -> bool: if x < self.value: if self.left is None: self.left = makeNode(x) return True else: ...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
2f56a1db02713ee53ddaec485378f1294c708ee3
6206ad73052b5ff1b6690c225f000f9c31aa4ff7
/Code/Count Square Submatrices with All Ones.py
325a84ced6169688411d4f22bdb3258c68ac226f
[]
no_license
mws19901118/Leetcode
7f9e3694cb8f0937d82b6e1e12127ce5073f4df0
752ac00bea40be1e3794d80aa7b2be58c0a548f6
refs/heads/master
2023-09-01T10:35:52.389899
2023-09-01T03:37:22
2023-09-01T03:37:22
21,467,719
0
0
null
null
null
null
UTF-8
Python
false
false
1,543
py
class Solution: def countSquares(self, matrix: List[List[int]]) -> int: m, n = len(matrix), len(matrix[0]) #Get matrix dimensions. result = 0 ...
[ "noreply@github.com" ]
mws19901118.noreply@github.com
be09570b55e0ea5bfda5528a24d46e3de87bdab9
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/303/usersdata/293/66295/submittedfiles/testes.py
4e7a962413c4f9bc31a6ee29ecf536f928e13a0b
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
180
py
# -*- coding: utf-8 -*- #COMECE AQUI ABAIXO print ("Marcos Antônio Ferreira Barroso Filho") print ("19 anos") print (11+1037) print (9*35+160/5) print (3.14*5**2*30)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
e468d360cbfca6b213f5833ec93cea81fa24ef95
45717f511a0904e6aab705758d6834bb2f8eda05
/DRF_vuejs/venv/bin/easy_install-3.5
f3ab740c4d1dbbb0be05d89228007915be0e7398
[]
no_license
lemeshkob/DRF_vue_demo
d59e3b22fb8a484aa2cc50400daa62d549b78191
353e3319a702ee8474e5d6199312612b02efc06e
refs/heads/master
2021-04-26T22:28:25.877739
2018-03-06T15:24:33
2018-03-06T15:24:33
124,097,394
0
0
null
null
null
null
UTF-8
Python
false
false
441
5
#!/home/lemes/Desktop/DRF_vuejs/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==28.8.0','console_scripts','easy_install-3.5' __requires__ = 'setuptools==28.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', ...
[ "lemeshkob@gmail.com" ]
lemeshkob@gmail.com
b4d8c825d08d50409b14dd86da4e091463df79dc
cbc62127cc2590f5be2eea3488ea98c4c9833409
/sticky_mitten_avatar/paths.py
5b4b7910e458682a1d8e3e27e48533a5d8942eba
[]
no_license
alters-mit/sticky_mitten_avatar
887e6317fa08f264e2023ad215578c7c95dff462
fcd5363f9f9173ea675f1d1af82f30ea46004ce0
refs/heads/master
2023-03-07T09:41:51.746004
2021-01-26T20:40:25
2021-01-26T20:40:25
284,087,737
3
2
null
2020-11-02T16:14:10
2020-07-31T17:01:57
Python
UTF-8
Python
false
false
1,705
py
from pathlib import Path from pkg_resources import resource_filename """ Paths to files in this Python module. """ # The directory for all scene data. SCENE_DATA_DIRECTORY = Path(resource_filename(__name__, "scene_data")) # The directory of the occupancy_maps map files. OCCUPANCY_MAP_DIRECTORY = SCENE_DATA_DIRECTORY....
[ "alters@mit.edu" ]
alters@mit.edu
7f9af4e5be63b8b781623f214f3439769ae3ee4d
e12edf6cde9670eb3d4f1596cd648fddefaf480f
/codeforces/round711/b.py
73cc187a8d8d779d1a12043d1f80d051ee4e9e40
[]
no_license
VitamintK/AlgorithmProblems
7a7786a0377a236f5cc82ae3b623ecad7f0eb025
34da53e2e7d3b5964bafd1f3edb2e00dea9a729d
refs/heads/master
2023-06-29T00:56:53.360829
2023-06-14T16:33:14
2023-06-14T16:33:14
25,510,479
11
4
null
null
null
null
UTF-8
Python
false
false
479
py
from collections import Counter T = int(input()) for t in range(T): n, W = map(int, input().split()) ws = [int(x) for x in input().split()] ws = Counter(ws) ans = 1 lineleft = W while n > 0: cands = [w for w in ws if ws[w]>0 and w<=lineleft] if len(cands) == 0: ans +=...
[ "kevinwang@kevinwang.us" ]
kevinwang@kevinwang.us
19ec98b1be441f14a77b7bc16fb968a0ad0d7cd6
b8443fa689b5fd8feb10969f6dc6912d37b830cc
/src/plone/app/debugtoolbar/delayedwrite.py
0d235c37ada5634c5c8e8f03ee30d0ec7518f971
[]
no_license
sunew/plone.app.debugtoolbar
31c174b8a0f3ca00c2643ed2e751ae38d9981546
a1c2b545c0556997daa756fc5c692689b6c9c876
refs/heads/master
2021-01-14T12:44:13.719302
2014-08-12T22:12:12
2014-08-12T22:12:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,682
py
import json from zope.interface import Interface from zope.interface import implements from zope.component import adapts from zope.annotation.interfaces import IAnnotations from plone.transformchain.interfaces import ITransform from plone.app.debugtoolbar.browser.interfaces import IDebugToolbarLayer def delay(reque...
[ "optilude@gmail.com" ]
optilude@gmail.com
7154f3008ce39e3f1dc1bec217353e3c296fd410
aadea82d00400b71de86b1906ed347d10416e69b
/hello.py
08acf33a74a368088b7ef4beaf9576419e6c9fda
[]
no_license
abishekravi/guvipython
fc0f56912691cd5a41ab20f0c36b2027ebccfb00
4fbb83f0a131775cd9eb3f810c2d1c9ad22d710a
refs/heads/master
2021-08-16T10:22:00.052735
2020-06-25T04:35:42
2020-06-25T04:35:42
196,218,458
2
27
null
null
null
null
UTF-8
Python
false
false
65
py
n = int(raw_input()) for i in xrange(n): print "hello world"
[ "noreply@github.com" ]
abishekravi.noreply@github.com
d4b63971bb08ec00bdaa0532e1ff3efd4aed8029
ed3c924c42baa3ab825a482efc15f85a32c06eaa
/boj17013.py
3c672bf7b9d8d8b69e099145d2c9cd03b3c4bae0
[]
no_license
JoinNova/baekjoon
95e94a7ccae51103925e515d765ebda7b6fffeed
33b900696ecf2a42b8e452fdeae6ee482143e37e
refs/heads/master
2020-04-16T22:25:31.577968
2019-04-28T04:25:24
2019-04-28T04:25:24
165,966,949
2
0
null
null
null
null
UTF-8
Python
false
false
311
py
#boj17013 Flipper import sys;s=sys.stdin.readline r='1 23 4' t=s().strip() r=[r,'3 41 2'][t.count('H')%2] r=[r,r[2]+' '+r[0]+r[5]+' '+r[3]][t.count('V')%2] print(r[:3]+'\n'+r[3:]) #02 r='1 23 4';t=input();r=[r,'3 41 2'][t.count('H')%2];r=[r,r[2]+' '+r[0]+r[5]+' '+r[3]][t.count('V')%2];print(r[:3]+'\n'+r[3:])
[ "noreply@github.com" ]
JoinNova.noreply@github.com
c7cf67d07ddea516492c50c834e7413fb599519a
8f49435060d6cf3efabddb1d08e8eccf8fe0accb
/refl1d/flayer.py
664dedf43daca13812209b9f6d785f73d0821161
[ "LicenseRef-scancode-public-domain" ]
permissive
TUM-E21-ThinFilms/refl1d
6de02291000cec641b728e37dbec773737aff00b
99b51c88af0c52ec7f4f6f17babd3b82c1ea02fc
refs/heads/master
2020-12-23T01:58:29.400648
2020-01-29T14:15:25
2020-01-29T14:15:25
236,997,468
0
0
NOASSERTION
2020-01-29T14:11:50
2020-01-29T14:11:49
null
UTF-8
Python
false
false
10,510
py
import inspect from numpy import real, imag, asarray from bumps.parameter import Parameter, BaseParameter from refl1d.material import SLD from refl1d.model import Layer from refl1d.magnetism import BaseMagnetism, Magnetism from refl1d import util class FunctionalProfile(Layer): """ Generic profile function ...
[ "pkienzle@nist.gov" ]
pkienzle@nist.gov
32bfbdde76144aaa0334b4890a327d7a8106404f
4ae1879c21a4193da3df6ae740674ee0655a8beb
/best/drawCount - 副本.py
f3f0fe45222a137a0f87a35871387622fd674095
[]
no_license
cynerelee/collision-avoidance
68bccce1a54009ce7b3bee1bf2adc571b6cde956
c269b7040b68b91eb5e7e1134feb8363da1091f0
refs/heads/master
2023-07-09T02:40:23.760176
2023-06-24T03:44:02
2023-06-24T03:44:02
281,842,101
0
0
null
null
null
null
UTF-8
Python
false
false
2,243
py
import scipy.io as scio import numpy as np import matplotlib.pyplot as plt import matplotlib from matplotlib.pyplot import MultipleLocator x=np.arange(0, 150.5,0.5) base = 'count.mat' base_data = scio.loadmat(base)['count'] # count005 = 'CT1/count005.mat' # count005_data = scio.loadmat(count005)['count'] # # count01 =...
[ "l" ]
l
e351fb1d006fffeb1bfd864b0c8fd8c0f5e5f40a
9ec7e710e6eca3ded154baa8cf89f1087d6258eb
/rsa_unit_test.py
6749bc5a0dbad7f4af061c7183a4d1784ece6006
[ "MIT" ]
permissive
windweller/VQACaptioning
5ecf301c71f6fbbcb0b7c324678b525c93c78ed7
27e96defda417bb6be3641eae2061d91a77382fb
refs/heads/master
2020-12-14T14:50:49.845202
2020-09-16T18:39:08
2020-09-16T18:39:08
234,775,743
0
0
null
null
null
null
UTF-8
Python
false
false
94
py
""" We can specify a few ways to test our implementation with pre-computed correct numbers """
[ "leo.niecn@gmail.com" ]
leo.niecn@gmail.com
19d57642dfc61e95c47ca62b945d19bd24156af1
88c1f9ccb62e91d6b0574bcde1043921bdeb0126
/gmn/src/d1_gmn/tests/test_create_resource_map.py
eda36ad601a176357ce4edbd851a12c2ab7de16f
[ "Apache-2.0" ]
permissive
jevans97utk/d1_python
83b8de8780287c655779844f367b9189413da074
3ac4d4f3ca052d3e8641a6a329cab526c8ddcb0d
refs/heads/master
2020-05-21T01:16:50.677816
2019-04-22T16:09:44
2019-04-22T16:09:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,442
py
#!/usr/bin/env python # This work was created by participants in the DataONE project, and is # jointly copyrighted by participating institutions in DataONE. For # more information on DataONE, see our web site at http://dataone.org. # # Copyright 2009-2019 DataONE # # Licensed under the Apache License, Version 2.0 (t...
[ "git@dahlsys.com" ]
git@dahlsys.com
aded1af8be1c5366553bc8f6bce7de1583c13b41
386d1b6557f4cbaf20794cd222f3b7b8598ef6a6
/data/clean_data/A1/38.py
6e899eedcc75a5d97a4d80ab320130ce1684758a
[]
no_license
woowei0102/code2pro
3baf86985f911264362963c503f12d20bdc1f89f
0b16c62a1cb9053ab59edd7a52e1b3b39fdf66dc
refs/heads/main
2023-06-28T23:09:23.998798
2021-07-13T11:49:27
2021-07-13T11:49:27
385,585,282
0
0
null
null
null
null
UTF-8
Python
false
false
669
py
class Account: def __init__(self, name): self.name = name self.__balance = 0 def deposit(self, amount): self.__balance += amount print("Jack存了NT${}元".format(amount)) def withdraw(self, amount): if amount <= self.__balance: s...
[ "54971984+woowei0102@users.noreply.github.com" ]
54971984+woowei0102@users.noreply.github.com
767621130f15832d1a6ac1cc8f261a636bf1be53
f78e7917536b5ce8630fcab47428254fe6814591
/staggered_poses/src/helper_functions.py
b744db3ab418b4f336c5e9c68455e049d42980ee
[]
no_license
xuezhizeng/hwang_robot_works
da507993dbfb278e6981304d988d44e263a8b981
211f6aede9e5929ca4d174e8d1c28b3b3082752c
refs/heads/master
2020-03-07T14:31:44.041890
2017-09-05T15:25:23
2017-09-05T15:25:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,110
py
from numpy import NaN, Inf, arange, isscalar, asarray, array from usingRosBag import RosBagParser from scipy import interpolate from scipy import signal from tongsCenter import GetTongsTransform import matplotlib.pyplot as plt import matplotlib as mpl from mpl_toolkits.mplot3d import Axes3D from scipy.signal import arg...
[ "hongyiwang@cs.wisc.edu" ]
hongyiwang@cs.wisc.edu
f1bba1537539f5bced7d50ac611883249a443c94
6b9b032a5516c8d7dbb26deeb1b189022f8f9411
/LeetCode/string/520.检测大写字母.py
8d6a755a604eda6307b59c05a538eeed4a552105
[]
no_license
mrmenand/Py_transaction
84db99a0010ae90f43fba6b737d7035e48af55fb
7e82422c84ad699805cc12568b8d3d969f66a419
refs/heads/master
2021-07-13T21:15:03.714689
2020-06-21T11:49:31
2020-06-21T11:49:31
176,281,954
1
0
null
null
null
null
UTF-8
Python
false
false
271
py
# 520. 检测大写字母 class Solution: def detectCapitalUse(self,word): # word: str) -> bool: # return word == word.upper() or word == word.lower() or word == word.title() return word.istitle() or word.isupper() or word.islower()
[ "1006024749@qq.com" ]
1006024749@qq.com
3eab2d06f6597e3113a044cd8927a184c4c6af0c
41a7f9835249a7ae1540d39bf1d8290311ee1230
/filterpy/common/discretization.py
1ca512791ba0764dafd8640e6293a3df14e3cd52
[ "MIT" ]
permissive
Kitter/filterpy
ee0b8a53f177a4dda71f573d9105d26ae7778929
be5f86f76a36fb90ed2552597ab444bc5db47c4a
refs/heads/master
2020-03-17T12:39:43.098191
2018-05-15T03:40:33
2018-05-15T03:40:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,084
py
# -*- coding: utf-8 -*- """Copyright 2015 Roger R Labbe Jr. FilterPy library. http://github.com/rlabbe/filterpy Documentation at: https://filterpy.readthedocs.org Supporting book at: https://github.com/rlabbe/Kalman-and-Bayesian-Filters-in-Python This is licensed under an MIT license. See the readme.MD file for mor...
[ "rlabbejr@gmail.com" ]
rlabbejr@gmail.com
5a7919565543a34d48b4234318ae51635df36e27
ad9118acc1facc42d1129ec123ce01efe0fc545b
/sine_wyomind_stock_update/__init__.py
540836224db015a17629c4a7d9da538266285eeb
[]
no_license
cubells/SINERGIA
145f89973feb0e2922f40017a267c4386215c7eb
6ced29ade4959d9e926e0fcdb032762d824e2634
refs/heads/master
2021-01-16T22:36:55.683718
2015-08-31T20:55:39
2015-08-31T20:55:39
40,918,797
0
0
null
2015-08-17T18:33:05
2015-08-17T18:33:04
Python
UTF-8
Python
false
false
112
py
# -*- coding: utf-8 -*- import wyomind_update # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
[ "dhecar@gmail.com" ]
dhecar@gmail.com
efc6fdce8fa49c86a9b3f224a81bb6890827cfb0
3d63fa8d216a497eccc925d3c867f35c29558e62
/teerace/stats/tasks.py
3355f4419621422485fcff500de29c41fc748d43
[ "BSD-3-Clause" ]
permissive
SushiTee/teerace
4cfc8b099ce16a92bf6e4ab182825ac8468bb501
882fa50ab32ab0a17f79de94be449a9e1df1ee0c
refs/heads/master
2020-04-05T22:44:58.602778
2016-10-30T23:05:54
2016-10-30T23:05:54
1,143,437
4
1
null
null
null
null
UTF-8
Python
false
false
1,268
py
from datetime import date, datetime, time, timedelta from django.contrib.auth.models import User from django.core.cache import cache from django.db.models import Sum from accounts.models import UserProfile from race.models import Map, MapType, Run, BestRun, Server from stats.models import Chart from celery.task import ...
[ "ksocha@ksocha.com" ]
ksocha@ksocha.com
c06694e2142efc30e79527fd1ed8b0c4a4f14afe
1415fa90c4d86e76d76ead544206d73dd2617f8b
/venv/Lib/site-packages/pylint/checkers/base.py
373e0b20ac05a4f5855f3bab7de263e004fd3daa
[ "MIT" ]
permissive
Darpra27/Juego-senales
84ea55aea7c61308ec1821dac9f5a29d2e0d75de
e94bc819e05eff1e0126c094d21ae1ec2a1ef46d
refs/heads/main
2023-04-04T07:27:53.878785
2021-04-09T00:00:44
2021-04-09T00:00:44
353,472,016
0
1
MIT
2021-04-09T00:04:31
2021-03-31T19:46:14
Python
UTF-8
Python
false
false
99,571
py
# Copyright (c) 2006-2016 LOGILAB S.A. (Paris, FRANCE) <contact@logilab.fr> # Copyright (c) 2010 Daniel Harding <dharding@gmail.com> # Copyright (c) 2012-2014 Google, Inc. # Copyright (c) 2013-2020 Claudiu Popa <pcmanticore@gmail.com> # Copyright (c) 2014 Brett Cannon <brett@python.org> # Copyright (c) 2014 Arun Persau...
[ "daviricado08@gmail.com" ]
daviricado08@gmail.com
a325666e24fe3f3e717d5a544506f61cf703714f
940aba84fd479c9a5702c8bd2bab3ed77f20fa47
/others/tenka1/tenka1-2/b.py
6e74b6c7b730e21271a127ec1f96555a3aafc780
[]
no_license
ugnom/programming_competition_archive
316767b8070ce89369e3acb71fa4a50f9816b6e8
c8e7254cd60c5e6a12e2c6738e31a2c782926827
refs/heads/master
2020-06-06T06:36:23.770952
2020-01-23T23:07:33
2020-01-23T23:07:33
192,666,572
0
0
null
null
null
null
UTF-8
Python
false
false
331
py
words = lambda t : list(map(t, input().split())) n = int(input()) a = words(int) mv = max(a) xs = [0] * (mv+1) for y in a: xs[y] += 1 #print(xs) if xs[0] > 1: print(0) elif a[0] != 0: print(0) else: ans = 1 for i in range(len(xs)-1): ans *= xs[i] ** xs[i+1] ans %= 998244353 ...
[ "ugnom1121@gmail.com" ]
ugnom1121@gmail.com
fa1b697952746c512250a577aa28efc53ff05d06
3bf3093475584f6dd36c59364536f0dce315df9d
/server/process.py
74ed19fd8da966b31f6951e1795c9bb1f13c6bf3
[ "MIT" ]
permissive
yxakuo/performance_monitor
9706f97d88e5e149a530cf74dbd51b9934055ea3
2136284a874564a48b9462a0798db307ec381b42
refs/heads/main
2023-07-19T17:50:21.387645
2021-09-04T02:38:41
2021-09-04T02:38:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,174
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Author: leeyoshinari import time import json import threading import influxdb from logger import logger, cfg, handle_exception from request import Request class Process(object): def __init__(self): self.request = Request() self._agents...
[ "lee_jc@outlook.com" ]
lee_jc@outlook.com
d55a6d014cbdb592b0202fad89bc0da79e0ff054
a70077a14b282d6f8e1a9c2c245c3a3269ae471a
/test/test_unknown_commands.py
6b17142eae90d4b734a641ce70ab594a3367b135
[ "MIT" ]
permissive
strong-roots-capital/docopt-subcommands
d90b78a6514a1fdd0ce85c0c31355619c5aa283c
4b5cd75bb8eed01f9405345446ca58e9a29d67ad
refs/heads/master
2020-04-13T23:04:13.917648
2018-12-22T12:45:57
2018-12-22T12:45:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,700
py
import docopt_subcommands as dsc import pytest UNKNOWN_COMMAND_TEMPLATE = '''"{}" is not a valid command. prog Usage: prog [options] <command> [<args> ...] Options: -h --help Show this screen. -v --version Show the program version. Available commands: foo See 'prog <command> -h' for help on specific co...
[ "austin.bingham@gmail.com" ]
austin.bingham@gmail.com
3d151c7d0a538f0eb5111d55a103f181b9545278
53e0b0616ece7867b1d37d755fd034e5b3d5ebe5
/Easy/746. Min Cost Climbing Stairs/solution (2).py
44021907bcb1ad932f0e40a1694f332b3d435e3c
[ "MIT" ]
permissive
czs108/LeetCode-Solutions
a7a29b90ad330d8d4bd73b5d0d243dc5b4121bc9
fc4ef8aed90614e2e4ad39fa1c9eec5881b7b5f5
refs/heads/master
2023-03-03T09:55:51.045837
2023-02-20T23:39:15
2023-02-20T23:39:15
237,709,633
4
1
null
null
null
null
UTF-8
Python
false
false
825
py
# 746. Min Cost Climbing Stairs # Runtime: 64 ms, faster than 35.45% of Python3 online submissions for Min Cost Climbing Stairs. # Memory Usage: 16.1 MB, less than 9.35% of Python3 online submissions for Min Cost Climbing Stairs. class Solution: # Top-Down Dynamic Programming def minCostClimbingStairs(self,...
[ "chenzs108@outlook.com" ]
chenzs108@outlook.com
80b61c8d567cac2d8922c0cc1e740d181bc92908
33b7a63d0866f9aabfdfdc342236191bebd1c1e6
/django_learning/django_03_url介绍/url_params_demo/manage.py
cc1da72653003684f509ac5670271b752211fbfb
[]
no_license
leolvcl/leo_python
21f61bb898f8c755d1ff405f90864887e18a317e
5be0d897eeee34d50d835707112fb610de69b4c8
refs/heads/master
2020-08-02T21:00:01.808704
2019-12-06T17:04:59
2019-12-06T17:04:59
211,505,290
0
0
null
null
null
null
UTF-8
Python
false
false
562
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "url_params_demo.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't i...
[ "lvclleo@gmail.com" ]
lvclleo@gmail.com
e07323cf52237426cc8e3868c3999f77a6ec3baf
018f1d2069616ed268bd2e3a2343d8cdac90b48e
/user.py
9a7bcfe4a8437c4a98577bbdf2819bd5f7c2a446
[]
no_license
peninah-njeri/password-locker
fb5880f0f62bf06ad0258ef748f116d1ab03feff
6486a00898affed04dd76ccb517cf8bf627d793e
refs/heads/master
2020-08-06T22:37:24.343831
2019-10-07T08:47:42
2019-10-07T08:47:42
213,172,464
0
0
null
null
null
null
UTF-8
Python
false
false
884
py
class User: users_list = [] def __init__(self, first_name, last_name, password): self.first_name = first_name self.last_name = last_name self.password = password @classmethod def save_user(cls, user): cls.users_list.append(user) @classmethod def find_u...
[ "peninahgathuru@gmail.com" ]
peninahgathuru@gmail.com
46a9ca6eed457257c850b113d28457ddf317c709
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-1/f560285378ed9df710db7d3828919208393d0f7a-<capture_signal>-fix.py
dfe2392cd934e397f49a819c47c8ae75bb2dc06e
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
159
py
def capture_signal(type): def wrapped(instance, created, **kwargs): if created: analytics.record(type, instance) return wrapped
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
714bcc14800eb4423f29ae872417d94d95f38fe1
723142b29dfcafb393b0eaefb8936dff7dd7e744
/test/testapp/wsgi.py
c33bdf4d5e1a8047bd2d8bf74a5fa7f179ae66fb
[]
no_license
ehazlett/lightrail
e73aa1bab2b360b314969dd522348e5a0c96c6b9
063be3ec00880b4d748aab3f7b8342026deba500
refs/heads/master
2020-04-15T17:45:01.383724
2012-03-31T02:45:05
2012-03-31T02:45:05
2,777,610
0
0
null
null
null
null
UTF-8
Python
false
false
49
py
import application application = application.app
[ "ejhazlett@gmail.com" ]
ejhazlett@gmail.com
f8b256cdcb1aa413680c3f79299b4cc68ace1396
4cbc8b81d197bc392d1b57856254300331b9738f
/python/tdb.py
27ba388707bbf5df31be1bcc9e06e433471967c6
[ "MIT" ]
permissive
vcatafesta/chili
87b9606f17cda645ba44cbf2bb4cc4637e18d211
5c734ac88454db76eb2f4e92c13364a5bbc7a93a
refs/heads/main
2023-09-01T01:39:09.457448
2023-08-29T21:23:28
2023-08-29T21:23:28
171,972,556
2
2
null
2019-02-22T01:38:49
2019-02-22T01:26:46
null
UTF-8
Python
false
false
1,936
py
# coding: utf-8 import sqlite3 import time import datetime import random from funcoes import mensagem class TDb(object): def __init__(self): try: self.conn = sqlite3.connect('sci.db') self.c = self.conn.cursor() self.sql = '' except: ...
[ "vcatafesta@gmail.com" ]
vcatafesta@gmail.com
708f4e32209fc0cba4570a2790b3944014bf034a
5d310ee2e02b5893e465193bc53e56523eebf154
/checks/check_thredds.py
338d5f4ed51578e784da211acd7039d6063097c5
[]
no_license
asascience-open/checkers
e78e6516c7b4f31896fcc451c60c90e2b7d79b3a
d079a582966586558e61ef7caf692f632f0add08
refs/heads/master
2016-08-12T03:32:32.694725
2015-10-20T17:55:19
2015-10-20T17:55:19
44,624,706
0
0
null
null
null
null
UTF-8
Python
false
false
1,583
py
#!/usr/bin/env python ''' checks/check_thredds.py ''' from netCDF4 import Dataset from datetime import datetime, timedelta import requests import sys def check_das(url): das_url = url + '.das' response = requests.get(das_url) if response.status_code != 200: print "Failed to acquire DAS for %s" % u...
[ "luke.s.campbell@gmail.com" ]
luke.s.campbell@gmail.com
5e6183eb21b49b7d7b48e7e7b1e14a619d0eac01
7fae7de3bb2783d51b7ec0ed5400d98ce4a874cb
/detailWeiboTimeHot/detailWeiboTimeHot/pipelines.py
1a260c0658fc2441bc4da5963280f9cf77fb0bf2
[]
no_license
gaojan/news_spider
b0486d4f628e23a1180ae5c58c645a5310bac427
6e6d7333b44e1159aff251c94308f2ada1e09f68
refs/heads/master
2022-12-09T12:03:56.250449
2020-09-16T07:11:44
2020-09-16T07:11:44
295,947,420
0
0
null
null
null
null
UTF-8
Python
false
false
2,188
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://doc.scrapy.org/en/latest/topics/item-pipeline.html import logging import pymysql from twisted.enterprise import adbapi from detailWeiboTimeHot import settings logger = logging....
[ "gaojian_1010@126.com" ]
gaojian_1010@126.com
6cd435ea28f2e38818d58a9e00b8bfc3ebce65ba
35ef0caf70ccdbb3cdfab8d06f0005f9e06594a6
/dqc/version.py
b5a7618b4c858a4943aa52cd17f520868dff0f81
[ "BSL-1.0", "BSD-3-Clause", "Apache-2.0", "BSD-2-Clause" ]
permissive
HamletWantToCode/dqc
f865661182d6a383e48f745c8c9f6e4354f423b0
ef4e8e4193cd1811560b5dfa61e347893daf97ae
refs/heads/master
2023-04-11T10:00:44.386183
2021-04-14T17:18:57
2021-04-14T17:18:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,402
py
import os import subprocess as sp MAJOR = 0 MINOR = 1 MICRO = 0 ISRELEASED = False VERSION = '%d.%d.%d' % (MAJOR, MINOR, MICRO) # Return the git revision as a string # taken from numpy/numpy def git_version(): def _minimal_ext_cmd(cmd): # construct minimal environment env = {} for k in ['S...
[ "firman.kasim@gmail.com" ]
firman.kasim@gmail.com
c7b6dccffc76678a638fee90b04ebd5936dab8df
8dc84558f0058d90dfc4955e905dab1b22d12c08
/third_party/polymer/v1_0/components-chromium/iron-range-behavior/compiled_resources2.gyp
5c8604d94c53a1fba9d8e3489d985e31d24b29f2
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0" ]
permissive
meniossin/src
42a95cc6c4a9c71d43d62bc4311224ca1fd61e03
44f73f7e76119e5ab415d4593ac66485e65d700a
refs/heads/master
2022-12-16T20:17:03.747113
2020-09-03T10:43:12
2020-09-03T10:43:12
263,710,168
1
0
BSD-3-Clause
2020-05-13T18:20:09
2020-05-13T18:20:08
null
UTF-8
Python
false
false
401
gyp
# Copyright 2018 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. # # NOTE: Created with generate_compiled_resources_gyp.py, please do not edit. { 'targets': [ { 'target_name': 'iron-range-behavior-extracted', ...
[ "arnaud@geometry.ee" ]
arnaud@geometry.ee
2629bd851910b43348bc39a697216810df3398ee
3c660beb50bf427231d8c4bbbd83cf83f1cf45de
/backend/logo_27625/wsgi.py
d988bc124e794d9c4735290df2d49f60f74f278b
[]
no_license
crowdbotics-apps/logo-27625
28df77e7b8a26a0757462b267a546ff8e5f858fd
48ee0fcffdf31a7f2c5075d5a7334e615439218c
refs/heads/master
2023-05-06T20:57:27.633777
2021-05-31T17:27:42
2021-05-31T17:27:42
372,582,365
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" WSGI config for logo_27625 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SE...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
948a92660503b980e629ac9e0659c7f4f4b61d13
c8111cdf1fad2b9a28b8f92f4af0ddc6a90a5be8
/Experiments/TextGAIL/configure_dataloader.py
d3dfeb9b887ef67004fef7b1fd9bc4e85e7f63c0
[ "MIT" ]
permissive
luweishuang/TextGAIL
e61a303b690611e19e9a5e2ecff49a2fcab31328
22fb3f671d1be177e2e10bd5d557c2ce95d2f011
refs/heads/master
2022-06-13T21:35:35.679918
2020-05-05T02:59:29
2020-05-05T02:59:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,880
py
import json import os import torch from torch.utils.data import Dataset, DataLoader from torch.nn.utils.rnn import pad_sequence from transformers import AutoTokenizer from torchfly.text.datasets import Seq2SeqDataset # pylint:disable=no-member class TextRLCollator: def __init__(self, config, tokenizer): ...
[ "wilwu@ucdavis.edu" ]
wilwu@ucdavis.edu
8439d0172b017d9db75036ae22979ba1cd0c1ca8
129ee0132f7c0126699371a09072a711d51fc78f
/examples/try_nikola_volume_filter.py
cf62e6194b6afe77e0c1b7488a7475d8cf5c4075
[ "MIT" ]
permissive
Aim23/pyjuque
9f38b4e72f1e98e830458c4891c4e741a307a4da
d6917bc45ba53276fed8e208f361bb20642eae04
refs/heads/master
2023-02-04T06:50:45.665624
2020-12-22T01:06:32
2020-12-22T01:06:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,306
py
import os import sys curr_path = os.path.abspath(__file__) root_path = os.path.abspath( os.path.join(curr_path, os.path.pardir, os.path.pardir)) sys.path.append(root_path) from pyjuque.Exchanges.Binance import Binance from pyjuque.Plotting.Plotter import PlotData from pyjuque.Indicators import AddIndicator, HA impor...
[ "tudor.barbu7@gmail.com" ]
tudor.barbu7@gmail.com
26f0bae439e7cb46ef9d6b2768ae7434e38a226e
d7ad696cd1b550bb41d20f87b83c984ec7f19aa7
/practice/python/basic/001_010/003_pathlib.py
47a3b8c86925f04fd6cd82a69a2de27ff796ea9d
[]
no_license
mida-hub/hobby
2947d10da7964d945e63d57b549c1dcb90ef7305
6e6f381e59fc2b0429fab36474d867aa3855af77
refs/heads/master
2022-12-21T23:33:14.857931
2022-12-19T16:30:34
2022-12-19T16:30:34
147,890,434
0
0
null
2021-03-20T04:31:58
2018-09-08T01:31:59
Jupyter Notebook
UTF-8
Python
false
false
109
py
import pathlib path = pathlib.Path('.') for po in path.iterdir(): if not po.is_dir(): print(po)
[ "rusuden0106@gmail.com" ]
rusuden0106@gmail.com
e9fd1c0ac05b411f29fe04c5d6ec639a820bd9e2
f5b5d6f4c5083737d95e34af9f7d59be32728b19
/895 Maximum Frequency Stack.py
388506a8ebe3d26e4413d5c811fd95872b8078c7
[]
no_license
jz33/LeetCodeSolutions
e642e142ea840942b354848c13927041f4f0be63
ad2f5bd0aec3d2c2c77b7c18627c1dd8fe8c0653
refs/heads/master
2021-05-24T03:23:37.449136
2020-10-01T05:14:16
2020-10-01T05:14:16
30,706,275
8
2
null
null
null
null
UTF-8
Python
false
false
1,664
py
''' 895 Maximum Frequency Stack https://leetcode.com/problems/maximum-frequency-stack/ FreqStack has two functions: push(int x), which pushes an integer x onto the stack. pop(), which removes and returns the most frequent element in the stack. If there is a tie for most frequent element, the element closest to the to...
[ "noreply@github.com" ]
jz33.noreply@github.com
3c2bb080eabd5b3eaa1c33e0c3f751de07df7420
6d62d1f7855489868e6d464195986a1c6e902b78
/dependency_mocks/compiler.py
9092cfd3042cf9f0af796b4eb11792c579551443
[ "MIT" ]
permissive
Alphadelta14/python-dependency-mocks
49450b0e2cf43f79a0c97e8d7fed26c2fe3c3cff
9ec86b707bf20c6ac0a3a7ac2141b8f6084d3131
refs/heads/master
2021-01-01T03:46:44.043184
2016-05-16T14:35:03
2016-05-16T17:00:05
58,925,916
0
0
null
null
null
null
UTF-8
Python
false
false
5,198
py
import fnmatch import inspect def itermembers(obj): if not hasattr(obj, '__dict__') and not hasattr(obj, '__dir__'): for attr in dir(obj): yield attr, getattr(attr) for attr in dir(obj): try: try: yield attr, obj.__dict__[attr] except KeyErr...
[ "alpha@pokesplash.net" ]
alpha@pokesplash.net
b026fe33a32e94b35a29bac9239a1fb922023ad8
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/notificationhubs/v20160301/notification_hub_authorization_rule.py
bea768cd5acf1065c1985c17895581d1abe18133
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
7,084
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 from ... import _utilities, _tables from...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
ff61b49a396bb792847123753d39a0dd27a55041
9bf0a7b53d1d7229c06bd46286efbf728721f788
/safe_relay_service/relay/apps.py
6775676d5b819cdc48b32eb893852d3e5eac3a87
[ "MIT" ]
permissive
air3ijai/safe-relay-service
40c358a66821dd531b52568e111233d41e15c9a8
7bd250dc183593ad09f0c5d7c8822be94396306e
refs/heads/master
2023-09-04T15:24:45.896335
2021-11-09T13:27:18
2021-11-09T13:27:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
144
py
from django.apps import AppConfig class RelayConfig(AppConfig): name = 'safe_relay_service.relay' verbose_name = 'Safe Relay Service'
[ "uxio@gnosis.pm" ]
uxio@gnosis.pm
76a8f4b30464ff9cfdd478c7d301c4ffeff2cdda
d0b88bbed4fbfb34f63f40b711afc03403dfc3bb
/salt/config.py
b527cdc4addb1290db17e4507d7c85a463272382
[ "Apache-2.0" ]
permissive
jasonjackson/salt
824e098bf11b7e4de1b27c5c81d424ac42bf3276
876693a6cee375a67d756fc6c42436c1096ec563
refs/heads/master
2021-01-18T00:23:24.421283
2011-05-01T00:34:50
2011-05-01T00:34:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,557
py
''' All salt configuration loading and defaults should be in this module ''' # Import python modules import os import socket import subprocess import logging # Import third party libs import yaml # Import salt libs import salt.crypt import salt.loader def minion_config(path): ''' Reads in the minion configurat...
[ "thatch45@gmail.com" ]
thatch45@gmail.com
5354ce9146d3618f2a85a6d3e5596e9ed10f4402
0c110eb32f2eaea5c65d40bda846ddc05757ced6
/scripts/mastersort/scripts_dir/p7645_run2L2.py
7bf58f09264ff47c55e2cab134d44236a1c0486b
[]
no_license
nyspisoccog/ks_scripts
792148a288d1a9d808e397c1d2e93deda2580ff4
744b5a9dfa0f958062fc66e0331613faaaee5419
refs/heads/master
2021-01-18T14:22:25.291331
2018-10-15T13:08:24
2018-10-15T13:08:24
46,814,408
0
0
null
null
null
null
UTF-8
Python
false
false
1,199
py
from __future__ import with_statement import os, csv, shutil,tarfile, uf, dcm_ops dest_root = '/ifs/scratch/pimri/soccog/test_working' dst_path_lst = ['7645', 'run2L2'] uf.buildtree(dest_root, dst_path_lst) uf.copytree('/ifs/scratch/pimri/soccog/old/SocCog_Raw_Data_By_Exam_Number/3078/E3078_e1370606/s1418003_1904_2L2_s...
[ "katherine@Katherines-MacBook-Pro.local" ]
katherine@Katherines-MacBook-Pro.local
517c5f887f5bfbc0a0f3cd56a935595032c48ad5
e10a6d844a286db26ef56469e31dc8488a8c6f0e
/sign_language_detection/model.py
7ef3d209026b250d2d0a8afbf011257d7a348fd0
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
Jimmy-INL/google-research
54ad5551f97977f01297abddbfc8a99a7900b791
5573d9c5822f4e866b6692769963ae819cb3f10d
refs/heads/master
2023-04-07T19:43:54.483068
2023-03-24T16:27:28
2023-03-24T16:32:17
282,682,170
1
0
Apache-2.0
2020-07-26T15:50:32
2020-07-26T15:50:31
null
UTF-8
Python
false
false
2,122
py
# coding=utf-8 # Copyright 2022 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
94bb54db6d289f3ddfa2aa08a9814bc321ed3a5d
b007d88e6726452ffa8fe80300614f311ae5b318
/educative.io/coding_patterns/tree_dfs/maximum_depth_of_binary_tree.py
ee5ebe5d82f35b25decad3c61be789d52e26e59c
[]
no_license
jinurajan/Datastructures
ec332b12b8395f42cb769e771da3642f25ba7e7f
647fea5d2c8122468a1c018c6829b1c08717d86a
refs/heads/master
2023-07-06T14:42:55.168795
2023-07-04T13:23:22
2023-07-04T13:23:22
76,943,162
0
0
null
null
null
null
UTF-8
Python
false
false
422
py
""" Given the root of a binary tree, return its maximum depth. A binary tree’s maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node. """ from binary_tree import * from collections import deque def max_depth(root): if not root: return 0 l_dept...
[ "jinu.p.r@gmail.com" ]
jinu.p.r@gmail.com
2e91ebdacee1b5767f459aa45dbbc9340e31bae8
1b94c7cfd66804fe8d40b5def35e4b9b18d69ba2
/src/backend/common/helpers/account_deletion.py
cd1bc27934eee496e8c872c61c9cd4c3f188ed6c
[ "MIT" ]
permissive
the-blue-alliance/the-blue-alliance
3dc210a9611ce9b240907ffd420f78040318dcdc
6d42f3cdb2f785d192f2871419e58aaae3445029
refs/heads/py3
2023-08-22T21:02:36.398100
2023-08-22T19:14:01
2023-08-22T19:14:01
888,427
344
263
MIT
2023-09-14T18:35:20
2010-09-04T20:34:11
HTML
UTF-8
Python
false
false
2,178
py
import datetime from google.appengine.ext import ndb from backend.common.consts.suggestion_state import SuggestionState from backend.common.models.api_auth_access import ApiAuthAccess from backend.common.models.favorite import Favorite from backend.common.models.mobile_client import MobileClient from backend.common.m...
[ "noreply@github.com" ]
the-blue-alliance.noreply@github.com
db9925e133c969ba1278e0d90d56f9545b913e02
a837782d4e8d317554063f2d3b3c1aedbaf6f717
/splunk_app_cloudgateway/lib/cloudgateway/private/exceptions/rest.py
71fa51f0604100ca268e63159cf34c49f99b6df6
[ "BSD-3-Clause", "MIT-0", "MIT", "ISC", "Apache-2.0", "LicenseRef-scancode-mit-taylor-variant", "LicenseRef-scancode-unknown-license-reference" ]
permissive
DwarfCraft/splunk_app
608e989395c28df02e06efcfc143dd28d0e7387f
0498d7db73772476192f96218c159070e2f3035a
refs/heads/master
2021-07-08T18:31:26.885270
2020-06-26T13:19:01
2020-06-26T13:19:01
143,611,514
0
0
null
null
null
null
UTF-8
Python
false
false
592
py
""" (C) 2019 Splunk Inc. All rights reserved. Error classes for describing Spacebridge REST actions """ class CloudgatewayRestError(Exception): def __init__(self, message="Cloudgateway Error", status=500): self.message = message self.status = status def __str__(self): return self.mes...
[ "geek2thepast@gmail.com" ]
geek2thepast@gmail.com
c11cbe378a4c2178e6c1c3b407abe046130b5c3e
ad13583673551857615498b9605d9dcab63bb2c3
/output/models/saxon_data/id/id018_xsd/__init__.py
dbb313860ad0d3c7a451a180bea519577294b500
[ "MIT" ]
permissive
tefra/xsdata-w3c-tests
397180205a735b06170aa188f1f39451d2089815
081d0908382a0e0b29c8ee9caca6f1c0e36dd6db
refs/heads/main
2023-08-03T04:25:37.841917
2023-07-29T17:10:13
2023-07-30T12:11:13
239,622,251
2
0
MIT
2023-07-25T14:19:04
2020-02-10T21:59:47
Python
UTF-8
Python
false
false
117
py
from output.models.saxon_data.id.id018_xsd.id018 import ( Doc, Para, ) __all__ = [ "Doc", "Para", ]
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
ecd247338c2b7be2d16fe30fe25938820cbe9c60
4234dc363d0599e93abc1d9a401540ad67702b3b
/clients/keto/python/ory_keto_client/model/expand_tree.py
e70d14a6b5266fc8fa6c7869912261c78c27a1a2
[ "Apache-2.0" ]
permissive
ninjayoto/sdk
8065d3f9e68d287fc57cc2ae6571434eaf013157
73823009a416905a4ca1f9543f1a94dd21e4e8da
refs/heads/master
2023-08-28T03:58:26.962617
2021-11-01T17:57:24
2021-11-01T17:57:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,318
py
""" ORY Keto Ory Keto is a cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. # noqa: E501 The version of the OpenAPI document: v0.7.0-alpha.1 Contact: hi@ory.sh Generated by: https://openapi-generator.tech...
[ "3372410+aeneasr@users.noreply.github.com" ]
3372410+aeneasr@users.noreply.github.com
b7d14d094b05b4d8aca05eb53e28b9fd003ab034
ce4f1810b8011f05f4e9f8b67959b6a2994ac821
/GAVOCoverage/temp-python/lib/python2.7/site-packages/pip/_vendor/requests/packages/chardet/jpcntx.py
7cd0ad51c7edb8d08bb9f68df72473f034cc9296
[]
no_license
Hyradus/VO_QGIS3.x_plugin
b11d3b18e473861b6d0733c3783c40af6e8eb039
9ab9acb4756c415797b5a7e64389978a84a32c23
refs/heads/master
2022-04-14T00:25:12.283460
2020-04-02T17:18:50
2020-04-02T17:18:50
248,215,617
0
0
null
null
null
null
UTF-8
Python
false
false
19,384
py
######################## BEGIN LICENSE BLOCK ######################## # The Original Code is Mozilla Communicator client code. # # The Initial Developer of the Original Code is # Netscape Communications Corporation. # Portions created by the Initial Developer are Copyright (C) 1998 # the Initial Developer. All Rights R...
[ "giacomo.nodjoumi@hyranet.info" ]
giacomo.nodjoumi@hyranet.info
6c9e05b55db96ab322e15775c3c9c8925440d17e
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_yearned.py
68ff0740a44757f10adb7d609f9839da7be17a33
[ "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
233
py
from xai.brain.wordbase.verbs._yearn import _YEARN #calss header class _YEARNED(_YEARN, ): def __init__(self,): _YEARN.__init__(self) self.name = "YEARNED" self.specie = 'verbs' self.basic = "yearn" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
d10facd07982d1a39b2720ad59d16e56239f3e9a
f3daf8a0bf10c38e8a96b518aa08195241adf7cb
/HW2/utils.py
bc05eb871f9377798cf6176e8e025eddc67d8d9f
[]
no_license
trademark152/Artificial_Intelligence_USC
c9dc8e70a6bc2228ccfaeb911e497de82b4f7b9a
5e3464c9af84786d540fe74a275f835395d6836a
refs/heads/master
2020-09-26T09:31:06.840819
2019-12-06T02:16:56
2019-12-06T02:16:56
226,227,591
0
0
null
null
null
null
UTF-8
Python
false
false
23,130
py
"""Provide some widely useful utilities. Safe for "from utils import *". """ from __future__ import generators import operator, math, random, copy, sys, os.path, bisect #______________________________________________________________________________ # Compatibility with Python 2.2 and 2.3 # The AIMA code is designed...
[ "trademark152@gmail.com" ]
trademark152@gmail.com
3e2524847c2b0ee17434193ac6671b3f58c1e797
ad13583673551857615498b9605d9dcab63bb2c3
/output/models/ms_data/datatypes/facets/negative_integer/negative_integer_max_inclusive003_xsd/__init__.py
91c15542266ae21e0dee79a876ca6b2a7cb49b5a
[ "MIT" ]
permissive
tefra/xsdata-w3c-tests
397180205a735b06170aa188f1f39451d2089815
081d0908382a0e0b29c8ee9caca6f1c0e36dd6db
refs/heads/main
2023-08-03T04:25:37.841917
2023-07-29T17:10:13
2023-07-30T12:11:13
239,622,251
2
0
MIT
2023-07-25T14:19:04
2020-02-10T21:59:47
Python
UTF-8
Python
false
false
209
py
from output.models.ms_data.datatypes.facets.negative_integer.negative_integer_max_inclusive003_xsd.negative_integer_max_inclusive003 import ( FooType, Test, ) __all__ = [ "FooType", "Test", ]
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
dd5805723d12c426e24cac5b64b705567b41329d
bc441bb06b8948288f110af63feda4e798f30225
/file_repository_sdk/model/topology/container_pb2.pyi
bc793568006cc5b89c71b80d41624184af80308a
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
false
4,331
pyi
# @generated by generate_proto_mypy_stubs.py. Do not edit! import sys from file_repository_sdk.model.topology.property_pb2 import ( Property as file_repository_sdk___model___topology___property_pb2___Property, ) from google.protobuf.descriptor import ( Descriptor as google___protobuf___descriptor___Descriptor...
[ "service@easyops.cn" ]
service@easyops.cn
8dad7d370e9bf5ce6fe4fd7ef4fb2b65abe5fa6e
a3597afc5aaf15723dba35d5b114f2b3e129a168
/mars/services/scheduling/utils.py
56490313e0797721b09ac0cc30260004df4ae5a8
[ "BSD-3-Clause", "CC0-1.0", "ISC", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause", "MIT" ]
permissive
hekaisheng/mars
5edff06194779d6005bd768dabadd9191c812cb3
49ce0c1c691d405040e53b8eb8d8af9b7e87ae55
refs/heads/master
2023-01-10T06:24:05.532213
2021-12-07T08:21:56
2021-12-07T08:21:56
160,764,275
0
2
Apache-2.0
2021-01-10T08:43:43
2018-12-07T03:12:41
Python
UTF-8
Python
false
false
1,999
py
# Copyright 1999-2021 Alibaba Group Holding Ltd. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
[ "noreply@github.com" ]
hekaisheng.noreply@github.com
1b521b401084a1ae9d5fd6680e97e7e230e186c5
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_340/ch4_2020_03_23_19_24_27_983100.py
eab831386d9db210b6666820617b9ecd5261157f
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
164
py
def idade(x): x=int(input('digite sua idade')) return idade if(x<=11): print('crianca') if (12<=x<=17): print('adolescente') if (x>=18): print ('adulto')
[ "you@example.com" ]
you@example.com
b510fd77c74cf0555bc3d3e13f4b0af1923e516a
1559879496d7220e89f51843997f98b732f0526d
/myTest/com/appiumTest/testcase/test_app.py
f8f515b4c029e9fe3167f5b1b81f1a1210859eb5
[]
no_license
357112130/Test
4d0e0a4822c5a4062d768d699e61b3d504090a2e
a58ff4e9811cab77c9a5117d9a70ce1e4582c515
refs/heads/master
2022-12-10T15:08:24.607252
2019-04-21T14:20:58
2019-04-21T14:20:58
168,373,835
0
0
null
2022-12-08T04:57:02
2019-01-30T16:16:41
Python
UTF-8
Python
false
false
4,244
py
# !/usr/bin/python # -*- coding: utf-8 -*- # @author: ycg # @description: # @date: create in 2019/3/3 15:13 # @file:test_app.py # @modified By: from time import sleep from appium import webdriver import unittest from selenium.common.exceptions import TimeoutException from selenium.webdriver.common.by import By import ...
[ "aptx_48691" ]
aptx_48691
ff5a987e8c508913909ed76ab639dcf39404867c
f727fd64941baccd4d8bd7bca31f1fb5e6d6648e
/github_labels_sync/rest.py
64abfa43bfc0a26deeb363d125696383783c6ad8
[ "BSD-2-Clause" ]
permissive
tiliado/github-labels-sync
fe2930f9284b38f2457453a3391e1edc84793aa5
29b2ed4cde4f782788f9bd2e7e88bf1da616de76
refs/heads/master
2020-03-21T09:53:08.829706
2018-06-29T16:21:02
2018-06-29T16:21:02
138,422,584
0
0
null
null
null
null
UTF-8
Python
false
false
1,457
py
# Copyright 2018 Jiří Janoušek <janousek.jiri@gmail.com> # Licensed under BSD-2-Clause license - see file LICENSE for details. import json from typing import Union from github_labels_sync import http class Client(http.Client): def set_token(self, token: Union[bytes, str]) -> None: self.headers['Authoriz...
[ "janousek.jiri@gmail.com" ]
janousek.jiri@gmail.com
8f3fc72e7d250de9d183a801327561197244fd29
161fd6370ffa0b35ecd50719d6266224da597ee0
/Python/Python_Fundamentals/CoinToss/coin.py
92d95ebd833f0b3beb9dd126f82cd7d5e9d00c87
[]
no_license
ebergstein/DojoAssignments
a30fd8b36442bff2a4253902a591ad11f191fc12
3ad9ac65073c733ead32b93ce4be19af5369fccf
refs/heads/master
2021-06-19T09:48:23.100713
2017-06-30T04:24:35
2017-06-30T04:24:35
82,743,546
0
1
null
null
null
null
UTF-8
Python
false
false
462
py
import random def CoinToss(num): headcount = 0 tailcount = 0 for i in range(1, num+1): print "attempt #", i, ": Throwing a coin... " if random.randint(0,1) == 0: print("It's heads! ... ") headcount += 1 else: print("It's tails! ... ") ...
[ "ebergstein@sbcglobal.net" ]
ebergstein@sbcglobal.net
06488d4e7042e5c25e41cf005e0ed9441807d2a0
ce7cd2b2f9709dbadf613583d9816c862003b38b
/SRC/engine/property/skeletonrelaxationrate/skeletonrelaxationrate.spy
f2ef7846536517ebd87cafe36471670135147ad8
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
usnistgov/OOF3D
32b01a25154443d29d0c44d5892387e8ef6146fa
7614f8ea98a095e78c62c59e8952c0eb494aacfc
refs/heads/master
2023-05-25T13:01:20.604025
2022-02-18T20:24:54
2022-02-18T20:24:54
29,606,158
34
7
null
2015-02-06T19:56:26
2015-01-21T19:04:14
Python
UTF-8
Python
false
false
1,303
spy
# -*- python -*- # This software was produced by NIST, an agency of the U.S. government, # and by statute is not subject to copyright in the United States. # Recipients of this software assume all responsibilities associated # with its operation, modification and maintenance. However, to # facilitate maintenance we as...
[ "faical.congo@nist.gov" ]
faical.congo@nist.gov
d6c374680dd08957aa3870c4115c63dea3791dcf
030aef4b13a29246ef21342efea9b26f5620f0b0
/code/codexpert/class_asignment_C5.py
b1b0a5588601cbada27098a6d6c335191ea71429
[]
no_license
kyeah01/Problem_Solving
d70049efb72d09c4ea07a8dba9144d482857b36a
efec0486ec07843e085abf4e66cdf694fdde104b
refs/heads/master
2021-07-03T14:28:56.001123
2020-09-23T17:37:42
2020-09-23T17:37:42
176,175,363
0
0
null
null
null
null
UTF-8
Python
false
false
811
py
for tc in range(1, int(input())+1): n, k_min, k_max = map(int, input().split()) people = list(map(int, input().split())) scores = sorted(list(set(people))) ans, minN = 0,10000000 flag = False for T1 in scores: for T2 in scores: arr1, arr2, arr3 = 0,0,0 for person ...
[ "kyeah01@gmail.com" ]
kyeah01@gmail.com
3487e176d4c90b9642e005cd2c6562846e1a9de1
2ec14fd1724fc8959e1d3a1b4d3f61d5c0cf6f48
/test/functional/wallet_avoidreuse.py
473314bd59ca4a2889ec78e5de1194548f91df6c
[ "MIT" ]
permissive
vitae-labs/Vitae
7ddf8142d1e663f406399ec17de1c7bbba5e32fd
fa301e714cb26e742cfe29164a25961f1ff6d52c
refs/heads/main
2022-07-28T15:48:24.765770
2022-01-29T06:13:19
2022-01-29T06:13:19
451,559,855
0
1
null
null
null
null
UTF-8
Python
false
false
13,690
py
#!/usr/bin/env python3 # Copyright (c) 2018-2020 The Bitcoin Core developers # Copyright (c) 2020-2021 The Vitae Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the avoid_reuse and setwalletflag features.""...
[ "hemant.singh.leu@gmail.com" ]
hemant.singh.leu@gmail.com
28be09d238e77cf453288d732c8fb9f40e422c6c
bdba4e116d2d607f511f5d81a6e53453b4e89afe
/test/test_plugins/test_banner.py
b7105f5d6036935bbb5e583a4fc7f9d76f6c155a
[ "MIT" ]
permissive
scottrfrancis/limbo
84b0adc7c313c9bbdaf8562e52c2c3ec49ecdec7
9dc82c6048aa496a4c6c7cfaa03d169d5a889ce6
refs/heads/master
2023-05-27T09:56:14.878041
2015-05-21T00:20:14
2015-05-21T00:20:14
35,990,147
0
0
MIT
2023-05-23T07:17:45
2015-05-21T04:04:03
Python
UTF-8
Python
false
false
673
py
# -*- coding: UTF-8 -*- import os import sys from nose.tools import eq_ DIR = os.path.dirname(os.path.realpath(__file__)) sys.path.insert(0, os.path.join(DIR, '../../limbo/plugins')) from banner import on_message def test_basic(): ret = on_message({"text": u"!banner llimllib --font morse"}, None) eq_(ret, u...
[ "bill@billmill.org" ]
bill@billmill.org
f2405a16b8bf3ce2f67a3cde31a8865282b4adbb
43053ad1bde204277ac07e353c74976f2914bcab
/vedadet/misc/bbox/iou_calculators/builder.py
0172ee2af66b7137b635ceb65f0dc22553775d2d
[ "Apache-2.0" ]
permissive
YuxinZou/vedadet
8410ce29fe2460953b85950fc2d86c96c555d009
5f9574c20e04f9555615b01288ec0c52a439f858
refs/heads/main
2023-04-15T11:32:31.838837
2021-04-30T02:29:06
2021-04-30T02:29:06
362,363,711
1
0
Apache-2.0
2021-04-28T06:36:59
2021-04-28T06:36:58
null
UTF-8
Python
false
false
213
py
from vedacore.misc import build_from_cfg, registry def build_iou_calculator(cfg, default_args=None): """Builder of IoU calculator.""" return build_from_cfg(cfg, registry, 'iou_calculator', default_args)
[ "xyc_sjtu@163.com" ]
xyc_sjtu@163.com
b974764f2795650e4218829eb6abddc9849ab0a8
8b6ef95cc2b7bfd517ce78a9ab3f12067e2d137a
/sw_daq/aDAQ/TOFPET/MEZ1_PAB.map.py
7180bb3f45d782a4ad8ba0f9c1d46957e4298082
[]
no_license
andrea-celentano/OptoTrackerTofpet
1834434988c238cbe98dbb14f3ef4bbdbce24ea6
f70f7ae152be04b22a2fd0d816f3cbed3628e453
refs/heads/master
2021-01-10T14:30:20.435575
2015-10-09T14:02:25
2015-10-09T14:02:25
43,759,028
0
0
null
null
null
null
UTF-8
Python
false
false
978
py
# -*- coding: utf-8 -*- from sys import argv import re def main(argv): inputFile = open(argv[1], "r") outputFile = open(argv[2], "w") regex = re.compile(r'([0-9]+)\s([0-9]+)\s([0-9]+)\s([0-9]+)\s([0-9\.]+)\s([0-9\.]+)\s([0-9\.]+)\s([0-9]+).*') lines = [ line for line in inputFile] for board in range(2): for li...
[ "andrea.celentano@ge.infn.it" ]
andrea.celentano@ge.infn.it
80c265f7a7640f32cabe82157317a59c605d3861
196dabd850fa2326f2aaf2193890192f82e1451a
/clase2.py
7d0e602ff312d02bfcfad4aaf782f9a6d186d337
[]
no_license
urimeba/claseAlfas
9df6b4121fc0b35f6c04c57a77e687832a69627e
8135ffe38a0a6c5455f81060fd972e62ac5c4841
refs/heads/master
2020-12-23T03:43:12.783457
2020-02-21T16:35:52
2020-02-21T16:35:52
237,021,901
4
20
null
null
null
null
UTF-8
Python
false
false
1,444
py
""" Estructura de una funcion en Python: def nombre_funcion(argumento1, argumento2, n_argumento): realiza_alguna_operacion o_imprime_algo o regresa algun valor con return argumento1 + argumento2 """ """ ¡NOTA LA IDENTACION! """ def saludo(nombre): return "Hola " + nombre + "!! Bienvenido!" saludo(...
[ "urimeba511@gmail.com" ]
urimeba511@gmail.com
ea3f0cc69b56c212456c8aba751706bb34bc995f
7b05ea9e1ce2a121b52aa55ecefbf10794b88238
/psrsigsim/io/file.py
d4f410418f3f27a09a4386d101571d797f7f96c9
[ "MIT" ]
permissive
bshapiroalbert/PsrSigSim
265b70af24bcf7da6cb0bd93e671f2d38e9d3ec9
74bb40814295fb6ef84aa932a0de2f684162b8c4
refs/heads/master
2021-06-13T23:07:10.247997
2021-02-01T19:42:14
2021-02-01T19:42:14
156,274,385
1
0
MIT
2021-02-25T18:28:52
2018-11-05T19:53:34
Python
UTF-8
Python
false
false
1,362
py
# -*- coding: utf-8 -*- # encoding=utf8 from __future__ import (absolute_import, division, print_function, unicode_literals) import numpy as np class BaseFile(object): """ Base class for making files for the PsrSigSim Signal object. """ _path = None _signal = None _file...
[ "jeffrey.hazboun@gmail.com" ]
jeffrey.hazboun@gmail.com
9be46462ca3958c7f3d2dfafa2d6e8dfa2eab4d9
bdc504f33dd37f8c30215affcfd62f04e2712b2d
/prov_scripts/person_prov.py
6e4a17d9a210f59117d5bb890be6ed04e767133e
[]
no_license
dexterzzlab/gcis-ingest
4cd807a9b92f27441782d2afc7fb287989320012
85434899042f34e39cdbe3a6b909ae17ba3ed3bb
refs/heads/master
2021-01-10T12:03:31.157782
2016-02-23T18:57:10
2016-02-23T18:57:10
52,382,801
1
0
null
null
null
null
UTF-8
Python
false
false
3,045
py
#!/usr/bin/env python import os, sys, json, requests, types, re, copy from datetime import datetime import requests_cache import json from fv_prov_es import create_app from fv_prov_es.lib.import_utils import get_es_conn, import_prov from prov_es.model import (get_uuid, ProvEsDocument, GCIS, PROV, PROV_TYPE, ...
[ "pymonger@gmail.com" ]
pymonger@gmail.com
fedb9b6544ea82fec906549fd32ae39eb85cb90f
d6c9c730ca514af81307018c669bd2f7e5de51c6
/20190704/0903.py
e8c5b63c424da5dcd4f108830942808b5df26f40
[]
no_license
itbullet/python_projects
a1a56d070a6a70b0814cdc2a83cbd1ce9bc0dab8
06d171f1cab7f45c704944e40ffb0b7a175c1d2d
refs/heads/master
2020-06-22T15:07:40.768297
2019-09-09T13:49:02
2019-09-09T13:49:02
197,734,778
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
import csv with open("st.csv", "w", newline ="") as f: w = csv.writer(f, delimiter = ",") w.writerow(["one", "two", "three"]) w.writerow(["four", "five", "six"])
[ "eduard.shapirov@gmail.com" ]
eduard.shapirov@gmail.com
b34af19ee9173af2e14ff861f676608886c42cf8
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/139/usersdata/189/61635/submittedfiles/diagonaldominante.py
8fc45bdc21c203d4e6e7fbb53f295fb9dc434929
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
682
py
import numpy as np def soma(a): b=[] for i in range (0,a.shape[0],1): soma=0 for l in range(0,a.shape[1],1): if i!=l: soma=soma+a[i,l] b.append(soma) return (b) def diagonal (a,b): for i in range (0,a.shape[0],1): for l in range(0,a.shape[1]...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
d1fa380d5f83ccfd5f5403dafdbabf6de4431e83
0f9c9e4c60f28aa00aff8b80e1e4c142c61d24ce
/Python/Scrapy/beautifulSoup/simple.py
2c601fddaff2bb7fa3772c5b3995f360f0c9d65f
[]
no_license
shouliang/Development
c56fcc69e658393c138b63b507b96c48232128d5
b7e3b02c50d54515e584cb18dff83109224245d0
refs/heads/master
2020-03-22T09:14:51.070228
2019-08-29T02:50:26
2019-08-29T02:50:26
139,825,052
0
0
null
null
null
null
UTF-8
Python
false
false
183
py
from bs4 import BeautifulSoup # Beautiful Soup在解析时实际上要依赖解析器 # 如:第三方解析器lxml soup = BeautifulSoup('<p>Hello<p>', 'lxml') print(soup.p.string)
[ "git@git.dxl.cc:node/hunqing.git" ]
git@git.dxl.cc:node/hunqing.git
a30131f75424fcb2fb90f51b74ca0a9dcc240f87
3374be5ba3a074bec310accd2ff98dd9f9b96bd7
/urest/utils.py
81b22cd98f6d785f67f3a53e7018431bc99f3761
[ "MIT" ]
permissive
pombredanne/urest-1
a99869f6fadc53dd3090c62d21a02363d48fcd29
3cf04afa52fdb87f77a5780057433a1f3fb8c037
refs/heads/master
2020-12-07T13:37:34.941256
2014-07-18T05:50:07
2014-07-18T05:50:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,128
py
import inspect from django.utils.module_loading import import_module from .views import View, ViewMetadata def is_view(definition): return inspect.isclass(definition) and issubclass(definition, View) def autodiscover_views(module_to_search): from django.apps import apps for app_config in apps.get_app_...
[ "anler86@gmail.com" ]
anler86@gmail.com
12e60342de7cd402ec75001b0bb15e77e49bd669
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_intonation.py
135ee9d538138db16c49928e9412a91b813c3bed
[ "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
522
py
#calss header class _INTONATION(): def __init__(self,): self.name = "INTONATION" self.definitions = [u'the sound changes produced by the rise and fall of the voice when speaking, especially when this has an effect on the meaning of what is said: ', u'the degree to which the notes of a piece of music are played ...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
79fce70e75f9aa57dfa4f5876b70c5868f32f64f
1ad12a71c3d5d2b3810ce03e8bd138c4ffb66eb8
/xlsxwriter/test/comparison/test_chartsheet02.py
9cbfa9e2a5e7ed85a221bb624fcea99804e8ad6d
[ "BSD-2-Clause-Views" ]
permissive
idreamsfy/XlsxWriter
b52929229b16e2ee1eaca0cda9980a5a0aad5769
129044ed821de67895b4562c6b71f90eba5be6b4
refs/heads/master
2021-01-02T20:39:20.415882
2020-02-07T21:07:55
2020-02-07T21:07:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,458
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013-2020, John McNamara, jmcnamara@cpan.org # from ..excel_comparsion_test import ExcelComparisonTest from ...workbook import Workbook class TestCompareXLSXFiles(ExcelComparisonTest): """...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
ee29c27fbd986e1c2ac0b0c42c49257c18e43d06
b31e7898aa5131125f243eaff973049b17e08512
/.venv/lib/python3.10/site-packages/anyio/_core/_tasks.py
db11f2654ba17004fbc1c46dde29a00dc7a4c258
[]
no_license
ramsred/MyProjects
f2978eeda3d73421daf0da9f2d012caef6c3ccda
a7f90ef1ecfbc7517be61e71286bd14405985de5
refs/heads/master
2023-07-09T03:19:17.683705
2023-07-02T19:30:19
2023-07-02T19:30:19
71,980,729
0
0
null
null
null
null
UTF-8
Python
false
false
5,320
py
from __future__ import annotations import math from types import TracebackType from warnings import warn from ..abc._tasks import TaskGroup, TaskStatus from ._compat import ( DeprecatedAsyncContextManager, DeprecatedAwaitable, DeprecatedAwaitableFloat, ) from ._eventloop import get_asynclib class _Ignor...
[ "venkataramireddy534@gmail.com" ]
venkataramireddy534@gmail.com
8fb9da64ab71fce7451e115750e8247599e57c7d
3e07bd338a0103d9cd2b1ee578d1598119a2e9d7
/kattis/showroom.py
0c59de6db5fd4268ec09f16119e00d4f3cbbfa58
[]
no_license
CianLR/judge-solutions
1b6f05ee099237b26df6cce0880e5acea24b525e
96a2a3e9080bc532d87b194074cc0ddf9a51d8e9
refs/heads/master
2023-07-20T00:08:21.021733
2023-07-18T13:58:52
2023-07-18T13:58:52
84,674,947
8
3
null
null
null
null
UTF-8
Python
false
false
1,964
py
import heapq class PQ: def __init__(self, q=None): self._q = q or [] heapq.heapify(self._q) def push(self, item): heapq.heappush(self._q, item) def pop(self): return heapq.heappop(self._q) def empty(self): return len(self._q) == 0 class Node: def __init_...
[ "cian.ruane1@gmail.com" ]
cian.ruane1@gmail.com
3b3f2a5fb4819fba3b376c6cf5de30fdb52988d3
7622a7e57b3f89d551addc9902588df755af5da3
/backend/trademan_21450/urls.py
ae5685e633eb18f7a93084e79db91f6491d89ce4
[]
no_license
crowdbotics-apps/trademan-21450
d07a595356dca7a8534992622066e37614cf030b
d46397d047dec8fe57e364e6e1fd45f831bbc85d
refs/heads/master
2022-12-27T16:09:12.852275
2020-10-13T19:23:45
2020-10-13T19:23:45
303,806,091
0
0
null
null
null
null
UTF-8
Python
false
false
2,232
py
"""trademan_21450 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Clas...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
508b0d045ee327911ed81ff287fc3cebf74a2261
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/mauvai.py
877a1a284250a223904e37fc7c56251e0ac8cfd9
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
100
py
ii = [('WilbRLW4.py', 1), ('PettTHE.py', 2), ('KiddJAE.py', 1), ('MedwTAI.py', 2), ('SoutRD.py', 1)]
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
d91c15f6e125c9a83e87827e38a41edeab2915a1
a0664f0d3950a7147f84a317b2e417e0433a4ae4
/test/test_transaction_info.py
bda6dfbeaa53b032900e0a9370a82c2e864bc90f
[]
no_license
reepay/reepay-checkout-python
1e748893a970d28c6b0242bc7d26aa21325abb32
8bbd36219335a1fc65f857ac537ff4931bc6e5c7
refs/heads/master
2020-10-01T20:10:29.660872
2019-12-12T13:39:46
2019-12-12T13:39:46
227,615,447
1
1
null
null
null
null
UTF-8
Python
false
false
868
py
# coding: utf-8 """ Reepay Checkout API Reepay Checkout REST API # noqa: E501 OpenAPI spec version: 1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import swagger_client from swagger_client.models.transaction_info...
[ "robert@reepay.com" ]
robert@reepay.com
3bc2f9e3df9ea60064b968d63b6d924cee9e3ccc
aa0270b351402e421631ebc8b51e528448302fab
/sdk/search/azure-search-documents/azure/search/documents/indexes/_generated/aio/_vendor.py
5f299ff515c0859857d88274aca81e99ca9446fd
[ "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
954
py
# -------------------------------------------------------------------------- # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.3, generator: @autorest/python@6.2.3) # Changes may cause incorrect behavior and will be lost if the code is regenerated. # ----------------------------------------------...
[ "noreply@github.com" ]
fangchen0601.noreply@github.com
5aa5b4734fa0fb72a627424fad113ccc2ca4d9ac
435a1ad7f073008f303668b68645c137e06d49ab
/rx/linq/observable/fromcallback.py
94eb3d83e38b90d00b71288a407e8b075c47aeab
[ "Apache-2.0" ]
permissive
tanwanirahul/RxPY
cf9f447006a5a74c515080f470d4ef1b85ae8731
e5e8d80c77e03601bf5fe167b747e9ff3ea0afa8
refs/heads/master
2020-12-11T05:51:36.627984
2014-09-30T18:52:40
2014-09-30T18:52:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,941
py
from six import add_metaclass from rx.observable import Observable from rx.anonymousobservable import AnonymousObservable from rx.concurrency import current_thread_scheduler from rx.internal import ExtensionMethod @add_metaclass(ExtensionMethod) class ObservableFromCallback(Observable): """Uses a meta class to ex...
[ "dag@brattli.net" ]
dag@brattli.net
55edc7b0121e5000d51edec21234acf6e1b2ccd8
5e3ebc83bc3fe2f85c34563689b82b1fc8b93a04
/google/ads/googleads/v5/errors/types/keyword_plan_ad_group_error.py
d496d6f80cd6d105c72ca03b7fed6a0ebe12fe51
[ "Apache-2.0" ]
permissive
pdsing/google-ads-python
0ce70227cd6bb13a25cd13de0ca05c2636279ecd
ee2c059498d5679a0d1d9011f3795324439fad7c
refs/heads/master
2023-05-04T18:39:57.412453
2021-05-21T16:38:17
2021-05-21T16:38:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,249
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 o...
[ "noreply@github.com" ]
pdsing.noreply@github.com
4da36fca0909c6683c0bbf1a59acac8d474bc71e
4cd0c4fe574664f0b87d35b3a6b3915ba5d78111
/sqlalchemy-sql-toolkit/advanced_query.py
7f5fa52a33eab8bcc4ac3af566e563513b37a28e
[]
no_license
sancojiang/sanic-in-practice
9fb98295f4cbc1d9e5926fb4c7407911e35522e9
631d1046e7b0bc347302bd8e762be00e828e6928
refs/heads/master
2022-04-08T15:08:10.458042
2020-03-14T10:34:15
2020-03-14T10:34:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,353
py
from sqlalchemy.sql import select, desc, union, union_all, func, and_ from define_and_create import engine, metadata, users, addresses if __name__ == '__main__': conn = engine.connect() s = select([users.c.name]).order_by(users.c.name) print(s) s = select([users.c.name]).order_by(users.c.name.desc(...
[ "jaggerwang@gmail.com" ]
jaggerwang@gmail.com
79c9a740bf5357400cb63392bbf10a3db0f444be
a4653fb6c5a7a9e6db0457480e9e860c5304b2b8
/list/exercise3.py
7046a3e618f8ba6dc77520b3f951235247b33f9a
[]
no_license
pratik-iiitkalyani/Python
c315ca1f3a2446ccb871b74026edae97daec3773
082ae6d833f151054567d737de543898ebfe1d87
refs/heads/master
2020-08-07T05:59:21.930089
2020-01-04T17:05:27
2020-01-04T17:05:27
213,324,642
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
string = ['abc','tuv','xyz'] def reverse_element(l): reverse = [] for i in l: reverse.append(i[::-1]) return reverse print(reverse_element(string))
[ "ts-pratik.kumar@rakuten.com" ]
ts-pratik.kumar@rakuten.com
6e32ca0a3c6e2778f51a768d4d855a182f6cb71f
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_102/ch55_2019_09_30_20_51_37_185484.py
cc72b7e18d11f7ddab55b72638518257aa174b91
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
def primos_entre(a,b): d =[] i = a d.append(a) while i < b: i +=1 if i % 2 != 0: d.append(i) d.append(b) return d
[ "you@example.com" ]
you@example.com
e825d2717e405988659351eba438949254666fc0
66052f5ba08ddac0a56ee140af17cf78b1ff1174
/PLURALSIGHT_BEGINNERS/lib/python3.9/site-packages/jupyter_client/connect.py
1b81585f21150b61888f4b15e2ae5f406d40e6e2
[]
no_license
enriquefariasrdz/Python
34704ceed001bbe8a23471eebefbe536b00031a5
b9191f7ad87b709a1b83c5cb3797a866b56aaa0d
refs/heads/master
2022-12-26T03:06:26.481456
2022-04-20T14:09:57
2022-04-20T14:09:57
27,020,899
1
1
null
2022-12-18T21:02:43
2014-11-23T03:33:52
Python
UTF-8
Python
false
false
23,150
py
"""Utilities for connecting to jupyter kernels The :class:`ConnectionFileMixin` class in this module encapsulates the logic related to writing and reading connections files. """ # Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. import errno import glob import json imp...
[ "enriquefariasrdz@gmail.com" ]
enriquefariasrdz@gmail.com
1bee239725b04c5abc61cb7674d3399e38734ecc
780a18c55af7a8744b408e1efd4aaf08a0d3a3e7
/run.py
cfacca59112b4e1e9fd013bb33940f0a136f57f8
[]
no_license
squidnee/passbook
86507c6675122f1b67333f55048eb55f3dff664a
551de76b95049185820a3fc8729fbc126c423994
refs/heads/master
2020-03-22T05:27:31.718897
2018-07-21T12:30:32
2018-07-21T12:30:32
139,567,112
0
0
null
null
null
null
UTF-8
Python
false
false
863
py
# -*- coding: utf-8 -*- from passbook.features.extensions import db from passbook.app import create_app from passbook.webui import WebUI from passbook.config import BaseConfig as Config from passbook.models.users import User from passbook.models.records import PasswordRecord, WalletRecord, FileRecord, NoteRecord ## T...
[ "smaples@stanford.edu" ]
smaples@stanford.edu
a0eaf494a3d744edc64ac0da32e13a2f86bab018
50df42cf40e42d6138e17233931bf213126b2975
/cifar_undercover_train.py
ba7075d78ed14a6eb2116b1b0997620c5c33bfc5
[]
no_license
rzhangpku/DBA
8e3c36ebda51b0ec13ab1d29c6bcc6821720da4c
7ae222189dc5c22656f252677167e0befc914c63
refs/heads/master
2023-04-05T23:07:11.582857
2021-04-08T09:07:10
2021-04-08T09:07:10
355,439,101
1
0
null
null
null
null
UTF-8
Python
false
false
4,222
py
import os import torch import torch.nn as nn import torch.optim as optim import torchvision from torch.autograd import Variable import torchvision.transforms as transforms from models.resnet import PreActResNet18 from adversary.fgsm import Attack def undercover_attack(UndercoverAttack, x, y_true, eps=1/255): x = ...
[ "rzhangpku@pku.edu.cn" ]
rzhangpku@pku.edu.cn
2421547889c742bd5fbfa59cf4d0f715f1e22102
100f3b0b17336064db71e7f71b3a6cd55db46ade
/digits/local_task.py
28a1a53ca6298c3a7abf28571e899290b148abbe
[ "LicenseRef-scancode-generic-cla" ]
no_license
vfdev-5/DIGITS
453206a2283ecf104a842bab29221da1f2735774
4d24dff6305b33cc3c418339b770c35d764fb100
refs/heads/master
2021-01-22T22:57:51.652374
2017-06-23T00:28:46
2017-06-23T00:28:46
85,595,432
0
0
null
2017-03-20T15:43:57
2017-03-20T15:43:57
null
UTF-8
Python
false
false
11,729
py
# Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved. from __future__ import absolute_import import logging import os.path import platform import re import signal import subprocess import time import flask import gevent.event from . import utils from .config import config_value from .status import Sta...
[ "vfdev.5@gmail.com" ]
vfdev.5@gmail.com
d44f86058107d024616de556f7f3705eaad09611
ad54a035bb0b0ec73853516e4b62daf3598b601b
/django_assignments/ninja_gold/ninja_gold/urls.py
29662c6847f46a92567982a0e25899e67d146375
[]
no_license
odionfross/django
ce34c29fdc9f828ca0544826c9ef1b35efd324fb
759d2ddf9322984dd97a967dd1f08e7ee644d9c9
refs/heads/master
2022-12-11T15:29:17.506133
2020-09-16T04:22:10
2020-09-16T04:22:10
295,921,376
0
0
null
null
null
null
UTF-8
Python
false
false
731
py
"""ninja_gold URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-ba...
[ "https://www.linkedin.com/in/odionfross/" ]
https://www.linkedin.com/in/odionfross/
cc719cb54255215425b3641810de8ca3e188df80
52107637d2687db30f168ba15ffd1e1e534f4cb4
/mirdata/datasets/slakh.py
b448e873e1eaf724174aa8347886f1c307fbb4e9
[ "BSD-3-Clause" ]
permissive
mir-dataset-loaders/mirdata
9be10e0201b08abf51fc72338ccaaacc8216145b
496eb4a9120aa16ff6963792f0c8b738a0c3f310
refs/heads/master
2023-05-07T13:15:16.517429
2023-03-27T13:54:37
2023-03-27T13:54:37
170,765,267
297
65
BSD-3-Clause
2023-08-05T22:48:48
2019-02-14T22:11:33
Python
UTF-8
Python
false
false
15,708
py
"""slakh Dataset Loader .. admonition:: Dataset Info :class: dropdown The Synthesized Lakh (Slakh) Dataset is a dataset of multi-track audio and aligned MIDI for music source separation and multi-instrument automatic transcription. Individual MIDI tracks are synthesized from the Lakh MIDI Dataset v0...
[ "noreply@github.com" ]
mir-dataset-loaders.noreply@github.com
9f9b979a4246446e63d0bc4d80aec771ce9db480
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_289/ch64_2020_04_29_19_58_32_525064.py
e1f2b96f3d29c5c95ad7e9b2c00e929a86d728e6
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
def acha_bigramas(palavra): lista = [] i = 0 while i < len(palavra) - 1: bigrama = palavra[i] + palavra[i+1] lista.append(bigrama) i += 1 return lista print(lista)
[ "you@example.com" ]
you@example.com
f0d9907fd30be54bb8dd46151612cca3c7f3a87f
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_117/823.py
3cb23f8429bae38437abd2bafac54b427dc67231
[]
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
909
py
import sys def check(vals, N, M, maxRows, maxCols): for i in xrange(N): for j in xrange(M): if vals[i][j] < maxRows[i] and vals[i][j] < maxCols[j]: return False return True T = int(sys.stdin.readline()) for case in xrange(T): N, M = sys.stdin.readline().str...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
c78f2e30195be9a908099ca106b90e82a53076e3
b0c8e0cafa4a8916faab3cce65756ae91426c43f
/study/Python/Week1/BOJ_1600_강의현.py
42c15cf5e219865652fe258a3df8f633d941da72
[]
no_license
Rurril/IT-DA-3rd
b3e3ec3c2a5efbc75b76b84e9002c27a0ba4a1c4
9985e237cb1b90e9609656d534e0ed164723e281
refs/heads/master
2022-07-22T15:26:39.085369
2021-11-23T13:30:06
2021-11-23T13:30:06
288,980,334
3
29
null
2020-11-05T10:25:30
2020-08-20T10:49:17
Java
UTF-8
Python
false
false
2,766
py
#말이 되고픈 원숭이 DFS_BFS import sys from collections import deque k = int(sys.stdin.readline()) w, h = map(int, sys.stdin.readline().split()) # h 행 w 렬 world = [list(map(int, sys.stdin.readline().split())) for _ in range(h)] visit=[[[False for _ in range(w)] for _ in range(h)] for _ in range(k+1)] dx1=[1,0,-1,0] dy1=[0,1...
[ "riverkeh@naver.com" ]
riverkeh@naver.com
799139619963efac23172eb4ab5ec366a02e94ae
328669edcea25f026a9867f6ddb69bacfc2dd237
/SourceDesign/create_calib_signal.py
5a40704551807ba1f3b6bce3e50ca0ee31983d9b
[]
no_license
XuHangkun/TAO_Calibration
82c35b9c9eac1a644b6f2e2fc4f940da8fa9c175
1692ccbfed57ed062e18d5dfe773cdd110611c08
refs/heads/main
2023-06-15T09:31:58.208325
2021-07-09T01:53:21
2021-07-09T01:53:21
378,861,008
0
0
null
null
null
null
UTF-8
Python
false
false
8,058
py
# -*- coding: utf-8 -*- """ Signal of TAO calibration ~~~~~~~~~~~~~~~~~~~~~~ :author: Xu Hangkun (许杭锟) :copyright: © 2020 Xu Hangkun <xuhangkun@163.com> :license: MIT, see LICENSE for more details. """ import os import sys sys.path.append('/dybfs/users/xuhangkun/SimTAO/offline') sys.path.append('...
[ "xuhangkun@ihep.ac.cn" ]
xuhangkun@ihep.ac.cn
a8370df4367e81e64dba52fd941c9b8a7bc4de9c
c3082eb2adc43b311dd3c9ff16fd3ed9df85f266
/python/examples/argparse/argparse_two_filenames.py
fa03cb39ac078b63bfa83635f2604b117a6ac900
[]
no_license
szabgab/slides
78818c7138331b3ba9e221c81da3678a46efe9b3
63bba06678554db737602f2fbcd6510c36037e8a
refs/heads/main
2023-08-31T07:13:51.536711
2023-08-29T13:17:59
2023-08-29T13:17:59
122,212,527
87
69
null
2023-05-19T06:55:11
2018-02-20T14:57:03
Python
UTF-8
Python
false
false
252
py
import argparse parser = argparse.ArgumentParser() parser.add_argument('--input', required=True) parser.add_argument('--output', help="Some description") args = parser.parse_args() print(f"input: {args.input}") print(f"output: {args.output}")
[ "gabor@szabgab.com" ]
gabor@szabgab.com
135750144a139ed3f77299dfa314447a5354fc0d
04d82e38b9711ccd78357cf27bf9f8bc0e1f7140
/tensorflow/contrib/learn/python/learn/estimators/base.py
ae7ba2cfa484d1b89e2c764994d08d4fcf1e0fb4
[ "Apache-2.0" ]
permissive
shreyashankar/tensorflow
487caf795106359f0fd53e8877c9639abe0fa398
e156300b9a1dcb3ff4577a9af8658c80f747a158
refs/heads/master
2021-01-18T18:44:52.648994
2016-08-11T21:50:22
2016-08-11T21:50:22
65,505,399
2
1
null
2016-08-11T22:21:59
2016-08-11T22:21:59
null
UTF-8
Python
false
false
19,636
py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
fc5fc71cec117a4c01efa77b6a12b6684aaf5e8e
23b333449524887594530f73c0079ce60cb8eefb
/python_module/examples/1218_Longest_Arithmetic_Subsequence_of_Given_Difference.py
c547a8bbb95a9201a63a321726bfc734b12aeb94
[]
no_license
benbendaisy/CommunicationCodes
9deb371095f5d67e260030d3d8abf211c90e7642
444cc502ef26810b46115797f2e26ab305a4ebdf
refs/heads/master
2023-08-09T21:46:58.691987
2023-07-20T05:11:39
2023-07-20T05:11:39
27,856,438
0
0
null
null
null
null
UTF-8
Python
false
false
1,963
py
from typing import List class Solution: """ Given an integer array arr and an integer difference, return the length of the longest subsequence in arr which is an arithmetic sequence such that the difference between adjacent elements in the subsequence equals difference. A subsequence is a sequence that c...
[ "benbendaisy@users.noreply.github.com" ]
benbendaisy@users.noreply.github.com
c6f69edcfb04df0bbb84a4653aa6f7b8b60139a1
2dd26e031162e75f37ecb1f7dd7f675eeb634c63
/nemo/collections/tts/models/ssl_tts.py
298a1a599008d11e85c70d2847878f0bbfbf1f2e
[ "Apache-2.0" ]
permissive
NVIDIA/NeMo
1b001fa2ae5d14defbfd02f3fe750c5a09e89dd1
c20a16ea8aa2a9d8e31a98eb22178ddb9d5935e7
refs/heads/main
2023-08-21T15:28:04.447838
2023-08-21T00:49:36
2023-08-21T00:49:36
200,722,670
7,957
1,986
Apache-2.0
2023-09-14T18:49:54
2019-08-05T20:16:42
Python
UTF-8
Python
false
false
23,195
py
# Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. 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 requ...
[ "noreply@github.com" ]
NVIDIA.noreply@github.com
fb9c1529be8324c66ffc17ffcac714902ea68a3a
8f8498bb6f56b19d45a1989c8113a077348c0a02
/백준/Gold/낚시왕.py
b06b14d11b4c75ab8d52f9d90cccd1b4afc1b061
[]
no_license
gjtjdtn201/practice
a09b437c892b0b601e156c09cb1f053b52fab11b
ea45582b2773616b2b8f350b927559210009d89f
refs/heads/master
2021-01-01T13:29:46.640740
2020-11-28T00:55:37
2020-11-28T00:55:37
239,299,485
0
1
null
null
null
null
UTF-8
Python
false
false
1,813
py
import sys sys.stdin = open('낚시왕.txt', 'r') from collections import deque R, C, M = map(int, input().split()) if M == 0: cnt = 0 else: matrix = [[0]*C for _ in range(R)] q = deque() for i in range(M): r, c, s, d, z = map(int, input().split()) matrix[r-1][c-1] = [s, d, z] cnt = 0...
[ "gjtjdtn201@naver.com" ]
gjtjdtn201@naver.com