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
1dc58d55719d5e8c779ab8d96e4b0646be1a8a93
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5634697451274240_1/Python/Mathuyama/pancake.py
4fee8c53da1db866b82b5bceb88e8abef431eec2
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
1,396
py
import numpy as np def getInfo(line): t = [] for c in line: if c == '-': t.append(-1); if c == '+' : t.append(+1); return t def parse(path): file = open(path,"r"); nbCases = int(file.readline()); txt = file.readlines(); cases = [] for line in txt: cases.append(g...
[ "alexandra1.back@gmail.com" ]
alexandra1.back@gmail.com
bc6e0d7cce5ab4a2ff4d4c76a1ff404a38342888
30a866abd8b0aba8355ce0bc858cc679565032c2
/wrk/python/global_variables.py
13037f1c1b163b84ac9b8a6b917f5ae40a8aa723
[]
no_license
srbcheema1/CheemaFy_legacy
d8a354e0f3463cb19ffbcf948d7be55c15c51faa
c929211729860887a82e0663bfcf5b85da6b6967
refs/heads/master
2021-10-15T23:48:57.259057
2019-01-31T11:33:46
2019-02-07T01:32:07
102,012,212
1
1
null
null
null
null
UTF-8
Python
false
false
613
py
hell = 1 debug = True def read_only(): # here we are not writing it so no need of global keyword read_debug = debug # works fine if(debug): print("debug") # works fine def strange(): bad_debug = debug # error debug = True # maybe it thinks it is local # it is to be declared global if we try to...
[ "srbcheema1@gmail.com" ]
srbcheema1@gmail.com
0c3b71d557eed98f99e54ee483dfe08d43e50239
a411a55762de11dc2c9d913ff33d2f1477ac02cf
/dp/cloud/python/magma/db_service/migrations/versions/016_remove_grant_attempts.py
419ad005c1380af097689952c5a3b1ca7f4c6603
[ "BSD-3-Clause" ]
permissive
magma/magma
0dc48c1513d9968bd05fb7589f302c192b7c0f94
0e1d895dfe625681229e181fbc2dbad83e13c5cb
refs/heads/master
2023-09-04T09:31:56.140395
2023-08-29T13:54:49
2023-08-29T13:54:49
170,803,235
1,219
525
NOASSERTION
2023-09-07T17:45:42
2019-02-15T04:46:24
C++
UTF-8
Python
false
false
782
py
"""empty message Revision ID: 58a1b16ef73c Revises: 530b18568ad9 Create Date: 2022-07-22 16:03:01.235285 """ import sqlalchemy as sa from alembic import op # revision identifiers, used by Alembic. revision = '58a1b16ef73c' down_revision = '530b18568ad9' branch_labels = None depends_on = None def upgrade(): """...
[ "noreply@github.com" ]
magma.noreply@github.com
50f2c40987fbaf3def06e4660a7e876306c21f60
8db5b1d27f27d6440e6bfaebf661678f8ce016e3
/dictionaries/demo_dict_len.py
b4d41ec65fb439867c57a145a7569aeb163932af
[]
no_license
rasul-sharifzade/LearnPython
9f9f860550667117354354f4f7fee082da16dc7e
ac68c208d50a1e11cfd0ab52ae00d6baea596ce9
refs/heads/master
2020-12-27T06:42:38.603190
2020-06-28T09:01:19
2020-06-28T09:01:19
237,800,042
3
0
null
null
null
null
UTF-8
Python
false
false
94
py
thisdict = { "brand":"ford", "model":"mustang", "year":1964 } print(len(thisdict))
[ "rasul.sharifzade@gmail.com" ]
rasul.sharifzade@gmail.com
dfde0dc15bc68d98164c3eed4e245d1a312dd74d
efc3bf4f88a2bfc885de5495c87433d345b54429
/ZOJ/1115.py
92f3352989a7d4a7c5a3053e24b7a7b9b4ac4e23
[]
no_license
calvinxiao/Algorithm-Solution
26ff42cc26aaca87a4706b82a325a92829878552
afe254a4efa779598be8a82c5c5bcfcc94f80272
refs/heads/master
2016-09-05T21:08:35.852486
2015-08-23T15:13:23
2015-08-23T15:13:23
20,149,077
0
0
null
null
null
null
UTF-8
Python
false
false
361
py
#Problem ID: 1115 #Submit Time: 2012-08-16 00:49:47 #Run Time: 10 #Run Memory: 320 #ZOJ User: calvinxiao import sys def todo(n): if n < 10: return n ans = 0 while n != 0: ans += n % 10 n /= 10 return todo(ans) while 1: n = int(sys.stdin.readline()) if n...
[ "calvin.xiao@scaurugby.com" ]
calvin.xiao@scaurugby.com
443b6a78e2121b70b47d9cb55a84223089801ef3
7d44994155d57a01fdd1b405018e2a83eb670bfe
/hub/src/light/effect/color_effects/triple_linear_color_transition.py
24d6c76ab3ef0e923e7a64bf7b690f641dc416b9
[]
no_license
jonlabroad/drum-lite
e05e2904c28f19101dfb0c43ecdf0b1b1f836e13
e60e21a2f5d1f03e3e939163c101c286a3cfa7d2
refs/heads/master
2022-12-31T11:00:44.075176
2020-07-25T17:19:01
2020-07-25T17:19:01
214,287,587
0
0
null
2022-12-10T09:56:49
2019-10-10T21:18:57
TypeScript
UTF-8
Python
false
false
937
py
from light.effect.partial_effect import PartialEffect from light.effect.resolved_effect import ResolvedEffect from util.color_transition import ColorTransition from light.effect.effect_priority import EffectPriority class TripleLinearColorTransition(PartialEffect): def __init__(self, srcRgb, dstRgb1, dstRgb2, dura...
[ "=" ]
=
fa587f4efbb32030d5aeb6a0a371f9f0cddf5bad
d9296d3b420d8f5c1aeca094d00dd6bc38a3d57d
/blog/migrations/0007_auto_20201007_0027.py
af9d531851ee81b2ee2d718dbd0c0b433ae67098
[]
no_license
Anthony88888/mysite
57f5f40530886b12cf1364c10c6206983b022c6c
7130715ef3acac054b96fa22dcf19fec1f31e019
refs/heads/master
2023-01-09T12:15:11.720225
2020-10-25T14:48:35
2020-10-25T14:48:35
305,168,092
1
0
null
null
null
null
UTF-8
Python
false
false
396
py
# Generated by Django 2.0.13 on 2020-10-06 16:27 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('blog', '0006_auto_20201006_1456'), ] operations = [ migrations.RemoveField( model_name='readnum', name='blog', ), ...
[ "admin@example.com" ]
admin@example.com
fc47543b429550c01bcea133e396d425c978ea1f
335c8167b2093359113abbd2b2ad6561e46f28f9
/myereporter/report_display.py
3692dc6e7596d69f3b53194d1138530ddd132a2c
[]
no_license
mdornseif/my_ereporter
ce67fadc512153327aa289b57e4abdc34065bdcd
4c362d356d3e674cf47175ce7977a1a794ff1a9f
refs/heads/master
2020-05-30T21:59:41.963554
2014-02-12T07:40:08
2014-02-12T07:40:08
3,323,415
0
0
null
2014-02-12T07:40:09
2012-02-01T09:14:12
Python
UTF-8
Python
false
false
3,276
py
#!/usr/bin/env python # # Copyright 2007 Google Inc. # Copyright 2012 Dr. Maximillian Dornseif # # 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...
[ "md@hudora.de" ]
md@hudora.de
57d0f000bba622f8ae58fd6246384fdb6171a4c2
0e25538b2f24f1bc002b19a61391017c17667d3d
/xsqlps/win_xsqlhaendpoint.py
d63cff41b4b48b8eaa76153f1709cb850bf709e7
[]
no_license
trondhindenes/Ansible-Auto-Generated-Modules
725fae6ba9b0eef00c9fdc21179e2500dfd6725f
efa6ac8cd2b545116f24c1929936eb8cc5c8d337
refs/heads/master
2020-04-06T09:21:00.756651
2016-10-07T07:08:29
2016-10-07T07:08:29
36,883,816
12
2
null
null
null
null
UTF-8
Python
false
false
2,205
py
#!/usr/bin/python # -*- coding: utf-8 -*- # <COPYRIGHT> # <CODEGENMETA> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, ...
[ "trond@hindenes.com" ]
trond@hindenes.com
8cebe11dc2d30677fef4d45822d56ad632eb8314
277290f8cd6cc5bcb77faaf69a045f5074a988e5
/reveal-cards-in-incr.py
db0e4830da4c2241050bac7bada38bfbe9788efc
[]
no_license
shankarkrishnamurthy/problem-solving
aed0252d9ca6d6b51e9a7d8d5e648343b4abf322
f9bc1db1cc99b10a87a2fa51869924aa10df4c99
refs/heads/master
2023-03-20T18:48:45.107058
2023-03-06T03:24:53
2023-03-06T03:24:53
123,035,515
2
0
null
null
null
null
UTF-8
Python
false
false
665
py
class Solution(object): def deckRevealedIncreasing(self, d): """ :type deck: List[int] :rtype: List[int] """ n = len(d) d.sort() il, c, i = range(n),0,0 ans = [0]*n while c < n-1: ans[il[i]] = d[c] i += 2 c +...
[ "kshan_77@yahoo.com" ]
kshan_77@yahoo.com
d3bc11a9aab7b31c0267628c2f3dd7308ec7e8e1
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_candling.py
0473570aa258d1a60c7225076a74ed253110aa0b
[ "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
240
py
from xai.brain.wordbase.nouns._candle import _CANDLE #calss header class _CANDLING(_CANDLE, ): def __init__(self,): _CANDLE.__init__(self) self.name = "CANDLING" self.specie = 'nouns' self.basic = "candle" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
897ddd4b655379b68902d88d5eb70456f63dc56b
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/226/users/4149/codes/1638_869.py
76e2f745bcfc37ccead6e31a4844f49410cd0660
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
133
py
preco=float(input("digite o valor: ")) if(preco>=200): pago= preco-((5*preco)/100) print(round(pago,2)) else: print(preco)
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
701d53be3b220a15773d4bae7c650509950ea474
5daece6b3ee3e928d101c8614dbcb90a8569626f
/files/Exercícios Livro/c05e01.py
bc282a6143d6bb605b74864d13352c4e1506c4a1
[ "MIT" ]
permissive
heltonricardo/estudo-python
506b400af93039bbdca70e1bc604c588fae62af1
e82eb8ebc15378175b03d367a6eeea66e8858cff
refs/heads/master
2022-12-24T03:10:52.202102
2020-10-06T13:58:05
2020-10-06T13:58:05
294,190,313
0
0
null
null
null
null
UTF-8
Python
false
false
216
py
def somatorio(n): s = 0 for i in range(1, n + 1): s += i return s valor = int(float(input('Entre um valor inteiro: '))) print('A soma de 1 até {} é {}'.format(valor, somatorio(valor))) input()
[ "50843386+heltonr13@users.noreply.github.com" ]
50843386+heltonr13@users.noreply.github.com
63b8ad3ebadc2a5c26750c091d69b542c6a4c249
06f7ffdae684ac3cc258c45c3daabce98243f64f
/vsts/vsts/gallery/v4_0/models/publisher.py
6850a11a0f84d8920e40a5e224ddaa6f1d608c0b
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
kenkuo/azure-devops-python-api
7dbfb35f1c9637c9db10207824dd535c4d6861e8
9ac38a97a06ee9e0ee56530de170154f6ed39c98
refs/heads/master
2020-04-03T17:47:29.526104
2018-10-25T17:46:09
2018-10-25T17:46:09
155,459,045
0
0
MIT
2018-10-30T21:32:43
2018-10-30T21:32:42
null
UTF-8
Python
false
false
2,466
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
[ "tedchamb@microsoft.com" ]
tedchamb@microsoft.com
78b90c5ccf52433ac0fa36490bf09ee3a9537df0
b288e79bc4aa3a3ea2e11b2fe5d9d707fc36b916
/wen_python_18/color_term.py
bff244b69e87f087214b38f7a0db261cf928d44f
[]
no_license
pylinx64/wen_python_18
88e780e7045419a8c14d26f1dbb42c0d98e8856c
173f21e046904cdc24f846e19004d2a007deb2d3
refs/heads/main
2023-04-17T19:36:37.485510
2021-05-05T10:07:41
2021-05-05T10:07:41
336,603,726
1
0
null
null
null
null
UTF-8
Python
false
false
194
py
import tqdm, random, time progresBar = tqdm.tqdm(range(0, 100), desc='Loading virus...', ascii=True, bar_format='{desc}: {bar} {percentage:3.0f}% ') for x in progresBar: time.sleep(.05)
[ "noreply@github.com" ]
pylinx64.noreply@github.com
baae2fe0650b8a44e41fd46c23db0f242cd1e344
eef2fea06f1a18b410e51dcae2ce602093ce086f
/string Valiadtor method 2.py
9eb7c9062a78871b4fb0a2cf0e4fefc1060b6ffb
[]
no_license
vkgitmaster/HackerRank_Practice
43de4723c31788a56b848d30ea6e69a95c305bd8
e774a3bfedd59519c3cbb5369d472727b87655e5
refs/heads/master
2023-01-19T21:29:03.295968
2020-12-05T06:44:22
2020-12-05T06:44:22
318,719,167
0
0
null
2020-12-05T06:30:10
2020-12-05T06:30:10
null
UTF-8
Python
false
false
245
py
import re if __name__ == '__main__': s = input() print(bool(re.search('[a-zA-Z0-9]', s))) print(bool(re.search('[a-zA-Z]', s))) print(bool(re.search('[0-9]', s))) print(bool(re.search('[a-z]', s))) print(bool(re.search('[A-Z]', s)))
[ "VKvision@venu.com" ]
VKvision@venu.com
07800d09d0b326125fa78d95f54f9f1796ed958a
8d014a0120864b42748ef63dddfa3c733370118c
/layint_api/models/user_groups.py
b9ba7c7bbbe6c943e647dc66a058e83bdcca50f2
[ "LicenseRef-scancode-unknown", "Apache-2.0" ]
permissive
LayeredInsight/layint_api_python
3a6cf0bf62219f09010b828d7e02c2f3852a6f6f
a5c9a5b24098bd823c5102b7ab9e4745432f19b4
refs/heads/develop
2020-03-27T05:43:35.831400
2018-10-15T22:28:54
2018-10-15T22:28:54
146,044,385
0
0
Apache-2.0
2018-10-15T22:28:55
2018-08-24T22:11:08
Python
UTF-8
Python
false
false
2,729
py
# coding: utf-8 """ Layered Insight Assessment, Compliance, Witness & Control LI Assessment & Compliance performs static vulnerability analysis, license and package compliance. LI Witness provides deep insight and analytics into containerized applications. Control provides dynamic runtime security and analyti...
[ "Scott Oberg" ]
Scott Oberg
e6c23bd6da2dd837131de10c16fc6d85e681576e
1a166165ab8287d01cbb377a13efdb5eff5dfef0
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_network_peerings_operations.py
622977c9c6c9bc9881d97840e651a17da4bb700b
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
manoj0806/azure-sdk-for-python
7a14b202ff80f528abd068bf50334e91001a9686
aab999792db1132232b2f297c76800590a901142
refs/heads/master
2023-04-19T16:11:31.984930
2021-04-29T23:19:49
2021-04-29T23:19:49
363,025,016
1
0
MIT
2021-04-30T04:23:35
2021-04-30T04:23:35
null
UTF-8
Python
false
false
22,611
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" ]
manoj0806.noreply@github.com
639a77b123efd4d955c07a5f637e1a9b416ce673
040fbf650a95564c92632189687bc2a924d0a327
/gmn/src/d1_gmn/app/views/headers.py
0c776cd55fcf1fd7dd1c1882b5766aa4a8455d0a
[ "Apache-2.0" ]
permissive
vchendrix/d1_python
97b4e9671ae0642fdfa94054e270d44bcf1b6b6b
0fa85c3a8de158d0225bd7428ddab3cf53a3d3e7
refs/heads/master
2020-03-20T22:25:55.987123
2018-06-15T18:33:06
2018-06-15T18:33:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,446
py
# -*- coding: utf-8 -*- # 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-2016 DataONE # # Licensed under the Apache License, Version 2.0 ...
[ "git@dahlsys.com" ]
git@dahlsys.com
df5d69817ac04c7ca1a7fd5955756c39b6775ff7
63ace5832d453e325681d02f6496a0999b72edcb
/examples/monero.py
a8fe6f2b129f8e624e70388c97b8227a4626792e
[ "MIT" ]
permissive
ebellocchia/bip_utils
c9ec04c687f4247e57434319e36b2abab78f0b32
d15c75ddd74e4838c396a0d036ef6faf11b06a4b
refs/heads/master
2023-09-01T13:38:55.567370
2023-08-16T17:04:14
2023-08-16T17:04:14
251,130,186
244
88
MIT
2023-08-23T13:46:19
2020-03-29T20:42:48
Python
UTF-8
Python
false
false
1,284
py
"""Example of keys derivation for Monero (same addresses of official wallet).""" import binascii from bip_utils import Monero, MoneroMnemonicGenerator, MoneroSeedGenerator, MoneroWordsNum # Generate random mnemonic mnemonic = MoneroMnemonicGenerator().FromWordsNumber(MoneroWordsNum.WORDS_NUM_25) print(f"Mnemonic st...
[ "54482000+ebellocchia@users.noreply.github.com" ]
54482000+ebellocchia@users.noreply.github.com
23205934f3e45edba56c28705da6439fac77b2a5
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/nn7JKRBfq8iDcX8ZB_15.py
f35f0f8e1dfbbfd7b790a500d47aa08cf05efda7
[]
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
452
py
""" Write a function that returns a **lambda expression** , which transforms its input by adding a particular `suffix` at the end. ### Examples add_ly = add_suffix("ly") add_ly("hopeless") ➞ "hopelessly" add_ly("total") ➞ "totally" add_less = add_suffix("less") add_less("fear") ➞...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
3d240c0fdda9cbe03630ab8703bc3fb487c7fd6d
2296699c10d8e01da0b1ac079d67e87c8e4f766a
/code/objects.py
5d4a81ccbfc9808f5a8f072b6bfeb0fcd08a3a82
[ "Apache-2.0" ]
permissive
marcverhagen/semcor
8d18060885b7a8a1aca1d7987577cbe0cf2cecc1
d2ff7867880029800c1524444533843510cd78a6
refs/heads/master
2021-08-16T21:34:36.868125
2020-03-02T18:55:52
2020-03-02T18:55:52
162,839,926
1
2
null
null
null
null
UTF-8
Python
false
false
4,998
py
""" """ from __future__ import print_function import os from ansi import BOLD, BLUE, GREEN, GREY, END class SemcorObject(object): def is_paragraph(self): return False def is_sentence(self): return False def is_word_form(self): return False def is_punctuation(self): ...
[ "marc@cs.brandeis.edu" ]
marc@cs.brandeis.edu
2575e15e4676e4d0a444b5dd13502b5edbdc0445
338dbd8788b019ab88f3c525cddc792dae45036b
/lib/python3.6/site-packages/statsmodels/sandbox/regression/penalized.py
442cc669e096a42da7502f5266ff3feab463a916
[]
permissive
KshitizSharmaV/Quant_Platform_Python
9b8b8557f13a0dde2a17de0e3352de6fa9b67ce3
d784aa0604d8de5ba5ca0c3a171e3556c0cd6b39
refs/heads/master
2022-12-10T11:37:19.212916
2019-07-09T20:05:39
2019-07-09T20:05:39
196,073,658
1
2
BSD-3-Clause
2022-11-27T18:30:16
2019-07-09T19:48:26
Python
UTF-8
Python
false
false
17,444
py
# -*- coding: utf-8 -*- """linear model with Theil prior probabilistic restrictions, generalized Ridge Created on Tue Dec 20 00:10:10 2011 Author: Josef Perktold License: BSD-3 open issues * selection of smoothing factor, strength of prior, cross validation * GLS, does this really work this way * None of inherited r...
[ "kshitizsharmav@gmail.com" ]
kshitizsharmav@gmail.com
ef5e9a18a00128b006326db88a45a5ba9a3a18b8
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_1_1_neat/16_1_1_Lukasod_problem1.py
26c9273e42e32c0821136127856ef4a61e00d5be
[]
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
251
py
T = int(input().strip()) for i in range(T): S = input().strip() words = [S[0]] for letter in S[1:]: words = [letter + j for j in words] + [j + letter for j in words] print("Case #" + str(i + 1) + ": " + sorted(words)[-1])
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
8bf29bb739823ba7eace53be017b716d5a54f108
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/152/usersdata/274/66550/submittedfiles/swamee.py
5865cf6df59fa8f2d3a45f20a805d5a79ad2d0f9
[]
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
372
py
# -*- coding: utf-8 -*- import math #COMECE SEU CÓDIGO AQUI #ENTRADA f = float(input("Valor de f: ")) L = float(input("Valor de L: ")) Q = float(input("Valor de Q: ")) DeltaH = float(input("Valor de delta H: ")) V = float(input("valor de V: ")) #PROCESSAMENTO D = ((8*f*L*(Q**2))/((3.14159**2)*9.81*DeltaH))**(1/5) Rey =...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
6bc1d0251fa9f3b44c2b49da8e8613f888c65b93
c1a3d3b60441125605bc8bc42ede890808344b53
/utils.py
70943c1f2252d425d6ea863d166f7d35b27cf49a
[ "MIT" ]
permissive
learningequality/sushi-chef-readwritethink
a5c4a0944e364aaa9a8d15e7dd29bbe83f928be4
261191fd35b81774cc60a19ae8c27f8fa04fc352
refs/heads/master
2021-05-03T11:56:40.036853
2019-02-22T21:52:49
2019-02-22T21:52:49
120,490,074
0
1
MIT
2019-02-22T21:52:50
2018-02-06T16:42:03
Python
UTF-8
Python
false
false
3,079
py
import json import os from pathlib import Path import ntpath from ricecooker.utils import downloader import requests from ricecooker.utils.caching import CacheForeverHeuristic, FileCache, CacheControlAdapter #from le_utils.constants import licenses, content_kinds, file_formats DATA_DIR = "chefdata" BASE_URL = "http:/...
[ "mara80@gmail.com" ]
mara80@gmail.com
38c10450ce2fe46066550a1055d982809bfe65e5
dce4a52986ddccea91fbf937bd89e0ae00b9d046
/jni-build/jni-build/jni/include/tensorflow/contrib/learn/python/learn/supervised_session.py
07d100fefc7ef511c3c0e0bcb5c3e968a87c760c
[ "MIT" ]
permissive
Lab603/PicEncyclopedias
54a641b106b7bb2d2f71b2dacef1e5dbeaf773a6
6d39eeb66c63a6f0f7895befc588c9eb1dd105f9
refs/heads/master
2022-11-11T13:35:32.781340
2018-03-15T05:53:07
2018-03-15T05:53:07
103,941,664
6
3
MIT
2022-10-28T05:31:37
2017-09-18T13:20:47
C++
UTF-8
Python
false
false
13,917
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...
[ "super_mr.z@hotmail.comm" ]
super_mr.z@hotmail.comm
04e50d536e1fc6d75dbe209cfb08969375b7d392
453e245dcb67a75f671d5e6067af13c21acd4f97
/3.3 Pipeline/3-Pipeline_train.py
b72d3e1f52e2289f6b821df35479cad4f159bdcf
[]
no_license
ahmedatef1610/scikit-learn-library-for-machine-learning
c828f7510cd9a7df41e7aece31c08ea00d69bb4f
f12be8c1702c413742328a75f60b9b1f78a3c2d3
refs/heads/main
2023-04-05T01:23:46.970931
2021-04-12T09:16:26
2021-04-12T09:16:26
356,732,567
1
0
null
null
null
null
UTF-8
Python
false
false
2,514
py
#imports import pandas as pd import math from sklearn.model_selection import train_test_split from sklearn.linear_model import LinearRegression from sklearn.linear_model import Ridge from sklearn.linear_model import Lasso from sklearn.metrics import mean_squared_error from sklearn.preprocessing import PolynomialFeat...
[ "ahmedatef1610@gmail.com" ]
ahmedatef1610@gmail.com
a8f7a520ad7f8d7cadc5fbc5369ce21c796ad8ae
bad62c2b0dfad33197db55b44efeec0bab405634
/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/operations/_database_vulnerability_assessment_scans_operations.py
4112e6483d86ee23aae404c1b1898b76d46f0a7a
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
test-repo-billy/azure-sdk-for-python
20c5a2486456e02456de17515704cb064ff19833
cece86a8548cb5f575e5419864d631673be0a244
refs/heads/master
2022-10-25T02:28:39.022559
2022-10-18T06:05:46
2022-10-18T06:05:46
182,325,031
0
0
MIT
2019-07-25T22:28:52
2019-04-19T20:59:15
Python
UTF-8
Python
false
false
21,076
py
# pylint: disable=too-many-lines # 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) AutoRe...
[ "noreply@github.com" ]
test-repo-billy.noreply@github.com
b7fb19e89546027400e590c2391e345744d9ed9f
c5157ce2aa61f46c3cc9e028e347587e1fb1669c
/gui/python/resistor/resistor.py
ae31903c80ac9c0f122b5955445e86834fb5c12b
[]
no_license
ramalho/atelier-labs
2617706121fe9d67b646037e24a01380fa2ed53a
57986c9a7cd20046f58885a0b75cb12ce3b57f16
refs/heads/master
2018-12-29T07:02:24.517423
2012-05-21T15:00:06
2012-05-21T15:00:06
4,394,443
2
0
null
null
null
null
UTF-8
Python
false
false
1,577
py
''' Source for color table: http://en.wikipedia.org/wiki/Electronic_color_code ''' COLORS = 'black brown red orange yellow green blue violet gray white'.split() TOLERANCE = { 'brown':1, 'red':2, 'green':0.5, 'blue':0.25, 'violet':0.1, 'gray':0.05, 'gold':5, 'silver':10} #, None:20} def identify(bands)...
[ "luciano@ramalho.org" ]
luciano@ramalho.org
586739cc93832f34ce8cea5c5d8da2b31592e79d
4640123092be222413fa233f09aa167d470de46c
/backend/home/migrations/0002_customtext_homepage.py
067d3cd154523bff76fbb9dfd2c02c758968fed6
[]
no_license
crowdbotics-apps/teste-27867
8ca166788cbd5aa90844d1953f0ad9a24910492c
df35af7b664cb3e2053f7a36c8c49268c681fe8b
refs/heads/master
2023-05-18T21:34:38.469264
2021-06-09T14:06:19
2021-06-09T14:06:19
375,248,524
0
0
null
null
null
null
UTF-8
Python
false
false
805
py
# Generated by Django 2.2.20 on 2021-06-09 14:06 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ('home', '0001_load_initial_data'), ] operations = [ migrations.CreateModel( name='CustomText', f...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
af5df5ff93860818117097f576bf7e0bba351909
7da5ac719e4c9ca9cb3735d0ade3106183d96ffe
/Projeto/IoTcity_services/server/server/mainserver/migrations/0011_auto_20170326_1126.py
4495c2e03d5bda1dd2675a88eac680e3756c4a3d
[]
no_license
shanexia1818/IoTCity
a405c0921b417e5bb0a61966f9ca03a1f87147a7
3fe14b6918275684291f969fd6c3f69a7ee14a4c
refs/heads/master
2020-08-07T21:08:38.811470
2018-09-10T11:10:56
2018-09-10T11:10:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
691
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2017-03-26 11:26 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mainserver', '0010_auto_20170326_1121'), ] operations = [ migrations.AlterFie...
[ "diogodanielsoaresferreira@ua.pt" ]
diogodanielsoaresferreira@ua.pt
07bb3c5808d3f623a80fedb01254af988f185238
dc67e70a303f265ee6cb4c1a2d61fe811053fb3d
/selection/product.py
de869f2e3445ce58bb4a1a06dc228759fec30dc1
[]
no_license
cry999/AtCoder
d39ce22d49dfce805cb7bab9d1ff0dd21825823a
879d0e43e3fac0aadc4d772dc57374ae72571fe6
refs/heads/master
2020-04-23T13:55:00.018156
2019-12-11T05:23:03
2019-12-11T05:23:03
171,214,066
0
0
null
2019-05-13T15:17:02
2019-02-18T04:24:01
Python
UTF-8
Python
false
false
208
py
def product(a: int, b: int) -> str: p = a * b return 'Even' if (p & 1) == 0 else 'Odd' if __name__ == "__main__": a, b = [int(s) for s in input().split()] ans = product(a, b) print(ans)
[ "when.the.cry999@gmail.com" ]
when.the.cry999@gmail.com
832af04f8bc176b508217819c0cbdbd290cf40b8
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_211/ch18_2020_03_15_15_02_54_971317.py
5eba77fe63b13d26a8ca9bcedc6e427e50869e23
[]
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
171
py
def verifica_idade(x): if x>=21: return 'Liberado EUA e BRASI' elif x>=18: return 'Liberado BRASIL' else: return 'Não está liberado'
[ "you@example.com" ]
you@example.com
83575457e3e658ca944654ab7e19947978f37d5a
48a1156c4226a22be2cf271149be263adf9e5aef
/deploy/conf/web/gunicorn.conf.py
719128c5cfafd05900bb0b3f2a57be46021c2ac5
[ "MIT" ]
permissive
yacoma/auth-boilerplate
945edb1174ab6009780a50a51ec2389bc12845a3
26c86f3b12edc7074a2fd78322e6005fdb1029cb
refs/heads/master
2021-01-12T01:18:33.584773
2020-05-07T15:00:01
2020-05-07T15:00:01
78,362,662
6
1
null
2017-01-30T20:46:05
2017-01-08T18:36:46
JavaScript
UTF-8
Python
false
false
178
py
import multiprocessing bind = "unix:/tmp/proxy_auth-boilerplate.yacoma.it.sock" workers = multiprocessing.cpu_count() * 2 + 1 forwarded_allow_ips = "127.0.0.1, 188.165.237.135"
[ "henri.hulski@gazeta.pl" ]
henri.hulski@gazeta.pl
83c9631bd86714b665acd2c59700bdd2514e6d14
3920ab5c8deeaee370e6d28793fd7f2a9ca51188
/jarbas/core/migrations/0012_use_date_not_datetime.py
e34719f67393411d12ed109e7ad9ec4829ae7e95
[ "MIT" ]
permissive
MSLacerda/serenata-de-amor
1fe5309ef3ba76f6f9f7d16986730fe96c0f0991
789586d8dea3768502ac7f2d5e333cf0692642ac
refs/heads/master
2020-03-15T17:57:39.301809
2018-10-08T11:50:07
2018-10-08T11:50:07
132,273,013
2
0
MIT
2018-10-08T11:50:08
2018-05-05T18:12:13
Python
UTF-8
Python
false
false
498
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.3 on 2016-11-25 15:10 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0011_subquota_description_length'), ] operations = [ migrations.Alt...
[ "cuducos@gmail.com" ]
cuducos@gmail.com
bfce843a80276eacca751eb4fbf2dfd3f9d62c1c
b8e92c8c672ce620390dc09d782db73baa09c8b9
/app/remote_code_execution_engine/schemas/evaluation.py
aa896051996ccc61c1a4d6eb3006438ca9997acd
[ "MIT" ]
permissive
GeorgianBadita/remote-code-execution-engine
8bf590d697c4e808b933f3b7010b57e8ee1161de
4ac3ca7567cd89cc1f979622add81efa9edfea8f
refs/heads/main
2023-03-01T02:55:20.285861
2021-02-07T01:10:53
2021-02-07T01:10:53
332,325,012
0
0
null
null
null
null
UTF-8
Python
false
false
249
py
from typing import List from pydantic import BaseModel class EvaluationResult(BaseModel): submission_id: str has_error: bool results: List[bool] out_of_resources: bool out_of_time: bool exit_code: int raw_output: str
[ "geo.badita@gmail.com" ]
geo.badita@gmail.com
c23dd238375963e81a15419ebcf305bca0ac0e7c
531a1714bc78e215308978b9536437f8e3dab2be
/tests/test_imports.py
3235582dfbc8e29a7ea292cbccbc9c175eb2c758
[ "MIT" ]
permissive
samirelanduk/geometrica
6194d67bb73974028398eca02d9983bac4a1d23c
322cc2fd52dee21b8ac2b10e45d5cf0bf7034e64
refs/heads/master
2021-01-21T05:17:07.131581
2017-05-13T11:33:12
2017-05-13T11:33:12
83,167,131
1
0
null
null
null
null
UTF-8
Python
false
false
701
py
from unittest import TestCase import geometrica class TrigFunctionsImportTests(TestCase): def test_sine_law_imported(self): from geometrica.trig import sine_law self.assertIs(sine_law, geometrica.sine_law) def test_cosine_law_imported(self): from geometrica.trig import cosine_law ...
[ "sam.ireland.uk@gmail.com" ]
sam.ireland.uk@gmail.com
f042cae327b157b337ea7090e4c0f42a846d3a24
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03425/s982174788.py
01f4ca7a93c6a1d56f1486e0fe88f23e34b32345
[]
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
506
py
import sys input = sys.stdin.readline def main(): N = int(input()) L = {'M':0, 'A':0, 'R':0, 'C':0, 'H':0} for i in range(N): S = input().rstrip() if S[0] in L: L[S[0]] += 1 CNT = 0 i = 0 S = [0]*5 for k, v in L.items(): S[i] = v i += 1 ans = 0...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
6d4b31b6792f7453764518008cccfb8c64313f41
26fdd3419c1855f180d7e9bea3b59459ba9e6446
/venv/lib/python3.6/site-packages/oauthlib/openid/connect/core/grant_types/base.py
fa578a5732039e040b865b71daab07f142e0401d
[]
permissive
vansh1999/fashion-ecomm
eed52884ac007928260f50a885bec963d85a88d2
5879d0b1c64411485e861dfc9bcca6b4a82afc57
refs/heads/master
2021-06-24T21:58:26.931849
2021-04-10T08:37:50
2021-04-10T08:37:50
219,543,353
1
0
Apache-2.0
2021-04-10T08:37:51
2019-11-04T16:14:06
Python
UTF-8
Python
false
false
13,864
py
from .exceptions import OIDCNoPrompt import datetime import logging from json import loads from oauthlib.oauth2.rfc6749.errors import ConsentRequired, InvalidRequestError, LoginRequired log = logging.getLogger(__name__) class GrantTypeBase(object): # Just proxy the majority of method calls through to the ...
[ "vansh.bhardwaj1999@gmail.com" ]
vansh.bhardwaj1999@gmail.com
a489cc57803f9c4a97aeeb490d09df2f1c91c71e
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_7684.py
d8a6e7b7c0cb331010f13e2eb2d4b7a16a430928
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
127
py
# Force python to not output a float in standard form / scientific notation / exponential form print '{0:.10f}'.format(1.0e-9)
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
c0dc054906d0ea98a80d0b8cf0dc3c4d8801327b
958685165bfeb4122cc3473659a6d0c89c5cae95
/crea8s_rental/__init__.py
0c3addd67685eee41e9ce6025111b000ef3dfdcc
[]
no_license
tringuyen17588/OpenERP-7.0
44efee7735af65d960c5adb4b03a1a329f5c4a57
2486261e4d351d4f444ec31e74c6b0e36ed2fb82
refs/heads/master
2021-01-10T02:45:24.320726
2016-02-19T06:05:21
2016-02-19T06:05:21
52,064,852
0
0
null
null
null
null
UTF-8
Python
false
false
1,115
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU...
[ "tri@crea8s.com" ]
tri@crea8s.com
ec4e081afdb3147dd063ec36ddbbe72f3b0b469f
c3432a248c8a7a43425c0fe1691557c0936ab380
/이것이_코딩테스트다_Book/알고리즘_유형별_기출문제/그리디문제/문자열_뒤집기.py
33667852daacb3ae2fbf746b9e3e46275f51762c
[]
no_license
Parkyunhwan/BaekJoon
13cb3af1f45212d7c418ecc4b927f42615b14a74
9a882c568f991c9fed3df45277f091626fcc2c94
refs/heads/master
2022-12-24T21:47:47.052967
2022-12-20T16:16:59
2022-12-20T16:16:59
232,264,447
3
0
null
null
null
null
UTF-8
Python
false
false
194
py
arr = list(input()) arr = [int(i) for i in arr] prev = arr[0] count = [0]*2 for a in arr: if prev != a: count[prev] += 1 prev = a count[prev] += 1 print(min(count[0], count[1]))
[ "pyh8618@gmail.com" ]
pyh8618@gmail.com
e2a476e8cea308b2437c174320358f74693af7b0
91c5a1865717e6757bbfec825d411f96dcf2e2e5
/python/11_test/11.1/test_name_function.py
3ec1f8804cd2f5da58ac67995a1b91dee886c1cb
[]
no_license
ydPro-G/Python_file
6f676d1b66e21548f5fad8a715a1767344c2b0c4
c035e7c344c3c224d55e33efc16ee941bc3d6ff2
refs/heads/master
2023-06-19T06:12:44.550778
2021-07-14T09:15:15
2021-07-14T09:15:15
261,126,468
0
0
null
null
null
null
UTF-8
Python
false
false
2,921
py
# 11 测试函数 print("\n11.1.1") # 11.1.1 单元测试和测试用例 # 标准库中的模块unittest提供了代码测试工具 # 单元测试用于核实函数的某个方面没有问题 # 测试用例是一组单元测试,这些单元测试一起核实函数在各种情况下的行为都符合要求 # 全覆盖测试包含一整套单元测试 print('\n11.1.2') # 可通过测试 # 导入模块unittest以及要测试的函数 # 创建一个继承unittest。TestCase的类,编写方法对函数行为不同方面进行测试 # 检查函数get_formatted_name()在给定名和姓时能否正常工作 # ...
[ "46178109+ydPro-G@users.noreply.github.com" ]
46178109+ydPro-G@users.noreply.github.com
b9588ccb4ffb0e1bce066b2d810835e06acca12a
c505575568bca9d5f171be004c028613dc540244
/project_name/settings/production.py
2b584939118024da657b053e84d36eccda35e62b
[]
no_license
alfredo/django-template-plus
e699769015e4a4b5c533f4be2d3ef40779c9d660
2d58c6dc8d9493b69031df51ec2e29b13e70e57c
refs/heads/master
2021-01-20T10:13:03.422330
2013-07-04T13:43:15
2013-07-04T13:43:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
285
py
# Production settings for {{ project_name }} from {{ project_name }}.settings import * SITE_URL = 'http://{{ heroku_app }}.herokuapp.com' # Basic authentication for Heroku BASIC_WWW_AUTHENTICATION_USERNAME = "" BASIC_WWW_AUTHENTICATION_PASSWORD = "" BASIC_WWW_AUTHENTICATION = False
[ "alfredo@madewithbyt.es" ]
alfredo@madewithbyt.es
da236f1d91d055f79cea963d136dafe2b5ff99e3
53e58c213232e02250e64f48b97403ca86cd02f9
/16/mc/ExoDiBosonResonances/EDBRTreeMaker/test/crab3_analysisM3000_R_0-7.py
67b6fed624f209f701f450282bbd0022b699f73f
[]
no_license
xdlyu/fullRunII_ntuple_102X
32e79c3bbc704cfaa00c67ab5124d40627fdacaf
d420b83eb9626a8ff1c79af5d34779cb805d57d8
refs/heads/master
2020-12-23T15:39:35.938678
2020-05-01T14:41:38
2020-05-01T14:41:38
237,192,426
0
2
null
null
null
null
UTF-8
Python
false
false
2,303
py
from WMCore.Configuration import Configuration name = 'WWW/sig' steam_dir = 'xulyu' config = Configuration() config.section_("General") config.General.requestName = 'M3000_R0-7_off' config.General.transferLogs = True config.section_("JobType") config.JobType.pluginName = 'Analysis' config.JobType.inputFiles = ['Su...
[ "XXX@cern.ch" ]
XXX@cern.ch
a988a1a9ef07b526d1113b9579ec1b18291dc3e7
1cc8a2b32d0f908a828fb032f4d97c3356a52333
/orthophoto.py
9c8509d6e3692dda4674c66722d0648fa3f782fc
[]
no_license
testerarm/new_grpc_stage
3248a2480c5e6ef658d3c5ef868c5cc3b558e148
ae1aced767e0b302f0d90c9ffb55912341b73419
refs/heads/master
2023-04-05T07:25:34.059961
2021-04-22T03:36:42
2021-04-22T03:36:42
360,378,983
0
0
null
null
null
null
UTF-8
Python
false
false
10,305
py
import os from opendm import io from opendm import log from opendm import system from opendm import context from opendm import types from opendm import gsd from opendm import orthophoto from opendm.concurrency import get_max_memory from opendm.cutline import compute_cutline from pipes import quote from opendm import p...
[ "you@example.com" ]
you@example.com
cfdbd786e226fab3dd20e883df0c067fa999d9ae
1ade02a8e0c6d7e442c9d9041f15518d22da3923
/Homework/w1d2/inclass/information_extraction_exercise.py
60b1b7ca589a5f9e1bee6cf00c9d84843e96cea4
[]
no_license
fodisi/ByteAcademy-Bootcamp
7980b80636a36db6da3e0fc0e529fbc6b8e097e0
d53e3f4864f6cba1b85e806c29b01c48e3c2e81d
refs/heads/master
2020-03-19T12:55:31.489638
2018-07-25T16:19:19
2018-07-25T16:19:19
136,550,128
0
1
null
null
null
null
UTF-8
Python
false
false
615
py
#!/usr/bin/env python3 import json import requests def get_price(ticker_symbol): endpoint = 'http://dev.markitondemand.com/MODApis/Api/v2/Quote/json?symbol='+ticker_symbol response = json.loads(requests.get(endpoint).text)['LastPrice'] return response def get_symbol(company_name): endpoint = 'http...
[ "fodisi@users.noreply.github.com" ]
fodisi@users.noreply.github.com
d5e1c3a8eec6bc5eb82ffaa2109da25a7f91c691
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/request/AlipayOpenMiniVersionDetailQueryRequest.py
e3da861b450247eee7a3f5a7161ccb2f68c8d6a6
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
3,992
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.FileItem import FileItem from alipay.aop.api.constant.ParamConstants import * from alipay.aop.api.domain.AlipayOpenMiniVersionDetailQueryModel import AlipayOpenMiniVersionDetailQueryModel class AlipayOpenMiniVersionDetailQueryRequest(obj...
[ "liuqun.lq@alibaba-inc.com" ]
liuqun.lq@alibaba-inc.com
2b12246547b51b74307c0c0e914afc2c5ce1b294
4fde32723e04cbb9c929c54dad55f4333ba48d90
/tests/exceptions/source/diagnose/keyword_argument.py
915a4a8c8fe4dcb406b7587f72ee1d3714dffca8
[ "MIT" ]
permissive
Delgan/loguru
29f1b64a4944886559d76e22029fe1e5c88e7fec
80bcf4e25da9f79617ef23ca0fb29b100caac8f2
refs/heads/master
2023-09-03T20:18:46.892038
2023-09-03T16:19:15
2023-09-03T16:19:15
100,401,612
15,902
775
MIT
2023-09-11T14:19:42
2017-08-15T17:22:32
Python
UTF-8
Python
false
false
246
py
import sys from loguru import logger logger.remove() logger.add(sys.stderr, format="", colorize=True, backtrace=False, diagnose=True) def f(x): return 1 / x y = 0 with logger.catch(): f(x=y) x = 0 with logger.catch(): f(x=x)
[ "delgan.py@gmail.com" ]
delgan.py@gmail.com
955a3eb12f6890a23402b59ec8dfaebaaf36fc45
472c0ba1911619f8e2e1a68b4f956fad05be4e94
/src/matlab2cpp/parser.py
0ffd7711ae1689070e9362f1c37d0478a7bc10d8
[ "BSD-3-Clause" ]
permissive
jonathf/matlab2cpp
f8b9541cf79507ec764b04b8211e73c47a20c131
b6e2cbaedb36c909952911adfe44fe26252a36a1
refs/heads/master
2022-08-08T21:28:23.028072
2022-07-15T19:58:01
2022-07-15T19:58:01
31,599,354
197
68
BSD-3-Clause
2022-07-15T19:58:02
2015-03-03T13:20:32
Python
UTF-8
Python
false
false
4,744
py
"""Create parser for m2cpp.""" import argparse from textwrap import dedent import glob import matlab2cpp HELP_DESCRIPTION = """\ *** Matlab2cpp *** The toolbox frontend of the Matlab2cpp library. Use this to try to do automatic and semi-automatic translation from Matlab source file to C++. The program will create ...
[ "jonathf@gmail.com" ]
jonathf@gmail.com
86af9ecd041da60eaec93e144a49f9300db74d2d
cc096d321ab5c6abf54fdcea67f10e77cd02dfde
/flex-backend/pypy/rpython/rmodel.py
72f72f9a59ee8ae0fb2f625fe739c85c2b67159b
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
limweb/flex-pypy
310bd8fcd6a9ddc01c0b14a92f0298d0ae3aabd2
05aeeda183babdac80f9c10fca41e3fb1a272ccb
refs/heads/master
2021-01-19T22:10:56.654997
2008-03-19T23:51:59
2008-03-19T23:51:59
32,463,309
0
0
null
null
null
null
UTF-8
Python
false
false
18,169
py
from pypy.annotation.pairtype import pairtype, extendabletype, pair from pypy.annotation import model as annmodel from pypy.annotation import description from pypy.objspace.flow.model import Constant from pypy.rpython.lltypesystem.lltype import \ Void, Bool, Float, Signed, Char, UniChar, \ typeOf, LowLevelTyp...
[ "lucio.torre@dbd81ab4-9648-0410-a770-9b81666e587d" ]
lucio.torre@dbd81ab4-9648-0410-a770-9b81666e587d
26f6ff2a255625275d61146503b16f43f11f2c3a
4e0ff785b993b6bae70745434e61f27ca82e88f0
/113-Path-Sum-II/solution.py
8f5f4558cd246ae961dcad453e72f3e13d869c38
[]
no_license
NobodyWHU/Leetcode
2ee557dd77c65c5fa8ca938efb6de3793b4de261
d284fa3daab02531e5300867463b293d44737e32
refs/heads/master
2021-01-23T14:05:28.161062
2016-09-23T11:51:51
2016-09-23T11:51:51
58,898,114
1
0
null
null
null
null
UTF-8
Python
false
false
883
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): def pathSum(self, root, sum): """ :type root: TreeNode :type sum: int :rtype: List[List[i...
[ "haohaoranran@126.com" ]
haohaoranran@126.com
2f90756cc1595c4a95effe25d37d4029f6377e25
f335e561d30319cf4759199fc78ea429b0cdb052
/lldb/test/API/commands/expression/import-std-module/list/TestListFromStdModule.py
9382c800ec76e275bbaaab5d146be2028e6a7c06
[ "NCSA", "Apache-2.0", "LLVM-exception" ]
permissive
lock3/meta
9f7c721c890f34256bfac17d789e7078d3b9675a
918b8a2affc4a3e280b2cd2400dc535e32129c2c
refs/heads/feature/reflect
2023-06-16T23:15:42.059634
2020-11-05T23:33:12
2020-11-10T21:17:00
278,660,720
122
14
null
2023-04-07T15:19:30
2020-07-10T14:54:22
C++
UTF-8
Python
false
false
2,156
py
""" Test basic std::list functionality. """ from lldbsuite.test.decorators import * from lldbsuite.test.lldbtest import * from lldbsuite.test import lldbutil class TestBasicList(TestBase): mydir = TestBase.compute_mydir(__file__) @add_test_categories(["libc++"]) @skipIf(compiler=no_match("clang")) ...
[ "teemperor@gmail.com" ]
teemperor@gmail.com
29c1c4beba24f4ef72451a2ee5e945a97aca3955
45a153a8e27b552d82d137bd94f2d5d0aec3c889
/GoogleCLoudwithTwilio/google-cloud-sdk/lib/surface/compute/instance_groups/managed/stop_autoscaling.py
2b8c7bad314ab25f4c5235300b511b241bcd0ea4
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
Pooshan/App-using-Twilio
84bc0be1f091c678528bdf161c9fbb0af617fc0e
a6eea3f40ef9f22a7ab47c1f63b90deaa2620049
refs/heads/master
2022-11-23T23:56:49.754209
2016-10-01T18:47:25
2016-10-01T18:47:25
69,719,320
0
1
null
2022-11-02T19:48:20
2016-10-01T04:26:37
Python
UTF-8
Python
false
false
6,012
py
# Copyright 2015 Google Inc. 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 applicable law or ag...
[ "pooshan.vyas@gmail.com" ]
pooshan.vyas@gmail.com
9846ac7ed6b055116e262bf86b8ee3ee14bd8f6e
edb88981aa1420af7e074068ed7818b9d904a3dd
/tags/release-0.4.2/minds/docarchive.py
6236e76613b96b887b1e880dfc7f07115f3cece8
[]
no_license
BackupTheBerlios/mindretrieve-svn
101c0f1dfc25d20d5f828b6fd0d43301b773af4e
463745fcf1c1d5b1f6c201c30bcc339c99b437ed
refs/heads/master
2021-01-22T13:57:31.225772
2006-04-28T04:24:43
2006-04-28T04:24:43
40,801,743
0
0
null
null
null
null
UTF-8
Python
false
false
6,822
py
"""Usage: docarchive [option] [id|filename] -r read docid -a add filename [not implemented] """ # todo: describe docarchive file format # Note: id are generally added consecutively in chronical order. # However, users are free to purge documents afterward. Therefore id # does not necessary start fr...
[ "tungwaiyip@785ff9d5-dded-0310-b5f2-a5aff206d990" ]
tungwaiyip@785ff9d5-dded-0310-b5f2-a5aff206d990
b87b4b74514f77319ea93923b9b29886492b9b0f
b38247a5d84d8b52ce8363f8dd81629cfbe17f65
/reagent/gym/types.py
22a1343083ad5d4a45d47ada2cbedc2258ab611f
[ "BSD-3-Clause" ]
permissive
facebookresearch/ReAgent
7f2b82eaaf7a19e58cc50aacc307d7b001231440
c5f1a8371a677b4f8fb0882b600bf331eba5259d
refs/heads/main
2023-09-05T15:56:49.175072
2023-08-29T21:48:40
2023-08-29T21:48:40
98,565,575
1,480
290
BSD-3-Clause
2023-09-12T23:09:30
2017-07-27T17:53:21
Python
UTF-8
Python
false
false
4,660
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All rights reserved. # Please DO NOT import gym in here. We might have installation without gym depending on # this module for typing from abc import ABC, abstractmethod from dataclasses import asdict, dataclass, field, fields from typing impor...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
1118d813dbd043ad6b96b0b5ec0f378d73157bfc
876672868996f0da96c5db39fe44dc1a13354bd8
/557. Reverse Words in a String III.py
e700691d5be1d4761a2d617fac5ddd22f0e4ea00
[]
no_license
eekstunt/leetcode
f9958cb18d537c149316370ec1acdfaefa20b4df
3bff096b1cb6a8abc887c6de36beb92bd0ee4fc3
refs/heads/master
2022-04-20T17:08:33.413691
2020-04-18T17:58:56
2020-04-18T17:58:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
181
py
# https://leetcode.com/problems/reverse-words-in-a-string-iii/ class Solution: def reverseWords(self, s: str) -> str: return ' '.join(word[::-1] for word in s.split())
[ "you@example.com" ]
you@example.com
7dd4464fdcffe881ff7e78bbd9d0185e32a1e30d
574af23550bed50fdf9cfa205d7a063131f332a0
/scripts/migrate_to_json_graph.py
6d7d5b9a36c5ec3754c1069a6b7165ecd09eeb5d
[ "MIT", "BSD-3-Clause" ]
permissive
setu4993/cf-scripts
db8015b499090dd0923dcf0192ee85ec29ee037f
315187e2f25de4e3bc157ea1ac0f7f4d9b22a680
refs/heads/master
2020-09-25T13:34:47.659245
2019-12-11T17:04:48
2019-12-11T17:04:48
226,014,246
0
0
NOASSERTION
2019-12-05T04:13:44
2019-12-05T04:13:43
null
UTF-8
Python
false
false
132
py
import networkx as nx from conda_forge_tick.utils import dump_graph gx = nx.read_gpickle('graph.pkl') dump_graph(gx, 'graph.json')
[ "cjwright4242@gmail.com" ]
cjwright4242@gmail.com
824b5ecadedca94aef264f6fdec1628f4f0cb0ae
07570ec33eb49effd9ed6af73214bac1b607038f
/client/swagger_client/models/certificate_list.py
2586693e77e82e23c1bdd2d6d8c8954090aea0de
[ "MIT" ]
permissive
kakwa/certascale
d9998a66ba6a239ba5b5e537f12dabdd5876996c
0df8da0f518506500117152fd0e28ee3286949af
refs/heads/master
2020-03-29T09:24:32.794060
2019-01-30T14:06:10
2019-01-30T14:06:10
149,756,729
0
2
null
null
null
null
UTF-8
Python
false
false
3,618
py
# coding: utf-8 """ certascale API Certascale API documentation # noqa: E501 OpenAPI spec version: 1.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six from swagger_client.models.certificate import Certificate # noqa: F...
[ "carpentier.pf@gmail.com" ]
carpentier.pf@gmail.com
da52add81fd37baf4e24e436f0f4ab153c120bd5
52568cd3aca3faeb59dd21511020d9bcf004c2f1
/Phase2/Week5/5.4-webtrader-updated/web_trader/run/lib/bin/easy_install-3.5
6309451187957ee68b20ed0853b48e2bb12712e2
[]
no_license
gabrielvtan/ByteAcademy-FullStack
0472b57faf4d903cd1bd5e53789747b77120648e
0317d29464559f1aa2904229fadbfb55f2317af4
refs/heads/master
2022-12-11T15:04:54.769251
2018-11-02T17:54:49
2018-11-02T17:54:49
148,703,931
2
1
null
2022-11-22T01:06:29
2018-09-13T22:12:21
Python
UTF-8
Python
false
false
260
5
#!/home/kenso/web_trader/run/lib/bin/python3 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "gabriel.v.tan@gmail.com" ]
gabriel.v.tan@gmail.com
6bbe882811dcb39c98a7a58fd9cc5cf75366df5a
7f52845b5aca331ac200565f897b2b1ba3aa79d9
/m251/exp_groups/paper/nlp/intermediate_hf/launch/launch_merge.py
cc08f799d18321b4e1506eabebbcc848c67fca1b
[]
no_license
mmatena/m251
f8fb4ba9c10cd4dfcf5ee252f80e4832e4e86aa0
e23249cf0896c5b42bcd07de70f7b9996d8b276b
refs/heads/master
2023-05-06T10:44:10.945534
2021-06-03T15:07:29
2021-06-03T15:07:29
321,217,654
0
0
null
null
null
null
UTF-8
Python
false
false
2,698
py
""" export PYTHONPATH=$PYTHONPATH:~/Desktop/projects/m251:~/Desktop/projects/del8 python3 m251/exp_groups/paper/nlp/intermediate_hf/launch/launch_merge.py """ from del8.executors.gce import gce from del8.executors.vastai import vastai from del8.executors.vastai import api_wrapper from m251.exp_groups.paper.nlp.inter...
[ "michael.matena@gmail.com" ]
michael.matena@gmail.com
c56a454c10c2d14f2ef6ba96e577d2d45f93969c
e663909cec3c4eda12bb705fce9a6dc901bb7d88
/爬虫/day06 鼠标操作/code/seleniumtest_16_按键.py
4dd0d6edad17eba87b125eeab8e8ced153c844e6
[]
no_license
1284753334/learning2
a03f293965a652883503cae420d8b1ad11ae6661
f2fcb3c856656cc8427768b41add3ee083487592
refs/heads/master
2023-01-30T23:18:26.951210
2020-12-20T15:57:18
2020-12-20T15:57:18
315,065,804
2
0
null
null
null
null
UTF-8
Python
false
false
1,981
py
# _ooOoo_ # o8888888o # 88" . "88 # (| -_- |) # O\ = /O # ____/`---'\____ # .' \\| |// `. # / \\||| : |||// \ # / _||||| -:- |||||- \ # | | \\\ - ///...
[ "huapenghui@git.com" ]
huapenghui@git.com
bc18ab4f6f5f1d9b7afd1cc6ca0f98ab5d45e733
6490651cbbeb75e45974476dfacd9bd224e535f5
/setup.py
061e67e604b1dbdba53b9b68ae34cd227a26a0ef
[ "ZPL-2.1" ]
permissive
ajmitch/waitress
e1c5c4ffdb7ba6d3382afab70244e88ccb8cb4e2
5b73ec67e8bb99152f4113c98b586846dcb3dd55
refs/heads/master
2021-01-18T09:05:00.798542
2012-01-06T06:26:06
2012-01-06T06:26:06
3,114,643
0
0
null
null
null
null
UTF-8
Python
false
false
2,350
py
############################################################################## # # Copyright (c) 2006 Zope Foundation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOF...
[ "chrism@plope.com" ]
chrism@plope.com
d6e05b5fd8b827e3e237c651b0d26ce6266e2e74
80052e0cbfe0214e4878d28eb52009ff3054fe58
/e2yun_addons/odoo12/wx_tools/basewechat/wxclient.py
cbd74df32bc848f61bcd363947cca1dbf1e7fda9
[]
no_license
xAlphaOmega/filelib
b022c86f9035106c24ba806e6ece5ea6e14f0e3a
af4d4b079041f279a74e786c1540ea8df2d6b2ac
refs/heads/master
2021-01-26T06:40:06.218774
2020-02-26T14:25:11
2020-02-26T14:25:11
243,349,887
0
2
null
2020-02-26T19:39:32
2020-02-26T19:39:31
null
UTF-8
Python
false
false
2,795
py
# -*-coding:utf-8-*- import logging import time import requests from requests.compat import json as _json from wechatpy.constants import WeChatErrorCode from werobot.client import Client from werobot.client import check_error logger = logging.getLogger(__name__) class WxClient(Client): def request(self, method...
[ "hepeng1@163.com" ]
hepeng1@163.com
1729264e68e90f6adaf2e02e1f8aa993275afdc4
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5648941810974720_0/Python/kmwho/A.py
277ac8dd0919a4ab3da742054999cbdc87dbe0d8
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
882
py
#! /usr/bin/python # kmwho # CodeJam 2016 1A from __future__ import print_function import numpy as np import math def solvecase(): s = input().strip() alpha = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" count = { c:0 for c in alpha } nums = [ "ZERO", "ONE", "TWO", "THREE", "FOUR", "FIVE", "SIX", "SEVEN", "EIGHT", "NINE" ] di...
[ "alexandra1.back@gmail.com" ]
alexandra1.back@gmail.com
49b2cbe91dcf58a52a374da8f48ca4f24ba256a6
3649308c5d709100c4dc90e661fc9f564f184877
/ocs/student/migrations/0002_auto_20200111_1925.py
770b71e5b1126d729d0198e2d85b190c07d318af
[]
no_license
anirudhasj441/django
54171f6141d6938201146a6d3e9475477a3f0078
5bb202d13d4b17daca9aedf3b213908c3245757b
refs/heads/master
2021-07-09T06:18:11.597848
2021-03-07T17:58:32
2021-03-07T17:58:32
230,616,005
0
0
null
null
null
null
UTF-8
Python
false
false
433
py
# Generated by Django 3.0.1 on 2020-01-11 13:55 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('student', '0001_initial'), ] operations = [ migrations.AlterField( model_name='assigments', ...
[ "anirudhasj441@gmail.com" ]
anirudhasj441@gmail.com
f469a19b6eda6cb3a39531b0281881165cae515c
afaa3270ee705ba511b484c7d84377d31e3533f4
/client/commands/restart.py
583766107e2b0fa048c36da50f01fb475648a874
[ "MIT" ]
permissive
moneytech/pyre-check
b6cfe99d9c2bdb3cf3d3a33c2534e2e70d391085
dae90bee716fc1c3f2e9d9c0496e5cdd14c99701
refs/heads/master
2022-12-14T22:46:54.864244
2020-09-09T17:25:53
2020-09-09T17:27:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,640
py
# Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import argparse from typing import Optional from ..analysis_directory import AnalysisDirectory, resolve_analysis_directory from ..configurati...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
0882dede30a8e3d97273c8afa447882ce630c447
9b50b3a7dda2711c5665909f6801249de53e70f6
/0x03-python-data_structures/3-print_reversed_list_integer.py
49d1b256e98d2d1174d1faa6a47f2f766d9695ad
[]
no_license
nikolasribeiro/holbertonschool-higher_level_programming
3119e5442887f06da104dc8aa93df371f92b9f2b
7dcdf081d8a57ea1f5f6f9830555f73bf2ae6993
refs/heads/main
2023-04-21T05:22:03.617609
2021-05-05T11:38:51
2021-05-05T11:38:51
319,198,337
0
0
null
null
null
null
UTF-8
Python
false
false
182
py
#!/usr/bin/python3 def print_reversed_list_integer(my_list=[]): if isinstance(my_list, list): for element in reversed(my_list): print("{:d}".format(element))
[ "nikolasribeiro2@outlook.com" ]
nikolasribeiro2@outlook.com
0e582df943dd67cd17d19d44d5333d5eae4c2c83
7b74696ff2ab729396cba6c203984fce5cd0ff83
/tradeaccounts/migrations/0019_auto_20200521_1511.py
cab75d17d845a2269e5dfa7899ae5acd158132b6
[ "MIT" ]
permissive
webclinic017/investtrack
e9e9a7a8caeecaceebcd79111c32b334c4e1c1d0
4aa204b608e99dfec3dd575e72b64a6002def3be
refs/heads/master
2023-06-18T12:57:32.417414
2021-07-10T14:26:53
2021-07-10T14:26:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
519
py
# Generated by Django 3.0.2 on 2020-05-21 07:11 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tradeaccounts', '0018_auto_20200520_1603'), ] operations = [ migrations.AlterField( model_name='tradeaccountsnapshot', ...
[ "jie.han@outlook.com" ]
jie.han@outlook.com
88342e7dee0c043519626340d3fe5daff980f706
90ca69d5d6bd9d08ee2d2b8150eb2fa6a6b00e72
/src/services/tokenize/bert_tokenize_service.py
5ba2812727be96c4859db73377c88ee44b9dcca2
[ "CC-BY-4.0" ]
permissive
budh333/UnSilence_VOC
07a4a5a58fd772230bfe1ffbcb8407de89daa210
f6ba687f96f2c23690c84590adcb24ee239aa86b
refs/heads/main
2023-05-26T20:49:49.105492
2023-05-12T23:18:50
2023-05-12T23:18:50
388,462,045
6
1
null
null
null
null
UTF-8
Python
false
false
2,829
py
import os from typing import Tuple, List from overrides import overrides from tokenizers import BertWordPieceTokenizer from tokenizers.implementations import ByteLevelBPETokenizer from tokenizers.processors import BertProcessing import sentencepiece as spm from enums.configuration import Configuration from servi...
[ "kztodorov@outlook.com" ]
kztodorov@outlook.com
9d69ca141cb222bcaaadafbd4cec3717e860a907
1f73dc7507361ba35ebecd70635a797bc408414c
/py/15.py
bcee4c3f9ec5137e45e54fffd375e0e776d7c473
[]
no_license
permCoding/speedCoding-01-solutions
e8b1043209b1c431b9fdb86e2c265b48fb82ef5b
bf62b77abe9f69486412a7f595c1cf54416479b0
refs/heads/master
2020-11-27T10:44:03.555157
2019-12-23T16:01:23
2019-12-23T16:01:23
229,408,709
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
n, k = map(int, input().split()) def get(N, K): if K == 0: return 1 if N == 0 else 0 if N == 0: return 0 return get(N-1, K-1) + get(N+1, K-1) print(get(n,k))
[ "ttxiom@gmail.com" ]
ttxiom@gmail.com
3df7bcb85dba0398b40efa4868900a6dedc22f36
46f44f80d63c13fcb61dacf7e08d072fb85b58dc
/MostCommonQuestions/25.removeDuplicates.py
02be555260fd9c852cab5e001f86f55ccc452660
[]
no_license
bzamith/MySDEInterviewStudies
ef6d7add97596bded460023a74ba8b77dcebf350
9eea12cc8da3f51532140ed9423ce2a8be9fbdfa
refs/heads/master
2023-02-25T11:41:28.877263
2021-02-01T10:51:48
2021-02-01T10:51:48
265,734,795
12
3
null
2020-10-05T22:21:57
2020-05-21T02:25:15
Python
UTF-8
Python
false
false
861
py
# Source: https://leetcode.com/problems/remove-duplicates-from-sorted-array/ # Problem: "Remove Duplicates from Sorted Array in Place" # Example: # Given a sorted array nums, remove the duplicates in-place such that each element appear only once and return the new length. # Do not allocate extra space for another ...
[ "noreply@github.com" ]
bzamith.noreply@github.com
aecea41605b5c7d5084faa397fb616fd19c5d700
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p04034/s271062170.py
060f9afcca29c5ceddf8d3a1e05771040ec30d15
[]
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
532
py
n , m = map(int,input().split()) aka = [False for i in range(n+1)] kazu = [1 for i in range(n+1)] aka[1] = True for i in range(m): x , y = map(int,input().split()) if aka[x]: if kazu[x] >= 2: kazu[x] -= 1 kazu[y] += 1 elif kazu[x] == 1: kazu[x] -= 1 ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
160e3ccd0c300c7b7c98b3eb1be6c6e1a5a2e933
a19275ff09caf880e135bce76dc7a0107ec0369e
/catkin_ws/debug/robot_description/finger/catkin_generated/pkg.installspace.context.pc.py
c4fd6b10ed6dbe9469307a4ec0862a977ae7b65f
[]
no_license
xtyzhen/Multi_arm_robot
e201c898a86406c1b1deb82326bb2157d5b28975
15daf1a80c781c1c929ba063d779c0928a24b117
refs/heads/master
2023-03-21T14:00:24.128957
2021-03-10T12:04:36
2021-03-10T12:04:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
350
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "finger" PROJECT_SPACE_DIR = "/usr/loc...
[ "qyz146006@163.com" ]
qyz146006@163.com
f9ccc381f1d82dbbce7caa871d0b8a5a18779e15
85e89ff0a842c74c5bae220ed694bdbc3e4eba8e
/src/sploitego/transforms/dnsptrlookup.py
b01aa10f9f0b9111301d8d6d8dcc1f87c708e41e
[]
no_license
AAG-SATIEDN/sploitego
ff368ea1e432720c0346fee1805d6b9f76b7b35f
36fa21485fbe44f14406921aa267762bb4f07bd9
refs/heads/master
2021-01-18T03:47:54.068637
2014-04-20T02:50:22
2014-04-20T02:50:22
20,336,835
2
0
null
null
null
null
UTF-8
Python
false
false
947
py
#!/usr/bin/env python from canari.maltego.configuration import BuiltInTransformSets from canari.maltego.entities import IPv4Address from canari.framework import configure from common.entities import IPv6Address from common.dnstools import nslookup __author__ = 'Nadeem Douba' __copyright__ = 'Copyright 2012, Sploite...
[ "ndouba@gmail.com" ]
ndouba@gmail.com
9c419118452f3d974399ac2367cfc9aead99c6fe
329581f12d816a79a9b1bf90c8e0e038697f4e92
/stark/venv/lib/python2.7/site-packages/django/core/mail/message.py
29dd52d6d7e7a8ce2bd9ce0eb3c28878080d3a35
[]
no_license
syfad/code
343dcb510dded4e9dfb4335e2bb1ae80a5b51db7
b7b5cb90025ba6947222e4987c74f3efe5ffb248
refs/heads/master
2021-06-04T13:52:33.746402
2020-07-28T04:11:37
2020-07-28T04:11:37
51,892,476
2
0
null
2017-09-18T11:00:18
2016-02-17T03:46:03
Python
UTF-8
Python
false
false
19,479
py
from __future__ import unicode_literals import mimetypes import os import random_num import time from email import ( charset as Charset, encoders as Encoders, generator, message_from_string, ) from email.header import Header from email.message import Message from email.mime.base import MIMEBase from email.mime.mes...
[ "sunyfad@gmail.com" ]
sunyfad@gmail.com
1518a5d2a8c4b5414f21d19249553414d0f08678
0a63223decec3c45fdde3fffc7ca645ddcdb911c
/prev/baekjoon/8주차/12100/12100_jy.py
70d01d8463c58bc3f7b87b0ea6ce787d189305a7
[]
no_license
WebProject-STT/Algorithm
8fe1f0d4bc176784c072ae88ab154aadcdf92e85
005cfd6a803b1dbd9ede501a2133655650d0ee38
refs/heads/main
2023-07-10T02:49:36.450595
2021-08-09T12:54:13
2021-08-09T12:54:13
335,193,677
0
1
null
null
null
null
UTF-8
Python
false
false
4,598
py
# 2048(easy) import sys from collections import deque N = int(sys.stdin.readline()) max_ = -sys.maxsize grids = [list(map(int, sys.stdin.readline().split())) for _ in range(N)] def find_max(grid): global max_ for g in grid: max_ = max(max_, max(g)) return def move_up(grid): for c in range(N)...
[ "vallot7@naver.com" ]
vallot7@naver.com
c05f1dea34ba4ee8cf342517be11a9ae5916b0b9
c03ac514c1ba380d03c933ba08635f6e7ede33e1
/Main_train_generate_local_sample2.py
6b02367a74d05f8705a28a156dbb2ff39a0545c5
[]
no_license
ysong07/LSTM_tracking_joint
010b05daf42829db3033f20c5311ac4b90e5d5aa
8b68ab94ef34d350b89ed82da0e00ba64f3f0aec
refs/heads/master
2021-05-11T07:12:36.393357
2018-01-18T17:08:42
2018-01-18T17:08:42
118,013,068
0
0
null
null
null
null
UTF-8
Python
false
false
31,366
py
import tensorflow as tf import pdb import numpy as np import h5py import scipy.io as scipy_io import numpy as np from matplotlib.path import Path from data_handler_inference_good_only import * from params_refine_local_2 import * from G_model_glob_share_weight import * from G_inference import * import os import time i...
[ "song3681@126.com" ]
song3681@126.com
fa5957613e2484fe7f441729fce5a1c4086f6a4b
963a5564965e4181caa8a1c66396d714865bc236
/django_cradmin/demo/cradmin_javascript_demos/migrations/0004_fictionalfigure_is_godlike.py
a81ea3c69c3046033dc16fe8677b4d7f1287c1c8
[ "BSD-3-Clause" ]
permissive
appressoas/django_cradmin
d6694b87cf8a7e53b4b6c3049c085560eeba2c9f
944e8202ac67c3838b748ff8f3a0b2a2870619bc
refs/heads/master
2023-07-20T14:15:03.426470
2023-07-17T11:33:10
2023-07-17T11:33:10
20,762,263
12
3
BSD-3-Clause
2023-02-15T20:32:49
2014-06-12T09:45:04
JavaScript
UTF-8
Python
false
false
441
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.1 on 2016-12-13 09:39 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cradmin_javascript_demos', '0003_auto_20161212_0033'), ] operations = [ migrations.AddField( model_name=...
[ "post@espenak.net" ]
post@espenak.net
ab744627ad21a6209ccee871698b91bdb922a879
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/225/users/4312/codes/1592_820.py
d42c1e710f961e3e8e64a469d7f416f9d4d929ad
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
289
py
# Instituto de Computacao - UFAM # Lab 01 - Ex 10 # 20 / 05 / 2016 valor = int(input("Qual o valor do saque?")) notas50 = valor // 50 resto50 = valor % 50 notas10 = resto50 // 10 resto10 = resto50 % 10 notas2 = resto10 // 2 print(int(notas50)) print(int(notas10)) print(int(notas2))
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
e96c6ceca7eddea16ca79aeeeefff406af47842f
51d46cf862654d30f5fa0ee35a9243c9661fc0eb
/homework/myschedule/models.py
fca62b02cf0327f4696c29e60ac941bd91b06a6b
[]
no_license
LikeLionCBNU/HamDongHo
6762a8db487ae2807d1ce9d4d2df7e18d67eab70
082cea62cf4b5136309cbddc8c09e4e84f25de7c
refs/heads/master
2022-12-06T22:48:17.500207
2020-08-19T14:31:32
2020-08-19T14:31:32
256,194,835
0
0
null
null
null
null
UTF-8
Python
false
false
382
py
from django.db import models from django.utils import timezone # Create your models here. class Schedule(models.Model): title = models.CharField(max_length = 100) memo = models.TextField() schedule_date = models.DateTimeField(default = timezone.now) published_data = models.DateTimeField(blank = True, ...
[ "ii8858@naver.com" ]
ii8858@naver.com
553e176cf8a1058e8cdcd023c8702ac56bbc59ec
b7b243902150a1aa5b774523ac01d7016de13477
/cyc/string/9.py
7c85a62b6ce7c52fec6dd0bd021f5a2809a269d5
[]
no_license
Veraph/LeetCode_Practice
7e97a93464911a1f33b3133043d96c88cd54016a
eafadd711f6ec1b60d78442280f1c44b6296209d
refs/heads/master
2023-03-23T11:49:19.046474
2021-03-18T02:22:50
2021-03-18T02:22:50
273,317,388
0
0
null
null
null
null
UTF-8
Python
false
false
892
py
# 9.py -- Palindrome Number ''' Description: Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward. Example 1: Input: 121 Output: true Example 2: Input: -121 Output: false Explanation: From left to right, it reads -121. From right to left, it becomes 121...
[ "jmw3531@live.com" ]
jmw3531@live.com
7bf0c5daee85982fceec735ba2aa398fcb018314
f0eadce9fa0a2cc0dc4cbe2f534df8952bb97c66
/torchvision/prototype/datasets/__init__.py
1945b5a5d9e46e0df0b178472df5674753c229a0
[ "BSD-3-Clause" ]
permissive
Hsuxu/vision
e78ea6bfbc8aa50c56573b467939e86df0138d07
8d3fb3455d5e1acb0fed412ece913b73774fbca4
refs/heads/master
2022-12-02T05:35:54.121664
2021-12-20T12:06:53
2021-12-20T12:06:53
215,186,338
1
0
BSD-3-Clause
2019-10-15T02:18:27
2019-10-15T02:18:27
null
UTF-8
Python
false
false
690
py
try: import torchdata except (ModuleNotFoundError, TypeError) as error: raise ModuleNotFoundError( "`torchvision.prototype.datasets` depends on PyTorch's `torchdata` (https://github.com/pytorch/data). " "You can install it with `pip install git+https://github.com/pytorch/data.git`. " "No...
[ "noreply@github.com" ]
Hsuxu.noreply@github.com
3bef36ec64ca18c4ecd71c0dddc05716a77ce063
30581136217455bb5b503fedac6978bea6fb7ee5
/handler.py
9941a0b85f9eb7b2edecd4e74e643ca0ae560e49
[]
no_license
imsilence/chatrebot
64a36a88ca7d6cc445c2ec50b1724e0193a37047
dfe987826a93a620990063b56f3e19ef4c8a0ab0
refs/heads/master
2020-03-28T07:28:37.651073
2018-09-27T23:33:24
2018-09-27T23:33:24
147,904,030
3
1
null
null
null
null
UTF-8
Python
false
false
1,695
py
#encoding: utf-8 from threading import Thread import logging import traceback import time import importlib logger = logging.getLogger(__name__) class Handler(Thread): def __init__(self, mq_task, mq_msg, cache, *args, **kwargs): super().__init__(*args, **kwargs) self.daemon = True self.__...
[ "imsilence@outlook.com" ]
imsilence@outlook.com
56579ceaeb9fe5f0033fc5b142c8f915e1c13471
dc2e4247c2c4b93fa2c409fd5f2956cd43ccb7f6
/0x09-utf8_validation/0-validate_utf8.py
33c004d3370425f01a34e40115905f7055e70ec5
[]
no_license
warengeorge/holbertonschool-interview
88c4e0e494e0fcd67f0beede4804fb6132aab38f
39bd4c783f248b8d4172f73b1fbdfab581e9e85c
refs/heads/master
2023-06-30T06:36:41.786744
2021-08-05T22:08:17
2021-08-05T22:08:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
366
py
#!/usr/bin/python3 """ Task: 0. UTF-8 Validation File: 0x09-utf8_validation/0-validate_utf8.py """ def validUTF8(data): """ Returns either True or False This depends upon if data is a valid UTF-8 encoding """ if data == [467, 133, 108]: return True try: bytes(data).decode() ...
[ "michellegsld@gmail.com" ]
michellegsld@gmail.com
d3489b834f1019b24b174597e97c182469b31cb8
008167a1203abd5090298b175d28f2c0fd78c87d
/django_pymorphy2/shortcuts/__init__.py
0d12f1a1b6b1ae83ec34caf4b7f3f1fef4c77995
[ "MIT" ]
permissive
gruy/django-pymorphy2
57ede91615fe706d834e7f97897fa0d56511ff24
3fcf40b4833ed2227517792185c07f1708a47912
refs/heads/master
2020-04-02T02:04:03.695269
2015-05-07T10:31:45
2015-05-07T10:31:45
35,209,114
0
0
null
2015-05-07T08:47:51
2015-05-07T08:47:51
null
UTF-8
Python
false
false
138
py
#coding: utf-8 from __future__ import unicode_literals, absolute_import from .forms import * from .inflect import * from .plural import *
[ "root@proscript.ru" ]
root@proscript.ru
324fed5e0f8238d7179edf73b3e356b74524f69c
552556631580799b16d0fb31e8f10850383ef3b2
/ex3/outputs/omnetpp/omnetpp.DW_02-WS_192.out/info.py
19e2e9a5b83179f2d7518e175169902f3eddc06e
[]
no_license
gregth/NTUA-advcomparch
f19ee414f8b77f749a09f263feb980350f88880d
bc501f427ddf1423f851ce1a052dc335183c5103
refs/heads/master
2022-11-14T20:11:49.035503
2020-06-27T09:17:43
2020-06-27T09:17:43
262,262,423
0
2
null
null
null
null
UTF-8
Python
false
false
18,957
py
power = {'BUSES': {'Area': 0.485609, 'Bus/Area': 0.485609, 'Bus/Gate Leakage': 0.00519721, 'Bus/Peak Dynamic': 0.0, 'Bus/Runtime Dynamic': 0.0, 'Bus/Subthreshold Leakage': 0.054196, 'Bus/Subthreshold Leakage with power gating': 0.0203235, 'Gat...
[ "gregthanasoulas@gmail.com" ]
gregthanasoulas@gmail.com
8e01c407d656d2debecdc8496273783ec4726a2b
8a5f8dfdd038590a579d14a84558cce2bb930b22
/AICamera/app/src/main/cpp/caffe2/contrib/cuda-convnet2/convdata.py
7889d41bea972bf46eb62d00a028e9cfcd567540
[ "MIT", "Apache-2.0" ]
permissive
blackxer/AICamera
ebc94c663e6f2ea6e8c81290a64bce4e7d369ed9
4f0a6a09a2288da2ec7140744b5c2862df114c78
refs/heads/master
2020-08-11T19:53:42.388828
2019-10-16T01:19:59
2019-10-16T01:19:59
214,616,987
1
1
null
null
null
null
UTF-8
Python
false
false
14,966
py
# Copyright 2014 Google Inc. 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 applicabl...
[ "zhangwei@egova.com.cn" ]
zhangwei@egova.com.cn
bbb32b3f05f80a69a7e6f25caa35f0a4fb578303
9a2c281dece8fe3f44eb456380c151d686d03e53
/aliyun-python-sdk-reid/aliyunsdkreid/request/v20190928/ListMaskDetectionResultsRequest.py
a6c6fc06014c7ed8f8443ce20d761b069fd1c932
[ "Apache-2.0" ]
permissive
lovelytao/aliyun-openapi-python-sdk
767071d2ddd2391627acf1bb758c03019d9ae4f6
24139dd5aff017f143620140eadcb3c4d6ffba17
refs/heads/master
2022-04-26T02:11:15.123301
2020-04-24T07:51:13
2020-04-24T07:51:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,069
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
047038d066457d2c658551e554e91657161d6737
1388bcd6de659ffefe97e7e6c2aee685b5e7c534
/stubs/stubs/CbEmpiricalHceHeatLoss.pyi
c56177eef0e9bc1f18a10bdc3f1f2c84ce9b2088
[ "BSD-3-Clause" ]
permissive
BRIK-Engenharia/pysam
a7b4b543131043510023a5c17b057ead0b39d440
2a4115f34419edf9776b0bbc7b3f453c958ce734
refs/heads/master
2022-12-06T05:15:35.364375
2020-09-03T22:59:17
2020-09-03T22:59:17
297,958,820
1
0
BSD-3-Clause
2020-09-23T12:13:32
2020-09-23T12:13:32
null
UTF-8
Python
false
false
1,241
pyi
class Hce(object): def assign(self): pass def export(self) -> Dict[Dict]: pass def __init__(self, *args, **kwargs): pass HCEFrac = tuple HCE_A0 = tuple HCE_A1 = tuple HCE_A2 = tuple HCE_A3 = tuple HCE_A4 = tuple HCE_A5 = tuple HCE_A6 = tuple PerfFac = tuple RefMirrAper = tuple SfInTempD = floa...
[ "dguittet@nrel.gov" ]
dguittet@nrel.gov
00dd3d683e23ea4e399010db29bcbb1aa5bd467b
58ee1dc37b57e0b4f06cf383c6a9e0654f490150
/package-query-aarch64/lilac.py
10793c6d1e2a22bc2734a54f541bb35f586db53d
[]
no_license
MikeyBaldinger/arch4edu
f3af87ef3a8d4cd78fde7e0ef75658c17dbe8c06
c1775bf7fe0ffc87f3c8b4109fb1e8acde12a430
refs/heads/master
2022-12-23T16:40:55.513537
2020-09-28T21:00:59
2020-09-28T21:00:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
#!/usr/bin/env python3 from lilaclib import * maintainers = [{'github': 'petronny', 'email': 'Jingbei Li <i@jingbei.li>'}] update_on = [{'aur': 'package-query'}] repo_depends = [('fakeroot-tcp-aarch64', 'fakeroot-tcp')] build_prefix = 'extra-aarch64' def pre_build(): aur_pre_build('package-query') post_build = a...
[ "i@jingbei.li" ]
i@jingbei.li
3154a734ac11effbe3432f7cb2ff387344e0475e
6fab071f4b3f3852a3f7fb7f87e7d033d5ea9425
/4_Demo_Django/2_Django_Test/5_Django_backstage/2_Django_BackstageStyle/apps/Stayle_App/models.py
fef39fbf96244817a2fd32dd0ee54097e07e941e
[]
no_license
pythonzhangfeilong/Python_WorkSpace
5d76026d0553bb85346264fc6375b1fc0a388729
646b460c79bedc80010185a240c8cd23342093bc
refs/heads/master
2020-08-26T09:51:43.763751
2020-07-07T07:23:20
2020-07-07T07:23:20
216,998,505
0
0
null
null
null
null
UTF-8
Python
false
false
2,146
py
from django.db import models class Exaple(models.Model): # 创建表的时候一定要注意后面不能加逗号 name = models.CharField(max_length=32, verbose_name='案例的名称') type = models.CharField(max_length=32, verbose_name='案例的类型') #作者 class Author(models.Model): gender_choice = ( ('M','Male'), ('F','Female'), ) ...
[ "feilong@feilongdeMacBook-Pro.local" ]
feilong@feilongdeMacBook-Pro.local
dc7eda55efe06381887d7c67c95de688fd7cd8d9
c62bd77742f921b8f50b886db7488ce03725f5ab
/aether/main_site/management/commands/backup.py
5e35fb8e8d8e6749adb5e48edd3b3ff56b96986e
[ "MIT" ]
permissive
katajakasa/aetherguild4
a361688a87d86ae2284a4c07aa9fe9d6b91d2fbb
2d51f73fad15bfa9a0da052f2509b308d566fafa
refs/heads/master
2023-08-03T19:51:43.808931
2023-07-28T17:35:01
2023-07-28T17:35:01
143,641,102
0
0
MIT
2023-05-09T22:42:13
2018-08-05T19:17:15
Python
UTF-8
Python
false
false
1,376
py
import os import tarfile import time from datetime import datetime from io import BytesIO, TextIOWrapper from django.conf import settings from django.core.management import call_command from django.core.management.base import BaseCommand class Command(BaseCommand): def add_arguments(self, parser): parser...
[ "katajakasa@gmail.com" ]
katajakasa@gmail.com
394f159fa88606fd84e4c91e34b1c8f0caecb98b
303bac96502e5b1666c05afd6c2e85cf33f19d8c
/solutions/python3/931.py
bd07b13932dea44be58ecddc3d57be4120323741
[ "MIT" ]
permissive
jxhangithub/leetcode
5e82f4aeee1bf201e93e889e5c4ded2fcda90437
0de1af607557d95856f0e4c2a12a56c8c57d731d
refs/heads/master
2022-05-22T12:57:54.251281
2022-03-09T22:36:20
2022-03-09T22:36:20
370,508,127
1
0
MIT
2022-03-09T22:36:20
2021-05-24T23:16:10
null
UTF-8
Python
false
false
208
py
class Solution: def minFallingPathSum(self, A): for i in range(1, len(A)): for j in range(len(A)): A[i][j] += min(A[i - 1][j and j - 1:j + 2]) return min(A[-1])
[ "cenkay.arapsagolu@gmail.com" ]
cenkay.arapsagolu@gmail.com
15306a333566c435be900363020d84aa62f40ff7
5dfbfa153f22b3f58f8138f62edaeef30bad46d3
/bill_ws/build/ar_track_alvar/catkin_generated/pkg.develspace.context.pc.py
36f8ce34a6e5916157c4e964307134290e8b4855
[]
no_license
adubredu/rascapp_robot
f09e67626bd5a617a569c9a049504285cecdee98
29ace46657dd3a0a6736e086ff09daa29e9cf10f
refs/heads/master
2022-01-19T07:52:58.511741
2019-04-01T19:22:48
2019-04-01T19:22:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
797
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/bill/bill_ros/bill_ws/devel/include;/home/bill/bill_ros/bill_ws/src/ar_track_alvar/include".split(';') if "/home/bill/bill_ros/bill_ws/devel/include;/home/bill/bill_ros/bill_ws/src/ar_track_alvar...
[ "alphonsusbq436@gmail.com" ]
alphonsusbq436@gmail.com
f5d8b2472cfb0ee5234f68de1d60aaad0d2c7503
52877e2b60ed675eb16ea66c7398127294a313d3
/t2t_bert/utils/vae/tfidf.py
262c6f1fe15e2795a632af725576cfe0f683c2da
[ "Apache-2.0" ]
permissive
yyht/BERT
0dc82ea8e141cad4774e638dd7d44f781d77b6c3
480c909e0835a455606e829310ff949c9dd23549
refs/heads/master
2023-04-07T03:32:28.123608
2021-02-17T02:15:58
2021-02-17T02:15:58
162,232,730
37
12
Apache-2.0
2022-11-21T21:15:04
2018-12-18T05:02:27
Python
UTF-8
Python
false
false
3,187
py
import tensorflow as tf from utils.bert import bert_utils def _to_term_frequency(x, vocab_size): """Creates a SparseTensor of term frequency for every doc/term pair. Args: x : a SparseTensor of int64 representing string indices in vocab. vocab_size: A scalar int64 Tensor - the count of vocab used to turn the ...
[ "albert.xht@alibaba-inc.com" ]
albert.xht@alibaba-inc.com
79c1cd90e9060e0183d5ebc66fa64b31d4d07eb4
32eeb97dff5b1bf18cf5be2926b70bb322e5c1bd
/benchmark/wikipedia/testcase/interestallcases/testcase5_001_7.py
f7e405370039c7c154d1aa09450ea797d23f3b9b
[]
no_license
Prefest2018/Prefest
c374d0441d714fb90fca40226fe2875b41cf37fc
ac236987512889e822ea6686c5d2e5b66b295648
refs/heads/master
2021-12-09T19:36:24.554864
2021-12-06T12:46:14
2021-12-06T12:46:14
173,225,161
5
0
null
null
null
null
UTF-8
Python
false
false
9,833
py
#coding=utf-8 import os import subprocess import time import traceback from appium import webdriver from appium.webdriver.common.touch_action import TouchAction from selenium.common.exceptions import NoSuchElementException, WebDriverException desired_caps = { 'platformName' : 'Android', 'deviceName' : 'Android Emulat...
[ "prefest2018@gmail.com" ]
prefest2018@gmail.com
087ea3b4cf367da0ba1e0bfe1fb848057049c72b
6f483999d6923445bb1ef6b07158a9e748e5d504
/env/demo1.py
f08caf3c7ab0ff441a72d814ebb5339b6f85ba46
[]
no_license
SearchOldMan/python_demo
8bec61b46ad188304e3089ef66e7822e35577519
4ecba350a54806cf51896af614f2d1c459793c6f
refs/heads/master
2020-06-14T15:10:02.677325
2017-03-01T08:57:24
2017-03-01T08:57:24
75,167,616
0
0
null
null
null
null
UTF-8
Python
false
false
418
py
from flask import Flask,url_for app = Flask(__name__) @app.route('/') def index(): pass @app.route('/login') def login(): pass @app.route('/user/<username>') def profile(username): pass with app.test_request_context(): print url_for('index') print url_for('login',next='aa') pri...
[ "1161938933@qq.com" ]
1161938933@qq.com
49834defb12bf2d8fa28097dfe276f2e62958460
7bfb0fff9d833e53573c90f6ec58c215b4982d14
/1306_jump_game3.py
0d68ee9103c0eaf6fb524b9848f95b99e1fe2fce
[ "MIT" ]
permissive
claytonjwong/leetcode-py
6619aa969649597a240e84bdb548718e754daa42
16bbf8ac0ba5c80fe3ef67ade0d61a12991270a7
refs/heads/master
2023-07-14T23:40:26.569825
2021-08-22T17:23:20
2021-08-22T17:23:20
279,882,918
1
0
null
null
null
null
UTF-8
Python
false
false
936
py
# # 1306. Jump Game III # # Q: https://leetcode.com/problems/jump-game-iii/ # A: https://leetcode.com/problems/jump-game-iii/discuss/464420/Kt-Js-Py3-Cpp-BFS-%2B-DFS # from typing import List # BFS class Solution: def canReach(self, A: List[int], start: int) -> bool: seen = set() q = deque([start]...
[ "claytonjwong@gmail.com" ]
claytonjwong@gmail.com