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
daaf6b89bb892f00604e3b114f689b37985fdad8
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_34/266.py
85d39360d2c79a5749c5b6d690f381a6e01efb74
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,340
py
#!/usr/bin/env python import sys input = sys.stdin.readline().strip().split(" ") l = int(input[0]) d = int(input[1]) n = int(input[2]) words = [] for i in range(d): words.append(sys.stdin.readline().strip()) for i in range(n): thisWord = sys.stdin.readline().strip() cursor = 0 possibilities = [] ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
765056fd072c634af1a8a3e3a250ab7e0b791954
e6dab5aa1754ff13755a1f74a28a201681ab7e1c
/.parts/lib/jinja2-2.6/jinja2/testsuite/tests.py
f7631ea2f6a1f560fdf62f8f91314a3294196438
[]
no_license
ronkagan/Euler_1
67679203a9510147320f7c6513eefd391630703e
022633cc298475c4f3fd0c6e2bde4f4728713995
refs/heads/master
2021-01-06T20:45:52.901025
2014-09-06T22:34:16
2014-09-06T22:34:16
23,744,842
0
1
null
null
null
null
UTF-8
Python
false
false
91
py
/home/action/.parts/packages/googleappengine/1.9.4/lib/jinja2-2.6/jinja2/testsuite/tests.py
[ "ron.y.kagan@gmail.com" ]
ron.y.kagan@gmail.com
57a2d22ba7c99cd7640e45bd7fef33b988099485
c97b9ae1bf06757ba61f90905e4d9b9dd6498700
/venv/Lib/site-packages/skimage/transform/pyramids.py
848756848f446a4d459ec29ee55afc41cb49b718
[]
no_license
Rahulk1p/image-processor
f7ceee2e3f66d10b2889b937cdfd66a118df8b5d
385f172f7444bdbf361901108552a54979318a2d
refs/heads/main
2023-03-27T10:09:46.080935
2021-03-16T13:04:02
2021-03-16T13:04:02
348,115,443
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:ad3430ef2503a2317891465bf4bcd56b145ec8bf66b8db7ad65262fae38250f1 size 12022
[ "rksc.k1p@gmail.com" ]
rksc.k1p@gmail.com
153e231631f50fa7cb57eb17993ad10ce072a16e
18f71f2e462cb76bb7969ca7b71e923d05f5f36c
/feincms3/__init__.py
e6e2e368d7bff37195ce4743c3d15ba863484950
[ "BSD-2-Clause" ]
permissive
rorito/feincms3
34af890ac449fe06724217969df8ea762123b79e
fbaa8d4a3d2fde1505aedd6a36059ad4fe951dd7
refs/heads/master
2021-05-04T07:06:13.142248
2016-10-06T21:33:27
2016-10-06T21:33:27
70,556,414
0
0
null
2016-10-11T04:36:17
2016-10-11T04:36:17
null
UTF-8
Python
false
false
63
py
VERSION = (0, 11, 1) __version__ = '.'.join(map(str, VERSION))
[ "mk@feinheit.ch" ]
mk@feinheit.ch
1014915b0c0eff23a236456f99303253b7dbfda4
ea841f43100a56736651f3bf8493252babc46475
/cl2.py
379ed52fb56638f76d3137165920b296bf5c0c78
[ "MIT" ]
permissive
kakoni/insulaudit
d28e627d0cf449fe09dd96ca12ba6b9d6fd0cea9
18fe0802bafe5764882ac4e65e472fdc840baa45
refs/heads/master
2020-12-25T15:51:27.497274
2011-09-15T02:19:10
2011-09-15T02:19:10
2,763,843
1
0
null
null
null
null
UTF-8
Python
false
false
13,523
py
#!/usr/bin/python import user import struct import sys import serial import time import logging from pprint import pprint, pformat import doctest from insulaudit.core import Command from insulaudit.clmm.usbstick import * from insulaudit import lib logging.basicConfig( stream=sys.stdout ) log = logging.getLogger( 'au...
[ "bewest@gmail.com" ]
bewest@gmail.com
ee93ff8ae4035ffd35c0d86834f7c75f28445031
057c525d6fbff928fc0cb0cd6b2930e9494b5d4b
/training-data/py/5-analyse.py
1f5243bdb3b48c22ec0e2f0011149bf2dc22f64b
[]
no_license
uk-gov-mirror/ukwa.text-id
0931742d1f2df3091ac52eee6160c177ea98180d
5f3dcc6436bc46dedb375b37e3fd51c1c0d9b45b
refs/heads/master
2022-02-26T15:32:15.901527
2019-11-19T16:36:06
2019-11-19T16:36:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
260
py
a_a = {}N a a("函数日志") a a:N a a a a:N a = a.a('\a', '')N a a a a_a.a():N a_a[a] = a_a[a] + 0N a:N a_a[a] = 0N N a(a_a)N N a_a = a(a_a.a(), a=(a a: a[0]), a=Aa)N a(a_a)N a a a a_a:N a(a[0], a[0])N
[ "Andrew.Jackson@bl.uk" ]
Andrew.Jackson@bl.uk
fc0ea89cfa6218a774d0008ceae8bfa9386c3c1e
ac4b9385b7ad2063ea51237fbd8d1b74baffd016
/.history/google/s5_getparser_20210216045725.py
7234e21dc2a118fb6550c9727f65001cad465605
[]
no_license
preethanpa/ssoemprep
76297ef21b1d4893f1ac2f307f60ec72fc3e7c6f
ce37127845253c768d01aeae85e5d0d1ade64516
refs/heads/main
2023-03-09T00:15:55.130818
2021-02-20T06:54:58
2021-02-20T06:54:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,072
py
import shutil from fonduer.parser.preprocessors import html_doc_preprocessor from sqlalchemy import exc import pdftotree import re from sen_parser_usable import * from config import config import json import os import posixpath import http.server import urllib.request, urllib.parse, urllib.error import cgi import sh...
[ "{abhi@third-ray.com}" ]
{abhi@third-ray.com}
60f032df862af5ff958b8f9bfa750e02502b8da6
20a9787564f76ae0fcf2332a8655b21bae0646a3
/GrokkingCodingInterview/Trees_BFS/level_order_traversal_reversed.py
94a73523f8bfb2e99f8125589aa943d91a719918
[]
no_license
nidhiatwork/Python_Coding_Practice
3b33a40c947413c2695d3ee77728fa69430f14cd
9d5071a8ddcda19181d3db029fb801d4e3233382
refs/heads/master
2023-02-08T20:50:47.522565
2023-02-04T10:04:10
2023-02-04T10:04:10
194,607,759
5
3
null
null
null
null
UTF-8
Python
false
false
1,122
py
''' Given a binary tree, populate an array to represent its level-by-level traversal in reverse order, i.e., the lowest level comes first. You should populate the values of all nodes in each level from left to right in separate sub-arrays. ''' from collections import deque class TreeNode(object): def __init__(self, ...
[ "“nidhi.bhushan123@gmail.com”" ]
“nidhi.bhushan123@gmail.com”
0b34fd09a32b61b26a0e91673051e43c03f74504
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/desktopvirtualization/azure-mgmt-desktopvirtualization/generated_samples/scaling_plan_update.py
4831a97f98926ec6612a858ab2bf88ca82161dc5
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
1,636
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" ]
Azure.noreply@github.com
5118a798d9ebf7c4a8473638ed1aae87c200932f
ea40d872e4d3122387f7a17400c1d2f31cf5bd6a
/Dynamic Programming/221. Maximal Square Medium.py
c2e3c879c1cfbc3c4bffa5bb587537c1006ee3c3
[]
no_license
dongbo910220/leetcode_
e4cf6c849986b105d4d5162c5cd2318ffc3fbb67
e4c02084f26384cedbd87c4c60e9bdfbf77228cc
refs/heads/main
2023-05-29T11:23:46.865259
2021-06-17T03:40:30
2021-06-17T03:40:30
344,785,694
0
0
null
null
null
null
UTF-8
Python
false
false
873
py
''' https://leetcode.com/problems/maximal-square/ ''' class Solution(object): def maximalSquare(self, matrix): """ :type matrix: List[List[str]] :rtype: int """ if not matrix: return 0 rows = len(matrix) cols = len(matrix[0]) maxside = 0 ...
[ "1275604947@qq.com" ]
1275604947@qq.com
eca4ae7c383a43be9da6d68445b2e19faec9fba5
05d692469305dd1adb9ebc46080525bb4515b424
/jugad1.py
7169a71911f7fb4a3e57d3d1631de37915f9eb6b
[]
no_license
rajdharmkar/pythoncode
979805bc0e672f123ca1460644a4bd71d7854fd5
15b758d373f27da5680a711bf12c07e86758c447
refs/heads/master
2020-08-07T18:30:55.575632
2019-10-14T12:46:09
2019-10-14T12:46:09
213,551,766
0
0
null
null
null
null
UTF-8
Python
false
false
2,534
py
def oa(o): for at in dir(o): print at, ''' Sample calls and output for oa() below: # object attributes of a dict: oa({}) __class__ __cmp__ __contains__ __delattr__ __delitem__ __doc__ __eq__ __format__ __ge__ __getattribute__ __getitem__ __gt__ __hash__ __init__ __iter__ __le__ __len__ __lt__ __ne__ __ne...
[ "rajdharmkar@gmail.com" ]
rajdharmkar@gmail.com
393807b4f21d0ee4f255d31230b47c6eac204537
9c9dc76306f8e02b542940306d0fc781e577ea2f
/ext_agro/reports_lanta/wizard/__init__.py
95f1953d1b810f700040a8544d7fc3e98c0876cb
[]
no_license
h3llopy/prueba_agroindustria
13d235a7a0f6cab08eac174546a4fd8175150e56
22a3ebae42ad20a792f19228b4a911aef93d1d08
refs/heads/main
2023-02-16T18:59:31.757874
2021-01-19T21:10:19
2021-01-19T21:10:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
80
py
# -*- coding: utf-8 -*- from . import stock_inventory_t from . import mrp_print
[ "inmldrsolucionestecnologicas@gmail.com" ]
inmldrsolucionestecnologicas@gmail.com
ee4a70928260425ed3cea0b9fe08e84f44207b80
b76c08a4c33245a737fa0e139d212bb424017cd1
/sandbox/order/utils.py
e2f60215327f7e0f361cf2b48bd1f2f84aaf5d02
[ "ISC" ]
permissive
thelabnyc/django-oscar-cybersource
5b09845121ef1c074335c01e86c649c36e4e51e4
95b33362adf8ba0217ac73c6f816b544c9faa18d
refs/heads/master
2023-03-15T15:25:55.388795
2023-03-14T16:00:07
2023-03-14T16:00:07
58,149,620
4
3
ISC
2023-02-07T22:17:15
2016-05-05T17:45:52
Python
UTF-8
Python
false
false
159
py
from oscar.apps.order import utils from oscarapicheckout.mixins import OrderCreatorMixin class OrderCreator(OrderCreatorMixin, utils.OrderCreator): pass
[ "crgwbr@gmail.com" ]
crgwbr@gmail.com
b324bb45f046ab2f4143cd271e5684defe01b32d
7d4d6dc3c897ec7c297bb67f30c3f4e39509b250
/Python/DailyFlash/27feb2020/MySolutions/program4.py
4f1ba7e0d83a4b78cd942e0c584bda578e54146f
[]
no_license
kumbharswativ/Core2Web
48a6ec0275466f4179c502097b1314d04a29e63e
60949e5461ef103a4ad2c7c39ee9be0be101ec11
refs/heads/master
2022-12-24T06:11:45.096063
2020-08-09T12:04:07
2020-08-09T12:09:13
286,219,590
0
1
null
2022-12-11T10:57:50
2020-08-09T11:02:18
Python
UTF-8
Python
false
false
199
py
''' write a program to print the following pattern A B D G G H J J K K ''' a=70 for i in range(4,0,-1): a=a-i-1 b=0 for j in range(i): print(chr(a),end=" ") b=b+1 a=a+b print(" ")
[ "“kumbharswativ@gmail.com”" ]
“kumbharswativ@gmail.com”
641b1d430f4f0766aad0d2b37668f9c06eaf590f
f13f336c42313b9e45a9a497d5737ecff8652731
/Python/116.Populating Next Right Pointers in Each Node .py
08c9a38fe8fc369288a53e4552e2c4965c839beb
[]
no_license
whguo/LeetCode
9b58bfbad07d9c3bfe8c48c74cd52fa6e019c2be
74cc5aa3743d387213a36c7dcfd37e82ca60473a
refs/heads/master
2020-02-26T16:02:39.172627
2017-07-28T01:59:20
2017-07-28T01:59:20
57,174,439
0
0
null
null
null
null
UTF-8
Python
false
false
1,152
py
#把二叉树同一深度的节点串联起来(next) class TreeLinkNode(object): def __init__(self, x): self.val = x self.left = None self.right = None self.next = None class Solution(object): def connect(self, root): self.dic = {} self.inorder(root,0) return root def inorder(sel...
[ "490216194@qq.com" ]
490216194@qq.com
7c44ba09652dca939859a751af24723bd6bf41cb
f0e0c1637f3b49fd914410361c3f1f3948462659
/Python/Sets/set_add.py
3da84d4b720396943cd15de874d9d726b08a6a21
[]
no_license
georggoetz/hackerrank-py
399bcd0599f3c96d456725471708068f6c0fc4b1
a8478670fcc65ca034df8017083269cb37ebf8b0
refs/heads/master
2021-09-18T07:47:32.224981
2018-07-11T09:24:49
2018-07-11T09:24:49
111,611,930
0
0
null
null
null
null
UTF-8
Python
false
false
194
py
# http://www.hackerrank.com/contests/python-tutorial/challenges/py-set-add if __name__ == '__main__': s = set([]) for _ in range(int(input())): s.add(input()) print(len(s))
[ "GeorgG@haufe.com" ]
GeorgG@haufe.com
1a366362e73d577c2fadcb9ccc06efc6aa64d44e
f3eaf09705b9dcc92f15d9aaa25aa739bd09c161
/pyti/money_flow.py
28301668fcc66057d241b31d6761604305963453
[ "MIT" ]
permissive
BernhardSchlegel/pyti
9f7171d660d6b4e4450d3b5882132204a4d3a3d7
bfead587fe49f7662df475a28688d3ce649e2e9b
refs/heads/master
2021-08-19T22:14:52.721190
2017-11-27T14:35:59
2017-11-27T14:35:59
111,237,071
1
0
null
2017-11-18T20:30:59
2017-11-18T20:30:59
null
UTF-8
Python
false
false
387
py
from pyti import catch_errors from pyti.typical_price import typical_price as tp def money_flow(close_data, high_data, low_data, volume): """ Money Flow. Formula: MF = VOLUME * TYPICAL PRICE """ catch_errors.check_for_input_len_diff( close_data, high_data, low_data, volume ) ...
[ "kyle@collectiveidea.com" ]
kyle@collectiveidea.com
1ace0aa1a9255b961b78176e9f318b2f0adae7a5
7a83e536c2ea73e9f0c61928db0f566825b60e7f
/bot/wikidata/clarkart_import.py
dbea5461e95e770004b6cc9d0c1046bf9bf3846e
[]
no_license
multichill/toollabs
32919377ae1e1bc05608828d30d81fe672569fa5
99a96e49cfe6b2d3151da7ad5469792d80171be3
refs/heads/master
2023-08-17T19:05:59.936875
2023-08-16T15:41:14
2023-08-16T15:41:14
54,907,129
18
6
null
2021-03-04T13:23:41
2016-03-28T16:45:15
Python
UTF-8
Python
false
false
7,012
py
#!/usr/bin/python # -*- coding: utf-8 -*- """ Bot to import paintings from the Clark Art Institute to Wikidata. Just loop over pages like https://www.clarkart.edu/artpiece/search?limit=20&offset=0&collectionIds=1095,1096,1097,1118 This bot does uses artdatabot to upload it to Wikidata. """ import artdatabot import p...
[ "maarten@mdammers.nl" ]
maarten@mdammers.nl
7760597e4768fdd39a083fb0413a45cd2158f3bc
d5f75adf5603927396bdecf3e4afae292143ddf9
/python/paddle/fluid/tests/unittests/autograd/test_orig2prim.py
924292c4a4aed304b4cb343ea3a6804d392f7888
[ "Apache-2.0" ]
permissive
jiweibo/Paddle
8faaaa1ff0beaf97ef7fb367f6c9fcc065f42fc4
605a2f0052e0ffb2fab3a4cf4f3bf1965aa7eb74
refs/heads/develop
2023-07-21T03:36:05.367977
2022-06-24T02:31:11
2022-06-24T02:31:11
196,316,126
3
2
Apache-2.0
2023-04-04T02:42:53
2019-07-11T03:51:12
Python
UTF-8
Python
false
false
12,054
py
# Copyright (c) 2022 PaddlePaddle 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 appli...
[ "noreply@github.com" ]
jiweibo.noreply@github.com
e9fed6137ec3b295fda35dcfe8f083d0c3625be6
336f11ee8934581f05ab620c5324c601ba864b05
/jb_adaptive_python/Problems/Step matrix/Programming/tests.py
79d6ba9430dae06ac099ab9abf679986502ca197
[]
no_license
ancient-clever/sandbox
01adeee2638a23533965cf57ca873a30e7dfad3d
87dec3bf8860a67a36154ee5d7c826d919d3111b
refs/heads/master
2022-05-17T04:49:54.703068
2020-01-19T17:44:27
2020-01-19T17:44:27
206,946,679
0
0
null
null
null
null
UTF-8
Python
false
false
156
py
from test_helper import check_samples if __name__ == '__main__': check_samples(samples=[["3","1 1 1 1 1\n1 2 2 2 1\n1 2 3 2 1\n1 2 2 2 1\n1 1 1 1 1"]])
[ "ancient-clever@outlook.com" ]
ancient-clever@outlook.com
8ebd7be5762779f7dac2dfa4eb6fc4cd1e08545f
5ea260271732d5cd3531665b3fefcad0b0b4d1ec
/emovie/settings.py
a675b1f23cb2c26a13fad4e443346a98a8fa82bd
[]
no_license
HettyIsIn/emovie
1504c9552b48a657fb8bf615eef6a4b444ce4bf8
9bc83a6bed02b7fba748866df971ad89c3d2c14e
refs/heads/master
2020-12-25T21:01:26.250640
2015-05-27T15:12:22
2015-05-27T15:12:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,633
py
""" Django settings for emovie project. For more information on this file, see https://docs.djangoproject.com/en/1.7/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.7/ref/settings/ """ # Build paths inside the project like this: os.path.join(BASE_DIR, ...) imp...
[ "lingnck@gmail.com" ]
lingnck@gmail.com
adab5fb7e004978cbebf3c2330e8eac6f237a263
d842a95213e48e30139b9a8227fb7e757f834784
/gcloud/google-cloud-sdk/lib/surface/iot/devices/credentials/create.py
3f061c8c10c35fbe2b555639f83327eab69ea7f8
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "MIT" ]
permissive
bopopescu/JobSniperRails
f37a15edb89f54916cc272884b36dcd83cdc868a
39e7f871887176770de0f4fc6789e9ddc7f32b1f
refs/heads/master
2022-11-22T18:12:37.972441
2019-09-20T22:43:14
2019-09-20T22:43:14
282,293,504
0
0
MIT
2020-07-24T18:47:35
2020-07-24T18:47:34
null
UTF-8
Python
false
false
2,204
py
# -*- coding: utf-8 -*- # # Copyright 2017 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
[ "luizfper@gmail.com" ]
luizfper@gmail.com
e2600c0fed8c5a857f10392c0665bc36c5b1364a
216a5e05360afcda9f90a2a5154ce8ea33bf8f82
/utils/permissions.py
4f347907c4d70eceb2eccb3b16b89c8236a7a182
[]
no_license
ppark9553/our-web-server
dfa6bdbdd4ced51d11b1d4951255c6618371a83f
a37ba6b27fc1973d8150fd253f6f5543be97ad1c
refs/heads/master
2021-09-16T17:24:48.021715
2018-06-22T12:42:25
2018-06-22T12:42:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
479
py
from django.contrib.auth import get_user_model from rest_framework import permissions User = get_user_model() class IsOwnerOrReadOnly(permissions.BasePermission): def has_object_permission(self, request, view, obj): if request.method in permissions.SAFE_METHODS: return True req_user =...
[ "ppark9553@gmail.com" ]
ppark9553@gmail.com
a692f5fbc1997092e7d8ff1b9ee253f703e4b898
35a6f5a26ea97ebed8ab34619a8eec51719d2cc0
/SpiderLearning/1 RequestBasic/4request_header_cookie.py
bdf907c06f27f2e4af98bfdc27634f2c7fbd9acf
[]
no_license
PandaCoding2020/pythonProject
c3644eda22d993b3b866564384ed10441786e6c5
26f8a1e7fbe22bab7542d441014edb595da39625
refs/heads/master
2023-02-25T14:52:13.542434
2021-02-03T13:42:41
2021-02-03T13:42:41
331,318,291
0
0
null
null
null
null
UTF-8
Python
false
false
1,093
py
""" @Time : 2021/1/29 9:54 @Author : Steven Chen @File : 4request_header_cookie.py @Software: PyCharm """ # 目标: # 方法: import requests url = 'https://github.com/PandaCoding2020' headers = { 'User-Agent':"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537...
[ "gzupanda@outlook.com" ]
gzupanda@outlook.com
21d7f7d408c190688ed8f05e94c0b50134527b88
53784d3746eccb6d8fca540be9087a12f3713d1c
/res/packages/scripts/scripts/client/gui/Scaleform/daapi/view/lobby/profile/ProfileAwards.py
6823a9a78792cbc4ee5a3719776eef9944204c58
[]
no_license
webiumsk/WOT-0.9.17.1-CT
736666d53cbd0da6745b970e90a8bac6ea80813d
d7c3cf340ae40318933e7205bf9a17c7e53bac52
refs/heads/master
2021-01-09T06:00:33.898009
2017-02-03T21:40:17
2017-02-03T21:40:17
80,870,824
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
3,334
py
# 2017.02.03 21:50:17 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/Scaleform/daapi/view/lobby/profile/ProfileAwards.py from gui.Scaleform.daapi.view.meta.ProfileAwardsMeta import ProfileAwardsMeta from gui.Scaleform.locale.PROFILE import PROFILE from web_stubs import i18n from gui.Scaleform.daapi...
[ "info@webium.sk" ]
info@webium.sk
50f1bc82e3cd796a76f23afea6bb0124b04e54c2
f5dbf8b9fc7a67167a966ad842999c5ec41d2363
/app/migrations/0197_auto_20170209_1130.py
4e84c7d80b4fb09fbfa2e9dde1a556f70fa6dff0
[]
no_license
super0605/cogofly-v1
324ead9a50eaeea370bf40e6f37ef1372b8990fe
dee0f5db693eb079718b23099992fba3acf3e2dd
refs/heads/master
2022-11-27T12:16:30.312089
2019-10-11T20:35:09
2019-10-11T20:35:09
214,522,983
0
0
null
2022-11-22T00:57:28
2019-10-11T20:25:01
JavaScript
UTF-8
Python
false
false
1,974
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('app', '0196_auto_20170209_1047'), ] operations = [ migrations.CreateModel( name='Pe...
[ "dream.dev1025@gmail.com" ]
dream.dev1025@gmail.com
76bebcbd53c7a8e9ee54ffe104bf1631e3426098
453ca12d912f6498720152342085636ba00c28a1
/leetcode/backtracking/python/sudoku_solver_leetcode.py
7ab9498918f52ff1adde13c698c7938033f4934e
[]
no_license
yanbinkang/problem-bank
f9aa65d83a32b830754a353b6de0bb7861a37ec0
bf9cdf9ec680c9cdca1357a978c3097d19e634ae
refs/heads/master
2020-06-28T03:36:49.401092
2019-05-20T15:13:48
2019-05-20T15:13:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,652
py
""" https://leetcode.com/problems/sudoku-solver/ Write a program to solve a Sudoku puzzle by filling the empty cells. Empty cells are indicated by the character '.' You may assume that there will be only one unique solution. https://discuss.leetcode.com/topic/11327/straight-forward-java-solution-using-backtracking/...
[ "albert.agram@gmail.com" ]
albert.agram@gmail.com
d07657ffb4666e58c4579f7680be4286b481fc9c
a5ea878c1ab822ace8f8ba2b71c525b04dc97dad
/0x04-python-more_data_structures/4-only_diff_elements.py
a053c4f1ad16bff77eb9ad7ddff685c8f984b2bc
[]
no_license
gardenia-homsi/holbertonschool-python
592c45e742f83695014abc318bf7269712b3a91c
fb7854835669aeffce71cf8fae7bca7d14d2e2f3
refs/heads/master
2023-01-22T05:50:00.447106
2020-12-03T21:32:55
2020-12-03T21:32:55
291,767,394
1
1
null
null
null
null
UTF-8
Python
false
false
150
py
#!/usr/bin/python3 def only_diff_elements(set_1, set_2): new_set = set_1.difference(set_2).union(set_2.difference(set_1)) return(new_set)
[ "noreply@github.com" ]
gardenia-homsi.noreply@github.com
82bfae90259287144f1f2c3cddb7ab93c5f23692
c47b68a858e01d5fe51661a8ded5138652d3082e
/src/recommender.py
970816d03d7c4d5ca6d3f39836420dcaf2de1fe7
[]
no_license
RitGlv/Practice_Makes_perfect
d2d50efbf810b41d0648f27d02b5710c14c3fcae
3dcb7ff876e58ade64faed0fa5523cba7461cf8d
refs/heads/master
2021-03-13T03:51:43.142777
2017-06-05T07:32:47
2017-06-05T07:32:47
91,500,946
0
0
null
null
null
null
UTF-8
Python
false
false
4,779
py
import pandas as pd import numpy as np from sklearn.metrics.pairwise import pairwise_distances import featurize reload (featurize) import decomposition reload (decomposition) from decomposition import decomposed import plots reload (plots) from plots import plot_pca import matplotlib.pyplot as plt class SimilarityReco...
[ "johndoe@example.com" ]
johndoe@example.com
a209ed748eac1477a4eedfef2d1ff0311c02deee
96ec8ea87fb2cfdd2d850a0471c9820f92152847
/九章算法/基础班LintCode/Subarray Sum Closest.py
1265ec062dd08f4ffd2b586b41598fd2433598bd
[]
no_license
bitterengsci/algorithm
ae0b9159fd21cc30c9865f981f9c18cf9c6898d7
bf70d038b70c51edc6ddd6bfef1720fb5f9f2567
refs/heads/master
2023-08-10T10:22:18.774232
2023-07-31T21:04:11
2023-07-31T21:04:11
186,261,880
95
46
null
2023-07-31T21:04:12
2019-05-12T13:57:27
Python
UTF-8
Python
false
false
861
py
class Solution: """ @param: nums: A list of integers @return: A list of integers includes the index of the first number and the index of the last number """ # 前缀和优化 + 排序贪心 def subarraySumClosest(self, nums): prefix_sum = [(0, -1)] # sum, index for i, num in enumerate(nums)...
[ "yanran2012@gmail.com" ]
yanran2012@gmail.com
d259fbb9ed2f76823094bdb3eca5bd6775fc1343
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/AKSHAYUBHAT_DeepVideoAnalytics/DeepVideoAnalytics-master/dvaapp/migrations/0005_auto_20170125_1807.py
15fbaee9b504fad725f3b818bbbeb8551faa310a
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
658
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-01-25 18:07 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('dvaapp', '0004_detection_metadata'), ] operations = [ migrations.RemoveFiel...
[ "659338505@qq.com" ]
659338505@qq.com
164f6b75d371e03cbe09103f8ec9eb0d85a4c5a1
ac94164dd36b9d7fee5e460a5e115356059bf280
/src/networks/classification/bert_adapter_owm.py
8ffc8cb47e3aaa8702657cc57290c013802edf53
[]
no_license
leducthanguet/PyContinual
5c6014f64ccd29dc52b05ecc858b282846aa487b
3325a1c33bfd2eab280f96f423cce59babcfcfc6
refs/heads/main
2023-08-30T01:23:04.765429
2021-10-28T03:50:24
2021-10-28T03:50:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,388
py
#coding: utf-8 import sys import torch from transformers import BertModel, BertConfig import utils from torch import nn sys.path.append("./networks/base/") from my_transformers import MyBertModel class Net(torch.nn.Module): def __init__(self,taskcla,args): super(Net,self).__init__() config = B...
[ "iscauzixuanke@gmail.com" ]
iscauzixuanke@gmail.com
7682acc242e042c01dd0c2734bf532189b2ccb0d
96dcea595e7c16cec07b3f649afd65f3660a0bad
/tests/components/tractive/__init__.py
dcde4b87436408e1c7bd4082fd1b7966087f1b86
[ "Apache-2.0" ]
permissive
home-assistant/core
3455eac2e9d925c92d30178643b1aaccf3a6484f
80caeafcb5b6e2f9da192d0ea6dd1a5b8244b743
refs/heads/dev
2023-08-31T15:41:06.299469
2023-08-31T14:50:53
2023-08-31T14:50:53
12,888,993
35,501
20,617
Apache-2.0
2023-09-14T21:50:15
2013-09-17T07:29:48
Python
UTF-8
Python
false
false
42
py
"""Tests for the tractive integration."""
[ "noreply@github.com" ]
home-assistant.noreply@github.com
c9cd595e6b21f955b807c5cb083e1cfd285d16a7
3d729e2e5b5d486095159c6636fa832fed48bcac
/server/advert/models.py
27a2710cad10fba08c5e94caa1a30284a002bdac
[]
no_license
UuljanAitnazarova/advert_project
8e7a590244c930a725916f3d3d89c74549c9ab71
fa5e054ac2c0990c3b0feadc8e81e23e7d672a0b
refs/heads/master
2023-07-07T20:51:10.027739
2021-08-21T13:35:03
2021-08-21T13:35:03
398,460,084
0
0
null
null
null
null
UTF-8
Python
false
false
1,257
py
from django.db import models from django.contrib.auth import get_user_model class Advert(models.Model): CATEGORY_CHOICE = [ ('ad', 'ad'), ('announcement', 'announcement'), ] title = models.CharField(max_length=250, blank=False, null=False) category = models.CharField(max_length=13, c...
[ "u.aitnazarova@gmail.com" ]
u.aitnazarova@gmail.com
4b629d5f872139c59efe6c33f432c436361d632d
58f7c634dc666f703f827c6e8fd49f414547501b
/models/InceptionResNetV2.py
f84e6042c89c11e535c0a6f8b693223683a664f6
[ "MIT" ]
permissive
AsuradaYuci/deep-person-reid
fa3322c21e755e35eae41c8f62feeaad77140a3a
3001c392776adb6937c2449c87272d4277476d3c
refs/heads/master
2020-03-21T11:04:12.645987
2018-06-07T16:07:45
2018-06-07T16:07:45
138,487,653
1
1
MIT
2018-06-24T14:15:27
2018-06-24T14:15:26
null
UTF-8
Python
false
false
12,336
py
from __future__ import absolute_import import torch import torch.nn as nn from torch.nn import functional as F import torch.utils.model_zoo as model_zoo import os import sys """ Code imported from https://github.com/Cadene/pretrained-models.pytorch """ __all__ = ['InceptionResNetV2'] pretrained_settings = { 'in...
[ "k.zhou@qmul.ac.uk" ]
k.zhou@qmul.ac.uk
451585c409af738c6b0ceaaf948a14aeda57bae1
cc738a180b98d3a48b740a53ed7a1f30604be292
/src/zeep/wsdl/utils.py
1951deacf7bc472c557e1cd7d5f93f8a2ddd3221
[ "MIT", "BSD-3-Clause" ]
permissive
Easter-eggs/python-zeep
c0cb3e9b71d5a5dabfbeea81eef528e195e92918
ad6e7ea22bff989b78d3a5b30ab04869626b2565
refs/heads/master
2021-01-16T22:32:56.513623
2016-05-31T17:52:18
2016-05-31T17:52:18
60,026,731
0
0
null
2016-05-30T17:13:10
2016-05-30T17:13:10
null
UTF-8
Python
false
false
380
py
def _soap_element(xmlelement, key): """So soap1.1 and 1.2 namespaces can be mixed HAH!""" namespaces = [ 'http://schemas.xmlsoap.org/wsdl/soap/', 'http://schemas.xmlsoap.org/wsdl/soap12/', ] for ns in namespaces: retval = xmlelement.find('soap:%s' % key, namespaces={'soap': ns...
[ "michaelvantellingen@gmail.com" ]
michaelvantellingen@gmail.com
c1d04137db0e2cecbfa27de4ab64fe211339820d
05857cd30669a914d69ce872141964a4e6b31edd
/__init__.py
13195f8831129b1aff66bfb2dfbe0656e6b2943e
[]
no_license
EricSchles/test_naming
f61e0900835edbbd7f5054e1916e38647f460e9e
a9be0cc48c40b704c7970968458db3631c8116e2
refs/heads/master
2021-01-17T12:21:09.588993
2014-11-05T00:11:34
2014-11-05T00:11:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
23
py
from sample import Foo
[ "ericschles@gmail.com" ]
ericschles@gmail.com
7feed8b3a53ec0c6af7957788eabe1b4e7195e56
134c429df7d5c4d067d9761cb1435992b048adaf
/notes/0922/0922.py
51d8a7cdbfebf9eb26dda9c7f5c67ef9348a1ca8
[]
no_license
PaulGuo5/Leetcode-notes
65c6ebb61201d6f16386062e4627291afdf2342d
431b763bf3019bac7c08619d7ffef37e638940e8
refs/heads/master
2021-06-23T09:02:58.143862
2021-02-26T01:35:15
2021-02-26T01:35:15
177,007,645
1
0
null
null
null
null
UTF-8
Python
false
false
1,111
py
class Solution: def sortArrayByParityII2(self, A: List[int]) -> List[int]: odd = [] even = [] for i in range(len(A)): if A[i] % 2 == 0: even.append(A[i]) else: odd.append(A[i]) j = 0 for i in range(0, len(A), 2): ...
[ "zhg26@pitt.edu" ]
zhg26@pitt.edu
24e82d6941781e4a93889c8938e5681d3f6fbc6f
157d2a2f4031c58e5504bcbac5348ff53883facc
/rDj27/rDj27/wsgi.py
fef165e765fca4a3dc487b940bb1a3b33aad776e
[]
no_license
optirg-39/Django_gekSh
d78b635fd3ee88addd084b68ec35c6284adfb55c
1129a6df35c110dfeeeaaf1a76b2ebc192a5f1ce
refs/heads/master
2023-04-15T13:09:03.067099
2021-04-26T12:15:35
2021-04-26T12:15:35
352,018,795
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
""" WSGI config for rDj27 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/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTING...
[ "opti39rg@gmail.com" ]
opti39rg@gmail.com
8e1737c26a20b1eeebbf9f29a33a37e8ae65e723
e7917cf00e06331c59799a27ddb57256268941f1
/ptm/rate_estimator/debug_stuck_particles.py
ecff4a726313711b03e4ae35e6fb20c7875d09db
[]
no_license
rustychris/csc
75d9f36b9c5ccb614ebab17ff110a7e1c0ad4764
b29f94be3f2c44c222f3113d5fcadf6cfbbf0df1
refs/heads/master
2022-05-01T11:53:50.322733
2022-04-13T16:25:10
2022-04-13T16:25:10
133,419,133
0
0
null
null
null
null
UTF-8
Python
false
false
1,646
py
from stompy.grid import unstructured_grid from stompy.model.fish_ptm import ptm_tools ## hyd=xr.open_dataset('../../dflowfm/runs/20180807_grid98_17/ptm_hydro.nc') g=unstructured_grid.UnstructuredGrid.from_ugrid(hyd) ## init=ptm_tools.PtmBin('run_10days/INIT_bin.out') sac=ptm_tools.PtmBin('run_10days/SAC_bin.out') sr...
[ "rustychris@gmail.com" ]
rustychris@gmail.com
6c5cc7b15fbdc3db75af1c48e02db2934e988e96
54bb9ba6d507cd25b2c2ac553665bc5fc95280d1
/src/onegov/wtfs/layouts/invoice.py
dd78e0508c54baa33f82ff232d7890fd5e0dc050
[ "MIT" ]
permissive
href/onegov-cloud
9ff736d968979380edba266b6eba0e9096438397
bb292e8e0fb60fd1cd4e11b0196fbeff1a66e079
refs/heads/master
2020-12-22T07:59:13.691431
2020-01-28T08:51:54
2020-01-28T08:51:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,176
py
from cached_property import cached_property from onegov.core.elements import Link from onegov.wtfs import _ from onegov.wtfs.collections import PaymentTypeCollection from onegov.wtfs.layouts.default import DefaultLayout from onegov.wtfs.security import EditModel class InvoiceLayout(DefaultLayout): @cached_proper...
[ "denis.krienbuehl@seantis.ch" ]
denis.krienbuehl@seantis.ch
f9a81e96bf7412c530f031c1ba97734e5ad6a5ce
1543840cd62b4a3301ce4626e3f3dafa1fbe3715
/parallel_wavegan/layers/pqmf.py
bb31c430d2abe0219f58f153f69d836383e095ef
[ "MIT" ]
permissive
arita37/ParallelWaveGAN
cc4dc10560595bf17e941a4c4576731169bd64ae
bb32b19f9ccb638de670f8b8d3a1dfed13ecf1c3
refs/heads/master
2022-11-21T16:45:00.289300
2020-07-20T14:09:23
2020-07-20T14:09:23
283,928,615
1
0
MIT
2020-07-31T03:02:01
2020-07-31T03:02:00
null
UTF-8
Python
false
false
4,478
py
# -*- coding: utf-8 -*- # Copyright 2020 Tomoki Hayashi # MIT License (https://opensource.org/licenses/MIT) """Pseudo QMF modules.""" import numpy as np import torch import torch.nn.functional as F from scipy.signal import kaiser def design_prototype_filter(taps=62, cutoff_ratio=0.15, beta=9.0): """Design pr...
[ "hayashi.tomoki@g.sp.m.is.nagoya-u.ac.jp" ]
hayashi.tomoki@g.sp.m.is.nagoya-u.ac.jp
9f437582fa091c0826b81b2906a1727f5729c925
ae7ba9c83692cfcb39e95483d84610715930fe9e
/xcv58/LeetCode/Maximum-Depth-of-Binary-Tree/Solution.py
f1999894091385ef5f7a20ac09a37d2cdd716a2f
[]
no_license
xenron/sandbox-github-clone
364721769ea0784fb82827b07196eaa32190126b
5eccdd8631f8bad78eb88bb89144972dbabc109c
refs/heads/master
2022-05-01T21:18:43.101664
2016-09-12T12:38:32
2016-09-12T12:38:32
65,951,766
5
7
null
null
null
null
UTF-8
Python
false
false
364
py
# Definition for a binary tree node # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: # @param root, a tree node # @return an integer def maxDepth(self, root): return 0 if root is None else max(self.maxDepth...
[ "xenron@outlook.com" ]
xenron@outlook.com
8450e35c6df3376e4ad940bdd8d807a8d6f6efa8
cdd51efdcf88e46c948be8a5a0cec61423d47898
/lenstools/contours.py
f6c361c74705c8f7279871ebdf1a5cd7b4ebefbd
[ "MIT" ]
permissive
kjemmett/LensTools
842ced8936cc8a4b52286db875a875cdf3198bf5
53708032aa16a3c13887f3002f4836e55523229c
refs/heads/master
2021-01-18T13:29:41.871230
2015-10-13T21:08:51
2015-10-13T21:08:51
44,204,717
0
0
null
2015-10-13T21:03:16
2015-10-13T21:03:15
null
UTF-8
Python
false
false
18,715
py
""" .. module:: contours :platform: Unix :synopsis: This module implements a confidence contour plotting engine .. moduleauthor:: Andrea Petri <apetri@phys.columbia.edu> """ from __future__ import print_function,division,with_statement import os import logging import numpy as np from scipy import stats from...
[ "apetri@phys.columbia.edu" ]
apetri@phys.columbia.edu
419d60b4e47df8357a6fb1aee89231feae002341
b1bc2e54f8cd35c9abb6fc4adb35b386c12fe6b4
/otp/src/friends/PlayerFriendsManagerUD.py
1e3b921c511f1af8fce11c8f5cf0509f50b862a3
[]
no_license
satire6/Anesidora
da3a44e2a49b85252b87b612b435fb4970469583
0e7bfc1fe29fd595df0b982e40f94c30befb1ec7
refs/heads/master
2022-12-16T20:05:13.167119
2020-09-11T16:58:04
2020-09-11T17:02:06
294,751,966
89
32
null
null
null
null
UTF-8
Python
false
false
18,840
py
from direct.distributed.DistributedObjectGlobalUD import DistributedObjectGlobalUD from direct.task.Task import Task from otp.otpbase import OTPGlobals from otp.ai import AIMsgTypes from otp.uberdog.RejectCode import RejectCode from direct.directnotify.DirectNotifyGlobal import directNotify from otp.friends.FriendInf...
[ "66761962+satire6@users.noreply.github.com" ]
66761962+satire6@users.noreply.github.com
55974c3062c65bc035880e96b2a781aca322528e
bc9f66258575dd5c8f36f5ad3d9dfdcb3670897d
/lib/surface/compute/url_maps/describe.py
a57dae6a7042b32f18ee5d7c134c3a8aafc00b96
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
google-cloud-sdk-unofficial/google-cloud-sdk
05fbb473d629195f25887fc5bfaa712f2cbc0a24
392abf004b16203030e6efd2f0af24db7c8d669e
refs/heads/master
2023-08-31T05:40:41.317697
2023-08-23T18:23:16
2023-08-23T18:23:16
335,182,594
9
2
NOASSERTION
2022-10-29T20:49:13
2021-02-02T05:47:30
Python
UTF-8
Python
false
false
2,596
py
# -*- coding: utf-8 -*- # # Copyright 2014 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
[ "cloudsdk.mirror@gmail.com" ]
cloudsdk.mirror@gmail.com
4647b56d18f408edad9a00c6ac02a82e34d11f08
49fa43ae11cd06f68efb65a9f59add168b205f29
/python/306_additive-number/additiveNumber.py
2a5375a84a18bf7b1d4fdf22a0ced35681321de9
[]
no_license
kfrancischen/leetcode
634510672df826a2e2c3d7cf0b2d00f7fc003973
08500c39e14f3bf140db82a3dd2df4ca18705845
refs/heads/master
2021-01-23T13:09:02.410336
2019-04-17T06:01:28
2019-04-17T06:01:28
56,357,131
2
1
null
null
null
null
UTF-8
Python
false
false
681
py
import itertools class Solution(object): def isAdditiveNumber(self, num): """ :type num: str :rtype: bool """ n = len(num) for i, j in itertools.combinations(range(1, n), 2): a, b = num[:i], num[i:j] if a != str(int(a)) or b != str(int(b)): ...
[ "kfrancischen@gmail.com" ]
kfrancischen@gmail.com
30031f16272956ac941b3b7060bb3e05b133017f
5210993914691c70076be979aa5c57c33d5d3bc4
/Programming101-3/Week_1/The_Final_Round/reduce_file_path.py
5b9b39aeefb744abd25cd76f7c27dce970610b97
[]
no_license
presian/HackBulgaria
d29f84ab7edc85a4d8dfbf055def7d0be783539e
8bc95bb31daeb1f5a313d25b928f505013f5f0b0
refs/heads/master
2021-01-10T04:38:05.759005
2015-10-15T07:05:21
2015-10-15T07:05:21
36,889,139
1
0
null
null
null
null
UTF-8
Python
false
false
1,452
py
def double_slash_remover(path): return path.replace("//", "/") def string_splitter(path): return path.split("/") def empty_string_remover(path_entities): return [x for x in path_entities if x != ""] def point_checker(path_entity): if path_entity != ".." and path_entity != ".": return True ...
[ "presiandanailov@gmail.com" ]
presiandanailov@gmail.com
eeb5e3da57cd6e9d5e0b1d2daa31670aea57a886
0856f65fdd2c1bd305860eeebd9e51b5d1d1f017
/xinshuo_images/test/test_image_processing.py
bbecf5ef608a8fe8f08dae2d4e347546dcbd179b
[]
no_license
Fuyaoyao/xinshuo_toolbox
8a313416b4ce82188015421558d6a89ed526b81e
9049003d9f8e05ece4ef19ae0beb42b5f9c5731b
refs/heads/master
2021-08-23T12:15:39.864095
2017-12-04T21:48:24
2017-12-04T21:48:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,021
py
# Author: Xinshuo Weng # email: xinshuo.weng@gmail.com import os, sys import pytest import __init__paths__ from image_processing import * from check import * def test_imagecoor2cartesian_center(): image_shape = (480, 640) forward, backward = imagecoor2cartesian_center(image_shape) assert isfunction(forward) asser...
[ "xinshuo.weng@gmail.com" ]
xinshuo.weng@gmail.com
28c2112aab9a451142950150c912a0a342957118
b4180ca553c16fb2b2549d95ce7a3397ad2910ba
/mysite/venv/bin/wheel
ae2e3d8317722113890caa3d397ddf4cfd48ca1f
[]
no_license
taixingbi/django-tatch
c5ab9d676b67c613199bf2f8daed02f27f8859c8
6958192260e73bf9d78c706a1309629d711dce0b
refs/heads/master
2020-04-08T04:52:47.781822
2018-11-28T01:39:18
2018-11-28T01:39:18
159,035,924
0
0
null
null
null
null
UTF-8
Python
false
false
258
#!/Users/h/Desktop/boostrap-django-master/mysite/venv/bin/python # -*- coding: utf-8 -*- import re import sys from wheel.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "bitaihang@gmail.com" ]
bitaihang@gmail.com
cfeb827afdfb015cd4f2721eb31338c72a286d65
871690900c8da2456ca2818565b5e8c34818658e
/programmers/level3/72415.py
481ce98547e56515643755fe9c3e7c61bbc6a4e2
[]
no_license
kobeomseok95/codingTest
40d692132e6aeeee32ee53ea5d4b7af8f2b2a5b2
d628d72d9d0c1aef2b3fa63bfa9a1b50d47aaf29
refs/heads/master
2023-04-16T09:48:14.916659
2021-05-01T11:35:42
2021-05-01T11:35:42
311,012,364
0
0
null
null
null
null
UTF-8
Python
false
false
2,103
py
from collections import deque from itertools import permutations def ctrl(board, y0, x0, dir_y, dir_x): for i in range(1, 4): if 0 <= (y1 := y0 + dir_y * i) < 4 and 0 <= (x1 := x0 + dir_x * i) < 4: if board[y1][x1] != 0: return (y1, x1) l = i return (y0 + dir_y ...
[ "37062337+kobeomseok95@users.noreply.github.com" ]
37062337+kobeomseok95@users.noreply.github.com
280e1dd2cbe2dd3cda6db54f063f203eaddd74d7
684f15ab9c10a2c2e378c04009afa33166e049f2
/cifar_eval.py
51f6ef0e2248b10c16b3971a8de0b5bfae249f9f
[ "MIT" ]
permissive
sx14/image_classification_imbalance
ac410e88164912ef6bf47a87041d60934becfc1f
49869e12e9ca424496f7c137b7026bea79fa2f72
refs/heads/master
2023-01-09T11:08:30.574937
2020-11-05T14:48:52
2020-11-05T14:48:52
309,088,389
0
0
null
null
null
null
UTF-8
Python
false
false
7,679
py
import argparse import os import random import time import warnings import sys import numpy as np import torch import torch.nn as nn import torch.nn.parallel import torch.backends.cudnn as cudnn import torch.optim import torch.multiprocessing as mp import torch.utils.data import torchvision.transforms as transforms imp...
[ "1059363093@qq.com" ]
1059363093@qq.com
99e7db6e7ff1635636e44793f849c84b4c76d03e
bf13574ef4af42b33ee931d2be0ccf862bd297d4
/util/weather_analysis.py
ac9b30b57963557883a372fbcb09b35fa9534082
[]
no_license
Futureword123456/WeatherRecommendationSystem
0f032cb260415a7786b8c4a3c0b801e6377e7125
14489fe27eed985d950b8571a205d56612afc8a4
refs/heads/master
2023-04-20T23:52:27.565091
2021-05-16T08:52:58
2021-05-16T08:52:58
285,297,964
0
0
null
null
null
null
UTF-8
Python
false
false
2,851
py
# 该模块用于天气数据分析的相关脚本 from pandas import DataFrame import pandas as pd import util from region.models import Region from util.normalization import sigmoid, weather_type_normalization, wind_power_normalization from weather_analysis1.settings import OPTIMUM_MAX_DEGREE, OPTIMUM_MIN_DEGREE, WEIGHTS_DICT from weather_data.mo...
[ "2635681517@qq.com" ]
2635681517@qq.com
b613d93b3255137c59d4ada588585fcc82e3c204
fa93e53a9eee6cb476b8998d62067fce2fbcea13
/devel/.private/pal_wifi_localization_msgs/lib/python2.7/dist-packages/pal_wifi_localization_msgs/srv/_GetWifiMap.py
3edfc46c97ca38aeb6d0d2520789e2744c3d9fda
[]
no_license
oyetripathi/ROS_conclusion_project
2947ee2f575ddf05480dabc69cf8af3c2df53f73
01e71350437d57d8112b6cec298f89fc8291fb5f
refs/heads/master
2023-06-30T00:38:29.711137
2021-08-05T09:17:54
2021-08-05T09:17:54
392,716,311
0
1
null
null
null
null
UTF-8
Python
false
false
18,324
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from pal_wifi_localization_msgs/GetWifiMapRequest.msg. Do not edit.""" import codecs import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct class GetWifiMapRequest(genpy.Message): _md5sum = "d41d8...
[ "sandeepan.ghosh.ece20@itbhu.ac.in" ]
sandeepan.ghosh.ece20@itbhu.ac.in
0b29814de6fb30538f3b17fcbc45abc6d0d378b1
9b663934d1bc3288d7b2de35106084f2f1dca766
/env/Lib/site-packages/pip/_internal/commands/install.py
66071f6e8195b67ab8010298dd7184f83b7ec4fb
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-python-cwi", "GPL-1.0-or-later", "LicenseRef-scancode-newlib-historical", "OpenSSL", "bzip2-1.0.6", "Python-2.0", "TCL", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-other-copyl...
permissive
akshatvg/engagement-monitor
28dbe63398fca0788d16f58b4bd92e2f7c124a0d
d357befb7e1a29ac0372c8547b3b86ba4a7b98b3
refs/heads/master
2021-06-25T12:02:51.742573
2021-02-02T04:48:16
2021-02-02T04:48:16
202,103,224
1
7
MIT
2021-04-06T22:12:53
2019-08-13T08:50:10
CSS
UTF-8
Python
false
false
23,803
py
# The following comment should be removed at some point in the future. # It's included for now because without it InstallCommand.run() has a # couple errors where we have to know req.name is str rather than # Optional[str] for the InstallRequirement req. # mypy: strict-optional=False # mypy: disallow-untyped-defs=Fals...
[ "rayanuthalas@gmail.com" ]
rayanuthalas@gmail.com
ba9cab5d111516ba4e1fd9eba0a8fa8c5bc19eeb
98d61512fdf7f8426d4634a86edd25669944ab9e
/algorithms/BestTimeToBuyAndSellStock/solution.py
2c6f64b803cdbd44d2e66e2168c317b6104e54ea
[]
no_license
P-ppc/leetcode
145102804320c6283fa653fc4a7ae89bf745b2fb
0d90db3f0ca02743ee7d5e959ac7c83cdb435b92
refs/heads/master
2021-07-12T02:49:15.369119
2018-11-13T05:34:51
2018-11-24T12:34:07
132,237,265
0
2
null
null
null
null
UTF-8
Python
false
false
365
py
class Solution(object): def maxProfit(self, prices): """ :type prices: List[int] :rtype: int """ max_profit = 0 min_price = sys.maxint for price in prices: min_price = min(min_price, price) max_profit = max(max_profit, price - ...
[ "ppc-user@foxmail.com" ]
ppc-user@foxmail.com
c3a1d237da21bec7b9c7408ef0008689bbdd134d
88ae8695987ada722184307301e221e1ba3cc2fa
/printing/backend/PRESUBMIT.py
c400aabee9f16585e38e2c421c765eb7291eb5c0
[ "BSD-3-Clause" ]
permissive
iridium-browser/iridium-browser
71d9c5ff76e014e6900b825f67389ab0ccd01329
5ee297f53dc7f8e70183031cff62f37b0f19d25f
refs/heads/master
2023-08-03T16:44:16.844552
2023-07-20T15:17:00
2023-07-23T16:09:30
220,016,632
341
40
BSD-3-Clause
2021-08-13T13:54:45
2019-11-06T14:32:31
null
UTF-8
Python
false
false
1,984
py
# Copyright 2020 The Chromium Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """ Presubmit script for the printing backend. See https://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts for more details about the presubmit API. """ USE_PYT...
[ "jengelh@inai.de" ]
jengelh@inai.de
04c5be843d18e083a0ae2860b4aa6a92a1e60c62
1fe0b680ce53bb3bb9078356ea2b25e572d9cfdc
/venv/lib/python2.7/site-packages/ansible/modules/cloud/azure/azure_rm_loganalyticsworkspace_facts.py
8f7f88260a73e8917841ab5cdddece6d119a127a
[ "MIT" ]
permissive
otus-devops-2019-02/devopscourses_infra
1929c4a9eace3fdb0eb118bf216f3385fc0cdb1c
e42e5deafce395af869084ede245fc6cff6d0b2c
refs/heads/master
2020-04-29T02:41:49.985889
2019-05-21T06:35:19
2019-05-21T06:35:19
175,780,457
0
1
MIT
2019-05-21T06:35:20
2019-03-15T08:35:54
HCL
UTF-8
Python
false
false
8,682
py
#!/usr/bin/python # # Copyright (c) 2019 Yuwei Zhou, <yuwzho@microsoft.com> # # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', ...
[ "skydevapp@gmail.com" ]
skydevapp@gmail.com
3248006133f1a39fee5c6ed3e1d8983387dae879
17ef6c9ead83c2a2c18fe029ae3f6ba90d57b8f4
/unsupervised_learning/0x01-clustering/8-EM.py
c0e7abe3c2039e1dca58a146d909b3d122c2d090
[]
no_license
shincap8/holbertonschool-machine_learning
ede0c2be6df44f91c125c4497cf5ac1b90f654fe
cfc519b3290a1b8ecd6dc94f70c5220538ee7aa0
refs/heads/master
2023-03-26T07:00:10.238239
2021-03-18T04:39:01
2021-03-18T04:39:01
279,436,819
0
3
null
null
null
null
UTF-8
Python
false
false
2,875
py
#!/usr/bin/env python3 """Function that performs the expectation maximization for a GMM""" import numpy as np initialize = __import__('4-initialize').initialize expectation = __import__('6-expectation').expectation maximization = __import__('7-maximization').maximization def expectation_maximization(X, k, iterations...
[ "shincap8@gmail.com" ]
shincap8@gmail.com
f8bd1fc30da97b0917edc5644b68c14a92de65b1
3b50605ffe45c412ee33de1ad0cadce2c5a25ca2
/python/paddle/fluid/tests/unittests/test_monitor.py
a5d5e30176fb07753a1ec9e47c4031fccf825b92
[ "Apache-2.0" ]
permissive
Superjomn/Paddle
f5f4072cf75ac9ecb0ff528876ee264b14bbf8d1
7a0b0dab8e58b6a3b28b3b82c43d55c9bd3d4188
refs/heads/develop
2023-02-04T20:27:54.244843
2023-01-26T15:31:14
2023-01-26T15:31:14
66,896,049
4
1
Apache-2.0
2023-04-14T02:29:52
2016-08-30T01:45:54
C++
UTF-8
Python
false
false
3,566
py
# Copyright (c) 2020 PaddlePaddle 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 app...
[ "noreply@github.com" ]
Superjomn.noreply@github.com
10ec710fb0f23d2d5f488050660929cca1494ae0
a479a5773fd5607f96c3b84fed57733fe39c3dbb
/napalm_yang/models/openconfig/network_instances/network_instance/protocols/protocol/ospfv2/areas/area/interfaces/interface/interface_ref/__init__.py
6834e87234c3203df2663b4ff0f91a34779f7e73
[ "Apache-2.0" ]
permissive
napalm-automation/napalm-yang
839c711e9294745534f5fbbe115e0100b645dbca
9148e015b086ebe311c07deb92e168ea36fd7771
refs/heads/develop
2021-01-11T07:17:20.226734
2019-05-15T08:43:03
2019-05-15T08:43:03
69,226,025
65
64
Apache-2.0
2019-05-15T08:43:24
2016-09-26T07:48:42
Python
UTF-8
Python
false
false
18,454
py
# -*- coding: utf-8 -*- from operator import attrgetter from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType from pyangbind.lib.yangtypes import RestrictedClassType from pyangbind.lib.yangtypes import TypedListType from pyangbind.lib.yangtypes import YANGBool from pyangbind.lib.yangtypes import YANGListTy...
[ "dbarrosop@dravetech.com" ]
dbarrosop@dravetech.com
3e1979aafdbea3e2c81383a48cfe6a7cafe0f013
fb78fd824e904705fb1ee09db8b3c20cc3902805
/django-guestbook/guestbook/migrations/0002_auto_20191016_1315.py
ef5f841831a597352e01e1f4517998095c6e161b
[]
no_license
Roderich25/mac
8469833821ac49c539a744db29db5a41d755ad55
4f7fe281c88f0199b85d0ac99ce41ffb643d6e82
refs/heads/master
2023-01-12T05:55:12.753209
2021-11-26T01:16:24
2021-11-26T01:16:24
207,029,750
0
0
null
2023-01-07T11:49:23
2019-09-07T21:51:53
Jupyter Notebook
UTF-8
Python
false
false
431
py
# Generated by Django 2.2.6 on 2019-10-16 13:15 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('guestbook', '0001_initial'), ] operations = [ migrations.AlterField( model_name='comment', ...
[ "rodrigoavilasolis@gmail.com" ]
rodrigoavilasolis@gmail.com
974973be60a087d297c0e8b18fb07e630f973b1c
73ad9af21fd3584a741ee47ce646ea22b6666721
/mitbbs/268.py
2ac493b68b429b089eb98aa488a2a99a72abac5e
[]
no_license
zhenggang587/code
a70b5004a4afb3e2eb6b4d8f267fd1aed83a4b74
fa13c439bcfaad543461b8a8ea397ecb95a066a5
refs/heads/master
2020-05-02T18:23:18.892197
2014-12-14T05:53:13
2014-12-14T05:53:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
14
py
# see 194.py
[ "zhenggang@meituan.com" ]
zhenggang@meituan.com
0922c9ad0dfb9694fc3319082b15404f0dfd3dd1
3bb0fe3babe9f30e05a181722c476504e0ab56df
/tests/contrib/permissions/test_models.py
a264941db8418b287856b6f52bb671120629e476
[ "MIT" ]
permissive
inonit/django-chemtrails
6616aa121afe70da42a2a237b88b671ee2cddd74
e8bd97dc68852902b57d314250e616b505db0e16
refs/heads/master
2021-01-20T10:55:30.979439
2017-12-11T21:32:06
2017-12-11T21:32:06
80,567,669
14
2
MIT
2017-12-04T05:43:13
2017-01-31T22:11:51
Python
UTF-8
Python
false
false
907
py
# -*- coding: utf-8 -*- from django.contrib.contenttypes.models import ContentType from django.test import TestCase from chemtrails.contrib.permissions.models import ( AccessRule, get_node_relations_choices, get_node_permissions_choices ) class ChoicesHelperFunctionsTestCase(TestCase): """ Test vari...
[ "rhblind@gmail.com" ]
rhblind@gmail.com
1022e667a73f39aa64e68623e43a4c620ca0b8a2
47fb8f2ed2510a3777799e1b704bfcfce18789c3
/challenge.py
dac506dffc3950144d67f5e7ba52f53f0399e6f0
[]
no_license
ehiaig/learn_python
e8d476c228451fb91be40ec64b5f7700fa12db74
205119a15d49dd81d98fca4623e0df99963aece7
refs/heads/master
2022-12-25T02:00:32.428483
2020-09-19T19:02:32
2020-09-19T19:02:32
103,679,402
0
0
null
null
null
null
UTF-8
Python
false
false
557
py
# print ("input is {}".format(input)) # ALTERNATE HUMAN AN DDOG CHALLENGE stirr = "hd...h...d..d..hd...h..d..h.d" stir = list(stirr) line = 0 while (line < len(stir)): try: if stir[line] == 'h' and not(stir[line+1] == 'd'): # #print (stir[line], stir[line + 1]) for ch in stir[line + 1:]: ...
[ "ehiagheaigg@gmail.com" ]
ehiagheaigg@gmail.com
60bfc0644928cdd4cebc77a5c5c4d392a7b5aaeb
c68aea1de91b46ae684792123c61e84c44ea0266
/code-analysis/programming_anguage/python/source_codes/Python3.8.0/Python-3.8.0/Tools/freeze/freeze.py
83aa508a46a93e79664d02fc09be9b3be0489ed4
[ "Apache-2.0", "LicenseRef-scancode-python-cwi", "GPL-1.0-or-later", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-free-unknown", "Python-2.0" ]
permissive
Winfredemalx54/algorithm-challenger-1
12e23bed89ca889701db1b17ac540ce62ce86d8e
761c2c39e041fb155f853385998d5c6318a39913
refs/heads/master
2022-11-22T15:03:01.548605
2020-07-11T12:26:31
2020-07-11T12:26:31
297,955,141
3
0
Apache-2.0
2020-09-23T11:58:19
2020-09-23T11:58:18
null
UTF-8
Python
false
false
17,174
py
#! /usr/bin/env python3 """Freeze a Python script into a binary. usage: freeze [options...] script [module]... Options: -p prefix: This is the prefix used when you ran ``make install'' in the Python build directory. (If you never ran this, freeze won't work.) The default ...
[ "bater.makhabel@gmail.com" ]
bater.makhabel@gmail.com
6d76dfb817a6e4b6b701679da6ac15531301e20f
b32121fbf9cdbb7043fe255ebc01bc367c78ac73
/backend/react_native_hook_ex_4479/settings.py
0e34266f386b5732b712a0a471d9bba374dc8b07
[]
no_license
crowdbotics-apps/react-native-hook-ex-4479
1883330009525d866c06b3b5e8135de5fe6c18a1
b2f5d65eccbfdf427158ce05c57fba8efc6a0914
refs/heads/master
2022-12-12T03:09:00.171484
2019-06-10T10:08:40
2019-06-10T10:08:40
191,143,962
0
0
null
2022-12-09T05:45:04
2019-06-10T10:08:22
Python
UTF-8
Python
false
false
4,603
py
""" Django settings for react_native_hook_ex_4479 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
217e500f19ff35a819836f710b2c6bcdc325240c
7b1a5db0a067766a9805fe04105f6c7f9ff131f3
/pysal/explore/segregation/tests/test_multi_gini_seg.py
c1c1475ea19bacb1f18c2f5aae2607416cb87a5b
[]
permissive
ocefpaf/pysal
2d25b9f3a8bd87a7be3f96b825995a185624e1d0
7e397bdb4c22d4e2442b4ee88bcd691d2421651d
refs/heads/master
2020-06-26T17:13:06.016203
2019-07-31T19:54:35
2019-07-31T19:54:35
199,696,188
0
0
BSD-3-Clause
2019-07-30T17:17:19
2019-07-30T17:17:18
null
UTF-8
Python
false
false
563
py
import unittest import pysal.lib import geopandas as gpd import numpy as np from pysal.explore.segregation.aspatial import MultiGiniSeg class Multi_Gini_Seg_Tester(unittest.TestCase): def test_Multi_Gini_Seg(self): s_map = gpd.read_file(pysal.lib.examples.get_path("sacramentot2.shp")) groups_list ...
[ "sjsrey@gmail.com" ]
sjsrey@gmail.com
b5b118a49469fea04673123a5d2e2352799f59f3
35517b6f40a0672a9c355fa42c899a03735b7c46
/rooms/urls.py
58db40c531cc40b09fe0e3eb62ee8b4d64f1f47f
[]
no_license
byungsujeong/airbnb-clone
45a1bd074897f97faa5c10a85ae103301cbd9de1
158bcae353105c90ad2b1899367c90a67bbac6af
refs/heads/master
2023-04-24T06:35:04.902040
2021-05-09T13:24:34
2021-05-09T13:24:34
355,564,701
0
1
null
null
null
null
UTF-8
Python
false
false
835
py
from django.urls import path from . import views app_name = "rooms" urlpatterns = [ # path("<int:pk>", views.room_detail, name="detail"), path("create/", views.CreateRoomView.as_view(), name="create"), path("<int:pk>", views.RoomDetail.as_view(), name="detail"), path("<int:pk>/edit/", views.EditRoomVi...
[ "byungsu.jeong88@gmail.com" ]
byungsu.jeong88@gmail.com
fe2fcd6a9850105452a96addca96d68626b41407
330dbbefb2e7d6283c812888c89e58498f0b4188
/_Dist/NeuralNetworks/b_TraditionalML/SVM.py
fd8bc5c1269e79328815274d2214640054952c91
[ "MIT" ]
permissive
leoatchina/MachineLearning
93dd3e6c91911f5743617dde1873bf60493171a2
071f2c0fc6f5af3d9550cfbeafe8d537c35a76d3
refs/heads/master
2023-04-23T02:36:36.809015
2021-04-29T15:06:00
2021-04-29T15:06:00
286,432,406
0
1
MIT
2020-08-10T09:30:34
2020-08-10T09:30:34
null
UTF-8
Python
false
false
5,527
py
import os import sys root_path = os.path.abspath("../../../") if root_path not in sys.path: sys.path.append(root_path) import numpy as np import tensorflow as tf from _Dist.NeuralNetworks.DistBase import Base, AutoBase, AutoMeta, DistMixin, DistMeta class LinearSVM(Base): def __init__(self, *args, **kwargs...
[ "syameimaru.saki@gmail.com" ]
syameimaru.saki@gmail.com
21415fc4514c480effa3675acde503b0b575df78
8602a87e12fe19b28c2e85cfae0bbde27a62855d
/ingenico/connect/sdk/domain/hostedcheckout/create_hosted_checkout_request.py
28949508bd2f6d00a43dfd02ad2bda2d464ce4f2
[ "MIT" ]
permissive
king1212/connect-sdk-python2
6a687de7967a411fa802477069c7fc7079d059c2
203982559c5c10e3dbbb9dfc71123c269908ed26
refs/heads/master
2021-07-04T03:10:55.061416
2017-09-27T09:29:49
2017-09-27T09:29:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,790
py
# -*- coding: utf-8 -*- # # This class was auto-generated from the API references found at # https://epayments-api.developer-ingenico.com/s2sapi/v1/ # from ingenico.connect.sdk.data_object import DataObject from ingenico.connect.sdk.domain.definitions.fraud_fields import FraudFields from ingenico.connect.sdk.domain.hos...
[ "jenkins@isaac.nl" ]
jenkins@isaac.nl
0ff04073a92aeec8f89f0c43ffbb6fcfa390b892
0d0cf0165ca108e8d94056c2bae5ad07fe9f9377
/20_Introduction_to_Deep_Learning_in_Python/4_Fine-tuning_keras_models/experimentingWithWiderNetworks.py
0f882da2de07c8d71246cb278cc2a850532cb36e
[]
no_license
MACHEIKH/Datacamp_Machine_Learning_For_Everyone
550ec4038ebdb69993e16fe22d5136f00101b692
9fe8947f490da221430e6dccce6e2165a42470f3
refs/heads/main
2023-01-22T06:26:15.996504
2020-11-24T11:21:53
2020-11-24T11:21:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,421
py
# Experimenting with wider networks # Now you know everything you need to begin experimenting with different models! # A model called model_1 has been pre-loaded. You can see a summary of this model printed in the IPython Shell. This is a relatively small network, with only 10 units in each hidden layer. # In this ex...
[ "noreply@github.com" ]
MACHEIKH.noreply@github.com
c0563b44b76353970e95bd6231b816f97c614228
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnpunctur.py
537380e29f358fdfeef0b0c50412671a8d811c2b
[]
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
297
py
ii = [('RogePAV.py', 2), ('WilbRLW5.py', 1), ('GellWPT.py', 1), ('AdamWEP.py', 1), ('CoolWHM.py', 1), ('CrokTPS.py', 1), ('WestJIT2.py', 19), ('KirbWPW2.py', 4), ('WestJIT.py', 2), ('FitzRNS4.py', 1), ('CoolWHM3.py', 2), ('BentJRP.py', 1), ('FitzRNS2.py', 1), ('KeigTSS.py', 1), ('ClarGE4.py', 1)]
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
a5951f67f2d24f9eb6ee99d86c9191910a281899
493e4405c421a897304c4d1227e7d91b83eb890f
/douappbook/spiders/rating.py
354499ca355f524682ab2213dff63c86eb0add07
[]
no_license
stipid/douappbook
7f94d2bde5e3ce1af87acb7636d0a038a39352ba
c9fac02e6713c0781f10ebcd985aa25370389432
refs/heads/master
2020-12-24T07:53:57.018981
2015-03-29T16:06:48
2015-03-29T16:06:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,871
py
# -*- coding: utf-8 -*- import random try: import simplejson as json except ImportError: import json import furl from scrapy import Request from douappbook.spiders import DoubanAppSpider from douappbook.items import RatingItem from douappbook.models import CrawledBook class RatingSpider(DoubanAppSpider): ...
[ "messense@icloud.com" ]
messense@icloud.com
2af8e8f2d3a6794386959b990b732044f55ab12a
acd41dc7e684eb2e58b6bef2b3e86950b8064945
/res/packages/scripts/scripts/common/Lib/plat-irix5/GLWS.py
307029b979ba39dee61a455577a638429f9d3b14
[]
no_license
webiumsk/WoT-0.9.18.0
e07acd08b33bfe7c73c910f5cb2a054a58a9beea
89979c1ad547f1a1bbb2189f5ee3b10685e9a216
refs/heads/master
2021-01-20T09:37:10.323406
2017-05-04T13:51:43
2017-05-04T13:51:43
90,268,530
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
635
py
# 2017.05.04 15:33:48 Střední Evropa (letní čas) # Embedded file name: scripts/common/Lib/plat-irix5/GLWS.py from warnings import warnpy3k warnpy3k('the GLWS module has been removed in Python 3.0', stacklevel=2) del warnpy3k NOERROR = 0 NOCONTEXT = -1 NODISPLAY = -2 NOWINDOW = -3 NOGRAPHICS = -4 NOTTOP = -5 NOVISUAL = ...
[ "info@webium.sk" ]
info@webium.sk
fc7cc0349b7e668b07121c37dddfc5b443caae69
2c8d3e341e813c1b1b88ae824edeaadb366aec0a
/Parser/SW4/SW4/bin/Debug/smo2-24-path-80.py
b17b6673c49fbaf99f0f2de598f08c667841d5b2
[]
no_license
kiriphorito/MoveAndTag-Manticore
2e24a958f4941556b2d2714563718069cc5b208f
d07a3d8c0bacf34cf5f433384a6fd45170896b7a
refs/heads/master
2021-01-20T11:40:49.232449
2017-02-26T14:08:48
2017-02-26T14:08:48
82,548,310
0
0
null
null
null
null
UTF-8
Python
false
false
33,851
py
#!/usr/bin/python # -*- coding: utf-8 -*- u""" @brief: Path Planning Sample Code with Randamized Rapidly-Exploring Random Trees (RRT) @author: AtsushiSakai @license: MIT """ import shapely from shapely.geometry import Polygon, LineString, Point, MultiPoint, GeometryCollection import matplotlib.pyplot as plt from as...
[ "zcabwhy@ucl.ac.uk" ]
zcabwhy@ucl.ac.uk
9d6fabcf0453c8517213f483a0dd28f5050d0ae6
0a11a15cf64e25585d28f484bb2118e8f858cfeb
/알고리즘/알고리즘문제/5097_회전.py
945a166c127ee3c6ff9b7e8a6fcbc6b7122dddeb
[]
no_license
seoul-ssafy-class-2-studyclub/GaYoung_SSAFY
7d9a44afd0dff13fe2ba21f76d0d99c082972116
23e0b491d95ffd9c7a74b7f3f74436fe71ed987d
refs/heads/master
2021-06-30T09:09:00.646827
2020-11-30T14:09:03
2020-11-30T14:09:03
197,476,649
2
1
null
null
null
null
UTF-8
Python
false
false
291
py
for t in range(int(input())): N, M = map(int, input().split()) data = list(map(int, input().split())) queue = [data.pop(0)] for m in range(M): data.append(queue.pop(0)) queue.append(data.pop(0)) result = queue.pop() print('#{} {}'.format(t+1, result))
[ "gyyoon4u@naver.com" ]
gyyoon4u@naver.com
2cf4092cdf82471b06620d69938f06d6c15b881c
a2cff5d93cfed6b85598992dbf8bba66f735ec65
/lesson01/flask-todo/venv/lib/python3.7/encodings/gb18030.py
b0546fa74af6a29211e1f34c9c9bc77e9ca8eba7
[]
no_license
UncleanlyCleric/Python_230
79091f68a2de3c07dabeed8b01838ba139b37d08
69f72d731d03b6c9e9976d623f10f1c2ab0abec7
refs/heads/master
2022-12-12T22:37:41.658498
2019-08-12T18:41:49
2019-08-12T18:41:49
192,572,930
0
0
null
null
null
null
UTF-8
Python
false
false
106
py
/usr/local/Cellar/python/3.7.2/Frameworks/Python.framework/Versions/3.7/lib/python3.7/encodings/gb18030.py
[ "junyatwin@gmail.com" ]
junyatwin@gmail.com
585733c3996bda61a1e80b9902673d6f8d8a8733
aa49120740b051eed9b7199340b371a9831c3050
/sum_submatrix.py
6b338ee7bb7f248c32506d5981c498d60b9ed51e
[]
no_license
ashutosh-narkar/LeetCode
cd8d75389e1ab730b34ecd860b317b331b1dfa97
b62862b90886f85c33271b881ac1365871731dcc
refs/heads/master
2021-05-07T08:37:42.536436
2017-11-22T05:18:23
2017-11-22T05:18:23
109,366,819
0
0
null
null
null
null
UTF-8
Python
false
false
956
py
#!/usr/bin/env python ''' Given a matrix, calculate the sum of a sub matrix given the start and end indices of the submatrix ''' def sumSubMatrix(matrix, start_row, start_col, end_row, end_col): if not matrix: return 0 nrows = len(matrix) ncols = len(matrix[0]) if start_row >= nrows or end_ro...
[ "ashutosh.narkar@one.verizon.com" ]
ashutosh.narkar@one.verizon.com
a27505cee0418d366016211fb8ed496916c44678
c80546df6a271db01c354d024d49a485066bb81c
/pyansys/_version.py
d7af32038ddfddcd9db097854b131e517734b9e6
[ "MIT" ]
permissive
csutjf/pyansys
6c5570c7b470b77ebfea7491881efd2dc08091c2
8b9487b72a5483d6d309832c9d48cff104d2edde
refs/heads/master
2020-06-08T20:32:34.208307
2019-06-19T14:25:52
2019-06-19T14:25:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
124
py
# major, minor, patch version_info = 0, 37, 2 # Nice string for the version __version__ = '.'.join(map(str, version_info))
[ "akascap@gmail.com" ]
akascap@gmail.com
66b191caad4cf439c094f78b09e6827e3a792f22
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02614/s684487359.py
15d0f66c289bf45b788f38685224357fa8c988e3
[]
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
368
py
H, W, K = map(int,input().split()) c = list(list(input()) for _ in range(H)) ans = 0 #bit演算 for i in range(2 ** H): for j in range(2 ** W): b = 0 for k in range(H): for l in range(W): #縦も横も塗らない色が黒のマスを数える if i >> k & 1 and j >> l & 1 and c[k][l] == "#": b += 1 if b == K: ans += 1 pr...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
aad1886a583a2c25a51b9c079489b8e629b94068
6fa0d5d3b61fbce01fad5a7dd50258c09298ee00
/Web/04_django/Open_API/MYFORM/articles/models.py
a6d857d2f7321697638dc293f00c179220437d9b
[]
no_license
athletejuan/TIL
c8e6bd9f7e2c6f999dbac759adcdb6b2959de384
16b854928af2f27d91ba140ebc1aec0007e5eb04
refs/heads/master
2023-02-19T13:59:06.495110
2022-03-23T15:08:04
2022-03-23T15:08:04
188,750,527
1
0
null
2023-02-15T22:54:50
2019-05-27T01:27:09
Python
UTF-8
Python
false
false
989
py
from django.db import models from imagekit.models import ProcessedImageField from imagekit.processors import ResizeToFill class Article(models.Model): title = models.CharField(max_length=30) content = models.TextField() image = ProcessedImageField( upload_to = 'articles/images', processors ...
[ "vanillasky84.0627@gmail.com" ]
vanillasky84.0627@gmail.com
fb076470f17938090d47bcac17fbac9b550f005e
150d9e4cee92be00251625b7f9ff231cc8306e9f
/largestNumberAtLeastTwiceofOthers.py
3318a94d71cdb4b6b3e595f6c4ced9a862df489b
[]
no_license
JerinPaulS/Python-Programs
0d3724ce277794be597104d9e8f8becb67282cb0
d0778178d89d39a93ddb9b95ca18706554eb7655
refs/heads/master
2022-05-12T02:18:12.599648
2022-04-20T18:02:15
2022-04-20T18:02:15
216,547,245
0
0
null
null
null
null
UTF-8
Python
false
false
1,346
py
''' 747. Largest Number At Least Twice of Others You are given an integer array nums where the largest integer is unique. Determine whether the largest element in the array is at least twice as much as every other number in the array. If it is, return the index of the largest element, or return -1 otherwise. Examp...
[ "jerinsprograms@gmail.com" ]
jerinsprograms@gmail.com
bd70f4a9e1704eac28e96fd1bf95f8f4f712a2b9
7453e69cda5f4d331ef5b6bb437c27c24579d62d
/event/migrations/0001_initial.py
9d6f8fcb08dc929724c9120d4e10448d7aeffe20
[]
no_license
jerinisready/learndjangogrouppehia1-eventmgt
f4ac4c24adae9b600ab45b3b4ab9b086fd3e2e00
6c5950169b98c97853ae467009cd51df01b855e0
refs/heads/master
2023-05-28T15:08:38.408981
2021-06-23T16:10:17
2021-06-23T16:10:17
379,661,553
0
0
null
null
null
null
UTF-8
Python
false
false
1,584
py
# Generated by Django 3.2.4 on 2021-06-22 15:16 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "=" ]
=
c5249c0a093f2ddbb7d8c22e6df76046a65bdef9
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_4341.py
a717937493c372c932eab5d25c3319c300f4ca6f
[]
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
82
py
# 3D scatterplots in sage point_list=[(0.,1.,2.), (2.,2.,3.)] point3d(point_list)
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
814857a6d92868a9798a1b515b876b382340c4cc
585fcfd09bcc37ad73c6f301cb8b16261a93df7e
/projects/scipy-master/scipy/ndimage/tests/test_ndimage.py
0be1331d8f3eeeb7c65960d40be8ebc15cdc59c8
[ "BSD-3-Clause", "MIT" ]
permissive
louisXW/Surrogate-Model
e9e8de3ab892eed2f8ed424e09b770e67126c1f3
65ec8a89c1b7a19d4c04c62e2c988340c96c69f8
refs/heads/master
2021-07-21T09:37:41.045898
2017-10-30T11:49:35
2017-10-30T11:49:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
201,089
py
# Copyright (C) 2003-2005 Peter J. Verveer # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following d...
[ "quanpan302@hotmail.com" ]
quanpan302@hotmail.com
9e2bc48ca7987ee41405b2bb7640150b642f890c
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/devhub/azure-mgmt-devhub/generated_samples/workflow_create_or_update_with_artifact_gen.py
ecfb1c28f4ed24b756066d1017b0909a8f5eae51
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
3,628
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" ]
Azure.noreply@github.com
9e6f9df4f4afbe859d1c4cf2103cc13eeaa21eab
1b5546e1fede94587fd2dabee0ef2695699cbab8
/hyperengine/impl/tensorflow/tensorflow_solver.py
d60c70b21aa3a2b44987826f248958282ca9fb84
[ "Apache-2.0" ]
permissive
4thepoch/hyper-engine
1998ba3f82d23eef732d278655ce1eb293478c20
5b73c5fd12ce0ca3f5038b41fd98bc52a1eccb34
refs/heads/master
2021-05-09T11:39:42.473874
2018-01-25T19:18:02
2018-01-25T19:18:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,304
py
#! /usr/bin/env python # -*- coding: utf-8 -*- __author__ = 'maxim' import tensorflow as tf from hyperengine.model import BaseSolver from tensorflow_model_io import TensorflowModelIO from tensorflow_runner import TensorflowRunner from tf_util import is_gpu_available class TensorflowSolver(BaseSolver): def __init...
[ "Maxim.Podkolzine@jetbrains.com" ]
Maxim.Podkolzine@jetbrains.com
3925aeff2a743c13635f13ac8542f6b8dbb46427
ff60aaabe366ebd8f60b8e0e66a86896553f32a3
/49.py
a639775083edc44ec4fc009a5395bdbfb396a086
[]
no_license
ramyasutraye/Python-6
cb2f55339f6b74dffe6f73551f3554703e17b673
1cc1c8a9f0045b72e1d55ef1bb3cf48d8df8612c
refs/heads/master
2020-04-12T02:05:21.861754
2018-09-21T19:02:29
2018-09-21T19:02:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
75
py
a=int(input("enter first no")) b=int(input("enter second no")) print(a+b)
[ "noreply@github.com" ]
ramyasutraye.noreply@github.com
cb518cf4285b1538c6a12b8b2b0d80ae2cf354a2
fab7b6e422b74424fb59398635f74faca9ff5a58
/waimak_extended_boundry/model_and_NSMC_build/targets/well_bulding_script.py
f2f0b033d08be8757829d48282d0a4eece8d3768
[]
no_license
hansonmcoombs/Waimakariri-Model-Ashley-to-Selwyn
c7a56a2ebd0d421c9679cb4a16ae319dfb2041b1
c96c2663b010975ec08d42840fbc7970f3c2b085
refs/heads/master
2023-05-29T10:57:33.916912
2020-04-23T21:32:21
2020-04-23T21:32:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
732
py
# -*- coding: utf-8 -*- """ Author: mattH Date Created: 25/07/2017 11:13 AM """ import pandas as pd import numpy as np import flopy_mh as flopy #this script was passed to brioch for inclusion in the pest optimisation process # the influx wells are presently set to 1 m3/s so the muliplier can range between 0 and 5 wel...
[ "hansonmcoombs@gmail.com" ]
hansonmcoombs@gmail.com
2d0866fa96eb9e8fcd6369fa07e38aeb1ef99bc5
bd40b576e3c1527826f09286ef6fd186d807c5e5
/Model/lookalike-model/lookalike_model/pipeline/main_trainready.py
0fc3247e0e8584b72adc8231b10f27715646a4ea
[ "Apache-2.0" ]
permissive
jimmylao/blue-marlin
7b48406a7b5486a97e51b30915e16be836f75eb2
0569bf19503286a9ba091e7f07bbbe1b204ae730
refs/heads/master
2021-12-03T09:24:41.536640
2021-07-21T00:59:06
2021-07-21T00:59:06
241,382,610
1
0
Apache-2.0
2020-02-18T14:29:44
2020-02-18T14:29:43
null
UTF-8
Python
false
false
10,512
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...
[ "reza_adib@yahoo.com" ]
reza_adib@yahoo.com
5054c56725b8cb769beb33ac7ddb17a6a1e7bf3d
7d8f344949755664850cf50c070e0442fecc3e89
/glynt/apps/graph/tests/__init__.py
dc2587af598ddf5ea373f85898672e9821bed266
[]
no_license
rosscdh/glynt
7ac24c74c3ddeee2f6af584f54f548c662a13f18
a6a083704f300ed2f9fa4cd4e666d07199f52d1e
refs/heads/master
2020-04-15T00:33:04.930549
2016-06-14T08:37:30
2016-06-14T08:37:30
4,831,016
0
0
null
null
null
null
UTF-8
Python
false
false
92
py
from test_linkedin_connections_service import * from test_linkedin_profile_service import *
[ "ross@lawpal.com" ]
ross@lawpal.com
781488f21981ce3a35f5823fd69ba77f85484509
f82e67dd5f496d9e6d42b4fad4fb92b6bfb7bf3e
/scripts/client/gui/dialogsinterface.py
01e537573c7b9639810015d345977ad9df740966
[]
no_license
webiumsk/WOT0.10.0
4e4413ed4e7b00e22fb85d25fdae9400cbb4e76b
a84f536c73f86d9e8fab559e97f88f99f2ad7e95
refs/heads/master
2021-01-09T21:55:00.662437
2015-10-23T20:46:45
2015-10-23T20:46:45
44,835,654
1
0
null
null
null
null
UTF-8
Python
false
false
1,750
py
# Embedded file name: scripts/client/gui/DialogsInterface.py from gui.Scaleform.Waiting import Waiting from gui.battle_control import g_sessionProvider from gui.shared import events, g_eventBus from gui.shared.utils.decorators import dialog from gui.shared.utils.functions import showInformationDialog, showConfirmDialog...
[ "info@webium.sk" ]
info@webium.sk
35356795d538348ce21e6b7b7d750bc012feb21d
29da2ca6def1270be13a3096685a8e5d82828dff
/CIM14/IEC61970/Dynamics/TurbineGovernors/TurbineGovernor.py
8395e78690c1c031b3d3c2f1fa248e1347a8fed4
[ "MIT" ]
permissive
rimbendhaou/PyCIM
75eb3bcd3729b2410c03f3d5c66d6f1e05e21df3
d578bb0bf1af344342bd23344385ed9c06c2d0ee
refs/heads/master
2022-04-28T01:16:12.673867
2020-04-16T02:19:09
2020-04-16T02:19:09
256,085,381
0
0
MIT
2020-04-16T02:15:20
2020-04-16T02:08:14
null
UTF-8
Python
false
false
1,608
py
# Copyright (C) 2010-2011 Richard Lincoln # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish...
[ "rwl@thinker.cable.virginmedia.net" ]
rwl@thinker.cable.virginmedia.net
599294b469224e38ff049081aca36eb3ce3d2e2f
bc441bb06b8948288f110af63feda4e798f30225
/pipeline_sdk/model/resource_manage/filter_condition_pb2.py
8ca58da50e2eaaea09cd76d058b1eaa644f6a04f
[ "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
true
4,173
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: filter_condition.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.pro...
[ "service@easyops.cn" ]
service@easyops.cn
1b6353b6528b8a595913455a59dab726fa53fa19
95eed88115075f7e1916a14de7497d05a12a9330
/abc106d.py
f7b6d1f202fe22e2ff2f13477e4221a8bc71c642
[]
no_license
ynagi2/atcoder
bdbbd030f1dd39e937b0872b028ce0f38372521e
e404f4500d837bfd6ca473aa2837f46ae71ad84a
refs/heads/master
2022-04-29T12:48:44.229462
2022-04-22T15:04:50
2022-04-22T15:04:50
241,098,529
0
0
null
null
null
null
UTF-8
Python
false
false
757
py
# pypyにする def main(): n, m, Q = map(int, input().split()) lr = [[0]*(n+1) for _ in range(n+1)] for _ in range(m): l, r = map(int, input().split()) lr[l][r] += 1 p = [] for _ in range(Q): _list = list(map(int, input().split())) p.append(_list) sums = [] for l...
[ "noreply@github.com" ]
ynagi2.noreply@github.com
b0df1d3b85cb9522c935158901ae2bddeaecc037
a2e1ade428b26fd9009d1ab9e6594f06755ec5a4
/src/saas/bkuser_shell/categories/serializers.py
7fce74839512a4fc3584e570c807f34b56a1f0c0
[ "MIT" ]
permissive
luyouli/bk-user
f285c5ee415cfc8769727b16e3d75ecce3b469d5
8ea590958a5c6dd3c71d0b72e1d4866ce327efda
refs/heads/master
2023-08-07T20:58:36.429072
2021-08-24T07:02:32
2021-08-24T07:02:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,716
py
# -*- coding: utf-8 -*- """ TencentBlueKing is pleased to support the open source community by making 蓝鲸智云-用户管理(Bk-User) available. Copyright (C) 2017-2021 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in compliance with the Lic...
[ "bluesedenyu@gmail.com" ]
bluesedenyu@gmail.com
a9b4edb83b779b911c53957fae262072b357d724
c426f269e8f7598d78b0a3bcc5629bfe447d12f6
/4_Interactive Programming Python (RICE)/MiniProjects/MiniProject3_StopWatch/MiniProject3_v02_user12_DNqZOhd30O_8.py
322dcf356f777ff0c51ef0d4d02f84a38c735015
[]
no_license
DmitryVakhrushev/Python
8d05d083f63822622f43ea5d873b98ef4e8cfd15
9dd2f37bcdce25a5cc0146adb4513ed2e539b650
refs/heads/master
2022-11-13T18:39:44.131820
2020-06-28T02:29:17
2020-06-28T02:29:17
243,847,823
0
0
null
null
null
null
UTF-8
Python
false
false
1,336
py
# template for "Stopwatch: The Game" import simplegui import time # define global variables curTime = 0 # define helper function format that converts time # in tenths of seconds into formatted string A:BC.D def format(t): minutes = str(t // 600) if ((t - (t//600)*600) // 10) < 10: seconds =...
[ "dm.vakhrushev@gmail.com" ]
dm.vakhrushev@gmail.com
145f4d44a7d58355228c02ba21b610bc4e85e637
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02619/s875095596.py
54f8a5836b379689a3036484bd7fc2bf077aa557
[]
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
434
py
import sys def input(): return sys.stdin.readline()[:-1] d = int(input()) c = list(map(int, input().split())) C = sum(c) s = [list(map(int, input().split())) for _ in range(d)] t = [int(input()) for _ in range(d)] def score(t): res = 0 minus = 0 last = [0 for _ in range(26)] for i, x in enumerate(t): minus += C...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
fbd1236ee2905d9e213d9ee829032acb53361778
20b4be7df5efeb8019356659c5d054f29f450aa1
/API/gdax/__init__.py
152d1b6d1e91f266693e8c11ceadc560286aec43
[ "Apache-2.0", "MIT" ]
permissive
kumars99/TradzQAI
75c4138e30796573d67a5f08d9674c1488feb8e4
1551321642b6749d9cf26caf2e822051a105b1a5
refs/heads/master
2020-03-29T20:14:45.562143
2018-09-25T16:07:21
2018-09-25T16:07:21
150,302,554
1
0
null
2018-09-25T17:17:54
2018-09-25T17:17:54
null
UTF-8
Python
false
false
174
py
from .authenticated_client import AuthenticatedClient from .public_client import PublicClient from .websocket_client import WebsocketClient from .order_book import OrderBook
[ "awakeproduction@hotmail.fr" ]
awakeproduction@hotmail.fr