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
b00f1d1770e1dc89da60d03fb61ff46b5d9be6a8
d7294f26e1907f275fdbbc8038f4cc4a448a36eb
/api_test/common/confighttp.py
b3c3e71990b616643274a35d614b777bf9c45043
[]
no_license
yileye/api_automation_test
bb752b1c9ca48f730bef8d48e775bb70d70cd3e1
7e78fae43cdadffbd9a4306be1d6e5ddb64f7402
refs/heads/master
2020-03-21T07:16:52.871990
2018-06-15T02:04:35
2018-06-15T02:04:35
138,271,642
1
0
null
2018-06-22T07:43:01
2018-06-22T07:43:01
null
UTF-8
Python
false
false
15,388
py
import django import sys import os curPath = os.path.abspath(os.path.dirname(__file__)) rootPath = os.path.split(curPath)[0] PathProject = os.path.split(rootPath)[0] sys.path.append(rootPath) sys.path.append(PathProject) os.environ.setdefault("DJANGO_SETTINGS_MODULE", "api_automation_test.settings") django.setup() i...
[ "18202886913@163.com" ]
18202886913@163.com
947215ea75235f8cef1eb84e4148db673ef5479b
5ec06dab1409d790496ce082dacb321392b32fe9
/clients/python/generated/test/test_com_adobe_granite_distribution_core_impl_replication_adapters_replicat_info.py
fb7908d6ab4e02f29bf11a779891503c3acc7662
[ "Apache-2.0" ]
permissive
shinesolutions/swagger-aem-osgi
e9d2385f44bee70e5bbdc0d577e99a9f2525266f
c2f6e076971d2592c1cbd3f70695c679e807396b
refs/heads/master
2022-10-29T13:07:40.422092
2021-04-09T07:46:03
2021-04-09T07:46:03
190,217,155
3
3
Apache-2.0
2022-10-05T03:26:20
2019-06-04T14:23:28
null
UTF-8
Python
false
false
1,435
py
# coding: utf-8 """ Adobe Experience Manager OSGI config (AEM) API Swagger AEM OSGI is an OpenAPI specification for Adobe Experience Manager (AEM) OSGI Configurations API # noqa: E501 The version of the OpenAPI document: 1.0.0 Contact: opensource@shinesolutions.com Generated by: https://openapi-...
[ "michael.bloch@shinesolutions.com" ]
michael.bloch@shinesolutions.com
0e9469f1207114a4cfa0cd3d56ca5144fe0b4154
443fbf0cdd31bb65db09e2b1f3e9770adc69c08d
/Python 1/3 - Colecciones/29 - Conjuntos (parte 2)/venv/Scripts/pip3.7-script.py
2d48d9e506b59737c32618073636f34da17f1f2a
[]
no_license
marcvifi10/Curso-Python
b9b376c39713e525756eb26f31f914359aef537a
047830ca92e027c7d37e2f6bb042971a773a5d6d
refs/heads/master
2020-07-15T08:30:53.622053
2019-09-18T16:23:35
2019-09-18T16:23:35
205,521,518
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
462
py
#!"E:\Altres arxius\Programació\Python\25 - Colecciones\29 - Conjuntos (parte 2)\venv\Scripts\python.exe" -x # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3.7' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re...
[ "36198307+marcvifi10@users.noreply.github.com" ]
36198307+marcvifi10@users.noreply.github.com
51b6846c253013a3b3050c44cf2a3041056ef47a
1ebe5a07e7f6260c2c2ceb6ca00dcf2a0341e544
/op_impl/built-in/ai_core/tbe/impl/sqrt.py
f19e02dedaf901eebe0d2ccba71591309901ebb4
[]
no_license
gekowa/ascend-opp
f5e09905336d85f9974d555d03d37a75cb8185c1
5c28a2faf9d2a117ea6f0923efe35fcd53904dd2
refs/heads/master
2023-04-09T12:14:40.337104
2021-04-19T23:00:59
2021-04-19T23:00:59
359,620,865
2
0
null
null
null
null
UTF-8
Python
false
false
3,374
py
# Copyright 2019 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
[ "gekowa@gmail.com" ]
gekowa@gmail.com
9a7faee322a5d82272ea85b7c284043bf6f1afcb
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2909/60590/282973.py
c316d5b296103cce17897e37b7a5618d403cd20d
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
563
py
s = input() maxletters = int(input()) minSize = int(input()) maxSize = int(input()) arr = [] for j in range(maxSize - minSize + 1): length = minSize + j for i in range(s.__len__() - length + 1): temp = s[i:i + length] #print(temp) sets = set(temp) #print(sets) if sets.__...
[ "1069583789@qq.com" ]
1069583789@qq.com
9482ec176053228e95ac13a9fe523f5b59562de6
9a181799f7b87aace15f0db9afedd861259a48c2
/circular_route.py
c311eca74189b0f4a9351151141ded0481408261
[]
no_license
D-Katt/Coding-examples
77bea4cf1099019b12bbafd967c1c017adf4e9b8
81e8b47857513b7961cab4c09b8c27c20b8b8081
refs/heads/master
2021-12-25T05:01:05.026469
2021-12-17T13:43:57
2021-12-17T13:43:57
226,685,637
4
0
null
null
null
null
UTF-8
Python
false
false
3,153
py
# There are n gas stations along a circular route, where the amount of gas at the ith station is gas[i]. # You have a car with an unlimited gas tank and it costs cost[i] of gas to travel from the ith station # to its next (i + 1)th station. You begin the journey with an empty tank at one of the gas stations. # Given tw...
[ "noreply@github.com" ]
D-Katt.noreply@github.com
df37c2971e42381ec9af0c3ebb3d9db64f52a68c
380a47268c5975473a2e7c38c747bc3bdbd981b1
/benchmark/third_party/transformers/src/transformers/keras_callbacks.py
6c61433712e2489ac5b667f5390e54c3efbde173
[ "Apache-2.0" ]
permissive
FMInference/FlexGen
07aa9b1918c19b02077e13ad07e76840843810dd
d34f7b4b43ed87a374f394b0535ed685af66197b
refs/heads/main
2023-07-24T02:29:51.179817
2023-07-21T22:38:31
2023-07-21T22:38:31
602,270,517
6,821
411
Apache-2.0
2023-07-07T22:59:24
2023-02-15T21:18:53
Python
UTF-8
Python
false
false
20,528
py
import logging import os from pathlib import Path from time import sleep from typing import Callable, List, Optional, Union import numpy as np import tensorflow as tf from packaging.version import parse from tensorflow.keras.callbacks import Callback from huggingface_hub import Repository from . import IntervalStrat...
[ "sqy1415@gmail.com" ]
sqy1415@gmail.com
8d20a4448ab2c5830bdad154ca217aec03bedbe6
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/djLTSAc6h4bt6ehWu_8.py
3a990612c1fdbb0489677f02d02c92f1a14ec44f
[]
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
165
py
def camelCasing(txt): lst = txt.replace('_', ' ').lower().split() for i in range(1,len(lst)): lst[i] = lst[i].capitalize() return ''.join(lst)
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
d3ea6a5d5c6a4927cc1e096c89f70b4ad60ff5ba
274f86981d165f8db620b53a08014f528e4915c0
/light_head_faster_rcnn.py
ed9250bbb1644ca8d4947e91817217e36ac89f7b
[ "Apache-2.0" ]
permissive
jacke121/X-Detector
4a32906ebe5ef6fcbb64c3159712fb124861c5fd
a24e370a5acb6f5c29cd5db81fa4270f2697b8c1
refs/heads/master
2020-03-14T06:28:52.155024
2018-05-07T03:32:26
2018-05-07T03:32:26
131,485,093
0
0
Apache-2.0
2018-04-29T10:27:11
2018-04-29T10:27:11
null
UTF-8
Python
false
false
13,378
py
# Copyright 2016 Paul Balanca. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "wangchangan@yeah.net" ]
wangchangan@yeah.net
124fb1e04cfdacd175d3689e83df5a603690086e
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_pullers.py
fa1bc7edfb583ebbb332e1422b2b23077fe5b741
[ "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
222
py
#calss header class _PULLERS(): def __init__(self,): self.name = "PULLERS" self.definitions = puller self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['puller']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
74b5690c1bd790a1e5ab47a11611f1989da34eec
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/adjectives/_profligates.py
960ccea0a3b7995f6f6c6ada5874d279786ba1c3
[ "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
276
py
from xai.brain.wordbase.adjectives._profligate import _PROFLIGATE #calss header class _PROFLIGATES(_PROFLIGATE, ): def __init__(self,): _PROFLIGATE.__init__(self) self.name = "PROFLIGATES" self.specie = 'adjectives' self.basic = "profligate" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
acde2431fe07b6e3a9d24b4798aa8f28d9aa5583
97fe5f4d8d06e0bcf2b6ca23a4c91853658435f7
/tyler_crowdboticstest_55/settings.py
aea81b7e5fe414a65e9a7b8227d7527996f597ef
[]
no_license
TylerCrowdboticsTest/tyler-crowdboticstest-55
da0053c451322e78bc1b44fd7ecf4b57d2c5ae7f
279565ce4e57b58f291a2cbe2ecc3244d08a82e4
refs/heads/master
2020-03-18T04:46:47.415598
2018-05-21T18:01:50
2018-05-21T18:01:50
134,306,006
0
0
null
null
null
null
UTF-8
Python
false
false
4,101
py
""" Django settings for tyler_crowdboticstest_55 project. Generated by 'django-admin startproject' using Django 1.11.5. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/setting...
[ "tyler@crowdbotics.com" ]
tyler@crowdbotics.com
163ab14e6dd6dc6cf6b8e7d04ee16fcccd7f8323
ffbe2934cc978c7e1cf724acda7c792ed854595c
/.history/src/autoCertGen_20210524112106.py
1fd3ec1231c20dd91ce7503e3e744e1e9da9249c
[]
no_license
MrSyntax31/certificategenofficial.github.io
38015ebc12725896aa2e18f3c1cd90ac99ca0257
458e4e8658d3a37439a00dd6892b68150ae36ae7
refs/heads/master
2023-06-09T12:34:46.651846
2021-07-06T09:41:59
2021-07-06T09:41:59
370,345,516
0
0
null
null
null
null
UTF-8
Python
false
false
231
py
from PIL import Image, ImageDraw, ImageFont import pandas as pd import os df = pd.read_csv('./csv/sample.csv') font = ImageFont.truetype('SegoePro-Regular.ttf', 26) for index, j in df.iterrows(): img=Image.open('CertITDICT')
[ "you@example.com" ]
you@example.com
fbee52a235df6bd1109300636b341ee0bf5541ef
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/5/m7l.py
473d7b226805e248d20ad63f5892542e62a1e0f6
[]
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
66ba2c51c17706934279f819533547accb994aad
c6c830e3eec296abc8ea4fcf3bc089f58fe217a1
/todo/views.py
b8f84c93cf503271fcd059c30446f00336fe9583
[]
no_license
AdrianHavengaBennett/django_todo
3e80ea907af41daa42199a400db771f41fbe8978
2fcaa2e4167748d8792a93a0446d15d3a36d2dfa
refs/heads/master
2021-07-13T03:08:37.609138
2020-03-17T14:25:03
2020-03-17T14:25:03
235,330,085
0
0
null
null
null
null
UTF-8
Python
false
false
1,110
py
from django.shortcuts import render, redirect, get_object_or_404 from .models import Item from .forms import ItemForm # Create your views here. def get_todo_list(request): results = Item.objects.all() return render(request, "todo_list.html", {"items": results}) def create_an_item(request): if request.m...
[ "adrian.havenga@yahoo.com" ]
adrian.havenga@yahoo.com
44d443fce34b14597c1edd9079eb3f3f11f4f393
010c5fbc97731286be00028ff33fc981d943bca3
/primal/src/code/impute/impute/dev/index_segments/conflict_cross_edges_2609.py
5c955455431fbb4a58b6e4072d0a212735074b3b
[]
no_license
orenlivne/ober
6ce41e0f75d3a8baebc53e28d7f6ae4aeb645f30
810b16b2611f32c191182042240851152784edea
refs/heads/master
2021-01-23T13:48:49.172653
2014-04-03T13:57:44
2014-04-03T13:57:44
6,902,212
7
1
null
null
null
null
UTF-8
Python
false
false
3,204
py
''' ============================================================ Print original graph weights and and affinities for edges between sets of conflicting alleles (R1,R2) identified at chr18:SNP#2609 imputation (found during monogenics imputation at chr18:28659816). Created on April 2, 2013 @author: Oren Livne <livne@uchi...
[ "oren.livne@gmail.com" ]
oren.livne@gmail.com
ecfe018a879b962be6959d6edfe38977ee860a60
9398d8433fdb29ee630a6ee43a07bc36a2adbd88
/novaclient/tests/unit/v2/test_flavors.py
ff564b265d8d3c3620beb276ec6603b751af52d8
[]
no_license
bopopescu/OpenStack_Liberty_Control
ca5a21d0c32c55dc8c517f5c7c9938ce575a4888
0f6ec1b4d38c47776fdf8935266bcaef2464af4c
refs/heads/master
2022-12-03T10:41:53.210667
2016-03-29T06:25:58
2016-03-29T06:25:58
282,089,815
0
0
null
2020-07-24T01:04:15
2020-07-24T01:04:14
null
UTF-8
Python
false
false
9,142
py
# Copyright (c) 2013, OpenStack # 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 b...
[ "tony.pig@gmail.com" ]
tony.pig@gmail.com
8c21577c3e31994ebc56548b60e9b0fb54f9c844
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/p2DJ/New/program/pyquil/startPyquil185.py
59e806ff48c284a42832a55e7ca86d284eebba7a
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
1,155
py
# qubit number=2 # total number=10 import pyquil from pyquil.api import local_forest_runtime, QVMConnection from pyquil import Program, get_qc from pyquil.gates import * import numpy as np conn = QVMConnection() def make_circuit()-> Program: prog = Program() # circuit begin prog += H(0) # number=1 p...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
b5db9ae6e1007104a23c6e906197e984ff4b9be5
f3b233e5053e28fa95c549017bd75a30456eb50c
/ptp1b_input/Lbs/bs-bq_wat_20Abox/set_4.py
756113530d39684fbc652457a687341a2b8ac04f
[]
no_license
AnguseZhang/Input_TI
ddf2ed40ff1c0aa24eea3275b83d4d405b50b820
50ada0833890be9e261c967d00948f998313cb60
refs/heads/master
2021-05-25T15:02:38.858785
2020-02-18T16:57:04
2020-02-18T16:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
739
py
import os dir = '/mnt/scratch/songlin3/run/ptp1b/Lbs/wat_20Abox/ti_one-step/bs_bq/' filesdir = dir + 'files/' temp_prodin = filesdir + 'temp_prod_4.in' temp_pbs = filesdir + 'temp_4.pbs' lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078] for j in lamb...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
deecb584897ac68c9a583d2aa281fb6e3990ba83
117f066c80f3863ebef74463292bca6444f9758a
/kaggle_datasets/santander/t.py
ee13fa7c7f8ee412832425336f0e6d8931dc2535
[]
no_license
cottrell/notebooks
c6de3842cbaeb71457d270cbe6fabc8695a6ee1b
9eaf3d0500067fccb294d064ab78d7aaa03e8b4d
refs/heads/master
2023-08-09T22:41:01.996938
2023-08-04T22:41:51
2023-08-04T22:41:51
26,830,272
3
1
null
2023-03-04T03:58:03
2014-11-18T21:14:23
Python
UTF-8
Python
false
false
144
py
import bc @bc.cachecalc() def a(): pass @bc.cachecalc() def b(): a() @bc.cachecalc() def c(): b() @bc.cachecalc() def d(): c()
[ "cottrell@users.noreply.github.com" ]
cottrell@users.noreply.github.com
4777606fbc52586cfd0a86e7dfe8e32c491a7c57
0dc800b370241363803f9077b142f6b065c310ce
/core/publish-test/lambda_function.py
0d2c9756a7c71452c9af2a0e946c670f88b04fae
[ "Apache-2.0" ]
permissive
trevorskaggs/cirrus
cb69a923927f8f59f9d6fe5d6bf65d763f7939a0
f6e399803f1869962741a2700f26d64c531ed2d6
refs/heads/main
2023-08-02T20:53:42.255341
2021-06-09T04:35:14
2021-06-09T04:35:14
412,478,376
0
0
Apache-2.0
2021-10-01T13:31:42
2021-10-01T13:31:42
null
UTF-8
Python
false
false
608
py
import json import logging import cirruslib.logging # logging logger = logging.getLogger(f"{__name__}.publish-test") def handler(payload, context): logger.debug('Payload: %s' % json.dumps(payload)) payloads = [] # from SQS or SNS if 'Records' in payload: for r in payload['Records']: ...
[ "matt.a.hanson@gmail.com" ]
matt.a.hanson@gmail.com
f41b5e8a3ef287e53609aa514ef2667e6aa0de10
3be8540330a75ad5109da7d99088e560800c5152
/ch06/lc.py
4f4b8cbd84baae168bcc0d1d986d940ee663fae7
[]
no_license
onnga-wasabi/ml
f78ab41062a224758887cbe677295fde7a5271e6
a4452982675a1777d772bcea4b90aed7365e61d2
refs/heads/master
2021-09-03T22:23:08.519489
2018-01-12T13:28:41
2018-01-12T13:28:41
105,005,673
0
0
null
null
null
null
UTF-8
Python
false
false
2,486
py
from cancer import load_cancer import numpy as np from sklearn.preprocessing import LabelEncoder from sklearn.model_selection import train_test_split from sklearn.preprocessing import StandardScaler from sklearn.decomposition import PCA from sklearn.linear_model import LogisticRegression from sklearn.pipeline import P...
[ "yuuto.onnga.23@gmail.com" ]
yuuto.onnga.23@gmail.com
3cceb9922077ad63ecfbd71dc2ea63710b4cb5bb
b174d5635aa482e710e30ad86e08855a7cfbf746
/tests/async.py
2f8e2e4214a19c40ce7531a691bc1c0d7e19952a
[ "Apache-2.0" ]
permissive
cjrh/perflog
36a6c4080b5ac1c2492286e631139c634bd01da7
0122d66070a634a48978acf5eaed0f2cfcdb866e
refs/heads/master
2021-01-02T08:49:55.477122
2020-08-23T13:28:55
2020-08-23T13:28:55
99,075,533
0
0
null
null
null
null
UTF-8
Python
false
false
1,231
py
import asyncio import perflog def test_perflog_asyncio_single(sneaky_filter): loop = asyncio.get_event_loop() loop.run_until_complete(perflog.single_pass_async(loop=loop)) log_records = sneaky_filter.log_records cpu = log_records[0] assert type(cpu['cpu_user']) in (int, float) assert type(...
[ "caleb.hattingh@gmail.com" ]
caleb.hattingh@gmail.com
2323edd194a38d2950709dd1b90f861a7d24732d
55076e7250212223996dcdc9a27a3b0cd6b2402e
/排序/SelectSort.py
4317092994d60311357ac4f42d773e8471983034
[]
no_license
zy199529/data_structure1
d484f1df9c9b6ec56c5981397f17df765b08818a
896a8521520aa9a7b7b11ea84e81361f33d5fe89
refs/heads/master
2020-05-30T21:12:33.559889
2019-06-17T11:54:27
2019-06-17T11:54:27
189,966,678
0
0
null
null
null
null
UTF-8
Python
false
false
1,219
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Author: zy19950209 # @Date: 2019-05-27 10:01:01 # @Last Modified by: zy19950209 # @Last Modified time: 2019-05-27 10:31:16 # 选择排序基本思想:每一次从待排序的数据元素中选出最小的(或者最大的)一个元素,存放在序列的起始位置,知道全部的排序数据元素排完 # 选择排序不稳定 # 判断一个算法是否稳定---------排序前 2个相等的数,在序列的前后位置顺序和排序后两个前后位置顺序相同 # 相同-----稳定...
[ "823356427@qq.com" ]
823356427@qq.com
cea062d9083e86e846084f3e8a1785c949ff276c
616aea820210c1bee5a52e4460b0444e57aad217
/src/third/SimpleCV/Segmentation/__init__.py
3d4a247e6e425817202809a8b34706db80014199
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
isabella232/pycollector
c470e65c0b9241247d0446471e1c428a924c6d16
459b3cc533b6371719c15d6d6b935e4c7311d6f9
refs/heads/master
2023-03-07T09:22:19.536634
2013-05-24T18:32:45
2013-05-24T18:32:45
324,754,495
0
0
NOASSERTION
2021-02-24T10:03:27
2020-12-27T12:14:29
null
UTF-8
Python
false
false
216
py
from SimpleCV.Segmentation.SegmentationBase import * from SimpleCV.Segmentation.ColorSegmentation import * from SimpleCV.Segmentation.DiffSegmentation import * from SimpleCV.Segmentation.RunningSegmentation import *
[ "raios.catodicos@gmail.com" ]
raios.catodicos@gmail.com
46aba0eccfeea02204c7dfdd7f6c20d847a05bb9
a75d4e8ff5e2d0641e539af3980768c10298dfb9
/consts.py
3d37a47ce3373efa60456b07a70cce393d1d221f
[]
no_license
vitvara/tk-space-1
c70942af4c235ebabc8648d7d49efc9c31feb961
57f668f3137ce893d576f03c8f7c6ffc0cb794c3
refs/heads/main
2023-03-23T23:35:07.711907
2021-03-24T23:17:02
2021-03-24T23:17:02
351,682,625
1
0
null
2021-03-26T06:20:18
2021-03-26T06:20:17
null
UTF-8
Python
false
false
290
py
CANVAS_WIDTH = 800 CANVAS_HEIGHT = 600 UPDATE_DELAY = 33 SHIP_SPEED = 5 SHIP_TURN_ANGLE = 5 MAX_NUM_BULLETS = 30 BULLET_BASE_SPEED = 10 ENEMY_BASE_SPEED = 5 BULLET_ENEMY_HIT_RADIUS = 20 SHIP_ENEMY_HIT_RADIUS = 25 SCORE_WAIT = 10 BOMB_FULL_POWER = 100 BOMB_WAIT = 5 BOMB_RADIUS = 300
[ "jittat@gmail.com" ]
jittat@gmail.com
f6e00b08f864789bee6a4128cd36a8767c93004c
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_212/223.py
9b31e85002f07f9cdb457e6cc9114fdf0e1920dc
[]
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
5,042
py
import sys import time import itertools #use combinations! import random import math def iterate_cases_1lpc(filepath): #1lpc = 1 line per case with file(filepath, 'rb') as f_in: for line_index, line in enumerate(f_in): if line_index == 0: #T continue yield line_index, line.strip().split(' ') ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
6423b48bc1c04cb172c1639d56afdbe1ac16a6a8
9f18b2b2d5cdcc1d176a40c14999cc111e41e021
/jove_catalog/tests/test_utils.py
1af3e9b169f48e8dd5790632f752d12b38de12b3
[]
no_license
chrisrossi/jove_catalog
3d2f47f9d3df872b10bb95f4b9b844b32d152965
3dc9a5dd0b99827951f7f31572cba4807457c95f
refs/heads/master
2021-01-25T05:23:08.768567
2012-01-25T20:57:37
2012-01-25T20:57:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
414
py
from pyramid import testing import unittest2 class TestUtils(unittest2.TestCase): def test_find_catalog(self): from jove_catalog.utils import find_catalog home = { 'content': testing.DummyResource(), 'jove_catalog': {None: 'thecatalog'}, } root = home['cont...
[ "chris@archimedeanco.com" ]
chris@archimedeanco.com
79f45f548076b0cf0ed1591bae7dd50f4b2a866e
2e6c379a22e87ad15f6d9c0356e615f42609e0eb
/Hackerrank/AdInfinitum/AdInfinitum18/PythagoreanTriple.py
50b4121d5157d8336751bba5a8aed1a659301c28
[]
no_license
opethe1st/CompetitiveProgramming
49f24b1b0c6bf737c5698a15edfdf5009a308a52
84ab62144f6b389ef74b7e8956b7e02e0f2ab108
refs/heads/master
2021-01-13T10:35:08.339291
2020-09-14T21:23:34
2020-09-14T21:23:34
69,969,077
7
2
null
2019-02-17T18:36:34
2016-10-04T13:46:21
Python
UTF-8
Python
false
false
515
py
#!/bin/python import sys def pythagoreanTriple(a): # Complete this function if a % 2 == 1: # a has to be of the form m^2-n^2.. any possible answer! k = a / 2 return (a, 2 * k * (k + 1), (k + 1)**2 + k**2) else: # a is of the form m^2-n^2 or 2mn.. find all possible m and n ...
[ "ogunks@live.com" ]
ogunks@live.com
4b4d4a75477683a0d49de3b5f894277593296602
8a25ada37271acd5ea96d4a4e4e57f81bec221ac
/home/pi/GrovePi/Software/Python/others/temboo/Library/Parse/GeoPoints/__init__.py
5465efa709ad8b2f6f20a52e3efba66f94d755fa
[ "MIT", "Apache-2.0" ]
permissive
lupyuen/RaspberryPiImage
65cebead6a480c772ed7f0c4d0d4e08572860f08
664e8a74b4628d710feab5582ef59b344b9ffddd
refs/heads/master
2021-01-20T02:12:27.897902
2016-11-17T17:32:30
2016-11-17T17:32:30
42,438,362
7
8
null
null
null
null
UTF-8
Python
false
false
243
py
from temboo.Library.Parse.GeoPoints.GeoPoint import GeoPoint, GeoPointInputSet, GeoPointResultSet, GeoPointChoreographyExecution from temboo.Library.Parse.GeoPoints.Query import Query, QueryInputSet, QueryResultSet, QueryChoreographyExecution
[ "lupyuen@gmail.com" ]
lupyuen@gmail.com
1c7c9c2d7e52584b648c3b14deda327124048203
20ace38b89c0ebaa0738753fcd11b0fdd4ed21cd
/pPb_2016_v0/CMSSW_8_0_24/src/HeavyIonsAnalysis/JetAnalysis/python/jets/akFilter5CaloJetSequence_PbPb_data_cff.py
69bed2b987307478b2e1e74a0b3f0afb15614fd3
[]
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
15,112
py
import FWCore.ParameterSet.Config as cms from HeavyIonsAnalysis.JetAnalysis.patHeavyIonSequences_cff import patJetGenJetMatch, patJetPartonMatch, patJetCorrFactors, patJets from HeavyIonsAnalysis.JetAnalysis.inclusiveJetAnalyzer_cff import * from HeavyIonsAnalysis.JetAnalysis.bTaggers_cff import * from RecoJets.JetPr...
[ "ssanders@ku.edu" ]
ssanders@ku.edu
a52d9e557ac4888479cefa9098e415d022b4647d
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_305/ch62_2019_04_05_01_47_59_218963.py
0e9e6bfc104497c4d641ad8797545e53c96ebc68
[]
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
128
py
def filtra_positivos(lista): lista2 = [] for i in lista: if i>0: lista2.append(i) print (lista2)
[ "you@example.com" ]
you@example.com
eca690d114f099d0fdb0fef740fc4fe68d83418f
3eed35781bc9f63c33586f8f2abdcfde8e7bd9bd
/api/api_v1/endpoints/vib_data.py
889a120e17ae8cadadb1b094b8e2dc01087b4fc4
[]
no_license
peilion/OP-backend
6e192f2592c0ae526f69f279bd0ba3023af0e593
13f7499d8727dcf5c866870450b29c829b32b4e6
refs/heads/master
2022-12-13T11:41:33.575868
2020-08-24T02:00:28
2020-08-24T02:00:28
207,509,587
14
0
null
2022-12-08T06:54:48
2019-09-10T08:49:47
Python
UTF-8
Python
false
false
4,480
py
import json from datetime import datetime from enum import Enum from typing import List from databases import Database from fastapi import APIRouter, HTTPException, Query, Depends from fastapi.responses import ORJSONResponse, JSONResponse from core.dependencies import get_db from crud.data import get_latest, get_by_i...
[ "peilun.fu117@gmail.com" ]
peilun.fu117@gmail.com
1b098cdaed3c16a2a48b78e613dfccca9b2fbddd
c071eb46184635818e8349ce9c2a78d6c6e460fc
/system/python_stubs/-745935208/PySide2/QtCharts.py
9742e9814068ed4865cf635a04eff9a786f801cb
[]
no_license
sidbmw/PyCharm-Settings
a71bc594c83829a1522e215155686381b8ac5c6e
083f9fe945ee5358346e5d86b17130d521d1b954
refs/heads/master
2020-04-05T14:24:03.216082
2018-12-28T02:29:29
2018-12-28T02:29:29
156,927,399
0
0
null
null
null
null
UTF-8
Python
false
false
3,301
py
# encoding: utf-8 # module PySide2.QtCharts # from C:\Users\siddh\AppData\Local\Programs\Python\Python37\lib\site-packages\PySide2\QtCharts.pyd # by generator 1.146 # no doc # imports import Shiboken as __Shiboken # no functions # classes class QtCharts(__Shiboken.Object): # no doc def __init__(self, *args,...
[ "siddharthnatamai@gmail.com" ]
siddharthnatamai@gmail.com
9ffae3a4f12deffb172db35fb49801c25d24e386
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/built-in/nlp/MT5_ID4146_for_PyTorch/transformers/examples/research_projects/distillation/scripts/binarized_data.py
9faa68494f2a192e56c9f07115622e9c413baaa1
[ "GPL-1.0-or-later", "Apache-2.0", "BSD-3-Clause", "BSD-2-Clause", "MIT", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
3,653
py
# coding=utf-8 # Copyright 2020 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
48566b9950d99bc06755f3753412298e55b3b67a
1925c535d439d2d47e27ace779f08be0b2a75750
/CtCl/Arrays and Strings/URLify.py
267f4cdd97e65f1e91e9a7c20c2d43fd48dfb44d
[]
no_license
arthurDz/algorithm-studies
ee77d716041671c4b8bb757d8d96f3d10b6589f7
1e4d23dd0c40df34f58d71c7ca3e6491be732075
refs/heads/master
2023-04-27T12:17:06.209278
2021-04-30T20:16:18
2021-04-30T20:16:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,006
py
# URLify: Write a method to replace all spaces in a string with '%20: You may assume that the string has sufficient space at the end to hold the additional characters, and that you are given the "true" length of the string. (Note: If implementing in Java, please use a character array so that you can perform this operat...
[ "yunfan.yang@minerva.kgi.edu" ]
yunfan.yang@minerva.kgi.edu
00a1d7bfd710f06ebd6d533fbc8af95db0b92b5c
2a5145f811c0679b35af367d25fce5914c2e0e40
/Algorithm/284_PeekingIterator.py
e9877a10249dd94f1216615bf7de0ac06b979b06
[]
no_license
lingtianwan/Leetcode
8f93fc3fc85db289ca8f618143af2a43711425ba
bf2edab87dd96afab1ff411df35d3163c1dfdc55
refs/heads/master
2021-01-12T19:16:31.918703
2017-02-09T01:50:53
2017-02-09T01:50:53
81,396,498
0
0
null
null
null
null
UTF-8
Python
false
false
2,573
py
# Given an Iterator class interface with methods: next() and hasNext(), design and implement a PeekingIterator that support the peek() operation -- it essentially peek() at the element that will be returned by the next call to next(). # # Here is an example. Assume that the iterator is initialized to the beginning of t...
[ "lingtian.wan@gmail.com" ]
lingtian.wan@gmail.com
174816f9a92d510702841ee52a17d2ccec3414d1
174b46ad072f13d8a4060a349908823324e64620
/11/ferry_seats.py
20b91e3e0cb81eeceab6a95bb81a3c1fa713f0cf
[]
no_license
mohanrajanr/AdventOfCode2020
480e51c3086ad5ec67a28aa705cdbc38f463d2b9
29c9088d1339930cc7c13b9e333d8871effcbc87
refs/heads/main
2023-02-06T09:34:36.063388
2020-12-25T13:44:49
2020-12-25T15:45:02
317,595,862
0
0
null
null
null
null
UTF-8
Python
false
false
3,463
py
file = open('11.txt') seating = list() for line in file.readlines(): seating.append(line.replace('L', '#').strip()) # print(seating) # Part 1 # next_seating = [] # change_happened = True # # curr_dims = [(1, 1), (0, 1), (-1, 1), (-1, 0), (1, 0), (-1, -1), (0, -1), (1, -1)] # # while True: # # for index in ra...
[ "mohanrajan1996@gmail.com" ]
mohanrajan1996@gmail.com
54a98dea914b51403a38c560eaed73e13b462aa3
4664328482163fd927603d66f47209b28471cf0f
/venv/lib/python3.7/site-packages/patoolib/programs/uncompress.py
09f8838e3875cb1a27703c973fb4f444bc4cebcf
[ "MIT" ]
permissive
emmetaobrien/dats-validator
08706ddab795d272391b3611cd3ba0de8c4a91a1
fb25f97a32119c2bce4eb50dc080a93d5ee77141
refs/heads/master
2020-12-19T05:03:17.179117
2020-01-22T17:28:38
2020-01-22T17:28:38
235,626,049
0
0
MIT
2020-01-22T17:24:56
2020-01-22T17:24:56
null
UTF-8
Python
false
false
1,193
py
# -*- coding: utf-8 -*- # Copyright (C) 2010-2015 Bastian Kleineidam # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. #...
[ "giulia.ippoliti@mail.mcgill.ca" ]
giulia.ippoliti@mail.mcgill.ca
86713b852a3f1daa3072a821f7f0b8ca42fbe389
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/380/usersdata/346/79033/submittedfiles/testes.py
9c7dd35b97bb3a0853357bae1ea307201128f691
[]
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
908
py
#EXERCICIO 1 n= int(input('Digite quantos lados deve ter o seu polígono: ')) nd= (n*(n-3))/2 print('%.1f' % nd) #EXERCÍCIO 2 #f= float(int('Digite um valor para f: ')) #L= float(int('Digite um valor para L: ')) #Q= float(int('Digite um valor para Q: ')) #DeltaH= float(int('Digite um valor para DeltaH: ')) #v= float(in...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
e0c739b5516bbc2ffdb5794e0502ef13d4e0c672
8b1fdc8a77269d5ad9cd92359d4659fa635c1fbb
/test/__init__.py
13611f43bdd1db3c5f318460e05abcca10ee7b5f
[]
no_license
hile/systematic
ff997b09fb42d012ade152e679cf493a74d132b2
cc7b3a301ca8c1bc5bad1eaab083fc1659977e4c
refs/heads/master
2020-04-16T06:34:45.234290
2020-02-05T06:15:39
2020-02-05T06:15:39
7,381,313
8
5
null
null
null
null
UTF-8
Python
false
false
39
py
""" Unit test tests for systematic """
[ "hile@iki.fi" ]
hile@iki.fi
ff814b159cad38396015469df19abb44edadef66
39689ee725bc7183d5d59fb34f7d2ffe5fd6ad36
/ABC_C/ABC158C.py
3651fdb01a076d0c96bff788786618916a4adc54
[]
no_license
yu5shi8/AtCoder
b6eb920a9046bdfa98012dd3fc65f75f16214ffe
f9ca69001ece8379e3a70c993c44b540f8be2217
refs/heads/master
2021-06-15T17:58:07.027699
2021-03-20T14:04:03
2021-03-20T14:04:03
177,757,053
0
0
null
null
null
null
UTF-8
Python
false
false
341
py
# -*- coding: utf-8 -*- # C - Tax Increase # https://atcoder.jp/contests/abc158/tasks/abc158_c A, B = map(int, input().split()) for i in range(1, 1100): ai = int(i * 0.08) bi = int(i * 0.1) if ai == A and bi == B: print(i) exit() print(-1) # [1] 21:13 - 22:29(WA)- 22:34(WA) # [2] 0:03 - ...
[ "royal_unicorn411@hotmail.co.jp" ]
royal_unicorn411@hotmail.co.jp
784523a2516f44baafd2735aa95859028b2df1c9
98a7b8c539d17946e361495ebb5eed3d83727e38
/variation/trunk/src/ImproveTAIRGeneGFF.py
db4987532d1ef7a3c08293d263f92f8e6cab32f0
[]
no_license
polyactis/repos
8a6a9703ca9ec2f9b75fb5bda06d4d29aace19c1
7b402496aae81665e6a915b5021b94d56e034c9d
refs/heads/master
2020-12-08T16:30:24.175800
2013-02-27T19:45:20
2013-02-27T19:45:20
8,463,267
1
1
null
null
null
null
UTF-8
Python
false
false
7,496
py
#!/usr/bin/env python """ Examples: ImproveTAIRGeneGFF.py -i /Users/dazhe/TAIR8/TAIR8_GFF3_genes.gff -o /tmp/TAIR8_GFF3_genes_more.gff -j /Network/Data/250k/tmp-yh/at_gene_model_pickelf Description: 2009-2-4 program to insert more info into the gene GFF file from TAIR: if the last column of a non-chromosome l...
[ "yh@c5b91a9c-90b7-4db6-b2ac-9ef0fe68db40" ]
yh@c5b91a9c-90b7-4db6-b2ac-9ef0fe68db40
a4e0ac6ef9991643fc6a588ea91d232f606f550d
ed5a791d3640a13cdda22cf184de28b2f116b73d
/__init__.py
d70e2835ac218624824fae4c0141e6aba32859f4
[ "MIT" ]
permissive
tonygalmiche/openerp_tutoriel_10
76f1df7af359e348fe519f07b3e17a7324434c5f
ce94d1452a750a59842528e98702597a620cf71d
refs/heads/master
2021-01-01T18:02:16.642328
2013-12-28T14:53:21
2013-12-28T14:53:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
264
py
# -*- coding: utf-8 -*- # La ligne ci-dessus permet de préciser à l'interpreteur python l'encodage utilisé pour ce fichier # Indiquer le module python à charger (nom du fichier sans le .py) pour le fonctionnement du module import openerp_tutoriel_10
[ "tony.galmiche@infosaone.com" ]
tony.galmiche@infosaone.com
15fe1122e3cc0a5ef2809992873018646946ca96
288be9dd19f349b00d2be5c75ed91baa3987b450
/apps/territory/migrations/0003_inspirecost_reporttemplate.py
22e30613b9ff5d93bf6f92b08e6b256836705e42
[]
no_license
yueyoum/dianjing_editor
e7e44d2dac103821aa83e08c2f0f8057ce42fc06
a7cb00f63c733c00537845059373df80ec197c51
refs/heads/master
2020-05-30T14:46:48.410527
2017-03-22T07:28:52
2017-03-22T07:28:52
69,309,219
0
0
null
null
null
null
UTF-8
Python
false
false
1,342
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2016-05-16 07:13 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('territory', '0002_auto_20160516_1457'), ] operations = [ migrations.CreateMo...
[ "yueyoum@gmail.com" ]
yueyoum@gmail.com
9b3dabbe7c7ce96207f46b64d5de18dce01748e1
ad715f9713dc5c6c570a5ac51a18b11932edf548
/tensorflow/python/saved_model/nested_structure_coder_test.py
b9329cbb38cba8da4fdf0bc1327b4593f4e8d6b7
[ "LicenseRef-scancode-generic-cla", "Apache-2.0", "BSD-2-Clause" ]
permissive
rockzhuang/tensorflow
f1f31bc8edfa402b748c500efb97473c001bac95
cb40c060b36c6a75edfefbc4e5fc7ee720273e13
refs/heads/master
2022-11-08T20:41:36.735747
2022-10-21T01:45:52
2022-10-21T01:45:52
161,580,587
27
11
Apache-2.0
2019-01-23T11:00:44
2018-12-13T03:47:28
C++
UTF-8
Python
false
false
18,808
py
# Copyright 2018 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
61a84d888ae02a52c407b73be91c17f2842f10e3
d8f8ca8c13a8d7bc113ab03ea089f26be9d9d11d
/MetisBackend/MetisModels/apps.py
86f5546b273d29f65256bec87cc9638ff6d97a4f
[]
no_license
aguncn/Metis
49f95b35261419800849ea44e6fb61cff4b92cf4
449df93bbcadc7a3954b3e46f7d2cd37386286d5
refs/heads/master
2023-02-06T08:37:45.772053
2020-12-27T03:16:20
2020-12-27T03:16:20
318,922,026
4
2
null
null
null
null
UTF-8
Python
false
false
97
py
from django.apps import AppConfig class MetisModelsConfig(AppConfig): name = 'MetisModels'
[ "aguncn@163.com" ]
aguncn@163.com
4fe20aecdddc58ffb61dc121f1e75a3abb13cee9
1b6dff9c7e9ee5eac407a9fd97391536742e88fc
/servers/Radiation/scrapper/scrapper/pipelines.py
36fa3145d09e776a8e5469289e5b46018d8b1ede
[ "BSD-2-Clause" ]
permissive
mars-planet/mars_city
00793d486361c130347d5fe513927368b9807b70
29df75e9037eec50672fd33295fc70d6f6e4b325
refs/heads/master
2020-04-12T06:46:16.073407
2018-08-12T13:30:57
2018-08-12T13:30:57
63,711,405
25
50
NOASSERTION
2023-07-04T15:43:23
2016-07-19T16:43:52
C++
UTF-8
Python
false
false
1,936
py
import pymongo class ScrapperPipeline(object): def process_item(self, item, spider): return item class MongoPipeline(object): def __init__(self, mongo_uri, mongo_db): self.mongo_uri = mongo_uri self.mongo_db = mongo_db @classmethod def from_crawler(cls, scrapper): re...
[ "nivedn3@gmail.com" ]
nivedn3@gmail.com
11406b1fdd1032dd029276682f4aae5647835854
b0a6a451c93a37e86a586d9497e91b2f82d5962b
/test/torchaudio_unittest/functional/functional_impl.py
1b18bd255b1e72460f764faf1ad467e79e302f3f
[ "BSD-2-Clause" ]
permissive
TrendingTechnology/audio
a84c7408f78a20cf6cf5456e2f12b284491a28ce
8a347b62cf5c907d2676bdc983354834e500a282
refs/heads/master
2023-07-08T03:48:08.350672
2021-07-31T20:04:22
2021-07-31T20:04:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,167
py
"""Test definition common to CPU and CUDA""" import math import itertools import warnings import numpy as np import torch import torchaudio.functional as F from parameterized import parameterized from scipy import signal from torchaudio_unittest.common_utils import TestBaseMixin, get_sinusoid, nested_params, get_whit...
[ "noreply@github.com" ]
TrendingTechnology.noreply@github.com
0f7efafc9797afb8fcc0d0e4433362a95f8296eb
491f6ec6c23329077bc6b845d7f86f55b4cbe47e
/code/class/MyListIterator.py
b7a78348db9c547d1656e16d8e6ab055cb1df882
[]
no_license
LzWaiting/00.pythonbase
5d14bd20fe56ff4dfffe7ceb35571d8acbb1b358
9fd32cb735af56f6a7e15cd729f56fa68203a289
refs/heads/master
2020-06-08T23:51:22.883713
2019-06-23T09:35:23
2019-06-23T09:35:23
193,329,720
0
0
null
null
null
null
UTF-8
Python
false
false
1,277
py
'''此示例示意可迭代对象和迭代器的定义及使用 ''' class MyList: def __init__(self,iterator): '''自定义列表类的初始化方法,此方法创建一个data实例变量,来绑定一个用来存储数据的列表''' self.data = list(iterator) def __repr__(self): '''此方法为了打印此列表的数据''' return 'MyList(%r)' % self.data def __iter__(self): '''有此方法就是可迭代对象,但要求必须返回迭代器''' return MyListIterator(self.dat...
[ "910122456@qq.com" ]
910122456@qq.com
dc7e423dd4e55f8a400364bebcbf7022cf6ce7f9
5dbac74a4122a2b1fa7c04eabac4d2a1fd6ab935
/tutorial/settings.py
8857985e36a92c83a7c174d72271ccf7e8909ef9
[]
no_license
jonathancg90/nexotuto
2ea7aec5b0c44bbdd1ee20a756d19117512a036b
8c99d1e81babe9e8e788181addcd9de2e3072f02
refs/heads/master
2021-01-13T02:37:26.402812
2014-12-26T22:52:00
2014-12-26T22:52:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,211
py
""" Django settings for tutorial 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, ...) i...
[ "jonathancg90@gmail.com" ]
jonathancg90@gmail.com
4c820ff986fb9f1a93fffd83658c8cfafc2969d0
f54b7fa675df8d0e30c447d7212f7116f16b7e42
/ProjectEuler/Python ProjectEuler/p15.py
e35209bda24b08bbe2125a30e8f1ab3fd4a4afa7
[]
no_license
ManuLam/Competition
eccee2c3432d46e1e3d028f6ebc04285d396c85a
a01ea254243b4799bd8c44cd94c95e74786415af
refs/heads/master
2023-06-27T16:56:58.845783
2021-08-01T10:26:04
2021-08-01T10:26:04
76,399,429
0
0
null
null
null
null
UTF-8
Python
false
false
98
py
grid,path = 20,1 for i in range(grid): path *= (2*grid) - i path //= i + 1 print(path)
[ "noreply@github.com" ]
ManuLam.noreply@github.com
ce7b64036fc332f47f21c1f51b5446fded851454
4c3e8e20395547bb1f80cbe2e5c340f713b7ad47
/6027.py
82b7432568fd132184842cb75743d256f521779c
[]
no_license
ZeroMin-K/CodeUp_Python_100
6c53ed6a0b74345578cbda685a05dfcf53df6435
a6b7bf9e5b49d3f86bd1b89d318689cf2a8f39dd
refs/heads/main
2023-08-21T23:13:09.002595
2021-10-09T11:08:42
2021-10-09T11:08:42
408,446,766
0
0
null
null
null
null
UTF-8
Python
false
false
33
py
a = int(input()) print('%x' % a)
[ "noreply@github.com" ]
ZeroMin-K.noreply@github.com
6690f622272c28861745fc9e2da2735ff5395985
b340c792fc7d61501df953cdc2a3d5a853aa584f
/sortedm2m/__init__.py
be2225509edf82acd79da7c97f4c732b02755aaa
[ "BSD-3-Clause" ]
permissive
sunjoomoon/django-sortedm2m
0e5e50e8abed77af0989c30ad762a5c6f082e041
476fbb59297e05fd21b0f8114eeabbcea8998604
refs/heads/master
2021-01-17T23:03:49.992473
2015-12-17T10:09:14
2015-12-17T10:09:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
53
py
# -*- coding: utf-8 -*- __version__ = '1.1.1.dev1'
[ "gregor@muellegger.de" ]
gregor@muellegger.de
94f0eedfadf28c82d24285ba6e52f3a39c618141
bac826b6c279de5046cd142e6110fa9a9d71da18
/game-goblin.py
db6c6f9b4e435a3eea576911733fa5e711a26e6d
[]
no_license
KevinAS28/Python-Simple-OOP-Goblin-Game
ef07909fe47c6d9e73cd5d6fc63d57a8aec4b4df
36a254f51eb807c766e23c0e71821dbc5677c1d8
refs/heads/master
2020-04-21T16:53:43.130066
2019-02-08T10:22:27
2019-02-08T10:22:27
169,717,523
0
0
null
null
null
null
UTF-8
Python
false
false
3,637
py
import random import sys import copy #random buat ntar menentukan menghindar berhasil atau tidak range(4) spab = lambda x: [print("") for i in range(x)] import shutil memoryview(b"0").tolist() class musuhh: def __init__(self): self.darah = 3 self.sr = 2 self.mr = 2 def serang(se...
[ "kevinagusto28@gmail.com" ]
kevinagusto28@gmail.com
222afedbbf78ddbcb0f785e21fd07f1634094fd5
128dac2cee9a1022fafcc15a8d4903af678d88ee
/674. Longest Continuous Increasing Subsequence.py
5a4106e7ad92b5056eab7905b7f178a1d0172229
[]
no_license
wangtaodd/LeetCodeSolutions
b998d9de408bc2e01b6bff11fcb315b453389bc8
364107c1a74b2fbe72cbf7076f38b9089f7017fb
refs/heads/master
2021-09-11T19:21:10.223002
2018-04-11T11:18:32
2018-04-11T11:18:32
125,821,429
0
1
null
null
null
null
UTF-8
Python
false
false
892
py
""" Given an unsorted array of integers, find the length of longest continuous increasing subsequence (subarray). Example 1: Input: [1,3,5,4,7] Output: 3 Explanation: The longest continuous increasing subsequence is [1,3,5], its length is 3. Even though [1,3,5,7] is also an increasing subsequence, it's not a continuou...
[ "wangtaodd@gmail.com" ]
wangtaodd@gmail.com
7fee215b86463c7f0e92c264524e23b2a94ab08f
243a29a00309b07456ec24b9791293d542fb6621
/django/core/paginator.pyi
58fd1d704bf86ccada2b64a7e167a10458145d87
[]
no_license
haobtc/type-stubs
192c9ee9a25e720f0aedb21c42259ae045d6fd60
106a7b4f04c5806af8849aed67e9fbf000fd3a07
refs/heads/master
2020-09-21T12:58:19.219595
2020-06-17T04:01:26
2020-06-17T04:01:26
224,795,797
0
0
null
null
null
null
UTF-8
Python
false
false
349
pyi
from typing import Dict, Any, List, Union, Iterable, Optional, Tuple, Set class Paginator: def __init__(self, object_list:Iterable[Any], per_page:int, orphans:int=0, allow_empty_first_page:bool=True): ... class Page: def __init__(self, object_list:Iterable[Any], number:int, paginator:Paginator): ... class E...
[ "superisaac.ke@gmail.com" ]
superisaac.ke@gmail.com
793161ebc46374fe2aedfe8e5fac4623fca6c260
f66f63699ad8f956974bcb9cbdf272b45aacb665
/fortress/detectors/erc/unindexed_event_parameters.py
ce5ac081323ba102fd1f68d3f12aeae416dbf247
[]
no_license
bydolson/fortress-security-audit-engine
8b0714909d14952c3fb572a6afb2202fa01f256d
7a55877bdde0d6adabe3ce9c4f92e8ba20b4b3cc
refs/heads/main
2023-01-24T12:47:38.214542
2020-12-08T12:16:05
2020-12-08T12:16:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,597
py
""" Detect mistakenly un-indexed ERC20 event parameters """ from fortress.detectors.abstract_detector import AbstractDetector, DetectorClassification class UnindexedERC20EventParameters(AbstractDetector): """ Un-indexed ERC20 event parameters """ ARGUMENT = "erc20-indexed" HELP = "Un-indexed ERC2...
[ "canercak@gmail.com" ]
canercak@gmail.com
2acf750c940e4c96c69f7f797b4b696fadf042f8
d2c4934325f5ddd567963e7bd2bdc0673f92bc40
/tests/exog/random/random_exog_75_320.py
df78bd45466bf72168408342c53323b77cd2a9a6
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jmabry/pyaf
797acdd585842474ff4ae1d9db5606877252d9b8
afbc15a851a2445a7824bf255af612dc429265af
refs/heads/master
2020-03-20T02:14:12.597970
2018-12-17T22:08:11
2018-12-17T22:08:11
137,104,552
0
0
BSD-3-Clause
2018-12-17T22:08:12
2018-06-12T17:15:43
Python
UTF-8
Python
false
false
107
py
import pyaf.tests.exog.test_random_exogenous as testrandexog testrandexog.test_random_exogenous( 75,320);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
6e31b2312442b922550a80b02871dcc6a9ac60dd
76eb3b1f3048e670244b9afe30ab6c7264ee6135
/Bitcoin/ngcccbase-master/ngcccbase/wallet_controller.py
7112aec95656226e3d4651d2f56f250764285e32
[ "MIT" ]
permissive
elkingtowa/alphacoin
9a04a16bd6ede14819809f881ccde5d1aeaf9bae
a50ed2d315755889a0247cf73edb4b3b58f898de
refs/heads/master
2021-01-20T12:15:19.810656
2014-06-28T02:02:32
2014-06-28T02:02:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,370
py
""" wallet_controller.py Controls wallet model in a high level manner Executes high level tasks such as get balance (tasks that require more complex logic) [verification needed] """ from asset import AssetTarget, AdditiveAssetValue from coloredcoinlib import (InvalidColorDefinitionError, ColorDefinition, ...
[ "elkingtonx@gmail.com" ]
elkingtonx@gmail.com
66aad0ed10c8f87917d807a7490e4cc02293ff32
1fc6750d4553b1c7c81837ec1855377f444dacdd
/Test/dateTime/__init__.py
ee9d60676e940494cdf862511229091700d57cf5
[]
no_license
Yasaman1997/My_Python_Training
a6234c86ef911a366e02ce0d0ed177a0a68157d5
11d0496ba97d97f16a3d168aacdda5a6e47abcf7
refs/heads/master
2023-03-19T08:33:42.057127
2021-03-16T07:43:57
2021-03-16T07:43:57
91,189,940
4
0
null
null
null
null
UTF-8
Python
false
false
228
py
from datetime import datetime now =datetime.now() print (now) print (now.year) print (now.month) print (now.day) print('%s/%s/%s' % (now.year, now.month, now.day)) print('%s:%s:%s' %(now.hour,now.minute,now.second))
[ "noreply@github.com" ]
Yasaman1997.noreply@github.com
1f08cb0ec6f14fe60034a5f3b2f19d7878469e78
6c3c558cef82961707f30ac9960b001b76679e30
/ayush_crowdbotics_370/urls.py
5b3fb15996ffe9a4602243708dd3786a652f5ff3
[]
no_license
payush/ayush-crowdbotics-370
0ba546404270d080d4af8f8243140f9cad79f6d6
14c6f66151b498f5c626ba56fb399c41c38f9684
refs/heads/master
2020-03-23T22:26:05.282653
2018-07-24T15:09:43
2018-07-24T15:09:43
142,175,766
0
0
null
null
null
null
UTF-8
Python
false
false
931
py
"""ayush_crowdbotics_370 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='h...
[ "ayushpuroheet@gmail.com" ]
ayushpuroheet@gmail.com
b6439377a19c73e5da58316b7d84b3c5411b842b
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/303/usersdata/295/93919/submittedfiles/testes.py
9b9b59e8d832dfd40f761c64fc2697e408e149bc
[]
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
4,742
py
n = int(input('Digite a quantidade de elementos: ')) e = [] for i in range(0,n,1): e.append(float(input("Digite um valor :"))) for i in range(0,n,1): media = sum(e)/n print(media) soma = 0 for i in range(0,n,1): x = (e[i] - media)**2 des = ((1/(n-1)) * sum(e) * ((x)))**0.5 print(des) print("--------------...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
a59ef2701b4a9009ef8b85794b5b279b81224066
b04025c216166398c5a2a51597bdb683f80d2362
/readthedocs/restapi/views/model_views.py
69fe9b75bd6968cf507cb2e9be538247f1cbd641
[ "MIT" ]
permissive
jet-sun/readthedocs.org
4344d5727de410333f5a678fda81c1328ec25e71
358ae182a47cea819f59db630655a24044845312
refs/heads/master
2021-01-15T20:18:41.647026
2014-09-17T19:29:12
2014-09-17T19:29:12
24,242,108
1
0
null
null
null
null
UTF-8
Python
false
false
5,813
py
import logging from django.shortcuts import get_object_or_404 from rest_framework import decorators, permissions, viewsets, status from rest_framework.renderers import JSONPRenderer, JSONRenderer, BrowsableAPIRenderer from rest_framework.response import Response from builds.models import Version from builds.filters ...
[ "eric@ericholscher.com" ]
eric@ericholscher.com
1b982599ee770ccbcac133944b7b04a42711ed69
f60ef162c40fee3efda714d0c1a7bdcedb9006a0
/venv/bin/wheel
d86df03628aaae1ff1d996635696f051a178cd31
[]
no_license
DennisMufasa/pythone_learning
66953770d62bebc676413489f43d4b0a1478aabe
e894ad63269d21e352faae19bedd1d0d3ae289a0
refs/heads/master
2021-04-12T12:05:44.462529
2018-03-25T09:40:01
2018-03-25T09:40:01
126,682,986
0
0
null
null
null
null
UTF-8
Python
false
false
255
#!/home/mufasa/PycharmProjects/helloWorld/venv/bin/python3.5 # -*- coding: utf-8 -*- import re import sys from wheel.tool import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "denny.muasa@gmail.com" ]
denny.muasa@gmail.com
7e23be83c866c3134acc8e4b5c0aadf0bb7f872b
d687928d05e05fac765f3b936c1e0c0d1950c68a
/src/dpuz/binrrt2d.py
b7bc21eb38d3a7c27c6c7e83d28f135c6ea7ad4f
[]
no_license
PeterZs/PuzzleTunnelDiscovery
0b75dc3e62d0e8d18941e3c37646aec498b3a251
badd6debb5cf4882598038ac2cab454e014fc24b
refs/heads/master
2022-06-17T20:03:51.210708
2020-04-30T05:14:16
2020-04-30T05:14:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,336
py
#!/usr/bin/env python3 # import os # import sys import numpy as np import argparse def parse_args(): p = argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter) p.add_argument('npz_files', help='RRT2D NPZ file', nargs='+') p.add_argument('--res', help='Resolution', nargs=2, default...
[ "xinyazhang@utexas.edu" ]
xinyazhang@utexas.edu
f609a9170bc7d90aa96e2ad2b0d80ba5b5a4ff03
1e456b4a1f1fee546331173b24675ed65ea6a375
/tests/test_foo.py
47752a07de09cf1eda8ae04007ce0154683b4eb0
[ "BSD-3-Clause" ]
permissive
romilsonlemes/haste-agent
b16cd10a20583240144876123170164ca6d57ec5
71a3d0d69b5a6660d63158897a53d1a65aba49ba
refs/heads/master
2023-03-07T21:27:37.823085
2021-02-07T07:57:29
2021-02-07T07:57:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
724
py
from types import SimpleNamespace import pytest def test_foo(): assert True def test_sorting1(): foo = [ SimpleNamespace(timestamp=1, preprocessed=True), SimpleNamespace(timestamp=2, preprocessed=True), SimpleNamespace(timestamp=3, preprocessed=False) ] foo.sort(key=lambda ...
[ "blamey.ben@gmail.com" ]
blamey.ben@gmail.com
b50201ca29b565d4cb39a8fae0c67c57f8d330e8
8b9888d9502cc74daee7999b759ae1c6424b222f
/amelie/members/migrations/0012_person_ut_external_username.py
532f15c2eb43b3e59c548a82da4ff0ae5d89e466
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
Inter-Actief/amelie
e3bdb69b81081dc71a2dab150f4b596f89319400
5e46b82cab225b452eceffd4a5be6dadccceddd2
refs/heads/main
2023-09-01T21:33:14.633957
2023-06-19T15:12:09
2023-06-19T15:12:09
60,258,872
11
4
BSD-3-Clause
2023-09-10T09:52:08
2016-06-02T11:33:40
Python
UTF-8
Python
false
false
617
py
# Generated by Django 3.2.17 on 2023-04-07 11:28 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('members', '0011_alter_person_slug'), ] operations = [ migrations.AddField( model_name='person', ...
[ "kevin@kevinalberts.nl" ]
kevin@kevinalberts.nl
c6b7b29bcf1ef99ad4344bfedcac836bf1375bf2
781b9a4a1098f3ac339f97eb1a622924bcc5914d
/Exercices/40_sql/SQL-000/morpion_cor_sk.py
17991b7cd9a4529db2e7ef5db7f7c07bfb8c81b8
[]
no_license
xpessoles/Informatique
24d4d05e871f0ac66b112eee6c51cfa6c78aea05
e8fb053c3da847bd0a1a565902b56d45e1e3887c
refs/heads/main
2023-08-30T21:10:56.788526
2023-08-30T20:17:38
2023-08-30T20:17:38
375,464,331
2
0
null
null
null
null
UTF-8
Python
false
false
1,856
py
import sqlite3 conn = sqlite3.connect('bdd/bdd_morpion_01.sqlite') c = conn.cursor() def traitement_sol(l) : return [x[0] for x in l] req=["""select pseudo from joueurs where idj = 42 ;""",\ """select idj from joueurs where pseudo = 'Galois' ;""",\ """select count(*) from parties ;""",\ """selec...
[ "xpessoles.ptsi@free.fr" ]
xpessoles.ptsi@free.fr
7d25bf44ff1b02e05cb56d5973ca3fa66f3ff31b
51da71a26628a3c6d1814e6da38f5c48f3101d9b
/uri/2385.py
8efecee0142fed5adcf1007462b85efb9ebede0a
[]
no_license
da-ferreira/uri-online-judge
279156249a1b0be49a7b29e6dbce85a293a47df1
6ec97122df3cb453ea26e0c9f9206a2e470ba37d
refs/heads/main
2023-03-30T11:47:05.120388
2021-04-02T19:45:25
2021-04-02T19:45:25
309,744,456
0
0
null
null
null
null
UTF-8
Python
false
false
741
py
def linha_a(p, q, x, dimensao, linha): linha_a = [(p * linha + q * j) % x for j in range(1, dimensao + 1)] return linha_a def coluna_b(r, s, y, dimensao, coluna): coluna_b = [] for i in range(1, dimensao + 1): coluna_b.append((r * i + s * coluna) % y) return coluna_b ...
[ "noreply@github.com" ]
da-ferreira.noreply@github.com
4d9cc2ffbeb779169eed0cd33a022bd4c27edf6e
14fc2ee47e1081416f0465e8afa18da33169095f
/src/PP4E/Gui/Tour/entry2_modal.py
7205db8e50eb192dd1c3a884eb97465d29182e92
[]
no_license
madtyn/progPython
d95ea8021b1a54433e7b73de9d3b11d53a3096b7
f3a1169149afdeb5191dd895462139f60d21d458
refs/heads/master
2021-07-09T13:35:27.519439
2017-10-04T14:46:57
2017-10-04T14:46:57
104,866,903
0
0
null
null
null
null
UTF-8
Python
false
false
855
py
""" make form dialog modal; must fetch before destroy with entries """ from tkinter import Tk, Toplevel, Button from entry2 import makeform, fetch, FIELDS def show(entries, popup): ''' Shows the entries values and destroys the window :param entries: the entries :param popup: the dialog window '''...
[ "madtyn@gmail.com" ]
madtyn@gmail.com
954380c84d189e0ce68238ecbeeba2243817f0bb
bcb56cc126ea1885eb5ecc920884e2e331def045
/Part C/Yaroslav and Permutations.py
f19ee8df0583aaf7292a4cf45d393548507420ee
[]
no_license
priyanshkedia04/Codeforces-Solutions
2d11cb7b8329fe658f983b7212c17fc89fd784f0
a5197c633bf4c3238f48bfb5b308144c2ffba473
refs/heads/main
2023-06-06T13:10:13.787843
2021-07-01T14:06:52
2021-07-01T14:06:52
382,000,707
0
0
null
null
null
null
UTF-8
Python
false
false
356
py
n = int(input()) arr = list(map(int, input().split())) if len(arr) < 2: print("YES") else: from collections import Counter d = Counter(arr) if len(arr)%2 == 0: if d.most_common(1)[0][1] > len(arr)//2: print("NO") else: print("YES") else: if d.most_common(1)[0][1] > len(arr)//2 + 1: pr...
[ "noreply@github.com" ]
priyanshkedia04.noreply@github.com
36696143ca28375e97c87554ed603b3c979a3cf4
18dba2f82e17873e5e8161e74bc714ef88b09b36
/realestate/exportdata/mappers/services.py
2b7e4c6494492bf4c3787fdedbaa0b15638e2c7d
[]
no_license
sanchellius/estate-agent
8013573624b62ea3b6362fa0c22edf8371ca6966
53c15c2f2c970bd432ae579b5aa6f76ab2fbac49
refs/heads/master
2021-01-17T21:15:35.988578
2016-07-25T21:51:24
2016-07-25T21:51:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
361
py
# -*- coding: utf-8 -*- from exportdata.engines.avito import AvitoEngine from exportdata.models import FeedEngine class FeedEngineFactory(object): FEEDENGINE_MAP = { FeedEngine.AVITO: AvitoEngine, } @staticmethod def get_feed_engine(feed): return FeedEngineFactory.FEEDENGINE_MA...
[ "picasso75@yandex.ru" ]
picasso75@yandex.ru
8f9c5b4ac83b97016d6e7613bfa44e71d97057a9
13f9fbda48604fe1d588e03460d9cba0d6ffd376
/venv/Lib/site-packages/pymongo/auth.py
3365581b1be215e7ea303c7a61406c606044ffcb
[]
no_license
gogoheejun/HangHae-01-miniproject
96e4bb128bcaecf0603bce43265872cc12090980
c1ac7d77a2e7d23ecc4aa8a06fb7ad939fb53872
refs/heads/master
2023-08-17T05:10:10.408421
2021-09-17T13:00:56
2021-09-17T13:00:56
406,779,223
0
1
null
2021-09-18T04:20:28
2021-09-15T13:35:46
Python
UTF-8
Python
false
false
25,255
py
# Copyright 2013-present MongoDB, Inc. # # 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 agreed t...
[ "heejjuunn@gmail.com" ]
heejjuunn@gmail.com
938ef85779036a52a0bb7548d094a1f74de873a1
28bd3070d11f89de91a89bf705c0c5bd73836ceb
/src/globus_cli/commands/search/ingest.py
cecbe10de1f5c620bb1b931fc4056fe7e7151b48
[ "Apache-2.0" ]
permissive
sirosen/globus-cli
8fb92a8868d54834bfbc323e884966df8faa7570
717b3fec6ea7ca324b1392b66dd5c58f5646160d
refs/heads/main
2023-08-18T21:07:47.618666
2022-05-27T19:15:39
2022-05-27T19:15:39
69,377,442
0
0
Apache-2.0
2023-09-04T17:59:04
2016-09-27T16:38:04
Python
UTF-8
Python
false
false
1,840
py
import json import uuid from io import TextIOWrapper import click from globus_cli.login_manager import LoginManager from globus_cli.parsing import command from globus_cli.termio import FORMAT_TEXT_RECORD, formatted_print from ._common import index_id_arg @command("ingest", short_help="Ingest a document into Globus...
[ "sirosen@globus.org" ]
sirosen@globus.org
0c256a91700b5bb9a65612d55dc230f9ed050cd4
3a9f2b3d79cf214704829427ee280f4b49dca70a
/saigon/rat/RuckusAutoTest/tests/zd/CB_ZD_Create_Wlan_Group.py
c312961dabcb2b436b7064b61efaa604b9a3e028
[]
no_license
jichunwei/MyGitHub-1
ae0c1461fe0a337ef459da7c0d24d4cf8d4a4791
f826fc89a030c6c4e08052d2d43af0b1b4b410e3
refs/heads/master
2021-01-21T10:19:22.900905
2016-08-20T03:34:52
2016-08-20T03:34:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,541
py
""" Description: This script is support to confgiure wlan group with wlan on zd Author: Jason Lin Email: jlin@ruckuswireless.com """ from RuckusAutoTest.models import Test from RuckusAutoTest.components import Helper_ZD as zhlp class CB_ZD_Create_Wlan_Group(Test): def config(self, conf): self.__cfg_i...
[ "tan@xx.com" ]
tan@xx.com
271aa03248657232e959312311e34f4816075a36
816aedfddbac7d7b8c77fc33f374d9ee69d9c0d7
/celeryconfig-boss.py
a83a9c2a7152a82d1c33ff76dc8e50169d165dd6
[]
no_license
askeing/Hasal-controller
c234903dc9150acd987676bdfdb59bd0f8d1c154
ee009bb9e7ab026bccb8693453e3e4d197f707a7
refs/heads/master
2021-01-11T17:54:09.921895
2017-06-13T08:36:17
2017-06-13T08:36:17
79,868,034
1
0
null
null
null
null
UTF-8
Python
false
false
625
py
from celery.schedules import crontab # trigger the scheduled tasks: $ celery beat --conf celeryconfig-boss # or running worker with --beat parameter for single worker. beat_schedule = { 'every-hour': { 'task': 'tasks.add_job', 'schedule': crontab(minute=0, hour='*'), 'kwargs': { ...
[ "askeing@gmail.com" ]
askeing@gmail.com
19b1f149fb46b361b8d5ebb9f04bd5de244e2639
2a3606551a4d850a7b4d6a4e08089c51108ef7be
/plugin.video.xbmcfilm/resources/lib/mrknow_utils.py
e2da15fde397fa51bb4a953c42b84b70cccf6b6b
[ "Apache-2.0" ]
permissive
rrosajp/filmkodi
a6bb1823f4ed45453c8b8e54ffbd6a7b49f44450
0162cde9ae25ddbf4a69330948714833ff2f78c9
refs/heads/master
2021-09-18T06:03:17.561062
2018-06-22T23:28:53
2018-06-22T23:28:53
234,768,781
1
0
Apache-2.0
2021-06-03T20:33:07
2020-01-18T17:11:57
null
UTF-8
Python
false
false
914
py
# -*- coding: utf-8 -*- """ App name ~~~~~~ :copyright: (c) 2014 by mrknow :license: GNU GPL Version 3, see LICENSE for more details. """ import urllib from BeautifulSoup import BeautifulSoup import urlparse, httplib, random, string def getHostName(url): hostName = urlparse.urlparse(url)[1].split('.') retur...
[ "mrknow@interia.pl" ]
mrknow@interia.pl
665c6eb835f7aff347b683b54c41c6aa9e7169cc
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2333/60724/288259.py
0ddeb0398125ad18d5ec96223fd39c9599cf9dc6
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
347
py
import math x=int(input()) y=int(input()) bound=int(input()) mx=int(pow(bound,1/x)) my=int(pow(bound,1/y)) nums=[] for i in range(mx+1): for j in range(my+1): nums.append(int(pow(x,i)+pow(y,j))) nums=list(set(nums)) nums.sort() move=[] for i in nums: if i>bound: move.append(i) for i in move: ...
[ "1069583789@qq.com" ]
1069583789@qq.com
a45d123f838e06d5ab4f1d4206e4d86cfcf4bc29
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part003169.py
c38a01e31b1ef0cff230c89d5a48cc78da5b9ee7
[]
no_license
Upabjojr/rubi_generated
76e43cbafe70b4e1516fb761cabd9e5257691374
cd35e9e51722b04fb159ada3d5811d62a423e429
refs/heads/master
2020-07-25T17:26:19.227918
2019-09-15T15:41:48
2019-09-15T15:41:48
208,357,412
4
1
null
null
null
null
UTF-8
Python
false
false
16,621
py
from sympy.abc import * from matchpy.matching.many_to_one import CommutativeMatcher from matchpy import * from matchpy.utils import VariableWithCount from collections import deque from multiset import Multiset from sympy.integrals.rubi.constraints import * from sympy.integrals.rubi.utility_function import * from sympy....
[ "franz.bonazzi@gmail.com" ]
franz.bonazzi@gmail.com
1e2f38f01ce285f9c8eb7d8b62bc43f4beb7083b
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/148/usersdata/273/65045/submittedfiles/testes.py
e6761dc198050f31f068abe48e1d2501e42e5e76
[]
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
103
py
# -*- coding: utf-8 -*- #COMECE AQUI ABAIXO A = float(input('Fale :')) print (float(A)) print (int(A))
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
2dfdde1c6e6fd32ae4903e1b0a94651ba918f14e
9618a6f6a420879cfbc4a0a2e622435163908c77
/async_aiohttp_Test/Test9.py
fb052af4b7ce88f5e97a5ad7095facdafff4e7ab
[]
no_license
mojoru2023/ProjectFor_Spiders
3aa35676be91ca50d606879e16c3631573f4645f
b2e15fd42b0108e175571935eb37d37ba051047e
refs/heads/master
2023-04-27T16:21:34.755770
2019-07-22T06:34:40
2019-07-22T06:34:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
613
py
import time import asyncio from aiohttp import ClientSession tasks = [] url = "https://www.baidu.com/{}" async def hello(url): async with ClientSession() as session: async with session.get(url) as response: # print(response) print('Hello World:%s' % time.time()) return aw...
[ "291109028@qq.com" ]
291109028@qq.com
f9bc7809c4a4afebbe6cfa7b2be72d035d484545
32cf9c3099c36a46804e393dd1491a8954f50263
/2019.03.05 - 알고리즘 실습/문제/공통조상.py
f9bed777ad7be2815178fae6becf7df9fcbb0ffd
[]
no_license
ash92kr/s_code
ce3bda6a403600892750e181dca5ed8c4caebcb1
92eace551d132b91ee91db6c0afd38b93f9b647b
refs/heads/master
2020-04-12T00:27:07.043091
2019-05-21T08:17:39
2019-05-21T08:17:39
162,200,447
0
0
null
null
null
null
UTF-8
Python
false
false
1,901
py
import sys sys.stdin = open("공통조상_input.txt") def ancestor(N1, N2): global tree, V, E # N1_anc = [0] * (V+1) # N2_anc = [0] * (V+1) anc = [] anc_node = 0 while True: # N1의 조상 찾기 if tree[N1][2] == 0: break else: anc.append(tree[N1][2]) N1 =...
[ "ash92kr@gmail.com" ]
ash92kr@gmail.com
1a321a14402cdb2fd30f958a87eed21e89372a70
38346ccf93e0c0d49a378b2532fe215669018829
/nipype/interfaces/camino/tests/test_auto_SFPeaks.py
99a1561eaa1f9274bd8f69b5da9c401aded1345f
[ "BSD-3-Clause" ]
permissive
swederik/nipype
de509c2605bc83448240c7c3c68ee8d220d48ef3
872720a6fc00b00e029fb67742deedee524b2a9f
refs/heads/master
2020-12-25T10:08:44.268742
2014-05-22T14:05:58
2014-05-22T14:05:58
1,421,176
3
2
null
null
null
null
UTF-8
Python
false
false
1,815
py
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT from nipype.testing import assert_equal from nipype.interfaces.camino.odf import SFPeaks def test_SFPeaks_inputs(): input_map = dict(args=dict(argstr='%s', ), density=dict(argstr='-density %d', units='NA', ), environ=dict(nohash=True, us...
[ "satra@mit.edu" ]
satra@mit.edu
a4782715d42180985d8b68573ef2c690377d7fc3
1e9c9f2a9639db7cdb032aae69cb4d99aef1d3a5
/pluralSight/pythonBeyondTheBasics/8_iterablesAndIteration/example_iterator.py
f1f1116f3e258b13d9318306bed29e8f7ea7adec
[ "MIT" ]
permissive
sagarnikam123/learnNPractice
f0da3f8acf653e56c591353ab342765a6831698c
1b3b0cb2cff2f478006626a4c37a99102acbb628
refs/heads/master
2023-02-04T11:21:18.211654
2023-01-24T14:47:52
2023-01-24T14:47:52
61,184,927
2
1
MIT
2022-03-06T11:07:18
2016-06-15T06:57:19
Python
UTF-8
Python
false
false
493
py
# example_iterator class ExampleIterator: def __init__(self, data): self.index = 0 self.data = data def __iter__(self): return self def __next__(self): if self.index >= len(self.data): raise StopIteration() rslt = self.data[self.index] self.ind...
[ "sagarnikam123@gmail.com" ]
sagarnikam123@gmail.com
202fd80c4f4212f8807c0c9179460c58554b153f
64bf39b96a014b5d3f69b3311430185c64a7ff0e
/intro-ansible/venv3/lib/python3.8/site-packages/ansible/modules/package_facts.py
97bfd6f0c1d766338bfcfe81688470f80d70dcf1
[ "MIT" ]
permissive
SimonFangCisco/dne-dna-code
7072eba7da0389e37507b7a2aa5f7d0c0735a220
2ea7d4f00212f502bc684ac257371ada73da1ca9
refs/heads/master
2023-03-10T23:10:31.392558
2021-02-25T15:04:36
2021-02-25T15:04:36
342,274,373
0
0
MIT
2021-02-25T14:39:22
2021-02-25T14:39:22
null
UTF-8
Python
false
false
14,447
py
#!/usr/bin/python # (c) 2017, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # most of it copied from AWX's scan_packages module from __future__ import absolute_import, division, print_function __metaclass__ = type DOCUMENTATION = ''' module: package_fac...
[ "sifang@cisco.com" ]
sifang@cisco.com
58307fb2dcb25a5bd16bc5be71066ece1fef85a1
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2538/60590/261716.py
619f3f87b0fddfd57dec30dec7cfb38fc78ac2b7
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
914
py
import ast lists = ast.literal_eval(input()) lists.sort() flag = False for i in range(lists.__len__()): if lists[i] < 0: flag = True else: flag = False if flag: print(1) else: index = 0 for i in range(lists.__len__()): if lists[lists.__len__()-1-i] < 0: index = ...
[ "1069583789@qq.com" ]
1069583789@qq.com
1e59e77276c63009a6d8dbe3af3d1ad0327f5d21
d795263d921ca72e64f6ceed31790ff4e4f489b1
/Novel/manage.py
bcb286e861ad9a4d2fbcfda0e449ea06eab54e53
[]
no_license
xyh54/Inuyasha
571be4155ad5dd4e4e2fc913935faacfd9f13416
d4642db894ed4d3a3a7582479abe556e8c0353b9
refs/heads/master
2020-07-01T12:16:01.358758
2019-07-27T00:05:20
2019-07-27T00:05:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
537
py
#!/usr/bin/env python import os import sys if __name__ == '__main__': os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'Novel.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. Are yo...
[ "apple@appledeMacBook-Air.local" ]
apple@appledeMacBook-Air.local
30476169797129bde7b663707e0f5e39b49d7770
5b4e61ffd1fa4196a407306992c40489bdd53714
/froide/foirequest/migrations/0030_copy_summary.py
2199826d679c4442779f65c62a1f920ff0f663b1
[ "MIT" ]
permissive
juyrjola/froide
1ee0744e94781391522632d04214a04753ce2679
61aa2f845857171d27f97623e4125a9fd77b4994
refs/heads/master
2021-01-15T09:42:23.946431
2013-11-09T21:20:44
2013-11-09T21:20:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
22,315
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import DataMigration from django.db import models class Migration(DataMigration): def forwards(self, orm): "Write your forwards methods here." for req in orm['foirequest.FoiRequest']._default_manager.all(): i...
[ "mail@stefanwehrmeyer.com" ]
mail@stefanwehrmeyer.com
2279cffab9ad87639a5a236617b6e77c3141be17
4323ef02073a8e3c9e6aceba738aef5fc72c3aa6
/reconvoz/venv/Scripts/pip3.6-script.py
aea0b47b15e2b911ae6f12a43adcb49cf0bb7a75
[ "MIT" ]
permissive
fotavio16/PycharmProjects
e1e57816b5a0dbda7d7921ac024a71c712adac78
f5be49db941de69159ec543e8a6dde61f9f94d86
refs/heads/master
2022-10-19T15:45:52.773005
2020-06-14T02:23:02
2020-06-14T02:23:02
258,865,834
0
0
null
null
null
null
UTF-8
Python
false
false
418
py
#!C:\Users\ferna\PycharmProjects\reconvoz\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3.6' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.ar...
[ "fotaviofonseca@gmail.com" ]
fotaviofonseca@gmail.com
779e3208ffefe1986bd0445f9c9513328b4c247f
ebd337be89c4c0decb95b55bbf00e380c7a048c1
/Python/380. Insert Delete GetRandom O(1).py
1cef8e3799d11e0666a0bbb204c2ecc10db9e9f3
[]
no_license
congfeng22/Leetcode
10f8c4baa8e3db07b1e2689628036a43c8dde767
1794586f5c4e866f85a56649a65135597e2e6b9f
refs/heads/master
2022-10-08T20:07:22.125380
2022-10-05T01:03:15
2022-10-05T01:03:15
230,495,878
0
0
null
null
null
null
UTF-8
Python
false
false
972
py
import numpy as np class RandomizedSet: def __init__(self): self.list = [] self.map = {} def insert(self, val: int) -> bool: if val in self.map: return False self.list.append(val) self.map[val] = len(self.list)-1 return True def remove(self, val:...
[ "congfeng22@gmail.com" ]
congfeng22@gmail.com
78897f68f0951ddf22201456c5068742f3457b3c
fb22faf93d7d0ad071325679e3214fe3ad14cf07
/user/serializers.py
e516577ccc11aee48a80ef18bd181edddc3e1d41
[]
no_license
Hackathon-Rewind/BackEnd-Repo
9c6fc4d33577051304f2166dbc07d35f086751c6
1e2b2a6895cfedae077752beb7d4f034c1bd32aa
refs/heads/master
2020-09-14T10:21:18.846553
2019-11-22T03:44:46
2019-11-22T03:44:46
223,102,176
0
0
null
null
null
null
UTF-8
Python
false
false
730
py
from .models import User from rest_framework import serializers class UserLoginSerializers(serializers.Serializer): userId = serializers.CharField(max_length=100) userPw = serializers.CharField(max_length=100) userName = serializers.CharField(max_length=100) userPhone = serializers.CharField(max_lengt...
[ "jinhong0719@naver.com" ]
jinhong0719@naver.com
29777e3132f8be4e05d5170a7cd1d92c89fc9731
52b5fa23f79d76883728d8de0bfd202c741e9c43
/kubernetes/test/test_v1_limit_range_spec.py
1140c992648fd019e827134809e78b67a91d461c
[]
no_license
kippandrew/client-python-tornado
5d00810f57035825a84e37ff8fc89a7e79aed8da
d479dfeb348c5dd2e929327d800fe033b5b3b010
refs/heads/master
2021-09-04T13:01:28.275677
2018-01-18T23:27:34
2018-01-18T23:27:34
114,912,995
0
0
null
null
null
null
UTF-8
Python
false
false
965
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: v1.8.6 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import un...
[ "andy@rstudio.com" ]
andy@rstudio.com
10a8bf28bcc9d8d4984aa2189480efd340e84ce7
1f68f1ef09fb94fcfef34eb97bb5e1005951f789
/addresses/forms.py
15b9e98351e2ce03282e5f03d95ac488857c462a
[]
no_license
eustone/zambezi
60f7ae19898a53b9553441f0cb8731032b9118f8
b842f15c10e80cdf8f1b5065712e9ddce62cda16
refs/heads/master
2021-07-04T08:26:46.952318
2019-04-25T08:42:11
2019-04-25T08:42:11
183,391,268
0
1
null
2020-10-01T15:44:21
2019-04-25T08:31:56
Python
UTF-8
Python
false
false
348
py
from django import forms from .models import Address class AddressForm(forms.ModelForm): class Meta: model = Address fields = [ #'billing_profile', #'address_type', 'address_line_1', 'address_line_2', 'suburb', 'city', 'country', 'sta...
[ "emalaya@gmail.com" ]
emalaya@gmail.com
7eb24239e849a47b6599ba3d15479dd3f3eff30e
dd677ca3d60d81bd0326ab7b14f092c3e3cf7425
/nmt/layers/attention.py
b32214f6caf75e12a40505a91d53177451ee5b9e
[]
no_license
MathiasDarr/ServerlessNMT
a6144fe165c529e33a3a5a517aedc945774b4711
c0283d7450350bd88ed7595e37ac805b5cb0dc6c
refs/heads/master
2023-01-07T19:45:38.973370
2020-10-22T07:47:20
2020-10-22T07:47:20
309,563,958
0
0
null
null
null
null
UTF-8
Python
false
false
1,246
py
import tensorflow as tf class Attention(tf.keras.layers.Layer): def __init__(self, units): super(Attention, self).__init__() self.W1 = tf.keras.layers.Dense(units) self.W2 = tf.keras.layers.Dense(units) self.V = tf.keras.layers.Dense(1) def call(self, query, values): # query hidden state shape...
[ "mddarr@gmail.com" ]
mddarr@gmail.com
f4c351d6aed96091173c64773bc5ff6fdfc2ae59
1f08436bab6cd03bcfb257e8e49405cbc265195a
/2_String/Sample/string_ex28.py
fbe419407fa203f67e829dbf60fa7ccc333374f0
[]
no_license
kuchunbk/PythonBasic
e3ba6322f256d577e37deff09c814c3a374b93b2
a87135d7a98be8830d30acd750d84bcbf777280b
refs/heads/master
2020-03-10T04:28:42.947308
2018-04-17T04:25:51
2018-04-17T04:25:51
129,192,997
0
0
null
null
null
null
UTF-8
Python
false
false
1,374
py
'''Question: Write a Python program to add a prefix text to all of the lines in a string. ''' # Python code: import textwrap sample_text =''' Python is a widely used high-level, general-purpose, interpreted, dynamic programming language. Its design philosophy emphasizes code readability, a...
[ "kuchunbk@gmail.com" ]
kuchunbk@gmail.com
6118f464d5cc348481b33859807eec5d45e06c4d
2bb90b620f86d0d49f19f01593e1a4cc3c2e7ba8
/pardus/tags/2008/applications/openoffice/actions.py
4ac0b52f43e354bf5e4368c2d7c39f0d2e058d1f
[]
no_license
aligulle1/kuller
bda0d59ce8400aa3c7ba9c7e19589f27313492f7
7f98de19be27d7a517fe19a37c814748f7e18ba6
refs/heads/master
2021-01-20T02:22:09.451356
2013-07-23T17:57:58
2013-07-23T17:57:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,085
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright 2005-2008 TUBITAK/UEKAE # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt from pisi.actionsapi import pisitools from pisi.actionsapi import autotools from pisi.actionsapi import shellto...
[ "yusuf.aydemir@istanbul.com" ]
yusuf.aydemir@istanbul.com
3a10679c1b8e3c8d11df30e46c99a6644ba1d314
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/word-count/c8060492d1b14c4b9e5a270a8f5ee84f.py
7554e49f9fff29d8f8b7587f1aabf762748bbd9b
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
256
py
# -*- coding: utf-8 -*- """ Created on Mon Oct 27 22:46:36 2014 @author: DiCar """ def word_count(phrase): dictionary = {} words = phrase.split() for word in words: dictionary[word] = words.count(word) return dictionary
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
5a3e03ea1ec037db00b0be789ef93448b2e23dd9
632a538bdf66876c939632119064e6d7f69c275b
/corono-analizer/venv/Scripts/pip3.8-script.py
b3c1e1f14458554d95831e3c0502327c22401648
[]
no_license
Stelmaszv/Python-small-project
3d1b7ddfbcdde725618f8bd8ea45ab585d39a55d
928712b57e3eb3673f4d960c5747dddd97077b4a
refs/heads/master
2022-08-21T16:35:33.535951
2020-05-22T13:46:48
2020-05-22T13:46:48
256,485,690
0
0
null
null
null
null
UTF-8
Python
false
false
426
py
#!D:\project\Python-small-project\corono-analizer\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3.8' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', ''...
[ "stelmaszv@gmail.com" ]
stelmaszv@gmail.com
63296b1e56a20ce74365346b890fbeb5dc613ba5
e9c25654e028fe51f49ca286b6e4cc468552390c
/tekblog_sample/settings.py
a32a24917de417018d78cc9eab79a4642dca4c07
[]
no_license
sontek-archive/django-tekblog
4f742cd2f42aa88a062a08e8a8b831611e84f676
bd9a1c6238050b7a22f7743edbac09146d58832a
refs/heads/master
2021-01-18T14:58:58.897923
2011-12-01T00:51:31
2011-12-01T00:51:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,571
py
import os PROJECT_ROOT = os.path.dirname(__file__) STATICFILES_DIRS = ( os.path.join(PROJECT_ROOT, 'static'), ) TEMPLATE_DIRS = ( os.path.join(PROJECT_ROOT, 'templates'), ) DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_email@example.com'), ) MANAGERS = ADMINS # Local time zone f...
[ "sontek@gmail.com" ]
sontek@gmail.com