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
21b001936a551d0079cac15d6447aed34ee234af
9e47e225afc65d246f32a19739df277a10c32800
/ch03/Greedy/Greedy.py
48462715ed3902430b75d88d28e73b5eeaff2e53
[]
no_license
DominKim/preparing_for_coding_test
4453676159a6b6eb7bd2b7def66b5f94a2935501
a4156c87dd574221b3094cd48eeda64029ccc4d4
refs/heads/main
2023-03-30T23:37:19.291634
2021-04-02T07:05:59
2021-04-02T07:05:59
325,210,997
0
0
null
null
null
null
UTF-8
Python
false
false
1,067
py
# 거스름돈 money = 1260 cnt = 0 # 큰 단위의 화폐부터 차례대로 확인 coin_types = [500, 100, 50, 10] for coin in coin_types: cnt += money // coin money %= coin print(cnt) # # 큰수의 법칙 # # N, M, K를 공백으로 구분하여 입력받기 # n, m, k = map(int, input().split()) # # n개의 수를 공백으로 구분하여 비력받기 # data = list(map(int, input().split())) # data.sort...
[ "hyungm3@gmail.com" ]
hyungm3@gmail.com
a5ee9a185f75f66e1838c336ec1590880d3593ac
a2d36e471988e0fae32e9a9d559204ebb065ab7f
/huaweicloud-sdk-live/huaweicloudsdklive/v1/model/delete_stream_forbidden_request.py
73a4307140ddadfc0f0e5908b1b014d5f0dd4317
[ "Apache-2.0" ]
permissive
zhouxy666/huaweicloud-sdk-python-v3
4d878a90b8e003875fc803a61414788e5e4c2c34
cc6f10a53205be4cb111d3ecfef8135ea804fa15
refs/heads/master
2023-09-02T07:41:12.605394
2021-11-12T03:20:11
2021-11-12T03:20:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,459
py
# coding: utf-8 import re import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class DeleteStreamForbiddenRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
285b53911d86d78dc411e3f0f97c73a54916e0fa
08c132bc63ebba2edebde139f7907953ae2fa04d
/Archived_Files/Old_FTDI_I2C/FTDI_MPSSE_I2C_PS/etc_i2c_ack.py
e1fcf73f7e5d8d5b55380b2493e8a5e017758b1d
[]
no_license
hudkmr/Code_Database
12b60d1b331b91e9dc990d63bd4603bb92d0bfe7
d80751c13bd30114af70d690ef8fc1a0d6368490
refs/heads/master
2021-01-21T12:49:47.564408
2015-07-30T02:28:07
2015-07-30T02:28:07
39,899,454
0
0
null
null
null
null
UTF-8
Python
false
false
269
py
#This Function enables MPSSE Mode and Initializes FTDI Device from etc_ftdi import MPSSE_I2C from etc_ftdi.etc_header import * from etc_ftdi.etc_i2c_cmds import * d=MPSSE_I2C(0) d.DevConf_I2C() data =INA219_Reg_RRead(d,(I2C_ADDR[0]<<1),INA219_REG[1]) print data
[ "hudkmr@gmail.com" ]
hudkmr@gmail.com
14216f49bd876d65e454069b8e36e3909a380bfa
e77a3618d0afe63a2f00d87b61c3f19d3eba10d8
/plugins/beebeeto/poc_2014_0122.py
49abe8668868c2b2add44c79288a62eaa18cac7c
[]
no_license
Explorer1092/coco
b54e88a527b29209de7c636833ac5d102514291b
15c5aba0972ac68dc4c874ddacf5986af5ac2a64
refs/heads/master
2020-05-31T07:03:19.277209
2019-01-29T14:36:45
2019-01-29T14:36:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,706
py
#!/usr/bin/env python # coding=utf-8 """ Site: http://www.beebeeto.com/ Framework: https://github.com/n0tr00t/Beebeeto-framework """ import re import urllib2 from baseframe import BaseFrame class MyPoc(BaseFrame): poc_info = { # poc相关信息 'poc': { 'id': 'poc-2014-0122', 'n...
[ "834430486@qq.com" ]
834430486@qq.com
9afdd54e4e3baf14d2ef573bbf012fac165dfe3e
9a819fc91e17ef9a44e45cf68e76cf696381d06d
/cdk_examples/cdk.out/asset.55ba3b8b8d89184457ac18d801909faf19cd79eb33a3f88065f548b4d8e69205/urllib3/contrib/pyopenssl.py
319558c1a7e14c94bf313e861d9c286de7fb2b1f
[]
no_license
Gautam3994/Dark-Knight
aef1d6383e0785130db75e80ed40f544a120579e
327b2d58851a42da1b707addea73e40fac6a61cc
refs/heads/master
2022-12-01T11:58:39.857379
2020-09-05T18:07:51
2020-09-05T18:07:55
203,866,327
0
1
null
2022-11-24T09:16:18
2019-08-22T20:14:43
Python
UTF-8
Python
false
false
16,445
py
""" SSL with SNI_-support for Python 2. Follow these instructions if you would like to verify SSL certificates in Python 2. Note, the default libraries do *not* do certificate checking; you need to do additional work to validate certificates yourself. This needs the following packages installed: * pyOpenSSL (tested w...
[ "gautam3994@gmail.com" ]
gautam3994@gmail.com
909829019a4b3091db2abbf655451a2c1f095c54
2af6a5c2d33e2046a1d25ae9dd66d349d3833940
/res/scripts/client/gui/scaleform/daapi/view/lobby/demonstratorwindow.py
29e6269045304bf655ef7541a720e2b923c3aee0
[]
no_license
webiumsk/WOT-0.9.12-CT
e6c8b5bb106fad71b5c3056ada59fb1aebc5f2b2
2506e34bd6634ad500b6501f4ed4f04af3f43fa0
refs/heads/master
2021-01-10T01:38:38.080814
2015-11-11T00:08:04
2015-11-11T00:08:04
45,803,240
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
1,729
py
# 2015.11.10 21:26:28 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/Scaleform/daapi/view/lobby/DemonstratorWindow.py import ArenaType from gui.Scaleform.daapi.view.meta.DemonstratorWindowMeta import DemonstratorWindowMeta from gui.prb_control.context import PrebattleAction from gui.prb_control.dis...
[ "info@webium.sk" ]
info@webium.sk
87c4e5b44c9428c9be3a822a6d945250918339d7
f82e67dd5f496d9e6d42b4fad4fb92b6bfb7bf3e
/scripts/client/gui/scaleform/daapi/view/lobby/techtree/research.py
369684b6beaf88b105411999cb9371079b260881
[]
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
5,426
py
# Embedded file name: scripts/client/gui/Scaleform/daapi/view/lobby/techtree/Research.py from gui.Scaleform.daapi.view.lobby.techtree.techtree_dp import g_techTreeDP import nations from CurrentVehicle import g_currentVehicle from constants import IS_DEVELOPMENT from debug_utils import LOG_DEBUG from items import getTyp...
[ "info@webium.sk" ]
info@webium.sk
b367b362ac2536236b3583a7ab751a9ceaeb620f
360558c34098ef95077e70a318cda7cb3895c6d9
/tests/test_observable/test_takelastwithtime.py
8209319d9ed22ff41246481e2ba2a76239c33aff
[ "Apache-2.0" ]
permissive
AlexMost/RxPY
8bcccf04fb5a0bab171aaec897e909ab8098b117
05cb14c72806dc41e243789c05f498dede11cebd
refs/heads/master
2021-01-15T07:53:20.515781
2016-03-04T04:53:10
2016-03-04T04:53:10
53,108,280
0
1
null
2016-03-04T04:50:00
2016-03-04T04:49:59
null
UTF-8
Python
false
false
4,385
py
import unittest from rx.observable import Observable from rx.testing import TestScheduler, ReactiveTest from rx.disposables import Disposable, SerialDisposable on_next = ReactiveTest.on_next on_completed = ReactiveTest.on_completed on_error = ReactiveTest.on_error subscribe = ReactiveTest.subscribe subscribed = React...
[ "dag@brattli.net" ]
dag@brattli.net
8a14fe86c06b5df58d9d3067ca3b251d0213f2b0
87dae6d55c66df1d40d6881272009319a1600cb3
/PROGRAMACION I TP 4 EJ 10.py
c887adfc58fb4153e0523162f7c1594ea31285a0
[]
no_license
abaldeg/EjerciciosPython
92a30a82c05ec75aa7f313c8a6fa0dd052a8db11
c8a3238587ebf6b10dbff32516c81bf00bb01630
refs/heads/master
2021-07-09T07:46:11.584855
2020-11-09T11:51:50
2020-11-09T11:51:50
210,438,930
0
0
null
null
null
null
UTF-8
Python
false
false
447
py
# Escribir un programa que permita ingresar una cadena de caracteres e imprima un # mensaje indicando cuántas letras y cuántos números contiene. Por ejemplo, si se # ingresa "Hola Mundo 123" debe indicar que se ingresaron 9 letras y 3 números cadena=input("Ingrese cadena: ") contcad=0 contnum=0 for c in cadena: if...
[ "abaldeg@gmail.com" ]
abaldeg@gmail.com
8f4351844bd5dbcb3069c6ca3d199ca7e5e5b707
71d3632c19ada5585223d4800f681718af0e1f87
/algorithm/day20/segment_tree.py
69ae0fb5dd97c4c44178d866bda556e231071647
[]
no_license
hyunwoo-song/TOT
640433b909913098699ff517698e71a1b8661cff
76a8c18af942d9ed3d636fcec35001ae70b6b8d2
refs/heads/master
2023-01-05T08:11:38.858134
2019-08-14T08:53:23
2019-08-14T08:53:23
162,208,482
0
0
null
null
null
null
UTF-8
Python
false
false
928
py
import sys sys.stdin= open('input.txt', 'r') IDT = [0]* (1<<5) Data=list(map(int, input().split())) howmany = len(Data) def update(a,b): # 3, 1 where = base + a -1 IDT[where] = b where >>= 1 while where: IDT[where] = IDT[where*2]+IDT[where*2+1] where >>= 1 def RSQ(ffrom, to): # 1, 4 ...
[ "gerrar486@gmail.com" ]
gerrar486@gmail.com
1e41010142e6ac04ee2adadcde110ed093ed749f
b78ab4063b763a562e5aa66d4f322cc1cb2f2534
/searching.py
320dfc68dd46b0afe4668d6f05edabb0912931f0
[]
no_license
Asmin75/Multiscraping
9b1528d5b5d7f3274f23e26ccd0810e55d42f61c
49ae9e8dec4c44deeeb6a04184ee58732c81ff79
refs/heads/master
2020-06-28T08:47:32.415293
2019-08-07T10:54:55
2019-08-07T10:54:55
200,191,683
0
0
null
null
null
null
UTF-8
Python
false
false
474
py
import json import re with open("items.json") as f: data = json.load(f) search = str(input("Enter word to find reference link:")) for item in data: value = list(item.values()) for i in range(len(v)): for j in range(len(value[i])): match = re.search(search, value[i...
[ "asminrai7@gmail.com" ]
asminrai7@gmail.com
39980dda09c00f6992a8346cb49f543c6c1d93f1
425db5a849281d333e68c26a26678e7c8ce11b66
/LeetCodeSolutions/LeetCode_0962.py
e1c4c403cef0f205b15efc9994dda52eabb2fd59
[ "MIT" ]
permissive
lih627/python-algorithm-templates
e8092b327a02506086414df41bbfb2af5d6b06dc
a61fd583e33a769b44ab758990625d3381793768
refs/heads/master
2021-07-23T17:10:43.814639
2021-01-21T17:14:55
2021-01-21T17:14:55
238,456,498
29
8
null
null
null
null
UTF-8
Python
false
false
503
py
class Solution: def maxWidthRamp(self, A: List[int]) -> int: ans = 0 stack = [] for idx, val in enumerate(A): if not stack or stack[-1][0] > val: stack.append([val, idx]) n = len(A) for i in range(n - 1, -1, -1): if stack and i == stack...
[ "lih627@outlook.com" ]
lih627@outlook.com
7ec32f6b5234c6cd0626687a749234d2c778ebce
6496d7ab505ab1df594d373c0c58206d580302f6
/valor_pagamento.py
92782ce8932ed4fdf33993cc87bd2053bfacc689
[]
no_license
alicesilva/P1-Python-Problemas
7050f323a073ff51c51cd94d451bddfac71bf30b
eade521a3c7f740bb901a6714385d91356a37835
refs/heads/master
2020-03-09T21:04:32.211493
2018-08-25T19:50:53
2018-08-25T19:50:53
129,000,364
0
0
null
null
null
null
UTF-8
Python
false
false
552
py
#coding: utf-8 def valorPagamento(): cont = 0 valores = [] while True: prestacao = float(raw_input()) if prestacao == 0: break dias = int(raw_input()) cont += 1 if dias == 0: valor = prestacao valores.append(valor) if dias != 0: multa = (prestacao * 3/ 100.0) juros_dia = (0.1 / 100.0 * dia...
[ "alice.silva@ccc.ufcg.edu.br" ]
alice.silva@ccc.ufcg.edu.br
cf963eda12f94448b484b1a8502f90bacddb9e5a
e03e59d67c96c1afa0a1c76e62235a3e3f639976
/django_test6multitab/manage.py
b010ebd6754dd46f16c8b1f27417bf501abe1b0d
[]
no_license
kangmihee/EX_python
10a63484802e6ff5454f12f7ade7e277dbf3df97
0a8dafe667f188cd89ef7f021823f6b4a9033dc0
refs/heads/master
2020-07-02T00:23:05.465127
2019-09-03T07:49:46
2019-09-03T07:49:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
661
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'django_test6multitab.settings') try: from django.core.management import execute_from_command_line except ImportError as ex...
[ "acorn@acorn-PC" ]
acorn@acorn-PC
9860475faab47ee479836e93509b091b07b5dcbb
312ab41033c2cb043d617d3e633c166503fd280c
/Informatikk/Bachelor/H2017/ITGK/Repitisjon/To-dimensjonale tabeller.py
80c790629736ced7a5ff876009ef2460fd2fcea7
[]
no_license
skanin/NTNU
cb9b833d9de0d504965979584370b8f353435cd1
e4023856f69060f8d3d09ff4990e29f7a75d98b1
refs/heads/master
2022-01-30T14:31:22.947512
2022-01-20T14:11:14
2022-01-20T14:11:14
113,476,017
4
1
null
null
null
null
UTF-8
Python
false
false
756
py
# Lage 10x10 matrise ''' tabell_10x10 = [[0 for col in range(10)] for row in range(10) ] print(tabell_10x10) ''' ''' def fillTable(table): number = 2 for y in range(0, len(table)): for x in range(0, len(table[y])): table[y][x] = number number += 2 return table print(fil...
[ "sander.b.lindberg@gmail.com" ]
sander.b.lindberg@gmail.com
7a03e699b8705e2611d4e4cd7e85ddd88fc066f2
3c88e65e76d8a41fca5bc469eb99117b996711f2
/pgadmin_old/pgadmin4-1.2/web/pgadmin/browser/server_groups/servers/tablespaces/tests/utils.py
9a96c702d9e12a90a4a4d848e1b06916e42b8afb
[ "PostgreSQL" ]
permissive
luvres/alpine
85591b77f0dbc328d89e028c22ef1479be33ffbe
05dc3e77cc8c454143525fed79e38bc38fc390f7
refs/heads/master
2021-01-11T15:48:48.478244
2017-10-31T15:30:32
2017-10-31T15:30:32
79,933,463
1
0
null
null
null
null
UTF-8
Python
false
false
4,323
py
# ################################################################# # # pgAdmin 4 - PostgreSQL Tools # # Copyright (C) 2013 - 2017, The pgAdmin Development Team # This software is released under the PostgreSQL Licence # # ################################################################## from __future__ import print_f...
[ "luvres@hotmail.com" ]
luvres@hotmail.com
10b425a8a68618c74ef0d34733af60aa5f56ba58
4c538430c1329455f2665d191b98b44cd3168b5f
/tracing/tracing/value/histogram_set_unittest.py
7eaa194d3275260c0357edba1904baed5de497a8
[ "BSD-3-Clause" ]
permissive
isabella232/catapult-csm
a0d7492e1485ef95670cbf68a028e72c5c648e3c
8f69b07e80198c1af0d5bd368d8ad8ced968884a
refs/heads/master
2023-03-13T00:03:27.064808
2017-09-01T00:54:32
2017-09-01T00:54:32
320,805,993
0
0
BSD-3-Clause
2021-02-23T22:37:25
2020-12-12T10:40:09
null
UTF-8
Python
false
false
6,915
py
# Copyright 2017 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import unittest from tracing.value import histogram from tracing.value import histogram_set from tracing.value.diagnostics import diagnostic_ref class His...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
744974a9d1207fea7729d86e9e1b48e28b617096
fa7c302f7df6b1773b27de3b742d551bd54aa4e2
/test/test_input_docker_registry_submission_endpoint_for_project.py
f647ecfbdb87e6ea70663ba9f6277337032486ee
[]
no_license
cons3rt/cons3rt-python-sdk
d01b3b174c295491130fba0d76d046b16492e9f7
f0bcb295735ac55bbe47448fcbd95d2c7beb3ec0
refs/heads/master
2021-11-04T02:31:54.485541
2021-10-26T19:28:57
2021-10-26T19:28:57
241,673,562
0
0
null
null
null
null
UTF-8
Python
false
false
1,133
py
# coding: utf-8 """ CONS3RT Web API A CONS3RT ReSTful API # noqa: E501 The version of the OpenAPI document: 1.0.0 Contact: Fred@gigagantic-server.com Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import cons3rt from cons3rt.models.inp...
[ "shaun.tarves@jackpinetech.com" ]
shaun.tarves@jackpinetech.com
0f06ed4ab4805d9e3c028573e13523a52606c3d1
a8e0d85cbd1f8b501f0604837fa491eb40f9f229
/dueros/directive/BaseDirective.py
8285971529b77f3880d71c7cc80706751b7e7c01
[ "MIT" ]
permissive
hotbaby/dueros-bot-sdk
762098aea62aa59c0e71e2e93dcc49f1a92335e2
196e19639905b44bbb1350f3731218247adb0fc4
refs/heads/master
2020-04-16T18:36:05.268904
2019-01-17T09:30:32
2019-01-17T09:30:32
165,827,127
0
1
null
null
null
null
UTF-8
Python
false
false
1,208
py
# encoding: utf8 """ 指令基类 """ import time import random import hashlib from dueros.Utils import Utils class BaseDirective(object): def __init__(self, directive_type): self.data = {} self.data['type'] = directive_type def gen_token(self): """ 生成Token md5(9位随机数+时间戳) 再截取md5后的字...
[ "mengyy_linux@163.com" ]
mengyy_linux@163.com
97a6c1850afe1b21e7621d024a254e42440bd9e4
fd529ba6ade52cd2a3dab94da01252d7ea90398d
/zerojudge/a225.py
675d2623f5896d8bcc02c4ad9c9783a6d70a140f
[]
no_license
fjfhfjfjgishbrk/AE401-Python
4a984deb0281542c205d72695285b35c7413338f
ee80fa4588b127cff2402fd81e732ede28a66411
refs/heads/master
2022-06-13T13:49:39.875567
2022-05-28T12:40:51
2022-05-28T12:40:51
251,178,163
0
0
null
null
null
null
UTF-8
Python
false
false
486
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed May 13 20:39 2020 @author: fdbfvuie """ while True: try: n = int(input()) numArray = input().split(" ") outArray = [[], [], [], [], [], [], [], [], [], []] for i in numArray: outArray[int(i[-1])].append(i...
[ "59891511+fjfhfjfjgishbrk@users.noreply.github.com" ]
59891511+fjfhfjfjgishbrk@users.noreply.github.com
ee12a4e7f45e03cf338971e406e28be282902ae2
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_067/ch119_2020_03_30_20_28_21_093881.py
6ed86eb0ff1d53b9e3dbbdeaae05cd732aac11b7
[]
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
352
py
def calcula_euler(x,n): e_x = 1 + x for i in range(1, n, 1): e_x = e_x + (x^2)/fatorial(x) #calculos return e_x def fatorial(x): a=x if(x==0) or (x==1): return 1 else: while(x>1): a = a*(x-1) ...
[ "you@example.com" ]
you@example.com
a24d80be962b976bdb864c8d2680e2b3408763a3
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02775/s804854659.py
a90b33b7758568bf5ce181ebf9a0fe5cdfa347fb
[]
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
257
py
N = input().replace("\n", "") L = len(N) dp = [[0 for _ in range(2)] for i in range(L+1)] dp[0][1] = 1 for i in range(L): n = int(N[i]) dp[i+1][0] = min(dp[i][0]+n, dp[i][1]+(10-n)) dp[i+1][1] = min(dp[i][0]+n+1, dp[i][1]+(9-n)) print(dp[L][0])
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
7bea49216a298d52c714072280ac5368044822c4
33ce95a46bad431fb9acde07f10f472c43533824
/list_as_stack_and_queues_exercise/cups_and_botlles.py
4dc87983571f0f8cbb1fb85383dad4480f9ed80c
[]
no_license
ivan-yosifov88/python_advanced
91dead1a44771a46e85cecdfc6b02e11c0cb4d91
21830aabc87eb28eb32bf3c070bf202b4740f628
refs/heads/main
2023-06-29T21:31:30.285019
2021-06-23T20:31:36
2021-06-23T20:31:36
342,571,734
1
0
null
null
null
null
UTF-8
Python
false
false
734
py
from collections import deque cup_for_fill = deque(map(int, input().split())) bottles_stack = list(map(int, input().split())) wasted_water = 0 is_bottles_over = False while cup_for_fill: if not bottles_stack: is_bottles_over = True break bottle = bottles_stack.pop() if bottle < cup_for_fi...
[ "ivan.yosifov88gmail.com" ]
ivan.yosifov88gmail.com
b39a132eb6c5a005731b8c94339441cb465d8c60
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/63/usersdata/170/28147/submittedfiles/swamee.py
7788c27bd130525a9dbc183d96e2d979a5de54eb
[]
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
490
py
# -*- coding: utf-8 -*- f=float(input('Digite o valor de f:')) L=float(input('Digite o valor de L:')) Q=float(input('Digite o valor de Q:')) DeltaH=float(input('Digite o valor de DeltaH:')) v=float(input('Digite o valor de v:')) g=9.81 e=0.000002 math.pi=3.14159 D=((8*f*L*Q*Q)/(math.pi*math.pi*g*DeltaH))**1/5 Rey=(4*Q)...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
b67ccbba39e098908d63c4a72a46b59816ab1645
2e936e64b42925ebc2e86eaa3d9171bfaf2d1605
/fpga/scripts/distortion/write_hex.py
0237da8f1815d8d31c6aea5ce7abd62732b1e6ac
[]
no_license
prashant87/visar
9ad06ff5e2f1d90238a846e22d03f401ef4c9f58
7cb82784d4b1c243935f047696f3d42e0c21be32
refs/heads/master
2021-05-29T18:50:05.756533
2015-06-11T19:34:03
2015-06-11T19:34:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
from __future__ import division import sys import ram_test import intelhex ih = intelhex.IntelHex(sys.argv[1]) rp = ram_test.RAMPoker() keys = sorted(set(x//4*4 for x in ih._buf)) for i, addr in enumerate(keys): if i % 1000 == 0: print "%.1f%%" % (100*i/len(keys),) rp.write(addr, ih._buf[addr] | (i...
[ "forrest@forre.st" ]
forrest@forre.st
2df6cb484846d4e521443034a0292ac8bd5e3dca
ebf9cf7f64cc19d9b717c40992d99c272707708f
/py3/asyncio_locks.py
c6ae03f507c0c03061761421f6b96950c633f9bb
[]
no_license
Laisky/HelloWorld
b6eac5f34813895cec2e07af44fcc6308214b9ab
56db8ab0c55b18a1a09774c04319dad526c8f116
refs/heads/master
2023-06-27T01:43:38.798483
2023-06-18T15:37:10
2023-06-18T15:37:10
24,983,292
12
10
null
2023-01-27T16:16:50
2014-10-09T09:54:11
HTML
UTF-8
Python
false
false
727
py
from asyncio import Condition, sleep, get_event_loop, wait async def workers(cond, i): print('shit') async with cond: print('worker {} is waiting'.format(i)) await cond.wait() print('worker {} done'.format(i)) async def main(): cond = Condition() fs = list([workers(cond, i) f...
[ "ppcelery@gmail.com" ]
ppcelery@gmail.com
4fca6852b26014faf4897cc2ce29d4a34339e57d
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/396/usersdata/294/81074/submittedfiles/av1_programa2.py
1976df41378e7dc83524d0222a80be7b8405c1ce
[]
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
1,046
py
# -*- coding: utf-8 -*- #COMECE AQUI ABAIXO n1= int(input('Digite o primeiro número: ')) n2= int(input('Digite o segundo número: ')) n3= int(input('Digite o terceiro número: ')) n4= int(input('Digite o quarto número: ')) n5= int(input('Digite o quinto número: ')) n6= int(input('Digite o sexto número: ')) s1= ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
cd329813af72132df45d7915b4029b01bf762529
bc233c24523f05708dd1e091dca817f9095e6bb5
/bitmovin_api_sdk/analytics/outputs/gcs_service_account/__init__.py
dbbaf97bdc6ac7860e6febc5bd8720d2157e1c79
[ "MIT" ]
permissive
bitmovin/bitmovin-api-sdk-python
e3d6cf8eb8bdad62cb83ec77c0fc4950b06b9cdd
b0860c0b1be7747cf22ad060985504da625255eb
refs/heads/main
2023-09-01T15:41:03.628720
2023-08-30T10:52:13
2023-08-30T10:52:13
175,209,828
13
14
MIT
2021-04-29T12:30:31
2019-03-12T12:47:18
Python
UTF-8
Python
false
false
389
py
from bitmovin_api_sdk.analytics.outputs.gcs_service_account.gcs_service_account_api import GcsServiceAccountApi from bitmovin_api_sdk.analytics.outputs.gcs_service_account.customdata.customdata_api import CustomdataApi from bitmovin_api_sdk.analytics.outputs.gcs_service_account.analytics_gcs_service_account_output_list...
[ "openapi@bitmovin.com" ]
openapi@bitmovin.com
8039e85e043de51fed3317defa409a39d6af23ea
ac63be61a1c62461f386fd6ae6ec03406c04e8c3
/cookiecutter/hooks/post_gen_project.py
7a8b037dd74e9d8aa50a6ba2da7b042292da9af6
[ "BSD-3-Clause" ]
permissive
dearith/resources
779e27a1f87abcf512da9ace3d7dfc78689e199c
fcc465c994601918ba7c5384727c2a4f909b2a65
refs/heads/master
2020-04-28T17:10:55.681084
2019-03-13T12:14:33
2019-03-13T12:14:33
175,436,782
0
0
null
2019-03-13T14:25:48
2019-03-13T14:25:48
null
UTF-8
Python
false
false
1,801
py
#!/usr/bin/env python3 import os import shutil def test_empty(path): try: with open(path, 'rb') as f: content = f.read().strip() if len(content) == 0: return True except Exception: pass return False paths_to_delete = [] for path in [os.path.join(x...
[ "fabien.marty@gmail.com" ]
fabien.marty@gmail.com
4c9c741538400d19471fc4bbd56492b69bd4cecd
4124f698610b5e4332bb05567ff36571899efd10
/tensorflow/python/autograph/pyct/static_analysis/type_inference_test.py
de71854d4fe03aea8f5cd8f50766eb21c511d3c2
[ "Apache-2.0" ]
permissive
chyj77/tensorflow
5c9ad21f43229801b00a412c0cf456ef90e3c8b8
2347da49433cd0c843587b72b8b90bbb33b369a2
refs/heads/master
2021-07-03T14:42:40.696687
2020-08-07T01:20:22
2020-08-07T01:20:22
129,882,884
0
0
Apache-2.0
2020-08-07T01:20:28
2018-04-17T09:49:33
C++
UTF-8
Python
false
false
17,154
py
# Copyright 2020 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
ef572f06175deb96fb96f4c9eeb9c1404aa99a56
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Games/got-tyrion-web/venv/Lib/site-packages/pip/_vendor/distlib/compat.py
3f73aac7bdd2cf0fc30c820ca6cebcc99e9d98b0
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:c5d3599aa14de47c05df41e3467e4ce35e69702da48174415e7efaef14bcbfe3 size 41404
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
02ea3f6218afccf2e338d7113f094671e9eadab2
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/0/a02.py
94db181c70f3701a05d6580d34299974113dd1d2
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
d9faf74d2469e0d80dd0fb5c9f76336b25066bb0
c59f419d95e92985c133b797fb2089c25b69283d
/ax/modelbridge/transforms/derelativize.py
0aab9162f2e223ed31a53545276df0f982c8248a
[ "MIT" ]
permissive
michaeldeyzel/Ax
8f9ede559e8087a7dec320b14d94955845de808e
16cb868911eecba323759e2e129df8833361e614
refs/heads/master
2022-12-24T17:27:36.576326
2020-09-30T23:48:25
2020-09-30T23:49:55
300,192,368
1
0
MIT
2020-10-01T07:45:32
2020-10-01T07:45:31
null
UTF-8
Python
false
false
3,011
py
#!/usr/bin/env python3 # 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. from typing import TYPE_CHECKING, Optional from ax.core.observation import ObservationFeatures from ax.core.optimizati...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
dd51156bf016141bd56426c5d89801a10ac94b64
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/testData/psi/RaiseFrom.py
0f9c322fd1a44669ac22929d9e7eebd70021f9ba
[ "Apache-2.0" ]
permissive
JetBrains/intellij-community
2ed226e200ecc17c037dcddd4a006de56cd43941
05dbd4575d01a213f3f4d69aa4968473f2536142
refs/heads/master
2023-09-03T17:06:37.560889
2023-09-03T11:51:00
2023-09-03T12:12:27
2,489,216
16,288
6,635
Apache-2.0
2023-09-12T07:41:58
2011-09-30T13:33:05
null
UTF-8
Python
false
false
27
py
raise SyntaxError from exc
[ "yole@jetbrains.com" ]
yole@jetbrains.com
12ab3d22ebbbde7f2fb3507e1b1351771ea1d2a5
70e047d748d503362cabc0f3ba50f3e103110ff4
/transaksi_rap/migrations/0002_auto_20160130_1545.py
c6274c73867c0eee21135ad48794ce71a44c2383
[]
no_license
gofur/AHS
621e7982df7c4fbd150e9427b7b408e122a38b07
b59cba9d29e4ef5e20bf2091a646cd7ec79c3c6f
refs/heads/master
2021-01-10T10:47:20.159642
2016-02-06T12:26:59
2016-02-06T12:26:59
49,955,489
0
0
null
null
null
null
UTF-8
Python
false
false
430
py
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2016-01-30 15:45 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('transaksi_rap', '0001_initial'), ] operations = [ migrations.AlterModelOptions( ...
[ "you@example.com" ]
you@example.com
8c38343f67f19ac66f39f4858d851bd82626ae97
81f6fd135813f3727576bd5d74acaf0469b53615
/phrase_api/api/glossary_term_translations_api.py
8dc84788eb72e1785f0e8c34491aadfacf08dcf6
[]
no_license
rlisowski/phrase-python
cb65ded1e80d1985aa95a4403c7aa3f012bd33b4
cbd6bf580a74140928b7536bb9b466d43276cc29
refs/heads/master
2023-06-18T09:24:43.916142
2021-07-15T14:21:58
2021-07-15T14:21:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
25,825
py
# coding: utf-8 """ Phrase API Reference The version of the OpenAPI document: 2.0.0 Contact: support@phrase.com Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import re # noqa: F401 # python 2 and python 3 compatibility library import six from phrase_api....
[ "support@phrase.com" ]
support@phrase.com
a7d9151d18413595700afdf9262f86f89a228ac5
12068d6ebe90fcbd13c635f35c23ce7c73884b12
/Lecture/Lecture_basic/emoticon.py
5d2b5182f9fefd3edcaf90a1ea46c081b5324a4f
[]
no_license
jngcii/python-algorithm
6ffb7a90eb0288cadc64bc3b2bf2d103455d2337
e976b0033beeeb14217e7acc8d67f201a79184f2
refs/heads/master
2020-04-21T09:09:13.353113
2020-01-23T17:36:02
2020-01-23T17:36:02
169,439,831
1
0
null
null
null
null
UTF-8
Python
false
false
407
py
# from collections import deque # check = [[False] * 1000 for _ range(1000)] # s = int(input()) # res = 0 # def bsf(x, cnt): # global res # if x[0] == s: res = min(res,cnt) # q = deque() # q.append(x) # check[x[0]][x[1]] = True # while q: # ns, nc = q.popleft() # ...
[ "concotree@gmail.com" ]
concotree@gmail.com
87996179ef76e8f039445e644a69410e02ab5fb7
e86d020f8ade86b86df6ad8590b4458a9d415491
/projects/test-crrr/base_scene/public/error.py
3f9352826e972b96adcb2c942d29fd1f4be28ce1
[]
no_license
g842995907/guops-know
e4c3b2d47e345db80c27d3ba821a13e6bf7191c3
0df4609f3986c8c9ec68188d6304d033e24b24c2
refs/heads/master
2022-12-05T11:39:48.172661
2019-09-05T12:35:32
2019-09-05T12:35:32
202,976,887
1
4
null
2022-11-22T02:57:53
2019-08-18T08:10:05
JavaScript
UTF-8
Python
false
false
203
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from base.utils.error import Error from base.utils.text import trans as _ error = Error( GATEWAY_NOT_FOUND=_('网关不存在'), )
[ "842995907@qq.com" ]
842995907@qq.com
dea3bc0b109b971914ec395ad20625aa91aa5568
54c08823016949aa23ff1d372cf70778e6f88758
/tests/pytorch/nn/modules/test_tril_matrix.py
25c70a4e4867b84382e884303e858eb4d422a08a
[ "MIT" ]
permissive
jCrompton/raylab
b4d41c446bc4d8d9ea42ebfdfad59c61956bfe98
9773d6fb942c06c65fe5297a8275f86649966abd
refs/heads/master
2022-11-05T21:59:06.704075
2020-06-08T15:36:20
2020-06-08T15:36:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
554
py
# pylint: disable=missing-docstring,redefined-outer-name,protected-access import pytest import torch from raylab.pytorch.nn import TrilMatrix @pytest.fixture(params=(1, 4, 10)) def in_features(request): return request.param @pytest.fixture(params=(1, 4, 10)) def matrix_dim(request): return request.param ...
[ "angelolovatto@gmail.com" ]
angelolovatto@gmail.com
8e09289c88c3ccf5b35dd4d68a92124637da42d9
3a5ea75a5039207104fd478fb69ac4664c3c3a46
/vega/networks/pytorch/ops/__init__.py
d31cca5edd2705a7fd488daef021eed6f8bf4811
[ "MIT" ]
permissive
fmsnew/vega
e3df25efa6af46073c441f41da4f2fdc4929fec5
8e0af84a57eca5745fe2db3d13075393838036bb
refs/heads/master
2023-06-10T04:47:11.661814
2021-06-26T07:45:30
2021-06-26T07:45:30
285,174,199
0
0
MIT
2020-08-11T14:19:09
2020-08-05T03:59:49
Python
UTF-8
Python
false
false
637
py
# -*- coding:utf-8 -*- # Copyright (C) 2020. Huawei Technologies Co., Ltd. All rights reserved. # This program is free software; you can redistribute it and/or modify # it under the terms of the MIT License. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the ...
[ "zhangjiajin@huawei.com" ]
zhangjiajin@huawei.com
18f9ba5e5730c5ef371bb60f6aabd1ae4417dd0f
4fc87c7c55d431943eba76caaa76cc889e99bd3f
/npf/contrib/userprofile/__init__.py
611c3ec6e19cc3380be6a1016e05532693c1f597
[]
no_license
Bonasolvo/npf-dev-roles
c774359b79642ae9ca2c82daeb0591677bd8e88c
dbde9493f2d23fd238dd3a6d8771bbbc5a650724
refs/heads/master
2016-09-01T05:35:50.246086
2015-12-15T07:02:40
2015-12-15T07:02:40
48,026,149
2
0
null
null
null
null
UTF-8
Python
false
false
69
py
default_app_config = 'npf.contrib.userprofile.apps.UserProfileConfig'
[ "tymashh@Mac-Tymashh.local" ]
tymashh@Mac-Tymashh.local
5332891f7b91a89455b24419f0f1f8779d11e824
4e29395020ce78f435e75e0b3f1e09b227f6f4d8
/ataraxia/inference/blued-d/python/rcnn/rcnn/symbol/symbol_resnet152.py
9f5614096e534b03c7ea0d44c248cf6511234677
[ "MIT", "BSD-2-Clause-Views", "LicenseRef-scancode-generic-cla", "Apache-2.0", "BSD-2-Clause" ]
permissive
luoyangustc/argus
8b332d94af331a2594f5b1715ef74a4dd98041ad
2ad0df5d7355c3b81484f6625b82530b38b248f3
refs/heads/master
2020-05-25T21:57:37.815370
2019-05-22T09:42:40
2019-05-22T09:42:40
188,005,059
5
3
null
null
null
null
UTF-8
Python
false
false
14,732
py
import mxnet as mx import proposal import proposal_target from rcnn.config import config eps = 2e-5 use_global_stats = True workspace = 512 res_deps = {'50': (3, 4, 6, 3), '101': (3, 4, 23, 3), '152': (3, 8, 36, 3), '200': (3, 24, 36, 3)} units = res_deps['152'] filter_list = [256, 512, 1024, 2048] def residual_unit...
[ "luoyang@qiniu.com" ]
luoyang@qiniu.com
4d11d04abf685b3d07a9fbc3685be87d2e5c4728
b1303152c3977a22ff9a0192c0c32310e65a6d77
/python/804.unique-morse-code-words.py
57eb4bc5848ec7d816453f863376797dbaf4d04d
[ "Apache-2.0" ]
permissive
stavanmehta/leetcode
1b8da1c2bfacaa76ddfb96b8dbce03bf08c54c27
1224e43ce29430c840e65daae3b343182e24709c
refs/heads/master
2021-07-15T16:02:16.107962
2021-06-24T05:39:14
2021-06-24T05:39:14
201,658,706
0
0
Apache-2.0
2021-06-24T05:39:15
2019-08-10T16:59:32
Java
UTF-8
Python
false
false
92
py
class Solution: def uniqueMorseRepresentations(self, words: List[str]) -> int:
[ "noreply@github.com" ]
stavanmehta.noreply@github.com
48b371874514d84430034214336023e44314a0b3
3ab494cac87a9f3c5ba17c903ffdbba7e72c305f
/algorithm/restart/p1.py
db1a0331cf6e10f7aed62542078876e59c7f578f
[]
no_license
sochic2/TIL
6036cae002ce4c4ba5e7d2175e668c664de209de
eb2709f5ac1a4b9c79dda0e647f14044c7a4fb6e
refs/heads/master
2023-01-10T03:51:14.057387
2022-12-21T01:27:38
2022-12-21T01:27:38
162,229,719
4
1
null
2023-01-09T11:56:04
2018-12-18T04:23:54
Python
UTF-8
Python
false
false
1,459
py
import sys sys.stdin = open('p1.txt') def check(arr, cnt): global N, mmin if cnt > 5: return if cnt != 0: if arr == cardarr: return if cnt >= mmin: return if arr == sorted(arr) or arr == sorted(arr, reverse=True): if cnt <= mmin: mmin = cnt ...
[ "netzzang12@gmail.com" ]
netzzang12@gmail.com
dcd6cc3c8aa68a6b4163694a2a0979a696efb36b
a55a5945b275d4b9383a3057b9a58aaffe5676ad
/neovim/msgpack_stream.py
44777d89e60936f7f0ca66a5fe4b07a07e0cad26
[ "Apache-2.0" ]
permissive
kryskool/python-client
606a531c2d884cbeab429bc333f88e32fbf98f5e
41574267865f6de0b30bbff53eabccf1a1139b79
refs/heads/master
2021-01-18T03:39:06.783173
2014-09-14T12:49:52
2014-09-14T12:49:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,574
py
import msgpack, logging logger = logging.getLogger(__name__) debug, warn = (logger.debug, logger.warn,) class MsgpackStream(object): def __init__(self, stream): def default(obj): return obj._handle def ext_hook(code, data): klass = self.types[code] rv = klass(s...
[ "tpadilha84@gmail.com" ]
tpadilha84@gmail.com
52e5e75c737fde369884adcd8224c866ff80b40d
f4310ec244e99e8afe61defecc4320eb6b50290a
/Store/migrations/0004_comprasweb_hash.py
a6f04a517309d87533f614d6764839812470e90b
[]
no_license
jurdin32/eraly2
2fceedafedeb2d7bae383414d8481d924401de23
40383bd61dc7f8425832ba4c1c75a4299042f1af
refs/heads/main
2023-05-10T11:37:35.783085
2021-06-04T19:45:18
2021-06-04T19:45:18
313,663,365
2
0
null
null
null
null
UTF-8
Python
false
false
418
py
# Generated by Django 3.1.3 on 2021-04-03 18:02 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Store', '0003_comprasweb_detallecompraweb'), ] operations = [ migrations.AddField( model_name='comprasweb', name='ha...
[ "urdin32@gmail.com" ]
urdin32@gmail.com
8303637b5b49f6db8e355fd2f07abd0cbb14087b
7bededcada9271d92f34da6dae7088f3faf61c02
/pypureclient/flashblade/FB_2_3/models/target_response.py
65c90e4b3aa1f263a78276bba0f186f130a7331b
[ "BSD-2-Clause" ]
permissive
PureStorage-OpenConnect/py-pure-client
a5348c6a153f8c809d6e3cf734d95d6946c5f659
7e3c3ec1d639fb004627e94d3d63a6fdc141ae1e
refs/heads/master
2023-09-04T10:59:03.009972
2023-08-25T07:40:41
2023-08-25T07:40:41
160,391,444
18
29
BSD-2-Clause
2023-09-08T09:08:30
2018-12-04T17:02:51
Python
UTF-8
Python
false
false
3,131
py
# coding: utf-8 """ FlashBlade REST API A lightweight client for FlashBlade REST API 2.3, developed by Pure Storage, Inc. (http://www.purestorage.com/). OpenAPI spec version: 2.3 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import typ...
[ "ashahid@purestorage.com" ]
ashahid@purestorage.com
0864f4f1e206a1d0760128acbfbb233e1722fc96
747f759311d404af31c0f80029e88098193f6269
/addons/ecommerce/sale_order/__init__.py
0a3876b4a1c6e4c3bd761de4ea041f3b70ee50e2
[]
no_license
sgeerish/sirr_production
9b0d0f7804a928c0c582ddb4ccb7fcc084469a18
1081f3a5ff8864a31b2dcd89406fac076a908e78
refs/heads/master
2020-05-19T07:21:37.047958
2013-09-15T13:03:36
2013-09-15T13:03:36
9,648,444
0
1
null
null
null
null
UTF-8
Python
false
false
70
py
/home/openerp/production/extra-addons/ecommerce/sale_order/__init__.py
[ "geerish@omerp.net" ]
geerish@omerp.net
df5ecb4acaa39d075ee0db868f116d9f3b25198c
c87111c276b33c3ebc4f98353ccdd7c7350bebe4
/知乎爬取图片/zhihu.py
cfb491425b00fc934320907dc4a0be476ccd6c0c
[]
no_license
dingChangmao/happy_train
de5f737aa9233d55b726a6cc0d1043f1e9b1ebbe
07405ad8c3c69b2747d22ef33abce2e71bc4f709
refs/heads/master
2020-05-25T03:22:55.376577
2019-05-20T08:45:17
2019-05-20T08:45:17
187,600,329
2
0
null
null
null
null
UTF-8
Python
false
false
909
py
import time import re from selenium import webdriver import urllib.request """ 爬妹子图片,资源重在分享,欢迎广大基友给我分享资源!!!! 请直接告诉我地址,我就喜欢直接点!!!!! """ driver = webdriver.Chrome() driver.maximize_window() driver.get("https://www.zhihu.com/question/29134042") i = 0 while i < 10: driver.execute_script("window.scrollTo(0, document.b...
[ "you@example.com" ]
you@example.com
97a360d66f9fb67d6702f0d4bda816ba93328881
278d7f4467a112416d1adfbcd3218033ff0fd9b3
/mmdet/models/losses/balanced_l1_loss.py
64c7911ea45143104248f44a2413700cb43c80a1
[]
no_license
Young-1217/detection
e3d67938b454e955b5b7a82d5ae222e62f9545fb
6760288dac92e00ddc3e813ed0e1363c1fa1ce2d
refs/heads/main
2023-06-01T21:41:37.998947
2021-06-21T10:03:01
2021-06-21T10:03:01
371,868,683
0
0
null
null
null
null
UTF-8
Python
false
false
4,234
py
import numpy as np import torch import torch.nn as nn from ..builder import LOSSES from .utils import weighted_loss @weighted_loss def balanced_l1_loss(pred, target, beta=1.0, alpha=0.5, gamma=1.5, ...
[ "noreply@github.com" ]
Young-1217.noreply@github.com
8bfd39668e588f94c16d342e6a432e84d198a7ad
f95e04490fb00d21d7760299175c718ff6b7195c
/akshare/reits/__init__.py
d7ae6cedf6ca373a5c38cc6241716f71e45c54a2
[ "MIT" ]
permissive
wanghan0501/akshare
2dec49f84e30168d3f271404dd10f2f17bbad779
b0eaa82c2ae387ef967b96503e58572366a625f2
refs/heads/master
2023-06-27T23:50:56.737798
2021-08-03T08:53:51
2021-08-03T08:53:51
392,156,076
0
0
MIT
2021-08-03T02:05:53
2021-08-03T02:05:52
null
UTF-8
Python
false
false
82
py
# -*- coding:utf-8 -*- # /usr/bin/env python """ Date: 2021/6/22 16:38 Desc: """
[ "jindaxiang@163.com" ]
jindaxiang@163.com
7d0203a047ae27695396b5d8ee8dfbb1d4a58e77
c474214f51cd421b5918c0735ac82eecae913417
/mysite2/mysite2/settings.py
5d127e80ee64c02eeb4a5f6cf2654e47b4438e64
[]
no_license
825644691/chouti_instance
701523b9fa14e4efb1b214bbba0afd4784622993
3eff3df7b0700006c886c22ff680858d69d4e1e5
refs/heads/master
2020-06-04T05:06:03.995903
2019-06-14T05:37:15
2019-06-14T05:37:15
187,785,154
0
0
null
null
null
null
UTF-8
Python
false
false
3,091
py
""" Django settings for mysite2 project. Generated by 'django-admin startproject' using Django 2.2.1. 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/ """ import os #...
[ "825644691@qq.com" ]
825644691@qq.com
54b1a4a59a73a04d50c8eb7d2edd960ae910eda8
39c485a9c4446b36c79d026ec6671809d97f04d8
/apps/render/clean.py
fa3404143fbce11c2136f509c3d1383dac265887
[]
no_license
kaitlin/HollaBackDC
2682ff20b3613cef02b686e298d62781243cb05f
1956aeaba95fb16718f4a24ec9217ef1107b9fcf
refs/heads/master
2021-01-19T06:18:08.520250
2010-10-09T22:12:49
2010-10-09T22:12:49
412,397
3
0
null
null
null
null
UTF-8
Python
false
false
223
py
# -*- coding: utf-8 def normalize_html(data): """ Apply tidy cleanup for data which should be in unicode """ from BeautifulSoup import BeautifulSoup soup = BeautifulSoup(data) return unicode(soup)
[ "kaitlin@kaitlin-laptop.(none)" ]
kaitlin@kaitlin-laptop.(none)
3627ed31e44d04f48f5c6e871e66ee0a1ad38166
92f14ab391d096de2e97d3b316af4b3900386736
/flappy.py
cab46183327e75ebe9058171693109782852e4ee
[]
no_license
sharmaji27/NEAT-Flappy-Bird
600f7dd295e66aebd2875ef270e5aa802a7f4633
1190c04a33f4a09650ff74ef1c47b56ce24b3d80
refs/heads/master
2021-10-25T02:32:37.931757
2021-10-20T05:43:43
2021-10-20T05:43:43
224,143,507
1
0
null
null
null
null
UTF-8
Python
false
false
10,775
py
import pygame import time import neat import os import random pygame.font.init() # some initialization to use font in pygame WIN_HEIGHT = 800 WIN_WIDTH = 500 DRAW_LINES = True GEN = 0 # declaring generation variable pygame.display.set_caption("Flappy Bird") # importing the images of birds, pipes, background and ba...
[ "asharma70420@gmail.com" ]
asharma70420@gmail.com
cb272f88d80dacd36420a0d1d456ae3ea19b0c21
265836c043fef2e1bd1d54ec6021666cf021af93
/src/settings.py
5ae3e479547a09e88e3677d903e450e2926cb5ca
[ "MIT" ]
permissive
chakki-works/maccha
f35e05f518ae978d11f3c237a36e816040ebe4ac
2930ede5b70eaed3fca66ec5a629ed4d9b33e7bb
refs/heads/master
2021-01-19T09:24:13.603011
2017-04-20T07:47:23
2017-04-20T07:47:23
87,756,852
9
0
null
null
null
null
UTF-8
Python
false
false
224
py
import os vec_path = os.path.join(os.path.dirname(__file__), '../data/word_vectors.txt') vocab_path = os.path.join(os.path.dirname(__file__), '../data/vocab.dic') dic_path = '/usr/local/lib/mecab/dic/mecab-ipadic-neologd/'
[ "light.tree.1.13@gmail.com" ]
light.tree.1.13@gmail.com
cc8275a96a3f24ea10e6454ae16f544aeae5848e
ee4db47ccecd23559b3b6f3fce1822c9e5982a56
/Build Chatbots/FeatureDict.py
73b97741c2657a860fd363ea384d8261e4212ec1
[]
no_license
meoclark/Data-Science-DropBox
d51e5da75569626affc89fdcca1975bed15422fd
5f365cedc8d0a780abeb4e595cd0d90113a75d9d
refs/heads/master
2022-10-30T08:43:22.502408
2020-06-16T19:45:05
2020-06-16T19:45:05
265,558,242
0
1
null
null
null
null
UTF-8
Python
false
false
619
py
from preprocessing import preprocess_text # Define create_features_dictionary() below: training_documents = ["Five fantastic fish flew off to find faraway functions.", "Maybe find another five fantastic fish?", "Find my fish with a function please!"] def create_features_dictionary(documents): features_dictionary ...
[ "oluchukwuegbo@gmail.com" ]
oluchukwuegbo@gmail.com
93b2be0728be24c23df8ad97e5859b0cda02872e
ac0aaa583a1f11c8f1d0ffe3cf8df3eb1622a85a
/tests/test_percentile.py
1aa36df32ff41c9dab0683d7115d7594ff8078c0
[]
no_license
code-fabriek/rejected
ba5370e572e062651368aab9934aabb50e43527c
6aaf33f822d1eb877d31488af342ee676f2299fa
refs/heads/master
2021-08-29T10:32:18.332823
2017-11-28T01:51:16
2017-11-28T01:51:16
109,014,166
0
0
null
2017-10-31T15:19:11
2017-10-31T15:19:10
null
UTF-8
Python
false
false
619
py
import unittest from rejected import utils class PercentileTestCase(unittest.TestCase): def test_90th(self): values = [43, 54, 56, 61, 62, 66, 68, 69, 69, 70, 71, 72, 77, 78, 79, 85, 87, 88, 89, 93, 95, 96, 98, 99, 99] self.assertEqual(utils.percentile(values, 90), 98) def...
[ "gavinr@aweber.com" ]
gavinr@aweber.com
531f01dd20a3b855326d41d77f5c28e6ccf188db
2e70b3ce93762c5b66fba57f8b9cba37aacf0702
/new/event/migrations/0040_auto_20190522_2358.py
d642a4859f474327ed30bf94505687c50d0e494d
[]
no_license
mahidul-islam/jamah
02be511fe119e8934ec7d5aa1eaa8e2b24fad246
c8ddf9a8094d33e8b1d6cb834eab3d9f18b1a9ea
refs/heads/master
2022-05-13T15:11:38.609550
2019-06-08T04:52:09
2019-06-08T04:52:09
184,331,276
2
0
null
2022-04-22T21:27:18
2019-04-30T21:04:06
Python
UTF-8
Python
false
false
381
py
# Generated by Django 2.2.1 on 2019-05-22 23:58 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('event', '0039_auto_20190522_2358'), ] operations = [ migrations.RenameField( model_name='cost', old_name='needed_approve', ...
[ "mizihan84@gmail.com" ]
mizihan84@gmail.com
3fc56e5ae778dbf1d1fabf5933b7695970ea8f15
b1b4dc2c530b56a9abbc6b144c3ca3f5a6d11e70
/django_/example/chat/apps/chat/models.py
fc37696ebf1f76ebe371b870727116d4189892e0
[]
no_license
BorisovDima/_ex
d38cff25575bfc6d1906940d40091fb6946cd829
6c14d661b8e051f8ec385cb09997da1fa781431a
refs/heads/master
2020-05-07T18:13:38.304305
2019-08-23T10:59:09
2019-08-23T10:59:09
180,757,813
0
0
null
null
null
null
UTF-8
Python
false
false
2,617
py
from django.db import models from chat.apps.core.models import BaseChatModel from django.db.models import Count from django.utils import timezone class RoomManager(models.Manager): def get_or_create_dialog(self, author, user): dialogs = self.get_dialogs().filter(users__id=author.id).filter(users__id=user....
[ "you@example.com" ]
you@example.com
2e65eec1daf8f90651ea5e0a4f90a9979b5b09a4
b2e2332dcc998e33ac02c9c2fef1cea05a56457e
/hrf/trf2.py
91bd0d43968b85575b772bfbf14593b3b9e8784d
[ "Apache-2.0" ]
permissive
thu-spmi/semi-EBM
db43a7ce2b9b8dcbc56ffbc7aa21102cb8160cf4
393e3ea3566dd60c48872a5c573a335e8e802707
refs/heads/main
2023-08-31T03:20:19.830127
2021-09-12T07:04:17
2021-09-12T07:04:17
405,569,165
3
1
Apache-2.0
2021-09-12T07:04:17
2021-09-12T06:51:30
null
UTF-8
Python
false
false
3,931
py
import tensorflow as tf import os import json import time from copy import deepcopy from collections import OrderedDict from base import * from lm import * from . import crf, pot, tagphi, mixphi, trf, mcmc class Config(trf.Config): def __init__(self, data): super().__init__(data) ...
[ "maxwellzh@outlook.com" ]
maxwellzh@outlook.com
508f13e80d498f2f9155c6f81beb51f28d8eb962
2c8e29fc048acaacfb84cc66e7690c0b75949a8b
/boneless/test/smoke.py
641d7ac0fd3681a87c277c397eea5079b9eb80e0
[ "0BSD", "Apache-2.0" ]
permissive
Lucretiel/Boneless-CPU
f14fbedb20aac2c9a4b3dda92e7c22735a506b85
ee53f37792a9bf679a617657aedb71102b4a74f5
refs/heads/master
2021-05-21T08:07:37.337220
2019-11-11T11:46:47
2019-11-11T11:46:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,466
py
from abc import ABCMeta, abstractmethod import functools import traceback import sys from ..arch.opcode import * def simulation_test(case): @functools.wraps(case) def wrapper(self): try: self.run_simulator(case) except AssertionError as error: error.__traceback__ = Non...
[ "whitequark@whitequark.org" ]
whitequark@whitequark.org
b00532df18e56d37190a373c25f977ae5fdc9f26
474e74c654916d0a1b0311fc80eff206968539b1
/venv/Lib/site-packages/aspose_words_cloud-19.9.2-py2.7.egg/asposewordscloud/models/document.py
83012a270c50de15a9806ca09261fa2c582a0b5b
[]
no_license
viktor-tchemodanov/Training_Tasks_Python_Cloud
4592cf61c2f017b314a009c135340b18fa23fc8f
b7e6afab4e9b76bc817ef216f12d2088447bd4cd
refs/heads/master
2020-09-04T10:39:23.023363
2019-11-05T10:36:45
2019-11-05T10:36:45
219,712,295
0
0
null
null
null
null
UTF-8
Python
false
false
10,009
py
# coding: utf-8 # ----------------------------------------------------------------------------------- # <copyright company="Aspose" file="Document.py"> # Copyright (c) 2019 Aspose.Words for Cloud # </copyright> # <summary> # Permission is hereby granted, free of charge, to any person obtaining a copy # of this sof...
[ "vtchemodanov@hotmail.com" ]
vtchemodanov@hotmail.com
bbbd3ae4928bc5f8a4258668f05a63439266f650
5864e86954a221d52d4fa83a607c71bacf201c5a
/eve/client/script/parklife/overviewPresetSvc.py
14ca5ef77c5ac226f09c901ef56ede732734c416
[]
no_license
connoryang/1v1dec
e9a2303a01e5a26bf14159112b112be81a6560fd
404f2cebf13b311e754d45206008918881496370
refs/heads/master
2021-05-04T02:34:59.627529
2016-10-19T08:56:26
2016-10-19T08:56:26
71,334,417
0
0
null
null
null
null
UTF-8
Python
false
false
29,640
py
#Embedded file name: e:\jenkins\workspace\client_SERENITY\branches\release\SERENITY\eve\client\script\parklife\overviewPresetSvc.py from eve.client.script.parklife import tacticalConst from service import Service import util import form import uiutil import localization import carbonui.const as uiconst import yaml impo...
[ "le02005@163.com" ]
le02005@163.com
4e93df250aa72146b1094751bbf761a93b11f291
82c54cab8e0c5b73e1fdb9615296613cc43929a0
/twitter_user/views.py
df9c765cec4c696a638613198967195e7cf8a68b
[]
no_license
creechcorbin/twitter_clone
e4146657bd13043544f846c48b34fe83e90e91da
bd075bd53fd9e5558cda85ade86ed9995f72118c
refs/heads/master
2022-12-10T09:23:37.036180
2020-09-05T03:23:32
2020-09-05T03:23:32
292,993,852
0
0
null
2020-09-09T01:08:27
2020-09-05T03:22:43
Python
UTF-8
Python
false
false
1,149
py
from django.shortcuts import render, HttpResponseRedirect, reverse from tweet.models import Tweet from twitter_user.models import TwitterUser # Create your views here. def profile_view(request, user_name): tweets = Tweet.objects.all().order_by('-time_posted') selected_user = TwitterUser.objects.get(username=u...
[ "creechcorbin@gmail.com" ]
creechcorbin@gmail.com
1bb1a87b3fe837a58f962994edb5fdd70053a7ce
20ace38b89c0ebaa0738753fcd11b0fdd4ed21cd
/VNAnalysis_v0/crab_projects/crab_pPb2016_Pbp_Ks/inputs/PSetDump.py
865c5b011236d89d29759cf407030172f58b5eff
[]
no_license
ssanders50/pPb_2016_v0
3c32c2920067a2f8a0a7a7fadba6225babf9a905
9fc4ae61cf4343c88ce6666f55c0738f963754a3
refs/heads/master
2020-12-12T16:30:41.253014
2020-02-14T21:51:17
2020-02-14T21:51:17
234,162,163
1
0
null
null
null
null
UTF-8
Python
false
false
770,734
py
import FWCore.ParameterSet.Config as cms process = cms.Process("vnanal") process.source = cms.Source("PoolSource", fileNames = cms.untracked.vstring('root://cmsxrootd.fnal.gov//store/user/davidlw/PAHighMultiplicity0/RecoSkim2016_pPb_V0Cascade_v1/170301_201930/0000/pPb_HM_28.root'), inputCommands = cms.untrack...
[ "ssanders@ku.edu" ]
ssanders@ku.edu
2c74e87fae44424d636039ad0c52e8295d457c05
c5ab0f9f6e9b46213c5ab0ff809a6188c408da3f
/project_s/Accounts/managers.py
f737eca1a08af9c8a645a8285605feb900b55b07
[]
no_license
jyywong/Project_S
a769576a9fbeaf8cfbf6a5e0bc351a615344b459
951db67dd7777ebcfdebb83ecc796482a3b00741
refs/heads/master
2023-02-07T17:00:53.911677
2020-12-26T22:58:58
2020-12-26T22:58:58
320,895,670
1
0
null
null
null
null
UTF-8
Python
false
false
1,108
py
from django.contrib.auth.models import BaseUserManager class CustomUserManager(BaseUserManager): def create_user(self, username, email, password, **extra_fields): if not email: raise ValueError(('The email must be set')) username = username email = self.normalize_email(email) ...
[ "wong.jonathan1@gmail.com" ]
wong.jonathan1@gmail.com
563364aeb42a614344859c4846dd91fbbe5a66ef
bb6ebff7a7f6140903d37905c350954ff6599091
/components/usb_service.gypi
33b38a6dd98dcf5e24d87a839d602abd1e01af90
[ "BSD-3-Clause" ]
permissive
PDi-Communication-Systems-Inc/lollipop_external_chromium_org
faa6602bd6bfd9b9b6277ce3cd16df0bd26e7f2f
ccadf4e63dd34be157281f53fe213d09a8c66d2c
refs/heads/master
2022-12-23T18:07:04.568931
2016-04-11T16:03:36
2016-04-11T16:03:36
53,677,925
0
1
BSD-3-Clause
2022-12-09T23:46:46
2016-03-11T15:49:07
C++
UTF-8
Python
false
false
1,379
gypi
# Copyright 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'targets': [{ 'target_name': 'usb_service', 'type': '<(component)', 'dependencies': [ '../base/base.gyp:base', '../base/third_par...
[ "mrobbeloth@pdiarm.com" ]
mrobbeloth@pdiarm.com
9bb4b193f163fe83a1fd81f3904b13163ffa37cf
47ef6997d03f4d5c921c83cc09aef1dfc6828e2c
/zeus/modules/operators/quant/__init__.py
9b5986bd365af43f3bd6de09eeee4e61560515df
[ "MIT" ]
permissive
huawei-noah/xingtian
620c9f245183d636e0a65659fd99a984397ecbd4
e4ef3a1c92d19d1d08c3ef0e2156b6fecefdbe04
refs/heads/master
2023-09-03T01:10:21.768245
2022-03-21T03:39:39
2022-03-21T03:39:39
287,759,621
308
91
MIT
2023-09-12T11:33:22
2020-08-15T14:13:06
Python
UTF-8
Python
false
false
138
py
import zeus if zeus.is_tf_backend(): from .tensorflow_quant import * elif zeus.is_torch_backend(): from .pytorch_quant import *
[ "hustqj@126.com" ]
hustqj@126.com
bd38c882670986d24a6bddd1ec0893a6bb37762c
5063faf298a36466cdb90f1cbd0a4f4e855b5d3b
/test/test_license_pool_access_policy.py
26b074c64164f1b0f5695dcb73e68183e872c0dd
[]
no_license
pollination/python-sdk
d4eb4efbcbe3a76cc170cf8e71ad5bc6ca6c3011
e4a94b236534658b150961795256224fe8dd93c2
refs/heads/master
2023-08-04T15:19:29.126613
2022-03-06T10:43:21
2022-03-06T10:51:08
224,588,062
3
1
null
2023-09-05T20:52:35
2019-11-28T06:48:40
Python
UTF-8
Python
false
false
1,562
py
# coding: utf-8 """ pollination-server Pollination Server OpenAPI Definition # noqa: E501 The version of the OpenAPI document: 0.27.0 Contact: info@pollination.cloud Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import datetime import...
[ "antoinedao1@gmail.com" ]
antoinedao1@gmail.com
c7992d56ce7baa56a9bff319e1cd16cb4a952e0b
824f19d20cdfa26c607db1ff3cdc91f69509e590
/Math/461-Hamming-Distance.py
4c098f9a5bc0c881db300a62060b387902a896cc
[]
no_license
almamuncsit/LeetCode
01d7e32300eebf92ab54c983de6e183242b3c985
17aa340649574c37067ec170ceea8d9326be2d6a
refs/heads/master
2021-07-07T09:48:18.069020
2021-03-28T11:26:47
2021-03-28T11:26:47
230,956,634
4
0
null
null
null
null
UTF-8
Python
false
false
720
py
class SolutionOne: def hammingDistance(self, x: int, y: int) -> int: x_bit = list(bin(x)[2:]) y_bit = list(bin(y)[2:]) if len(x_bit) > len(y_bit): max_bit, min_bit = x_bit, y_bit else: min_bit, max_bit = x_bit, y_bit for i in range(len(min_bit), len(...
[ "msarkar.cse@gmail.com" ]
msarkar.cse@gmail.com
ba70bb67e3dca2d74f4a89d78161a2b5d10db9ee
5e3ebc83bc3fe2f85c34563689b82b1fc8b93a04
/google/ads/googleads/v5/enums/types/asset_link_status.py
5df6bf3f79b042edc8bf6b57fddeba12e4f9f564
[ "Apache-2.0" ]
permissive
pdsing/google-ads-python
0ce70227cd6bb13a25cd13de0ca05c2636279ecd
ee2c059498d5679a0d1d9011f3795324439fad7c
refs/heads/master
2023-05-04T18:39:57.412453
2021-05-21T16:38:17
2021-05-21T16:38:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,148
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "noreply@github.com" ]
pdsing.noreply@github.com
dc7a0d8bfa7dd251ab169b1a389aba7d40814ddb
4a8c1f7d9935609b780aff95c886ef7781967be0
/atcoder/_codeforces/1437_d.py
e313225aa61433b86f5c75b5cb0edbd190ddc84d
[]
no_license
recuraki/PythonJunkTest
d5e5f5957ac5dd0c539ef47759b1fe5ef7a2c52a
2556c973d468a6988d307ce85c5f2f8ab15e759a
refs/heads/master
2023-08-09T17:42:21.875768
2023-07-18T23:06:31
2023-07-18T23:06:31
13,790,016
0
0
null
null
null
null
UTF-8
Python
false
false
1,867
py
import sys from io import StringIO import unittest import logging logging.basicConfig(level=logging.DEBUG) def resolve(): #input = sys.stdin.readline from pprint import pprint import sys def do(): n = int(input()) dat = list(map(lambda x: int(x)-1, input().split())) import coll...
[ "glenda.kanai@gmail.com" ]
glenda.kanai@gmail.com
117ce0e41ba3ffc768796ccfb272def5bcb90004
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_crusaded.py
db48f852bcd13aa5dc83274ba954ee27c7c8aa98
[ "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
226
py
#calss header class _CRUSADED(): def __init__(self,): self.name = "CRUSADED" self.definitions = crusade self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['crusade']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
e1184a714401730373d1bc1c7d1305edf88d3421
fdb3809b9048281ebe696dce861f8003eb06fa23
/basics/stringtypes.py
8e5c9cf8dda8a976de301c38ef913d3a1d31ba5d
[]
no_license
GParolini/python_ab
629f60681033997172740f5e01e9296c4962fbdb
b7683cb515f2fec24ece5ccdd7b698837b962be1
refs/heads/master
2020-07-21T09:37:26.116662
2019-11-18T15:44:31
2019-11-18T15:44:31
206,818,267
0
0
null
null
null
null
UTF-8
Python
false
false
983
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sun Sep 8 11:45:03 2019 @author: giudittaparolini """ s=" You are awesome " print(s) s1="""You are the creator of your destiny""" print(s1) #indexing print(s[0]) print(s[2]) #repetition print(s*2) print(s*3) #length print(len(s1)) print(len(s)) #sl...
[ "giudittaparolini@gmail.com" ]
giudittaparolini@gmail.com
c0120c2c612c967400f31713e722563b2d2dfeee
adb759899204e61042225fabb64f6c1a55dac8ce
/17100~17199/17175.py
8cde604df24d21b6754ff590e16c32e4554f52c4
[]
no_license
geneeol/baekjoon-online-judge
21cdffc7067481b29b18c09c9152135efc82c40d
2b359aa3f1c90f178d0c86ce71a0580b18adad6f
refs/heads/master
2023-03-28T23:25:12.219487
2021-04-01T09:19:06
2021-04-01T09:19:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
980
py
# 문제 # 혁진이는 알고리즘 문제를 만들라는 독촉을 받아 스트레스다. # 하지만 피보나치 문제는 너무 많이 봐서 지겹기 그지없다. # 그러나 문제를 만들 시간이 없는 혁진이는 피보나치 문제를 응용해서 문제를 만들려 한다. # int fibonacci(int n) { // 호출 # if (n < 2) { # return n; # } # return fibonacci(n-2) + fibonacci(n-1); # } # 위와 같이 코딩하였을 때 fibonacci(n)를 입력했을 때에 fibonacci 함수가 호출되는 횟수를 계산해보자. # # 입력 # ...
[ "alstn2468_@naver.com" ]
alstn2468_@naver.com
a0e29acf529a04977c0df044e027e9b133e1ed28
544cfadc742536618168fc80a5bd81a35a5f2c99
/tools/test/connectivity/acts/framework/acts/records.py
e7738e4b540c3831e0794097557cf91d0f25f373
[]
no_license
ZYHGOD-1/Aosp11
0400619993b559bf4380db2da0addfa9cccd698d
78a61ca023cbf1a0cecfef8b97df2b274ac3a988
refs/heads/main
2023-04-21T20:13:54.629813
2021-05-22T05:28:21
2021-05-22T05:28:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,215
py
#!/usr/bin/env python3 # # Copyright 2016 - The Android Open Source Project # # 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 requi...
[ "rick_tan@qq.com" ]
rick_tan@qq.com
85eb049221d8bb987af3435304bd08e64f3541c4
84cb72cf1e0b24eb5e8db0271b30efb6adb35ef9
/templatetags_bundle/version.py
b85d8ecab2f4f230ca8f87f3d98b418480f233e2
[ "BSD-3-Clause" ]
permissive
dalou/django-templatetags-bundle
b33f3a21ad48bc05700e9b20ffded792ffa2a41d
b89c1dedd7141c90dec3be11ba9d52e33b052136
refs/heads/master
2020-12-24T17:53:44.146587
2015-10-20T08:39:45
2015-10-20T08:39:45
41,603,210
0
0
null
null
null
null
UTF-8
Python
false
false
110
py
# Do not edit this file, pipeline versioning is governed by git tags # following PEP 386 __version__ = "1.0.1"
[ "autrusseau.damien@gmail.com" ]
autrusseau.damien@gmail.com
04198b858867e8b0fffb73c5f7156b7ba9ce553d
8f23593807197d2d34581a94c5203c6db625e975
/test_pc_extension.py
76cf7c6855a9dc16d5241eff73a04ab43d4f5641
[]
no_license
neurosutras/neuron_pc_extension
34b25a358bdf62da173037790c5d20e672e9d58e
a275b47a479a7598c223ae2d932fdee39f256036
refs/heads/master
2021-04-27T12:59:20.643559
2019-03-15T22:39:51
2019-03-15T22:39:51
122,430,976
0
0
null
null
null
null
UTF-8
Python
false
false
3,419
py
from pc_extension import * import click context = Context() def test(first, second, third=None): """ :param first: :param second: :param third: :return: """ if 'count' not in context(): context.count = 0 if context.interface.global_rank == 0: print 'master proces...
[ "neurosutras@gmail.com" ]
neurosutras@gmail.com
7ad184ec4469d33b8ad52bc1fa14a18908b0aab9
c16ea32a4cddb6b63ad3bacce3c6db0259d2bacd
/google/cloud/gaming/v1/gaming-v1-py/google/cloud/gaming_v1/services/game_server_deployments_service/client.py
088a5e8578357c93abbc1a39f5e464cc848b92ec
[ "Apache-2.0" ]
permissive
dizcology/googleapis-gen
74a72b655fba2565233e5a289cfaea6dc7b91e1a
478f36572d7bcf1dc66038d0e76b9b3fa2abae63
refs/heads/master
2023-06-04T15:51:18.380826
2021-06-16T20:42:38
2021-06-16T20:42:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
50,306
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
c13f511021d047ef519b0a3b1b231342fe5c3d64
24bae9210e28d870b5fc8f01c16f8388e219b8ad
/ObjectDetection/CornerNet.py
a984e3cb32403b17e12f0c6f0d34d1e59c68d0db
[]
no_license
oxyai/PyTorch-Networks
9c4e1b84b0f328287f95be732842d6170a84b561
e5cce0ef8e1bff760b4fc89174db723c71a3c168
refs/heads/master
2022-12-21T19:46:48.856965
2020-09-11T07:55:05
2020-09-11T07:55:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,108
py
<<<<<<< HEAD import torch import torch.nn as nn def ConvBNReLU(in_channels,out_channels,kernel_size,stride,padding=1): return nn.Sequential( nn.Conv2d(in_channels=in_channels, out_channels=out_channels, kernel_size=kernel_size, stride=stride, padding=kernel_size//2), nn.BatchNorm2d(ou...
[ "569793357@qq.com" ]
569793357@qq.com
2a348cea5843caa6f5906e69a37513a9c2f3eff0
f5d1e8b54ddbc51a9ef1b868eee93096d9b0fbeb
/weapp/pay/ali/api/api_pay_token.py
4fc0b9effaf51ae48864bc4e58a6cc33ab033015
[]
no_license
chengdg/weizoom
97740c121724fae582b10cdbe0ce227a1f065ece
8b2f7befe92841bcc35e0e60cac5958ef3f3af54
refs/heads/master
2021-01-22T20:29:30.297059
2017-03-30T08:39:25
2017-03-30T08:39:25
85,268,003
1
3
null
null
null
null
UTF-8
Python
false
false
4,136
py
# -*- coding: utf-8 -*- """@package pay.ali.api.api_pay_token 获取token API HTTP请求方式: GET URL: `http://wappaygw.alipay.com/service/rest.htm` 参数信息: | 参数 | 必需 | 说明 | | :----------- | :---: | :-------------------------------------------- | | partner | 是 | 合作者身份ID | | key | 是 | 安全校验码 | | input_charset | 是 ...
[ "jiangzhe@weizoom.com" ]
jiangzhe@weizoom.com
63c7448add1e11d406a06b801005e6f1ded5d92b
1ac99f8065a2646bdb8ea9003fd5930341fb0cf4
/Regular expression/Rules.py
4ebf4273b6c5b5219fe43d9fd766073d83a575ce
[]
no_license
krishnanunni-pr/Pyrhon-Django
894547f3d4d22dce3fff14e88815122c12c145b5
c59471f947ceb103bb27a19e8a2a160e8ada529b
refs/heads/master
2023-07-29T19:40:38.199104
2021-09-09T18:12:24
2021-09-09T18:12:24
385,128,009
0
0
null
null
null
null
UTF-8
Python
false
false
685
py
# re- regular pattern matching # 1 x='[abc]' either a b or c # 2 x='[^abc]' except abc # 3 x='[a-z]' a to z # 4 x='[A-Z]' A to Z # 5 x='[a-zA-Z]' both lower and upper case are checked # 6 x='[0-9]' check digits # 7 x='[^a-zA-Z0-9]' special symbols # 8 x='\s' check space # 9 x='\d' check the digits # 10 x='\D' except d...
[ "krishna@gmail.com" ]
krishna@gmail.com
d307149d0de02758df154dff67751f94f1759286
234df74b8d2ff67e1ec1e44df6128e9506ad8ab1
/NMS/utils/web_methods.py
4e6206e0af932a9413147c1e85c0b3bc5a79f84a
[]
no_license
edxavier/tesis2015
c1289bc648c054edde082e200beda1cfb6e9e27f
d04b20b67f9f1ef2e6d97a18b7bfa6466223384f
refs/heads/master
2021-01-23T03:33:27.149595
2016-02-17T21:51:37
2016-02-17T21:51:37
33,018,981
0
0
null
null
null
null
UTF-8
Python
false
false
1,816
py
__author__ = 'edx' import requests class HttpHelper(object): def __init__(self, server_addr="127.0.0.1", server_port=443, url="/"): self.addr = server_addr self.port = server_port self.url = url #Crear un objeto que preserve la sesion self.cli = requests.session() s...
[ "edxavier05@gmail.com" ]
edxavier05@gmail.com
cbfa0a174b59836ce36b5eef116812d3d85e62f4
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03761/s670080011.py
7810a6bcafbcdc06a68192b8bb1e99c7a4995263
[]
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
416
py
import collections n=int(input()) S=[] for i in range(n): s=list(str(input())) cc=collections.Counter(s) S.append(cc) alphabet=['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'] ans=[] for lets in alphabet: nin=10**10 for i in range(n): ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
8ba445b5bb3dff67dbf68d777b8690ce2d0b63d0
fca7958875d4650c6daeec7049fef02139db9eb1
/mi/dataset/parser/hyd_o_dcl.py
e5f65d191062741de7535f40233ee8c4c7a9785e
[ "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause" ]
permissive
oceanobservatories/mi-dataset
36f08a076b24c40f91abd0a97e47a72ec85fc5e6
93aa7289f5f4788727f3b32f11d62f30ad88fd2f
refs/heads/master
2020-04-04T04:25:22.372472
2017-02-24T17:06:23
2017-02-24T17:06:23
24,067,634
1
9
null
2016-06-29T23:24:46
2014-09-15T18:15:01
Python
UTF-8
Python
false
false
3,641
py
""" @package mi.dataset.parser @file mi-dataset/mi/dataset/parser/hyd_o_dcl.py @author Emily Hahn @brief Parser for the hydrogen series o instrument through a dcl """ __author__ = 'Emily Hahn' __license__ = 'Apache 2.0' import re from mi.core.log import get_logger log = get_logger() from mi.core.instrument.data_parti...
[ "ehahn@bbn.com" ]
ehahn@bbn.com
b576e53001265fc799331a35f9b3196eb203246e
9cd4e3e5c1da2dc8ef577d91d36f3f50110947c6
/原电脑/study/beidaqingniao/day7/demo3.py
3bf58baabd0563a2598f949ddb6143cb6e5916f1
[]
no_license
sczhan/gsdiannao
459d982c437339af92e775d0fce5236a5d4d18bc
911736334dc23b03acbb844967ca62c791ef3b59
refs/heads/main
2023-06-09T01:00:45.915971
2021-06-25T17:52:39
2021-06-25T17:52:39
374,898,067
0
0
null
null
null
null
UTF-8
Python
false
false
523
py
s = "hello world" print(s.find("l")) print(s.rfind("l", 0, -3)) print(s.find("L")) # find 未找到返回-1 print(s.index("l")) print(s.rindex("l")) # print(s.index("k")) index 未找到会报异常 ValueError print("*" * 20) print("1234".isdigit()) print("123ahb".isalpha()) print("12一千".isnumeric()) print("sg12".isalnum()) s = "hell...
[ "5481493@qq.com" ]
5481493@qq.com
f1249ffab8ec5ef6e647d0c15940072e29782bb4
76e8afe527e191e6291562c6140606c16d7385df
/tklive/scores/models.py
ec3ce21aa01cbd018e718ccb54d12c9162ed957c
[]
no_license
socek/tklive2013
dfa896800713832d3f1b4a11f35aecf723e09328
2fa8c6fd099a66b7f84fc5df94d0a2b542a44f75
refs/heads/master
2021-01-22T05:16:34.001073
2013-02-25T13:14:43
2013-02-25T13:14:43
42,201,372
0
0
null
null
null
null
UTF-8
Python
false
false
4,041
py
# -*- encoding: utf-8 -*- from django.db import models class Team(models.Model): name = models.CharField(u'Nazwa', max_length=100) def __unicode__(self): return self.name player_status=( ('player', 'Gracz'), ('couch', 'Trener'), ) class Player(models.Model): team = models.ForeignKey(...
[ "msocek@gmail.com" ]
msocek@gmail.com
ff46178a5d9b78382c27bf6e01f5ed5f5cb5f8a7
1a1c14b7a9ffc9f3ef4a64ca52cb8c40ae9f7f4b
/app/__init__.py
df9796121830d59869d6e9cd26bdc5ddaafd7b53
[]
no_license
boyl/mblog
71008ba45cc0625427dcf15c88a447188467d41d
5933111dca855f74248d3fec2857fb7c5afa81fd
refs/heads/master
2022-12-10T22:00:16.507135
2018-06-28T06:49:57
2018-06-28T06:49:57
137,972,662
0
0
null
null
null
null
UTF-8
Python
false
false
3,844
py
from flask import Flask, request, current_app from config import Config from flask_sqlalchemy import SQLAlchemy from flask_migrate import Migrate from flask_login import LoginManager import logging import os import rq from redis import Redis from logging.handlers import SMTPHandler, RotatingFileHandler from flask_mail ...
[ "1228417956@qq.com" ]
1228417956@qq.com
970ded265156f038860ba2cedd139aac2d77b6f8
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03288/s709299099.py
011540e76c52a036665fedb57dcc8591d1f10407
[]
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
110
py
A = int(input()) if A < 1200: ans = 'ABC' elif A < 2800: ans = 'ARC' else: ans = 'AGC' print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
58c581df1d170b61a62973cd0a022cbfc430e130
764622f8890ba5b1415ba5bac6febf43b5937df9
/Unit 14/u14_eval.py
a873663dc3d45bef78d4ca830ceae45b6468862d
[]
no_license
ckiekim/Python-Lecture-1907
70e034e61e55d435ef8896ca921342ec0057ba74
234df397657157cfac51fca6be1b7d09269da399
refs/heads/master
2022-02-15T14:16:05.518743
2019-07-26T08:24:34
2019-07-26T08:24:34
198,117,189
0
1
null
null
null
null
UTF-8
Python
false
false
294
py
kor, eng, math, sci = map(int, input().split()) if kor<0 or kor>100 or eng<0 or eng>100 or math<0 or math>100 or sci<0 or sci>100: print('잘못된 점수') else: average = (kor + eng + math + sci) / 4 if average >= 80: print('합격') else: print('불합격')
[ "ckiekim@naver.com" ]
ckiekim@naver.com
786e381183bd8e2c5f39deb08afe22081a1a5632
c3637d40aa610270f90cff46644984dc20c67e93
/AI_proj/DataAugmentation.py
33637c6ca7d9ba88dfe4edc9a15aad66147915bf
[]
no_license
olmozavala/covid_dl_ggo_cons
9834cf09235ef3d1b8e391f02b39fb2e0c835ca7
80eea8a390815390a999455637dfe8bea1458530
refs/heads/master
2022-12-14T07:39:58.139441
2020-09-11T19:50:39
2020-09-11T19:50:39
294,792,312
0
0
null
null
null
null
UTF-8
Python
false
false
2,604
py
import numpy as np import preproc.UtilsPreproc as utils from scipy.ndimage.filters import gaussian_filter def flipping(imgs, ctrs, flip_axis): """ Flips images and contours in the specified axis:""" tot_imgs = len(imgs) tot_ctrs = len(ctrs) # Flips the images for c_img_idx in range(tot_imgs): ...
[ "olmozavala@gmail.com" ]
olmozavala@gmail.com
eb86a78ba1b0ab39075d19b0e019e05e47e0b2c5
930c207e245c320b108e9699bbbb036260a36d6a
/BRICK-RDFAlchemy/generatedCode/brick/brickschema/org/schema/_1_0_2/Brick/VAV_Heating_Command.py
8d181cb268dc1f6e50d4649c01e54299c736931c
[]
no_license
InnovationSE/BRICK-Generated-By-OLGA
24d278f543471e1ce622f5f45d9e305790181fff
7874dfa450a8a2b6a6f9927c0f91f9c7d2abd4d2
refs/heads/master
2021-07-01T14:13:11.302860
2017-09-21T12:44:17
2017-09-21T12:44:17
104,251,784
1
0
null
null
null
null
UTF-8
Python
false
false
387
py
from rdflib import Namespace, Graph, Literal, RDF, URIRef from rdfalchemy.rdfSubject import rdfSubject from rdfalchemy import rdfSingle, rdfMultiple, rdfList from brick.brickschema.org.schema._1_0_2.Brick.Heating_Command import Heating_Command class VAV_Heating_Command(Heating_Command): rdf_type = Namespace('htt...
[ "Andre.Ponnouradjane@non.schneider-electric.com" ]
Andre.Ponnouradjane@non.schneider-electric.com
43965970966ac57fd149d161a5ec75ca83b8109e
6f8113e7a06699e8448dcbeb7c329be11c5926a5
/apps/badges/migrations/0001_initial.py
5eb35c4f469e07da83696c9e218a0a63b67e9f44
[ "MIT", "BSD-3-Clause" ]
permissive
groovecoder/affiliates
b906a565f3f035da09e22b15e9843b1aed7b313d
7d22304ada7ffdb893fe8305630ec11eb84cfab5
refs/heads/master
2020-04-06T04:36:09.980997
2014-01-10T15:07:16
2014-01-10T15:07:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,615
py
# encoding: utf-8 import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Category' db.create_table('badges_category', ( ('id', self.gf('django.db.model...
[ "mkelly@mozilla.com" ]
mkelly@mozilla.com
9e4054700766277d158a4cc4833dda73ebdddc9d
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/cd-24_9052/sdB_cd-24_9052_lc.py
73e1c62f92a70184bb0767255190c885369b0c0c
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
344
py
from gPhoton.gAperture import gAperture def main(): gAperture(band="NUV", skypos=[156.462083,-24.889003], stepsz=30., csvfile="/data2/fleming/GPHOTON_OUTPU/LIGHTCURVES/sdBs/sdB_cd-24_9052/sdB_cd-24_9052_lc.csv", maxgap=1000., overwrite=True, radius=0.00555556, annulus=[0.005972227,0.0103888972], verbose=3) if __name__...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
3ede3f6cd0242c3f0d90c30447a038d9dda79aaa
282d04bea868aac41810eddbc0cdab77595ae813
/sources/en/f/flyinglines.py
d595943fadaaa243e2e0b919a76abcfa23d8cf30
[ "Apache-2.0", "GPL-3.0-only" ]
permissive
Kukkerem/lightnovel-crawler
50f15aeadb1e476a75831bdfba23c904ab5b3abe
b2fb4dd7ad9c6e2df5799b8f6937fb2f2e6088cd
refs/heads/master
2023-09-03T15:36:23.620686
2023-08-27T18:33:24
2023-08-27T18:33:24
194,874,078
0
0
Apache-2.0
2019-07-02T13:58:36
2019-07-02T13:58:35
null
UTF-8
Python
false
false
3,617
py
# -*- coding: utf-8 -*- import logging from datetime import datetime from hashlib import md5 from urllib.parse import urlparse from lncrawl.core.crawler import Crawler logger = logging.getLogger(__name__) class FlyingLinesCrawler(Crawler): base_url = "https://www.flying-lines.com/" def read_novel_info(self...
[ "dipu.sudipta@gmail.com" ]
dipu.sudipta@gmail.com
5950ceec78e4ee127718f4a7437e43cf7a301963
6df76f8a6fcdf444c3863e3788a2f4b2c539c22c
/django code/p125/p125/wsgi.py
4dc63944dd310cdc79e0dbd2243653d82ff93dc2
[]
no_license
basantbhandari/DjangoProjectsAsDocs
068e4a704fade4a97e6c40353edb0a4299bd9678
594dbb560391eaf94bb6db6dc07702d127010b88
refs/heads/master
2022-12-18T22:33:23.902228
2020-09-22T13:11:01
2020-09-22T13:11:01
297,651,728
1
0
null
null
null
null
UTF-8
Python
false
false
385
py
""" WSGI config for p125 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_SETTINGS...
[ "36443209+basantbhandari@users.noreply.github.com" ]
36443209+basantbhandari@users.noreply.github.com
f9084a48df0a516f376916d6782c36ed5533f756
c6b5725f1317a5b16d8025365826acb3560cb9a6
/Geometry/CMSCommonData/python/cmsExtendedGeometry2026D66XML_cfi.py
0530b9131a5baf02a54697cd85a6c242dc688062
[ "Apache-2.0" ]
permissive
cms-patatrack/cmssw
d9f090b937225545911aa8d4ae8495ca230b50ee
0a92cc7e09ca63a2cf505e99d6d890703ffe75dc
refs/heads/CMSSW_11_3_X_Patatrack
2023-08-17T02:22:06.066802
2021-04-06T10:59:15
2021-04-06T10:59:15
113,325,755
4
7
Apache-2.0
2021-09-01T21:23:46
2017-12-06T14:20:07
C++
UTF-8
Python
false
false
8,072
py
import FWCore.ParameterSet.Config as cms # This config was generated automatically using generate2026Geometry.py # If you notice a mistake, please update the generating script, not just this config XMLIdealGeometryESSource = cms.ESSource("XMLIdealGeometryESSource", geomXMLFiles = cms.vstring( 'Geometry/CM...
[ "sunanda.banerjee@cern.ch" ]
sunanda.banerjee@cern.ch
f3d6ba6f1e9d51c8310a8dd09923de9713c7b828
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/apigateway_write_2/request-validator_update.py
8d59c16f5f7ec3e1ecc11cd7aaf97470df4e023b
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
1,405
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_two_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/apigateway/update-request-validator.html if __na...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
dbf4abfa555faba0ff3f841af3f14dfd8d249e1a
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/66xK46dhKFCe5REDg_19.py
5f1bac280cea9a4fbe0409a30181308f5cb7b27b
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
510
py
def x_and_o(board): board = [l.split("|") for l in board] for r in range(3): for c in range(3): if board[r][c] == " ": tests = [all(board[r][i] == "X" for i in range(3) if i != c), all(board[i][c] == "X" for i in range(3) if i != r), r == c and all(board[i][i] ==...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
e59b838d7ffe3323ebcf3417317b756fe7dc4434
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_boss.py
13ad39e526b1148d9c8cac450b7feaea4ca9547d
[ "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
316
py
#calss header class _BOSS(): def __init__(self,): self.name = "BOSS" self.definitions = [u'to tell someone what to do all the time: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'verbs' def run(self, obj1 = [], obj2 = []): return self.jsondata
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com