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
7aa31be9cc6026eb4f8b0ce8c4e7e1636d024a8f
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/50/usersdata/134/19167/submittedfiles/contido.py
0def95c7b5340172307b304f557314328b69cd1f
[]
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
470
py
# -*- coding: utf-8 -*- from __future__ import division n = input('Quantidade de elementos de a:') a = [] for i in range(0,n,1): a.append(input('Digite um valor:')) m = input('Quantidade de elementos de b:') b = [] for i in range(0,m,1): b.append(input('Digite um valor:')) cont = 0 def lista(a): a[0...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
0e56bf8ed73462e6d8d4224877b8ef90282c3bfe
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_managing.py
c3d2619519ac3dfd32082a1f69f6bfb2869a39aa
[ "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
224
py
#calss header class _MANAGING(): def __init__(self,): self.name = "MANAGING" self.definitions = manage self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['manage']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
34d9075fcb8f6a7780fc543fbf024cec7ef1ce6c
d05c946e345baa67e7894ee33ca21e24b8d26028
/general/gmail-api/gmail_api.py
3ff3265516251943f18ce1f75b9483a7152eb03e
[ "MIT" ]
permissive
x4nth055/pythoncode-tutorials
327255550812f84149841d56f2d13eaa84efd42e
d6ba5d672f7060ba88384db5910efab1768c7230
refs/heads/master
2023-09-01T02:36:58.442748
2023-08-19T14:04:34
2023-08-19T14:04:34
199,449,624
1,858
2,055
MIT
2023-08-25T20:41:56
2019-07-29T12:35:40
Jupyter Notebook
UTF-8
Python
false
false
2,348
py
# for parsing commandline arguments import argparse from common import search_messages, gmail_authenticate from read_emails import read_message from send_emails import send_message from delete_emails import delete_messages from mark_emails import mark_as_read, mark_as_unread if __name__ == '__main__': parser =...
[ "fullclip@protonmail.com" ]
fullclip@protonmail.com
066c9e55d84474d25d481229e1e85c28e840dc3d
8040b4e3549b68d0dd74878cd31b458104644348
/test/testRoutes.py
5e848a001e96ef84f8ff4b4d4c805b85b72db3f1
[ "MIT" ]
permissive
ahaywardtvuk/PyGeodesy
cbf3bf795d5539f09a95492ec967cde5fdce6189
3a7c03c42237102af0a9ab23b2d550020a601d98
refs/heads/master
2023-08-29T21:02:06.318878
2021-09-30T17:17:50
2021-09-30T17:17:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
483,502
py
# -*- coding: utf-8 -*- # Test data for the simplify functions. # <https://GitHub.com/milkbread/Visvalingam-Wyatt> not Whyatt! # <https://GitHub.com/milkbread/Visvalingam-Wyatt/blob/master/route.json> # <https://GitHub.com/milkbread/Visvalingam-Wyatt/blob/master/out.json> # <https://milkbread.GitHub.io/Visvalingam-...
[ "mrJean1@Gmail.com" ]
mrJean1@Gmail.com
432e3093767c4cbbc0c3e171e6b78a3877a04112
1fbf79261b27e4f62e2575ec702b1e6ae5820939
/Python/0131_04_---파이썬---.py
4c3964919a9ce158ff0be340ed85795975721ba4
[]
no_license
sunnyhyo/big_data
9512dafccddf20a9ab91d5fe45598334cfe69d20
b4e2a3d0cbd690c4b773fcbe28bd5983bfd03d58
refs/heads/master
2021-05-02T14:38:39.332507
2018-03-03T06:45:37
2018-03-03T06:45:37
120,723,356
0
0
null
null
null
null
UTF-8
Python
false
false
232
py
ss=input('문자열 입력==>') print('출력 문자역==>', end="") ## end="" 옆으로 출력## if ss.startswith('---')==False: print("---", end="") print(ss, end="") if ss.endswith('---')==False: print("---",end='')
[ "sunnyhyo77@gmail.com" ]
sunnyhyo77@gmail.com
4d8c9e72253b36357ac9da790ac0470411996637
64c5341a41e10ea7f19582cbbf3c201d92768b9f
/webInterface/webInterface/aligner_webapp/alignworker/converters/__init__.py
0e064af14769dfc7fe765fe1bd5b633c0724dfa8
[]
no_license
CLARIN-PL/yalign
6b050b5c330b8eaf7e1e2f9ef83ec88a8abe5164
6da94fbb74e803bea337e0c171c8abff3b17d7ee
refs/heads/master
2023-06-10T18:30:42.112215
2021-06-24T13:07:17
2021-06-24T13:07:17
51,368,327
0
1
null
null
null
null
UTF-8
Python
false
false
1,508
py
import os import logging import shutil import subprocess import tempfile from alignworker.tmp import get_temp_file from .tokenizer import tokenize from .detokenizer import detokenize from .tmxconverter import to_tmx from .tsvconverter import to_tsv log = logging.getLogger(__name__) def doc_to_plaintext(path): """...
[ "krzysztof@wolk.pl" ]
krzysztof@wolk.pl
8f4305a715b7001f035cd96c718cd3ab7f10925d
05fa3773bb72a267d83b43819440c907a8fc80c3
/picarus/vision/video_combined_features.py
d22ed8765e0e8ec2a7110cec67f1c3046b98e8a7
[]
no_license
objects-in-space-and-time/picarus
91ce2ac87a3acd84603996cf0e2c4f3df0a6e49e
04745c47396891d97dc7ad3752ebce5c9b79f33a
refs/heads/master
2020-03-27T06:01:28.562484
2012-12-05T07:50:16
2012-12-05T07:50:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
685
py
import video_raw_features import video_block_features import sys import hadoopy class Mapper(object): def __init__(self): self.b = video_block_features.Mapper() self.r = video_raw_features.Mapper() def map(self, event_filename, video_data): hadoopy.counter('CombinedFeatures', 'DontHa...
[ "bwhite@dappervision.com" ]
bwhite@dappervision.com
4d78643d901fd554c695ee14e2f79334177eb94c
991fc97fa022c0d7f6ae5bc6844b7b1e9e013589
/domain/achievement/migrations/0001_initial.py
a47b8e7e572b5f3b1f3bdeebf2599d5d03bfa940
[]
no_license
pseudobabble/ufunction
436c143801933c23a23404b34525402ffaf8587e
6cd04061a7dca99aa5a5aba2caec0f778eb98aee
refs/heads/master
2023-05-28T08:10:32.599993
2020-07-01T06:21:02
2020-07-01T06:21:02
276,285,944
0
0
null
2021-06-10T23:07:02
2020-07-01T05:34:15
Python
UTF-8
Python
false
false
9,069
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.21 on 2019-06-08 22:07 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Cre...
[ "harryjohnson500@gmail.com" ]
harryjohnson500@gmail.com
adfbe0b6910b3dfc436ae935c24ba4d89ef0505a
621fec63ba65d000f8f539bd6b5238202e35644b
/blackandwhite.py
3fc6f0dbcfad81e78d41f6f3d4d88542996a6f7d
[ "MIT" ]
permissive
DiptoChakrabarty/ImageColrization
f764cffe82183ce951c130aa0d9af0e5c80eca48
c0cd1ae59ad99bced57b34376ce3191a1c2241a8
refs/heads/master
2021-01-01T12:45:54.964214
2020-02-24T17:09:19
2020-02-24T17:09:19
239,286,196
0
0
null
2020-02-09T11:00:26
2020-02-09T10:37:02
Python
UTF-8
Python
false
false
489
py
import cv2 import os import numpy as np path="./colored" upload="./black" colored=list(os.path.join(path,f) for f in os.listdir(path)) count=0 for images in colored: count+=1 photo=cv2.imread(images) resized=cv2.resize(photo,(400,350)) cv2.imwrite(images,resized) cv2.imshow("lakes",photo) cv2....
[ "diptochuck123@gmail.com" ]
diptochuck123@gmail.com
7fa051e8b4c4f78f4441293efc92b534c2a08c5c
c751562ea538476464a13a281f321cbfebf89b76
/python_stack/Django with Ajax/demos/main/apps/ajax_notes/models.py
c38bde3a9a7e020ce7189fdb85397987dfb674e6
[]
no_license
brizjose/JBCodingDojo
7e598419c0e090be4a92f7c3e80323daa9b4bb26
fc161de86995d285bb5b2c39e28e9adbe04faebc
refs/heads/master
2020-03-21T09:31:02.402139
2019-02-18T03:45:22
2019-02-18T03:45:22
138,403,753
0
0
null
null
null
null
UTF-8
Python
false
false
938
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models # Create your models here. class NoteManager(models.Manager): def CreateNote(self, context): messages = [] if context['title'] == "": messages.append("Title cannot be blank, please insert title...
[ "brizjosem@gmail.com" ]
brizjosem@gmail.com
b37de808e75120539eb4dc6c91fd2b891811f745
4e8cab639ddfa3e791b5b3a08aa491fb92c1ecaa
/Python_PostgresSQL/Python Refresher/destructuring_variables.py
070fb9609470e6f1b01a01bdf420cd7ba46e0835
[]
no_license
LesediSekakatlela/SQL_projects
49b91bebdf6f9b1176c40c3752232ab8d3d091dd
9c78fc027dd137ef96446ea0946343293f3be007
refs/heads/main
2023-07-13T02:41:41.261558
2021-08-20T09:03:23
2021-08-20T09:03:23
386,646,245
0
0
null
null
null
null
UTF-8
Python
false
false
440
py
t = 5, 11 x, y = t print(x, y) #2 students_attendance = {"Rolf": 96, "Bob": 80, "Anne": 100} print(list(students_attendance.items())) for t in students_attendance.items(): print(t) #3 people = [("Bob", 42, "Mechanic"), ("James", 24, "Artist"), ("Harry", 32, "Lecturer")] for name, age, profession in people: ...
[ "leseditumelo32@gmail.com" ]
leseditumelo32@gmail.com
4538004f106fffe79d316a3c4935178f4a9bc725
0517d16821ae92719f0d96d8036cf72effb0cc36
/everscript/__init__.py
df2fb0f35bd217a79b8a7e8a4cfdb9022415082c
[]
no_license
von/everscript
07ea72157f993e8c2f538c884806e37e9c7521c9
c61dc9f5fed679cedd9dac80718784d23e798dda
refs/heads/master
2020-04-12T07:37:46.649065
2013-02-13T16:23:23
2013-02-13T16:23:23
2,486,306
0
0
null
null
null
null
UTF-8
Python
false
false
191
py
from constants import * from EverNote import EverNote, EverNoteException from Note import Note from Notes import Notes from Plugin import Plugin from ToDo import ToDo from ToDos import ToDos
[ "von@vwelch.com" ]
von@vwelch.com
391d6b41347eaed37843d533873b24430cff13dc
724afba6b3534620645b0a2f7f91b1b10297458f
/code/resources/store.py
dc02bf05ba1052dec43559bcdf904348b5670e92
[]
no_license
Jaco26/flask-with-flasksqlalchemy
94b9dc091ec1a9cc71aec2171ebff6733c6889d3
a212408c187cc390874684e7ab5e9ae0e411b617
refs/heads/master
2020-04-02T20:15:06.248009
2018-10-27T19:59:04
2018-10-27T19:59:04
154,762,670
0
0
null
null
null
null
UTF-8
Python
false
false
926
py
from flask_restful import Resource, reqparse from models.store import StoreModel class Store(Resource): def get(self, name): store = StoreModel.find_by_name(name) if store: return store.json() # default HTTP status = 200 return { 'message': 'The store called {} was not found'.format(name) }, 404 ...
[ "jacob.albright23@gmail.com" ]
jacob.albright23@gmail.com
8edc48e1691172ead4b934b2b58fe6342f292901
5b4686ace41ebfcb2c694283b232761010cf31d7
/libraries/pyserial/serialutil.py
7d51752ff05e315397c26f9046da44bf76af0ba9
[ "Apache-2.0" ]
permissive
gepd/Deviot
bbf4d40fbecb8187255a4ab0f3e4dae7e5a7d985
150caea06108369b30210eb287a580fcff4904af
refs/heads/develop
2023-08-18T04:13:56.932126
2020-07-13T18:02:23
2020-07-13T18:02:23
47,856,861
335
91
Apache-2.0
2023-01-28T02:53:49
2015-12-11T23:56:06
Python
UTF-8
Python
false
false
21,692
py
#! python # # Base class and support functions used by various backends. # # This file is part of pySerial. https://github.com/pyserial/pyserial # (C) 2001-2016 Chris Liechti <cliechti@gmx.net> # # SPDX-License-Identifier: BSD-3-Clause import io import time # ``memoryview`` was introduced in Python 2.7 and ``bytes...
[ "guillermoepd@hotmail.com" ]
guillermoepd@hotmail.com
c805769e7c7870835953e3cc6f75171540adeca0
ec0b8c74ae4f370e47aa1a19adfa654b2766a19f
/src/run_ganterpreter.py
33af7402ef8571b199b84fc01cc96fab9861c32e
[ "Apache-2.0" ]
permissive
psc-g/ganterpretation
e8c37ce4a5ddd81c5f933a667ffef0696b56773b
98a963d098e0cf5a49dced1300840388001eeddf
refs/heads/master
2021-07-14T02:27:20.704844
2020-11-30T21:12:45
2020-11-30T21:12:45
218,511,004
22
0
null
null
null
null
UTF-8
Python
false
false
1,679
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function from absl import app from absl import flags import ganterpreter flags.DEFINE_string('output_dir', None, 'Directory where to store output.') flags.DEFINE_string('wav_path', None, 'Path to wav file to use.') f...
[ "psc@google.com" ]
psc@google.com
38355cde10cce1c38b527f4881ae08e583000a80
978b3484a069de59033bfa21ae4ea9db033c4b7c
/djpaystack/transaction.py
2133e2de97046b7200787420e4fb45cf8d2292af
[]
no_license
boiyelove/hookup
3b83223bf8c9a3b407a0c2f3d4f3496de01fcbee
59d44ce353d9f4f079e31b904da59e8185a8f401
refs/heads/master
2023-03-20T20:38:18.233708
2021-03-16T13:08:02
2021-03-16T13:08:02
140,166,924
0
0
null
null
null
null
UTF-8
Python
false
false
4,634
py
from .base import Base from .settings import TRANSACTIONURL class Transactions(Base): def __init__(self): super(Transactions, self).__init__() self.baseurl = TRANSACTIONURL def initialize(reference='', amount=0, email=''): ''' PAYSTACK TRANSACTION API Initialize Transaction curl https://api.payst...
[ "daahrmmieboiye@gmail.com" ]
daahrmmieboiye@gmail.com
e10440c3b022311e7e3f8255e41e920a81620a1b
c6d84655a8424c8ade139fd79ae1bbb1514f8c88
/05socket/udp_producer.py
c8f3cd16854e8e3a5104c25dece2780513a69411
[]
no_license
eryeer/pythonStudy
64240934ce463e7e9714fc7f0d7a6608cefab837
5c6a69ef10c0df38f89aee7e5d5cc9802a2b424b
refs/heads/master
2020-04-08T15:16:19.579466
2019-04-15T06:13:41
2019-04-15T06:13:41
159,472,137
0
0
null
null
null
null
UTF-8
Python
false
false
536
py
import socket def test(a: str, b: int) -> int: print(a) print(b) return b def main(): # test("1", 2) udp_socket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) udp_socket.bind(("", 7890)) # udp_socket.sendto(b"hahaha", ("localhost", 8080)) while True: send_data = input("i...
[ "eryeer@163.com" ]
eryeer@163.com
ff997a1fccf69381da8daaab4c8668bbc4ac74f2
564d6a4d305a8ac6a7e01c761831fb2081c02d0f
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_network_interface_ip_configurations_operations.py
7e680e53b36d37aa71b6bfced0ce22536e6ef870
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
paultaiton/azure-sdk-for-python
69af4d889bac8012b38f5b7e8108707be679b472
d435a1a25fd6097454b7fdfbbdefd53e05029160
refs/heads/master
2023-01-30T16:15:10.647335
2020-11-14T01:09:50
2020-11-14T01:09:50
283,343,691
0
0
MIT
2020-07-28T22:43:43
2020-07-28T22:43:43
null
UTF-8
Python
false
false
8,912
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
paultaiton.noreply@github.com
a9642d6c74ccc57e476b12e9fcc18c36bc7a0d0f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02913/s870183594.py
9f40aaa7f32fff9e55ca4ec7a16c32dad0b4c50a
[]
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
479
py
M = int(input()) T = input() ans = 0 for l in range(M): i, j = 1, 0 S = T[l:] N = M-l Z = [0]*N Z[0] = N while i < N: while i+j < N and S[j] == S[i+j]: j += 1 Z[i] = j if j == 0: i += 1 continue k = 1 while i+k < N and ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
f845ef1a170fda7ca4deb266135c6e317c07867c
f61ab4deaa5e5bd5171bb28854eaa6eacdc95a4c
/Instuiteapp/apps.py
7d961d172cbea670f828f552d7a799f9eb80e6de
[]
no_license
Adi19471/Institute_djangomvtadi_DJANGO
dfd67237bc4ca129f84fa62f15bcc17b1d4585ea
f4ce3f1c58a7e152d6011583d287be577f967cce
refs/heads/master
2023-07-22T17:03:59.781683
2021-09-11T07:25:45
2021-09-11T07:25:45
403,988,727
0
0
null
null
null
null
UTF-8
Python
false
false
154
py
from django.apps import AppConfig class InstuiteappConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'Instuiteapp'
[ "akumatha@gmail.com" ]
akumatha@gmail.com
c5416e6dd1cf97f29485ef6dcc297e53adb103b7
a2b6bc9bdd2bdbe5871edb613065dd2397175cb3
/算法小抄/打家劫舍/打家劫舍2.py
86f4e208511f26cebd8d468f2cb207d132ffe41b
[]
no_license
Asunqingwen/LeetCode
ed8d2043a31f86e9e256123439388d7d223269be
b7c59c826bcd17cb1333571eb9f13f5c2b89b4ee
refs/heads/master
2022-09-26T01:46:59.790316
2022-09-01T08:20:37
2022-09-01T08:20:37
95,668,066
0
0
null
null
null
null
UTF-8
Python
false
false
1,410
py
""" 你是一个专业的小偷,计划偷窃沿街的房屋,每间房内都藏有一定的现金。这个地方所有的房屋都围成一圈,这意味着第一个房屋和最后一个房屋是紧挨着的。同时,相邻的房屋装有相互连通的防盗系统,如果两间相邻的房屋在同一晚上被小偷闯入,系统会自动报警。 给定一个代表每个房屋存放金额的非负整数数组,计算你在不触动警报装置的情况下,能够偷窃到的最高金额。 示例 1: 输入: [2,3,2] 输出: 3 解释: 你不能先偷窃 1 号房屋(金额 = 2),然后偷窃 3 号房屋(金额 = 2), 因为他们是相邻的。 示例 2: 输入: [1,2,3,1] 输出: 4 解释: 你可以先偷窃 1 号房屋(金额 = 1),然后偷窃 3 号房屋(金额...
[ "sqw123az@sina.com" ]
sqw123az@sina.com
2b258251be54698c7cf7f09390b9b22df7e3c439
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_089/ch151_2020_04_13_20_49_15_933281.py
d9c04612c3fb56edfc9d41e6d501ee71b350565e
[]
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
469
py
def classifica_lista(x): resultado = [] if x == [] or len(x) < 2: return "nenhum" i = 0 while i < len(x): if x[i] > x[i+1]: i += 1 resultado.append('d') if x[i] < x[i+1]: i += 1 resultado.append("c") if "d" and "c" in ...
[ "you@example.com" ]
you@example.com
99252c919df613b170478deccf524a3f1ddbee2c
3d62a14eb69baea0737f8c093336cbf6380b30a7
/dingtalk/api/rest/OapiEduSubDataGetRequest.py
99501c9ebbb090accf9eaf4d2e957ecccaccf64e
[]
no_license
KangSpace/message_plus_server
50cbc55c296d5e835a0c6f99f45cf699f6806add
300954993f44648db3a2124d587533656d970d6c
refs/heads/main
2023-05-01T15:08:18.195400
2021-05-27T04:41:56
2021-05-27T04:41:56
361,338,925
1
0
null
null
null
null
UTF-8
Python
false
false
398
py
''' Created by auto_sdk on 2021.01.29 ''' from dingtalk.api.base import RestApi class OapiEduSubDataGetRequest(RestApi): def __init__(self,url=None): RestApi.__init__(self,url) self.orders = None self.page_num = None self.page_size = None self.stat_date = None def getHttpMethod(self): return...
[ "kango2gler@gmail.com" ]
kango2gler@gmail.com
cec549844f429ed57e856702a1979e9d7ed82176
4574f5c8e491993dbb89b8a0abc63ede4b9adfc0
/src/rule_chains/dispatch.py
dd4fe6c45e938b70d29325a739976965815a027b
[ "Apache-2.0" ]
permissive
deeso/rule-chains
93f472e79b2e2eb9a17618a11940b7fe9afb00bb
499e42626a4c1911be7916aabfcb76a7172a55cd
refs/heads/master
2021-01-21T08:11:53.675403
2018-03-13T05:37:23
2018-03-13T05:37:23
101,954,836
0
0
null
null
null
null
UTF-8
Python
false
false
5,097
py
class ChainDispatchResult(object): def __init__(self, table_name, chain_name=None, success=False, chain_result=None, block_results=None, chain_results=None, rvalue=None, extraction_rule_results=None, outcome=False, extraction_value=None, block_name...
[ "adam.pridgen@thecoverofnight.com" ]
adam.pridgen@thecoverofnight.com
879c72a749aa447e3cf0d98e4a0ad65d7b96ec4b
97ad602612adf894bdfab85c4867cac69b2d7c99
/learnpythonthehardway/erect-fence.py
c6590a9ee3c6e8e39d645b035aeca2371444cfce
[]
no_license
cotncndy/leetcode-python
bebd15f3dd44e8ed1c5f33f29314977de4fcc141
591067d87209702c4d41e1a9fce88f9dd1815fed
refs/heads/master
2020-03-17T03:05:07.182353
2018-05-10T16:37:57
2018-05-10T16:37:57
133,219,257
0
3
null
2018-05-13T08:34:43
2018-05-13T08:34:43
null
UTF-8
Python
false
false
2,630
py
# There are some trees, where each tree is represented by (x,y) coordinate in a two-dimensional garden. Your job is # to fence the entire garden using the minimum length of rope as it is expensive. The garden is well fenced only if # all the trees are enclosed. Your task is to help find the coordinates of trees which a...
[ "xin_wei@intuit.com" ]
xin_wei@intuit.com
f582bd1fe8a38bfb9010d139d33a72d4f79d7469
401aae63dde689f298c196b9063b6dca3ecf529b
/utils.py
4f3987e6e9f34679e576b4a3765a5a7ebe79e7e9
[]
no_license
dunovank/Hierarchical-Attention-Network-1
1791c4afddaf786abd60e05bf3eb4b542c9a1306
558660c7030e41698b62702c88741f0a893c8509
refs/heads/master
2021-10-25T09:17:28.882012
2019-04-03T11:50:51
2019-04-03T11:50:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,591
py
import matplotlib.pyplot as plt import numpy as np from matplotlib.lines import Line2D def plot_grad_flow(named_parameters): '''Plots the gradients flowing through different layers in the net during training. Can be used for checking for possible gradient vanishing / exploding problems. Usage: Plug this...
[ "shikhar.chauhan@live.com" ]
shikhar.chauhan@live.com
b69b52e5f9ea49a0fb6647fb95417e9d880c1ac1
5acc77c4d594c1750a9b7477499ee25b4c307bca
/ehpi_action_recognition/networks/action_recognition_nets/action_rec_net_ehpi.py
b0f025abbc592698624fe9a900a4b478838ee111
[ "MIT" ]
permissive
noboevbo/ehpi_action_recognition
bc15a3c260c79b85a82844a2779c9b1ec9cf42fd
3b77eeb5103f0f11c8d4be993ec79dddad7e661c
refs/heads/master
2021-12-29T05:24:31.891044
2021-12-19T16:23:36
2021-12-19T16:23:36
180,351,212
113
23
null
2019-04-23T11:24:27
2019-04-09T11:22:45
Python
UTF-8
Python
false
false
3,202
py
from typing import List, Dict import cv2 import numpy as np import torch from nobos_commons.data_structures.dimension import ImageSize from nobos_commons.data_structures.human import Human from nobos_commons.data_structures.humans_metadata.algorithm_output_buffer import AlgorithmOutputBuffer from nobos_commons.data_st...
[ "Dennis.Ludl@reutlingen-university.de" ]
Dennis.Ludl@reutlingen-university.de
3f46fed101cfe16182efd1f60760d48f44357b84
38272cdcd91966bdff868c13b16f0e59a4518972
/back_python/habitinfo/__init__.py
7da88d0fb4f278b09bb6b42b79c61b2067ee00b6
[]
no_license
read-group/habit
0a84b9c422e7034aaa3f5cc356a84e5b4f90827c
837164408286fbfe036f245badd153ea29a41f7f
refs/heads/master
2021-01-11T22:38:37.946129
2017-08-26T15:16:20
2017-08-26T15:16:20
79,004,864
0
1
null
null
null
null
UTF-8
Python
false
false
52
py
default_app_config="habitinfo.apps.HabitinfoConfig"
[ "jiangyong@qq.com" ]
jiangyong@qq.com
f807ab26b6709ac4c4da5cd5a8fd8a42d2095e0d
289aaefe2f78bde474ea082afe55054f14932be4
/LearnPython3-master/14-各种if语句/test.py
f8ca0d1778a1946fc2b6debfc9952c9d347ba02f
[]
no_license
13424010187/python
ed15dbad380164c846ef68692213dea7689b514e
aab8ba8565ed29e7d8b93d7ec3270fafb1294fe9
refs/heads/master
2023-07-17T07:57:47.694227
2021-08-15T09:57:06
2021-08-15T09:57:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
470
py
point = 5 # if # if point > 30: # print("MVP球星") # if-else # if point > 20: # print("绝对球星") # else: # print("未来球星") # if-elif-else # if point > 30: # print("MVP球星") # elif point >= 20: # print("绝对球星") # else: # print("未来球星") # if-elif-elif-else if point > 30: print("MVP球星") elif point >=...
[ "1393699623@qq.com" ]
1393699623@qq.com
589cb44e6bd250ca99485e8a12bf3737b5cdbe43
0d0cf0165ca108e8d94056c2bae5ad07fe9f9377
/24_Image_Processing_with_Keras_in_Python/2_Using_Convolutions/trainingACNNToClassifyClothingTypes.py
a19cd93f8c468f435f23c4ea61341e3ec4a0d1ca
[]
no_license
MACHEIKH/Datacamp_Machine_Learning_For_Everyone
550ec4038ebdb69993e16fe22d5136f00101b692
9fe8947f490da221430e6dccce6e2165a42470f3
refs/heads/main
2023-01-22T06:26:15.996504
2020-11-24T11:21:53
2020-11-24T11:21:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,121
py
# Training a CNN to classify clothing types # Before training a neural network it needs to be compiled with the right cost function, using the right optimizer. During compilation, you can also define metrics that the network calculates and reports in every epoch. Model fitting requires a training data set, together wit...
[ "noreply@github.com" ]
MACHEIKH.noreply@github.com
6f767590c4e5772ad950cb7ed0b587ce54ac7899
844f8a6ea4ca1436ac162c6794663accb3538230
/TM1py/Utils/MDXUtils.py
2d82daeb3767aafb189137afb6637cce3cc1f888
[ "MIT" ]
permissive
rclapp/TM1py
a3d2f82f72cedfa819a68864d6ea0500f7852e69
27708441c5b4b6115012ec032d5b4454d90341e5
refs/heads/master
2023-08-31T08:17:59.977306
2023-08-04T02:46:45
2023-08-08T14:51:07
136,059,712
2
2
MIT
2023-08-03T17:35:06
2018-06-04T17:24:48
Python
UTF-8
Python
false
false
10,016
py
import warnings class DimensionSelection: """ Instances of this class to be passed to construct_mdx function """ SUBSET = 1 EXPRESSION = 2 ITERABLE = 3 def __init__(self, dimension_name, elements=None, subset=None, expression=None): warnings.warn( f"class DimensionSelecti...
[ "MariusWirtz2@gmail.com" ]
MariusWirtz2@gmail.com
35567216643280a09ad3bd8935dace54d5234dbd
2accbf8013faf4d879ebd5bf1de9767331d6c9ff
/Python/어서와 파이썬은 처음이지!/selection_sort.py
c2f36f2b8033bce395339903ad6ac0c18144ae19
[]
no_license
egsu20/study
5e8f7fe149342edd43378f9ccf264346f32128fe
5a42d022f7402ee0354e3fd19769b5485205c55d
refs/heads/main
2023-07-17T22:40:42.039749
2021-08-27T14:19:22
2021-08-27T14:19:22
324,571,396
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
def selection_sort(aList): for i in range(len(aList)): least = i least_value = aList[i] for j in range(i+1, len(aList)): if aList[j] < least_value: least_value = aList[j] least = j tmp = aList[i] aList[i] = aList[least] aL...
[ "56678959+egsu20@users.noreply.github.com" ]
56678959+egsu20@users.noreply.github.com
e6c64fa2264290c17763d19942f3cc545b1e6ebe
7089b86f90d855c7862d0b408e61a67725d0c254
/website/migrations/0037_auto_20210129_1257.py
9e69d14b79cb6b3aa11f06ebd0ac33962a22f43b
[]
no_license
samozzy/codamotion
784fdeb99216f030a53f27a3c1f22041743b41f3
6a4a85852023d01b13459fa0cb644f1855eb752a
refs/heads/master
2023-03-06T23:39:12.876150
2021-02-23T19:47:53
2021-02-23T19:47:53
334,784,978
0
0
null
null
null
null
UTF-8
Python
false
false
1,129
py
# Generated by Django 3.1.5 on 2021-01-29 12:57 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('website', '0036_auto_20210125_2315'), ] operations = [ migrations.CreateModel( name='SiteMenu', fields=[ ...
[ "sam.tosborne@googlemail.com" ]
sam.tosborne@googlemail.com
e7d838441af4644f293ada41a9292abbeb913be1
b08d42933ac06045905d7c005ca9c114ed3aecc0
/src/coefSubset/evaluate/ranks/fifth/rank_2x9a_L.py
e66f7696ff621027b573962e362ee9ac48c79b60
[]
no_license
TanemuraKiyoto/PPI-native-detection-via-LR
d148d53f5eb60a4dda5318b371a3048e3f662725
897e7188b0da94e87126a4acc0c9a6ff44a64574
refs/heads/master
2022-12-05T11:59:01.014309
2020-08-10T00:41:17
2020-08-10T00:41:17
225,272,083
1
0
null
null
null
null
UTF-8
Python
false
false
3,204
py
# 9 July 2019 # Kiyoto Aramis Tanemura # Several metrics are used to assess the performance of the trained RF model, notably native ranking. This script returns a ranking of the native protein-protein complex among a decoy set. For convenience, I will define as a function and will call in a general performance assess...
[ "tanemur1@msu.edu" ]
tanemur1@msu.edu
9a0efd92897fe170fc7b6274f6a4b78de5ba4563
52bb00d5e9dd936fb11aff2adb8c6d0f94849dc8
/Stack/stackBasics.py
02a1d2f1f7c25c4d306af354705e6860c171694f
[]
no_license
anildhaker/DataStructures
1c7815d2bb1dc9d8ebd51e1ec868df8260557519
e333fa5b95ecfc08a036bbeadfc4244f64361d7d
refs/heads/master
2020-04-24T14:07:44.240689
2019-11-24T21:21:03
2019-11-24T21:21:03
172,009,569
2
0
null
null
null
null
UTF-8
Python
false
false
418
py
# Creating Stack using Arrays from sys import maxsize def createStack(): stack = [] return stack def isEmpty(stack): return (len(stack) == 0) def push(stack, item): stack.append(item) def pop(stack): if isEmpty(stack): return (str(-maxsize - 1)) return stack.pop() stack = createStack() push(stack...
[ "anildhaker777@gmail.com" ]
anildhaker777@gmail.com
8652501aa9d3ac641cd3ee899b3d58665f34fa0b
051f3b084f1df675338815a12abde6a70ee5e649
/locamapper.py
d1063feb7d8c84ecf7e11be5e316e0c669e62e8e
[]
no_license
CaMeLCa5e/daily
d952b1de9e5cb1bcb805203b0b1cde859adb2314
e9ec40868e8085a521f009f9ccc19cd0c64c51c3
refs/heads/master
2020-04-26T11:25:10.130077
2015-04-19T19:30:45
2015-04-19T19:30:45
29,375,471
0
1
null
null
null
null
UTF-8
Python
false
false
220
py
import sys for line in sys.stdin line = line.strip() unpacked = line.split(",") stadium, capacity, location, surface, turf, team, opened weather = line.split(",") results = [turf, "1"] print("\t".join(results))
[ "JM273606@gmail.com" ]
JM273606@gmail.com
5f2ce7121fa780c80dfe8ccdb8e31d4f67ad3753
56abd8f94a511ae0d163161cb2f5e0a91d4b8bed
/datahub/investment/test/test_validate.py
1a5ffaa2fa0b35879bda1a796d8eb999cd128ab5
[ "MIT" ]
permissive
cgsunkel/data-hub-api
994c58bd975d902bf2bc44b415a5892919ff4539
a92faabf73fb93b5bfd94fd465eafc3e29aa6d8e
refs/heads/develop
2023-05-31T22:35:56.344904
2021-06-30T11:23:06
2021-06-30T11:23:06
303,947,456
0
0
MIT
2021-06-30T10:34:50
2020-10-14T08:14:46
Python
UTF-8
Python
false
false
1,477
py
from datetime import date import pytest from freezegun import freeze_time from datahub.investment.validate import ( _is_provided_and_is_date_in_the_past, is_provided_and_is_date_less_than_a_year_ago, ) @pytest.mark.parametrize( 'data_date,expected_result', ( ( date(2019, 2, 2), ...
[ "marcus.patino-pan@digital.trade.gov.uk" ]
marcus.patino-pan@digital.trade.gov.uk
b2006cbb7580f686445bb729d89f9d2782cd9c57
3f5504aff203cc15ca8754353991208962a04a90
/src/the_tale/the_tale/game/heroes/shop_accessors.py
ee3911ac374e614437dcd8b8046989ebb6aca997
[ "BSD-3-Clause" ]
permissive
Portal777/the-tale
39614e60fa817a1e00e948a2b465fcb6be35e0c6
1a98294f6ed45d26bf5f09bdd2b4a931dbbb72e3
refs/heads/master
2021-08-24T01:46:11.472205
2017-11-04T13:31:30
2017-11-04T13:31:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,123
py
# coding: utf-8 import random from the_tale.game.balance.power import Power from the_tale.game.artifacts.storage import artifacts_storage from the_tale.game.cards import objects as cards_objects class ShopAccessorsMixin(object): __slots__ = () def purchase_energy_bonus(self, energy): self.add_ener...
[ "a.eletsky@gmail.com" ]
a.eletsky@gmail.com
61ce39cee06a71424604156a993f7a1719461fab
7f980ec40d1b519657dd04031dc284b5f2e2f5b7
/templates/credentials_json.py
213a9080af6dddcc3417f933afc085e4470c85e8
[]
no_license
kiote/calendar_app_old
40ca8e2c95dee6cc30137cb2af2ded14fa3ab3ff
a4eee4652c4a6251e955a34d5f6d74d9309de55b
refs/heads/master
2021-01-18T01:26:39.591257
2015-09-03T13:44:46
2015-09-03T13:44:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,998
py
credentials_json = '{"id_token": {"email_verified": "true", "iat": 1440140555, "sub": "106463563386518781717", "exp": 1440144155, "at_hash": "DsD0wf9PcW5tKHeEN3MCTA", "aud": "647104960407-ri4op15lnr2mh964rlequ3ffslinu9ps.apps.googleusercontent.com", "email": "krivich.ekaterina@gmail.com", "azp": "647104960407-ri4op15ln...
[ "krivich.ekaterina@gmail.com" ]
krivich.ekaterina@gmail.com
07df1de62e44822f02261a1845d6b75aac9897f7
3f327d2654b85b922909925b9f475315d78f4652
/Backend/lib/python3.6/site-packages/twilio/rest/ip_messaging/v1/service/channel/invite.py
4b462d7f7cd71af4bee1ea50fb21314fbac28cac
[ "MIT" ]
permissive
brianwang1217/SelfImprovementWebApp
8db45914027537aee9614f9d218c93cc08dc90f8
7892fc4ee5434307b74b14257b29a5f05a0a0dd7
refs/heads/master
2022-12-13T15:01:08.595735
2018-06-23T04:46:06
2018-06-23T04:46:06
137,548,289
1
1
MIT
2022-05-25T01:28:29
2018-06-16T02:48:52
Python
UTF-8
Python
false
false
14,677
py
# coding=utf-8 """ This code was generated by \ / _ _ _| _ _ | (_)\/(_)(_|\/| |(/_ v1.0.0 / / """ from twilio.base import deserialize from twilio.base import values from twilio.base.instance_context import InstanceContext from twilio.base.instance_resource import InstanceResource from twilio.base....
[ "talk2shreyas@gmail.com" ]
talk2shreyas@gmail.com
a65372cb81c7b03b6c39d5f50a614eb3fe350d61
ebfcae1c5ba2997b2ac4471d5bedc3f5daffcb31
/repos/flaskTs-master/app/email.py
9203880e1598384e4a0187a41bb57893fba8264d
[]
no_license
babiato/flaskapp1
84de2d0b26a54f5820d3bbe97926782ad41e005c
530beb9e3b8516e0e93960b99521c23a523ef546
refs/heads/master
2023-02-26T16:36:49.760632
2021-02-04T09:08:40
2021-02-04T09:08:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
351
py
from flask_mail import Message from app import mail from flask import render_template def send_email(to,subject,template,**kwargs): msg=Message("[TecnologyDreamer]"+subject,sender='879651072@qq.com',recipients=[to]) msg.body=render_template(template+'.txt',**kwargs) msg.html=render_template(template+'.html...
[ "jinxufang@tencent.com" ]
jinxufang@tencent.com
adf8bcf70a7abd41c6617653f5ac599ad6aff3cc
f260ff31ba63e9cd35e21b99c577107c46135a0d
/test005/test_reduce.py
2b49c6ecf3d3ee5062e62b927f5198f055b7b5fd
[]
no_license
wscfan/pythoncode
e1cc882139931f4257528e274f443c3c8217ec8d
4bbe06f47b046a5078e8dd0f2ae9ccb9eeb01743
refs/heads/master
2021-03-20T21:12:58.580056
2020-12-19T16:38:10
2020-12-19T16:38:10
247,234,904
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
from functools import reduce def get_sum_use_python(l): return sum(l) def f(m, n): return m + n def get_sum_use_reduce(l): return reduce(f, l) def get_sum_use_lambda(l): return reduce(lambda m, n: m + n,l) if __name__ == "__main__": l = [1, 2, 3, 5, 7] print(get_sum_use_python(l)) prin...
[ "wshappyday@sina.com" ]
wshappyday@sina.com
4f558c18905639160671530a35dbbf592d71058c
a15200778946f6f181e23373525b02b65c44ce6e
/Algoritmi/2019-06-25/all-CMS-submissions/2019-06-25.10:26:54.215386.VR432075.biancaneve.py
959fb7d91ea8ff4d2875e8281f77063d1dc829c4
[]
no_license
alberto-uni/portafoglioVoti_public
db518f4d4e750d25dcb61e41aa3f9ea69aaaf275
40c00ab74f641f83b23e06806bfa29c833badef9
refs/heads/master
2023-08-29T03:33:06.477640
2021-10-08T17:12:31
2021-10-08T17:12:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,383
py
""" * user: VR432075 * fname: BUSATTO * lname: ALESSANDRO * task: biancaneve * score: 2.0 * date: 2019-06-25 10:26:54.215386 """ from __future__ import print_function import sys if sys.version_info<(3,0): input=raw_input def scambia(nani,p1,p2): x=nani[p1-1] nani[p1-1]=nani[p2-1] nani[p2-1]=x def ...
[ "romeo.rizzi@univr.it" ]
romeo.rizzi@univr.it
b5c3ee3c6030d006925a30c43b0ae563408aeda9
fe6775ca8c5b42710785e3a923974ae079f92c8f
/剑指offer/剑指 Offer 55 - I. 二叉树的深度.py
53759e4232eb424671a0c80016e248c07bbe847d
[]
no_license
AiZhanghan/Leetcode
41bda6676fa1a25fa19e393553c1148ed51fdf72
101bce2fac8b188a4eb2f5e017293d21ad0ecb21
refs/heads/master
2021-06-28T10:48:07.865968
2020-11-20T09:45:15
2020-11-20T09:45:15
188,155,059
0
0
null
null
null
null
UTF-8
Python
false
false
499
py
# Definition for a binary tree node. class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: def maxDepth(self, root): """ Args: root: TreeNode Return: int """ if not...
[ "35103759+AiZhanghan@users.noreply.github.com" ]
35103759+AiZhanghan@users.noreply.github.com
8cbe4de82e8973e9de229af929a25871f3a061bc
20d54e88dbdab0a0335f6ae4bad22117e14eb556
/src/py3/srtmTest.py
475a6f72cca4bfec1cea1366608b23bc1b003792
[]
no_license
bjohan/GnuradioTransceiver
ebf0426aabf5be4e06a52ac7a8ce941e14341ea7
501d68f78e40931f2f9549ab1ae1982faae464c6
refs/heads/master
2021-01-11T03:36:48.162992
2020-05-17T21:15:19
2020-05-17T21:15:19
70,995,273
0
0
null
null
null
null
UTF-8
Python
false
false
606
py
import matplotlib.pyplot as plt import numpy as np import srtmData import heightResampler sd = srtmData.SrtmData() hr = heightResampler.HeightResampler(sd) e, x, y = sd.getBlock(12, 57) print(x) print(y) #plt.figure(1) #plt.imshow(np.clip(e, 0, 10000), extent=[x[0], x[-1], y[-1], y[0]]) plt.figure(2) xr = np.linspac...
[ "you@example.com" ]
you@example.com
b61ce073d9bde964a62fc5156e853ebf5fdb4439
ce9593eb4ec109b86f3f75ac161a372e6d99f067
/Problems/Make the function work/main.py
587662f9829f06fd6bc6ba0c9f8c123d4beb5563
[]
no_license
wangpengda1210/Rock-Paper-Scissors
0b2e5ef9b946dd209a85fa7440a7e40acfd83923
05c558ddfdf69eb4170185a158ded8a3a063359c
refs/heads/main
2023-02-20T08:35:09.379752
2021-01-23T06:31:48
2021-01-23T06:31:48
332,143,586
0
0
null
null
null
null
UTF-8
Python
false
false
104
py
def closest_higher_mod_5(x): while True: if x % 5 == 0: return x x += 1
[ "515484505@qq.com" ]
515484505@qq.com
6b8be3ce5a2307b8c3529e0eb27f4790497e0059
5eb29ce7104e10a399d9afd7e253f029bf8bc0ff
/scripts/tests/test_get_sim.py
fd8d224e2bcce56d015705e64cd8d67421aa30a1
[ "BSD-2-Clause" ]
permissive
svebk/DeepSentiBank_memex
69789dc09316e97aad711edeb251837a60184e7e
4e69ce66e3a177817ff360ddc263f55c6e0b63f7
refs/heads/master
2021-01-18T18:55:10.870052
2017-10-19T22:51:29
2017-10-19T22:51:29
36,091,024
22
1
null
2017-02-09T20:31:20
2015-05-22T19:20:54
Python
UTF-8
Python
false
false
350
py
import happybase if __name__=="__main__": tab_image = 'escorts_images_similar_row' conn = happybase.Connection(host='10.1.94.57') image_sha1s = '1000013C0A38D8DACAEC31360AFAFEB5DC3D712B' table = conn.table(tab_image) row = table.row(image_sha1s,columns=['s']) print len(row.keys()),[x.split(...
[ "svebor.karaman@gmail.com" ]
svebor.karaman@gmail.com
bfea27733e3baaa41e1cf44c97e610c37ea4f198
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03049/s868278541.py
b3f9160fdd19cecfb8e58fc70735fa3e21e93802
[]
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
464
py
n=int(input()) a_num=0 b_num=0 set_num=0 ans=0 for i in range(n): s=list(input()) for j in range(len(s)-1): if s[j]+s[j+1]=="AB": ans+=1 if s[0]=="B" and s[-1]=="A": set_num+=1 elif s[0]=="B": b_num+=1 elif s[-1]=="A": a_num+=1 if set_num==0: print(ans...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
a59e67e2f7499c2085d18c176ceba106f3d6e308
ad0857eaba945c75e705594a53c40dbdd40467fe
/leetCode/number_of_papers_1780.py
dace9f5d455a28a9951f765e1c89a67e75850822
[ "MIT" ]
permissive
yskang/AlgorithmPractice
c9964d463fbd0d61edce5ba8b45767785b0b5e17
3efa96710e97c8740d6fef69e4afe7a23bfca05f
refs/heads/master
2023-05-25T13:51:11.165687
2023-05-19T07:42:56
2023-05-19T07:42:56
67,045,852
0
0
null
2021-06-20T02:42:27
2016-08-31T14:40:10
Python
UTF-8
Python
false
false
1,602
py
# Title: 종이의 개수 # Link: https://www.acmicpc.net/problem/1780 import sys sys.setrecursionlimit(10 ** 6) def read_list_int(): return list(map(int, sys.stdin.readline().strip().split(' '))) def read_single_int(): return int(sys.stdin.readline().strip()) def check_all_number(matrix, start_x, start_y, length...
[ "yongsung.kang@gmail.com" ]
yongsung.kang@gmail.com
d28596a3b41c60b5e98f6cde6ebd4cf085d4d579
42cbf381d6d12b29a5212f3e8482ebde2067758b
/3 - Estrutura de Repetição/9nv.py
c87bfb1840eb522246d2b97d6b305cbc5d05d381
[]
no_license
loristron/PythonExercisesLearnPython
d76d0f7d0b96b76ca463c0d431814a6ba74bbe74
c98a903900b41733980a5a13017dc1901b1ecee7
refs/heads/master
2023-02-09T12:46:44.885145
2021-01-07T19:39:33
2021-01-07T19:39:33
327,707,915
0
0
null
null
null
null
UTF-8
Python
false
false
284
py
# -*- coding: utf-8 -*- """ Created on Thu Jun 25 13:11:08 2020 @author: loris Faça um programa que imprima na tela apenas os números ímpares entre 1 e 50. """ lista = [] for n in range (1, 50): if n % 2 != 0: print(n) lista.append(n) print(lista)
[ "loremmiranda@gmail.com" ]
loremmiranda@gmail.com
2d07e3e7c688400917292198da3ca2366537e1a7
cb919300d685bef47e73c08f87ef864ec43c626b
/gbe/migrations/0004_auto_20201224_1145.py
af779268696e0f18696fcc085d560b723c33ac3c
[ "Apache-2.0" ]
permissive
bethlakshmi/gbe-divio-djangocms-python2.7
d5ca26897b388e632f0b7aba0165239d55adb0c3
d43dd81bdac2ca068a1f14e1b4b0ae33e8d25c07
refs/heads/master
2023-08-31T14:36:43.577308
2023-08-28T13:02:36
2023-08-28T13:02:36
206,438,505
7
1
Apache-2.0
2023-09-13T21:03:41
2019-09-05T00:18:03
Python
UTF-8
Python
false
false
55,532
py
# Generated by Django 3.0.11 on 2020-12-24 11:45 from django.db import migrations init_values = [ { 'selector': '.gbe-header-band', 'pseudo_class': '', 'description': '''Boldly colored header bands with contrasting text, such as above performer grids''', ...
[ "noreply@github.com" ]
bethlakshmi.noreply@github.com
db978cb55308c9705010fe8e0799d0f3dfcee515
62ccdb11daefaecc8e63f235c7519cc7594f705a
/images/google-cloud-sdk/lib/googlecloudsdk/command_lib/compute/instance_groups/managed/rolling_action.py
62c3d07cac5b5ba9303df7b4585f2a7c5fcf9414
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
hiday1979/kalabasa-mas
eccc869bfe259bb474f9d2a4dc4b8561a481f308
53a9818eb2a6f35ee57c4df655e7abaaa3e7ef5b
refs/heads/master
2021-07-05T16:34:44.962142
2018-07-10T10:22:24
2018-07-10T10:22:24
129,709,974
0
1
null
2020-07-24T22:15:29
2018-04-16T08:27:13
Python
UTF-8
Python
false
false
4,470
py
# Copyright 2017 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "accounts@wigitech.com" ]
accounts@wigitech.com
05a4721b459df9940953ad4a1017d56d9fd40f02
a80920c853b51f34acfd37b260a872f4057a52ed
/daz1.1.4.py
7ea7d3af0ed7fb0b9baa05a2df4c5f99dbefae5f
[]
no_license
yzhzbys/python-dazi
366e32e9015e2cc97ddf19cf4f6f01d891fe1bef
5df5800c76a13026634419c791d507d75f8ee440
refs/heads/master
2023-02-13T04:27:21.818283
2021-01-12T07:54:18
2021-01-12T07:54:18
330,923,609
0
0
null
null
null
null
UTF-8
Python
false
false
12,253
py
from tkinter import * import string import random import time import tkinter import re from datetime import datetime hh =Tk() hh.rowconfigure(1, weight=1) hh.columnconfigure(0, weight=1) tit1=Text(hh,fg='#78a2a1',wrap='none',bg='#68312e',state='disabled',width=77,height=1,font=('楷体',11,'bold')) tit2=Text...
[ "noreply@gitee.com" ]
noreply@gitee.com
d5b44d84be7c7901c1635edaa14a5f4c9d9321c6
fa04309288a0f8b2daae2fd73c8224a1c0ad4d95
/eventkit_cloud/utils/tests/test_wcs.py
14f1277c8a48f019d673a0273edd556c62f11626
[]
no_license
jj0hns0n/eventkit-cloud
7bb828c57f29887621e47fe7ce0baa14071ef39e
2f749090baf796b507e79251a4c4b30cb0b4e126
refs/heads/master
2021-01-01T19:45:32.464729
2017-07-24T19:01:24
2017-07-24T19:01:24
98,675,805
0
0
null
2017-07-28T18:16:34
2017-07-28T18:16:34
null
UTF-8
Python
false
false
2,133
py
# -*- coding: utf-8 -*- import logging import os from mock import Mock, patch from django.conf import settings from django.test import TransactionTestCase from string import Template from ..wcs import WCStoGPKG, WCStoGeotiff from uuid import uuid4 logger = logging.getLogger(__name__) class TestWCSToGPKG(TransactionT...
[ "joseph.svrcek@rgi-corp.com" ]
joseph.svrcek@rgi-corp.com
9e2012281769750a83766197f67867136e065d83
ccf94dcb6b1500fcbbd56964ae8c4832a496b8b3
/python/baiduads-sdk-auto/baiduads/shield/model/update_b_shield_black_ip_request_wrapper.py
5dddbab9eff0ff0dd58e237b6dbb103c6cfa1cf1
[ "Apache-2.0" ]
permissive
baidu/baiduads-sdk
24c36b5cf3da9362ec5c8ecd417ff280421198ff
176363de5e8a4e98aaca039e4300703c3964c1c7
refs/heads/main
2023-06-08T15:40:24.787863
2023-05-20T03:40:51
2023-05-20T03:40:51
446,718,177
16
11
Apache-2.0
2023-06-02T05:19:40
2022-01-11T07:23:17
Python
UTF-8
Python
false
false
11,564
py
""" dev2 api schema 'dev2.baidu.com' api schema # noqa: E501 Generated by: https://openapi-generator.tech """ import re # noqa: F401 import sys # noqa: F401 from baiduads.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, ModelSimple, cached_property, ch...
[ "tokimekiyxp@foxmail.com" ]
tokimekiyxp@foxmail.com
c7d90f35e98f547498e4ac58bd24c52bf0e03f4f
9404b743f04a87626f117e394ed0877445f88efe
/DK_Project/market/urls.py
0e353a9701ea3776ba2bdda7ad4315f8865da274
[ "Apache-2.0" ]
permissive
xedporject/DK
3497ddfb03521d856e3e9a1874e310db30d64fee
af8f9521011ac1ee0256db4863220abbbf9699ac
refs/heads/master
2020-03-24T22:37:29.871222
2018-08-11T07:42:47
2018-08-11T07:42:47
143,094,839
2
0
null
null
null
null
UTF-8
Python
false
false
409
py
from django.conf.urls import url from rest_framework.routers import SimpleRouter from market import views router = SimpleRouter() router.register(r'^goods', views.GoodsApi) router.register(r'brand', views.BrandApi) router.register(r'category', views.CategoryApi) urlpatterns = [ url(r'^index/', views.index, nam...
[ "1367000465@qq.com" ]
1367000465@qq.com
d51e0b54497d62f9511db1030a8af93fea2fdc67
931a3304ea280d0a160acb87e770d353368d7d7d
/vendor/swagger_client/models/get_fw_leaderboards_characters_active_total.py
84445a28e19347e99ebfd6bf4119f7a6f4c946d2
[]
no_license
LukeS5310/Broadsword
c44786054e1911a96b02bf46fe4bdd0f5ad02f19
3ba53d446b382c79253dd3f92c397cca17623155
refs/heads/master
2021-09-08T00:05:26.296092
2017-10-24T07:01:48
2017-10-24T07:01:48
105,143,152
0
1
null
2017-11-03T14:29:38
2017-09-28T12:03:19
Python
UTF-8
Python
false
false
3,883
py
# coding: utf-8 """ EVE Swagger Interface An OpenAPI for EVE Online OpenAPI spec version: 0.6.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re class GetFwLeaderboardsCharactersActiveTotal(object): """ ...
[ "cyberlibertyx@gmail.com" ]
cyberlibertyx@gmail.com
32184d18843876ee3bb3bcb5944c60c4b0656baf
df46cf831cba3e2b91e794be6e03f0cbd1f2f8af
/p68.py
f1c6987177250a90ad65977fe9c4f9ad95a9d4d3
[]
no_license
manjupinky/Phyton
7653022f8a9b64f7213902c34998e7900f529b5e
711bb5f491a904c1e35b4204223a90d8f3c16a6e
refs/heads/master
2020-03-27T10:10:07.963601
2019-01-22T07:58:54
2019-01-22T07:58:54
146,399,913
0
0
null
null
null
null
UTF-8
Python
false
false
75
py
l=int(input("enter value")) if(l%7==0): print("yes") else: print("no")
[ "noreply@github.com" ]
manjupinky.noreply@github.com
81ae3cf4619b6801f526fe160ab1905e1015b058
e405095912863eb5f4747bce811b085902d04f3f
/tests/api/test_register.py
5febfbf16b8b4b1a2b539085485e6c2c0db3125a
[ "MIT" ]
permissive
mtmvu/django-rest-registration
329690626e63a68a9d1ac1fe5f2fb004291fbf90
881fcb7144f2463469a9c1030de8b9d78ebff1b6
refs/heads/master
2021-05-08T20:12:33.677529
2018-01-30T22:42:32
2018-01-30T22:42:32
119,598,596
0
0
null
2018-01-30T22:42:33
2018-01-30T21:48:18
Python
UTF-8
Python
false
false
11,167
py
import math import time from unittest.mock import patch from django.test.utils import override_settings from rest_framework import status from rest_registration.api.views import register, verify_registration from rest_registration.api.views.register import RegisterSigner from rest_registration.settings import registr...
[ "apragacz@o2.pl" ]
apragacz@o2.pl
b347a2aefd4be9913db6db41c8fabd5ac47b172a
eab1756b01717e81537133400f36aea4d7a0876f
/cifar/ray_sync.py
46fcca4fe1782621341778e8127e5a3db497e151
[]
no_license
bearpelican/cluster
d677fe392ac1196b77e3f8fb79e530ec8371080f
2e316cf1def0b72b47f79a864ed3aa778c297b95
refs/heads/master
2020-03-21T06:52:57.514901
2018-08-10T10:20:26
2018-08-10T22:33:05
138,246,892
3
1
null
2018-06-22T02:51:07
2018-06-22T02:51:07
null
UTF-8
Python
false
false
11,470
py
# from https://gist.github.com/robertnishihara/87aa7a9a68ef8fa0f3184129346cffc3 # To run the example, use a command like the following. # # python sharded_parameter_server_benchmark.py \ # --num-workers=1 \ # --num-parameter-servers=1 \ # --dim=25000 from __future__ import absolute_import f...
[ "yaroslavvb@gmail.com" ]
yaroslavvb@gmail.com
742ac4cb0de10696de786121651155b128a26bc5
1e4c7e1c949bd6c396454dccab5a17ed543c5546
/snippets/settings.py
76d838983684016722954ac2dda015c565ddf7b5
[]
no_license
Kennedy-Njeri/Registration-Token-Based-Authentication
05f621f4e2a3445c6685af1e73921aee009f234b
464629b94a831bb8e41ddbbea913c6e37d9f8217
refs/heads/master
2020-05-09T19:10:45.680297
2019-04-14T21:04:09
2019-04-14T21:04:09
181,367,071
0
0
null
null
null
null
UTF-8
Python
false
false
3,620
py
""" Django settings for snippets project. Generated by 'django-admin startproject' using Django 2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os # ...
[ "mistakenz123@gmail.com" ]
mistakenz123@gmail.com
8e9d43ebc4e167e7f0bc8966d7f024720626f37e
fdb9bdc6c4ab2f14ba71e544493706d5e275899f
/fhir/resources/devicedispense.py
964f6e14d09cf007d918ee4453586472cff99dad
[ "BSD-3-Clause" ]
permissive
nazrulworld/fhir.resources
6ae8aea8180c611b0c5050759c6dcdf63e4cb061
1fd6ea476b27b3fcb8c4ef8f23bc51cf161e69e3
refs/heads/main
2023-08-30T18:27:27.277249
2023-07-03T19:57:06
2023-07-03T19:57:06
165,297,877
256
83
NOASSERTION
2023-08-24T15:34:05
2019-01-11T19:26:41
Python
UTF-8
Python
false
false
16,368
py
# -*- coding: utf-8 -*- """ Profile: http://hl7.org/fhir/StructureDefinition/DeviceDispense Release: R5 Version: 5.0.0 Build ID: 2aecd53 Last updated: 2023-03-26T15:21:02.749+11:00 """ import typing from pydantic import Field, root_validator from pydantic.error_wrappers import ErrorWrapper, ValidationError from pydant...
[ "connect2nazrul@gmail.com" ]
connect2nazrul@gmail.com
b09c6e1074d997a3f178d5ee43d59926a97c4a30
812045c3ec6587827aeb18bde666237dfffc21ae
/tf_quant_finance/experimental/pricing_platform/framework/core/interpolation_method.py
57fddd9fa9cd9a759018d3941917eee158a4cbf6
[ "Apache-2.0", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
google/tf-quant-finance
2062082c85e8679b71e69bbeb579fe338c1b0288
0d3a2193c0f2d320b65e602cf01d7a617da484df
refs/heads/master
2023-08-31T01:58:15.415811
2023-08-15T07:37:46
2023-08-15T07:38:22
198,669,252
4,165
557
Apache-2.0
2023-08-04T19:25:55
2019-07-24T16:09:50
Python
UTF-8
Python
false
false
781
py
# 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
[ "tf-quant-finance-robot@google.com" ]
tf-quant-finance-robot@google.com
b3ce66d5ab56ec78ae434f553712d4027996e0c8
7bf377472dea25a39933e34726dc581e8f7efb6f
/4_lr_analysis/get_lu_data.py
393f8e9613fef98a48f8ad3e0c721ad64001b5b4
[]
no_license
gordonje/deadly_work
8fe655cca4fea522842609cfdc7fff1582cd4775
cdd8586eaf71b643b2076ef4389333a64e04da8e
refs/heads/master
2021-01-21T08:01:09.981286
2015-03-20T02:55:28
2015-03-20T02:55:28
21,902,373
0
0
null
null
null
null
UTF-8
Python
false
false
5,707
py
import getpass import psycopg2 import requests db = raw_input("Enter name of target database:") user = raw_input("Enter your PostgreSQL username (this might just be 'postgres'):") password = getpass.getpass("Enter your PostgreSQL user password:") conn = psycopg2.connect("dbname=%(db)s user=%(user)s password=%...
[ "gordon.je@gmail.com" ]
gordon.je@gmail.com
20d016d8c835bb90dcdfc491f101ee23416a4a9d
0ccb70cd22862f5c1617113cec62fb4438093ce7
/src/gamer/application/tests/fixtures.py
1667dcd3275df70908ece80cd9b9f344daf4c45a
[]
no_license
socek/gamer
f4590a557819047158c1a8c0e9605632dbaac58c
040216b44d38f2ab5a111cb55981645d331c2ba3
refs/heads/master
2020-09-13T09:42:26.427433
2014-10-26T19:44:17
2014-10-26T22:23:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
185
py
from haplugin.toster.fixtures import Fixtures as Base class Fixtures(Base): def __call__(self): # example: # self.create_nameless(Model, name=value) pass
[ "msocek@gmail.com" ]
msocek@gmail.com
d7893781c8869541e806fcbcbc353555c39f40fe
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_280/ch39_2020_03_31_00_53_54_201792.py
47ea9f05865c88712d8501fe79b7fc7736d39472
[]
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
284
py
def tamanho(x): i = 1 while x != 1: if x%2 == 0: x = x/2 else: x = 3*x + 1 i += 1 return i nms = 1 ms = 1 x = 2 while 1 < x < 1000: if tamanho(x) >= ms: ms = tamanho (x) nms = x x = x + 1 print(nms)
[ "you@example.com" ]
you@example.com
6b0a7bd2d974d61447504b9f0b45adcff16dc291
f4d710f68d715470905daa1245f3b9f4f4c4cef5
/local_settings.py
da93c18c7fe1d80df9288fb1a2a37e53e9ee22de
[]
no_license
powellc/findhistory_me
c3044a894840e62f12bb2ee4dc0ad7dbe8a524fd
d72eb449eb0e15f0d62a46986ad8551ab1cb66ca
refs/heads/master
2016-09-15T20:55:57.994241
2014-04-15T03:56:18
2014-04-15T03:56:18
10,428,262
0
0
null
2014-04-15T03:54:33
2013-06-01T20:46:48
JavaScript
UTF-8
Python
false
false
658
py
DEBUG = True AWS_ACCESS_KEY_ID = 'AKIAIC6KSWVHASDPKERQ' AWS_SECRET_ACCESS_KEY = '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' DATABASES = { "default": { # Ends with "postgresql_psycopg2", "mysql", "sqlite3" or "oracle". "ENGINE": "django.db.backends.sqlite3", # DB name or path to database fil...
[ "colin.powell@gmail.com" ]
colin.powell@gmail.com
83b6521cbb69e918d5adf86d3847e2be974e7380
33c1c5d0f48ad952776fe546a85350a441d6cfc2
/ABC/125/B.py
8f6837817b70aa2610cc83b398e4c54f113aa439
[]
no_license
hisyatokaku/Competition
985feb14aad73fda94804bb1145e7537b057e306
fdbf045a59eccb1b2502b018cab01810de4ea894
refs/heads/master
2021-06-30T18:48:48.256652
2020-11-16T11:55:12
2020-11-16T11:55:12
191,138,764
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
N = int(input()) S = input() K = int(input()) tar = S[K-1] ans = "" for c in S: if c != tar: ans += "*" else: ans += c print(ans)
[ "hisyatokaku2005@yahoo.co.jp" ]
hisyatokaku2005@yahoo.co.jp
010a928df8cce43b54998f72374c7d6d4ffcb1e0
73c6f4adaba5c8d86dbd42635ec9ba20573feb1c
/src/website/documents/migrations/0006_auto__add_field_category_description.py
b3c51319a83470f3c68bc5100a83ff30ad4a82de
[]
no_license
dmitryro/mqm
a3d7135f668108e70f8468bf17f0b819d1b38190
0517af5dced8dc45b0e391188b6ddfdd4110b2f1
refs/heads/master
2016-08-07T03:25:27.454916
2014-08-09T11:38:40
2014-08-09T11:38:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,696
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'Category.description' db.add_column(u'documents_category'...
[ "gregor@muellegger.de" ]
gregor@muellegger.de
ea4bd4c24d7b177c44d44b2885a68be6ee48dbad
be5f737b902df73ee19f7d74347b37c4656c2b11
/main/page/desktop_v3/index/pe_index.py
e7749fab5ace9d977cba2c0387cd13f9d8ff6b9b
[]
no_license
niufuzhen/selenium
965d3791e6ff4b81457d80d63f034d4fd7d5c150
e3bf21c77efc3f0954836c2318b87f88fd276d0a
refs/heads/master
2021-01-10T22:33:54.652490
2016-02-24T14:24:41
2016-02-24T14:24:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,262
py
from main.page.base import BasePage from selenium.webdriver.common.by import By from utils.lib.user import * class IndexPage(BasePage): _pl = "" # LOCATORS #PANEL LEFT _username_loc = (By.CSS_SELECTOR, 'div#side-profile div.clear-b div.span8 small.pull-left a') _deposit_amount_loc = (By.CSS_SELEC...
[ "herman.wahyudi02@gmail.com" ]
herman.wahyudi02@gmail.com
1c8511d43344a1e4d70820bed6125f0579cc50c8
c112831974be5aa036a74bbe1bf3798a4f9a5907
/Python基础教程学习代码/venv/Scripts/pip3.7-script.py
5cd47a7d356bee3623bf1d548ec06ba97a352e59
[]
no_license
MuSaCN/PythonLearning_old1
5e1cb069d80cbe9527c179877b0d2026072c45c0
c9aa0938875959526cf607344c1094a8fbf76400
refs/heads/master
2020-07-31T23:51:08.591550
2019-09-24T10:59:46
2019-09-24T10:59:46
210,792,257
0
0
null
null
null
null
WINDOWS-1252
Python
false
false
443
py
#!C:\Users\i2011\PycharmProjects\Python»ù´¡½Ì³Ìѧϰ\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.sub(r'(-script\.pyw?|\.exe)?$...
[ "39754824+MuSaCN@users.noreply.github.com" ]
39754824+MuSaCN@users.noreply.github.com
06dc48c81124fea793ef637fde3fec4caa144662
8f5ee885986e9a0ec8816c32a9ad2966fb747f7d
/src/aido_schemas/estimation_demo.py
eb7931f53cb1b8c34e57b5ea740582f2ec41d9cf
[]
no_license
duckietown/aido-protocols
3cca7564738d645785a5cc242bb39fd53936af0a
47b551d80151a76aba05f76a13e516f9fa06749c
refs/heads/daffy
2023-04-13T08:57:28.079004
2022-11-29T13:18:35
2022-11-29T13:18:35
169,989,925
1
1
null
2021-10-31T22:48:30
2019-02-10T15:00:05
Python
UTF-8
Python
false
false
523
py
from .basics import InteractionProtocol __all__ = ["protocol_simple_predictor"] protocol_simple_predictor = InteractionProtocol( description=""" An estimator receives a stream of values and must predict the next value. """.strip(), inputs={"observations": float, "seed": int, "get_prediction": type(None)...
[ "acensi@ethz.ch" ]
acensi@ethz.ch
afbe0a36ff1f83a9c1ebd24646a5d41fef49fe65
73c05ee0cbc54dd77177b964f3a72867138a1f0f
/interview/CyC2018_Interview-Notebook/剑指offer/41_2.py
6ab655dbf45728e3718151f3849c4ee7f6f8943e
[]
no_license
tb1over/datastruct_and_algorithms
8be573953ca1cdcc2c768a7d9d93afa94cb417ae
2b1c69f28ede16c5b8f2233db359fa4adeaf5021
refs/heads/master
2020-04-16T12:32:43.367617
2018-11-18T06:52:08
2018-11-18T06:52:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
484
py
# -*- coding: utf-8 -*- """题目描述 请实现一个函数用来找出字符流中第一个只出现一次的字符。例如,当从字符流中只读出前两个字符"go"时,第一个只出现一次的字符是"g"。当从该字符流中读出前六个字符“google"时,第一个只出现一次的字符是"l"。 """ class Solution: # 返回对应char def FirstAppearingOnce(self): # write code here def Insert(self, char): # write code here
[ "mitree@sina.com" ]
mitree@sina.com
59abb941173fc174e7c1871a202d8b4af137e040
68ee9027d4f780e1e5248a661ccf08427ff8d106
/extra/unused/qgisRasterColorscale.py
1ced8315150eba200810e34a79bad3ffd8fa1c6c
[ "MIT" ]
permissive
whyjz/CARST
87fb9a6a62d39fd742bb140bddcb95a2c15a144c
4fc48374f159e197fa5a9dbf8a867b0a8e0aad3b
refs/heads/master
2023-05-26T20:27:38.105623
2023-04-16T06:34:44
2023-04-16T06:34:44
58,771,687
17
4
MIT
2021-03-10T01:26:04
2016-05-13T20:54:42
Python
UTF-8
Python
false
false
1,429
py
#!/usr/bin/python # qgisRasterColorscale.py # Author: Andrew Kenneth Melkonian # All rights reserved def qgisRasterColorscale(qgs_path, qml_path): assert os.path.exists(qgs_path), "\n***** ERROR: " + qgs_path + " does not exist\n"; assert os.path.exists(qml_path), "\n***** ERROR: " + qml_path + " does not exist...
[ "wz278@cornell.edu" ]
wz278@cornell.edu
2bfb834c61e5fd67368ad0fbc61cdbb04f3ac348
1a4bc1a11fdb3f714f22f5e0e826b47aa0569de2
/lab/lab09/tests/q3_2.py
ca45e1c7feda06578903f5453e3fdb3f09c5adcf
[]
no_license
taylorgibson/ma4110-fa21
201af7a044fd7d99140c68c48817306c18479610
a306e1b6e7516def7de968781f6c8c21deebeaf5
refs/heads/main
2023-09-05T21:31:44.259079
2021-11-18T17:42:15
2021-11-18T17:42:15
395,439,687
0
1
null
null
null
null
UTF-8
Python
false
false
657
py
test = { 'name': 'q3_2', 'points': None, 'suites': [ { 'cases': [ { 'code': ">>> # Make sure your column labels are correct.\n>>> set(faithful_predictions.labels) == set(['duration', 'wait', 'predicted wait'])\nTrue", 'hidden': False, ...
[ "taylorgibson@gmail.com" ]
taylorgibson@gmail.com
c4ac861f2ee0b8e2fc382f3d37a11fd699b479ca
a1bffcd8854e1843e56bb812d4d83b3161a5211e
/plugins/lookup/cyberarkpassword.py
79e855c22d4b5573ba40e8c231017a3b2e10e868
[]
no_license
goneri/ansible.community
1a71f9d98c164b77f8ed2ed7f558b4963005ff8f
f26f612dd0a3154050d90b51a75502018c95f6e4
refs/heads/master
2020-12-29T07:47:35.353515
2020-01-22T17:43:18
2020-01-22T17:43:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,196
py
# (c) 2017, Edward Nunez <edward.nunez@cyberark.com> # (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' lookup: cyberarkpassword short...
[ "ansible_migration@example.com" ]
ansible_migration@example.com
27f10dff9fe70eb67bbbd8be5e27c8ee089b46f9
65dce36be9eb2078def7434455bdb41e4fc37394
/454 4Sum II.py
c5d654a137c6a70d3df07a7fcec921b7407065cd
[]
no_license
EvianTan/Lintcode-Leetcode
9cf2d2f6a85c0a494382b9c347bcdb4ee0b5d21a
d12dd31e98c2bf24acc20c5634adfa950e68bd97
refs/heads/master
2021-01-22T08:13:55.758825
2017-10-20T21:46:23
2017-10-20T21:46:23
92,607,185
1
0
null
null
null
null
UTF-8
Python
false
false
1,131
py
''' Given four lists A, B, C, D of integer values, compute how many tuples (i, j, k, l) there are such that A[i] + B[j] + C[k] + D[l] is zero. To make problem a bit easier, all A, B, C, D have same length of N where 0 ≤ N ≤ 500. All integers are in the range of -228 to 228 - 1 and the result is guaranteed to be at mos...
[ "yiyun.tan@uconn.edu" ]
yiyun.tan@uconn.edu
d79c46fb13608d823353469aa85b54bae121f2aa
e58df4aeee11f8a97bdeede6a75a776d130f86d2
/scripts/umap_fig.py
b03fd226a1d337ffa3944fbc02708089ca66778a
[ "MIT" ]
permissive
ashuein/molpal
6ecd79767d8ef254e2c852e20f77cd9338844f35
1e17a0c406516ceaeaf273a6983d06206bcfe76f
refs/heads/main
2023-01-29T03:23:10.525555
2020-12-15T14:17:56
2020-12-15T14:17:56
321,720,018
1
0
MIT
2020-12-15T16:09:48
2020-12-15T16:09:48
null
UTF-8
Python
false
false
10,532
py
import argparse import csv from operator import itemgetter from pathlib import Path import pickle import sys from typing import Dict, List, Set import matplotlib.pyplot as plt from matplotlib.cm import ScalarMappable from matplotlib.patches import Ellipse import numpy as np import seaborn as sns from tqdm import tqdm ...
[ "deg711@g.harvard.edu" ]
deg711@g.harvard.edu
9b782c688e0dd74223de5b199c0bc92e6fa39895
2bb90b620f86d0d49f19f01593e1a4cc3c2e7ba8
/pardus/tags/2007.1/server/openldap/actions.py
cb88cc11802e70a1cca7ea9961bec056dfadb4c4
[]
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,360
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright 2005, 2006 TUBITAK/UEKAE # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/copyleft/gpl.txt. from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import shelltools from pisi.a...
[ "yusuf.aydemir@istanbul.com" ]
yusuf.aydemir@istanbul.com
7b8466f0376f6de64cf039644fc1465308b1e644
e1c5b001b7031d1ff204d4b7931a85366dd0ce9c
/EMu/2016/plot_fake/check_data.py
285e253d884fcbc8e17661669330414a85534585
[]
no_license
fdzyffff/IIHE_code
b9ff96b5ee854215e88aec43934368af11a1f45d
e93a84777afad69a7e63a694393dca59b01c070b
refs/heads/master
2020-12-30T16:03:39.237693
2020-07-13T03:06:53
2020-07-13T03:06:53
90,961,889
0
0
null
null
null
null
UTF-8
Python
false
false
823
py
import ROOT try: tchain=ROOT.TChain('tap') tchain.Add('data_2016B_DoubleEG.root') except: print "errors!" run_list = [] n_passed1 = 0 totalEntry = tchain.GetEntries() for iEntry in range(0, tchain.GetEntries()): tchain.GetEntry(iEntry) if tchain.ev_run_out not in run_list:run_list.append(tchain.ev...
[ "1069379433@qq.com" ]
1069379433@qq.com
e97e4caa02a91f4185685942cc774181c4259b6c
caaf56727714f8c03be38710bc7d0434c3ec5b11
/homeassistant/components/avri/__init__.py
3165b6ee87a77f41cca449f635f51943bbe62923
[ "Apache-2.0" ]
permissive
tchellomello/home-assistant
c8db86880619d7467901fd145f27e0f2f1a79acc
ed4ab403deaed9e8c95e0db728477fcb012bf4fa
refs/heads/dev
2023-01-27T23:48:17.550374
2020-09-18T01:18:55
2020-09-18T01:18:55
62,690,461
8
1
Apache-2.0
2023-01-13T06:02:03
2016-07-06T04:13:49
Python
UTF-8
Python
false
false
1,572
py
"""The avri component.""" import asyncio from datetime import timedelta import logging from avri.api import Avri from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from .const import ( CONF_COUNTRY_CODE, CONF_HOUSE_NUMBER, CONF_HOUSE_NUMBER_EXTENSION, CO...
[ "noreply@github.com" ]
tchellomello.noreply@github.com
961cc26729281f013409614ad41160edb6caace8
a97f789530412fc1cb83170a11811f294b139ee8
/疯狂Python讲义/codes/10/10.8/dict_vs_defaultdict.py
271ff0662c308adfa488ad5cc5242ed3fdbd5820
[]
no_license
baidongbin/python
3cebf2cc342a15b38bf20c23f941e6887dac187a
1c1398bff1f1820afdd8ddfa0c95ccebb4ee836f
refs/heads/master
2021-07-21T19:23:32.860444
2020-03-07T11:55:30
2020-03-07T11:55:30
195,909,272
0
1
null
2020-07-21T00:51:24
2019-07-09T01:24:31
Python
UTF-8
Python
false
false
244
py
from collections import defaultdict my_dict = {} # 使用 int 作为 defaultdict 的 default_factory # 当 key 不存在时,将会返回 int 函数的返回值 my_defaultdict = defaultdict(int) print(my_defaultdict['a']) print(my_dict['a'])
[ "baidongbin@thunisoft.com" ]
baidongbin@thunisoft.com
a5230b855b505b17f14791a0061759b8f1b21930
fa27b2e9668484959772c6ac37622a7442396347
/sharing/app/api_1_0/register.py
039c61f8e235d2d4e7f5478a4cc4115a74de729a
[]
no_license
tangxiangru/2017-sharing-backend
5a3cc9ba6c22944046ae99221bee70245e326ffd
0905e38c9a30296cf01950efa6eed2708807f957
refs/heads/master
2021-01-13T11:30:24.026822
2017-02-11T18:56:29
2017-02-11T18:56:29
81,680,679
1
0
null
2017-02-11T20:37:08
2017-02-11T20:37:08
null
UTF-8
Python
false
false
994
py
#coding:utf-8 from flask import jsonify, redirect, request, url_for, flash from ..models import User from .. import db from . import api #注册 @api.route('/register/',methods = ['POST']) def register(): if request.method == 'POST': email = request.get_json().get("email") password = reques...
[ "504490160@qq.com" ]
504490160@qq.com
a5e994b745288becf5f7c50b640bea1b03d4ad05
ae88dd2493c2329be480030f87e6e2a91470e255
/src/python/DQIS/Client/CommandLine.py
15d7a3b7f6f2e7ddc217564c71ac050dab93013c
[]
no_license
dmwm/DQIS
a48da3841ab6a086247ae8e437e2b5eb9e1c5048
bd861954c2531df1bd2e9dceb2585b9acd4cbbdc
refs/heads/master
2021-01-23T08:15:06.804525
2010-05-11T19:30:33
2010-05-11T19:30:33
4,423,793
0
0
null
null
null
null
UTF-8
Python
false
false
2,840
py
''' Created on 7 May 2010 @author: metson ''' from DQIS.API.Database import Database from optparse import OptionParser import json D_DATABASE_NAME = 'dqis' D_DATABASE_ADDRESS = 'localhost:5984' def do_options(): op = OptionParser(version="%prog 0.1") op.add_option("-u", "--url", type="strin...
[ "metson@4525493e-7705-40b1-a816-d608a930855b" ]
metson@4525493e-7705-40b1-a816-d608a930855b
f721745c59dfa425155103c807994cc344f7ce31
93039551fbdef0a112a9c39181d30b0c170eb3a6
/day03/day03HomeWork.py
a399b93ad6e0b969a53525cf311c62598023889e
[]
no_license
wenzhe980406/PythonLearning
8714de8a472c71e6d02b6de64efba970a77f6f4a
af0e85f0b11bf9d2f8e690bac480b92b971c01bb
refs/heads/master
2020-07-14T20:46:45.146134
2020-05-28T12:16:21
2020-05-28T12:16:21
205,398,758
0
0
null
null
null
null
UTF-8
Python
false
false
8,561
py
# _*_ coding : UTF-8 _*_ # 开发人员 : ChangYw # 开发时间 : 2019/7/17 17:33 # 文件名称 : day03HomeWork.PY # 开发工具 : PyCharm #1 # #1) # if __name__ == "__main__": # score = [] # # #2) # if __name__ == "__main__": # score.append(68) # score.append(87) # score.append(92) # score.append(100) # s...
[ "noreply@github.com" ]
wenzhe980406.noreply@github.com
72e99ab5f865b18e80a5fd7dbe9e887b0bcfcdbc
8e8273a3c9b87e58e46dd6ab575a33eb6fde9f62
/version_manager/options_set.py
e9aa203b1975a30aac22e2e044a66baa54686947
[]
no_license
mdrotthoff/version-manager-py
69ddd1308f1f1c896739f583f372d1af09d3d384
e5f388ff3856f7f4f1818215422610233b2dcb1d
refs/heads/master
2020-12-07T07:07:02.762375
2020-01-08T22:52:38
2020-01-08T22:52:38
232,666,355
0
0
null
2020-01-08T21:46:51
2020-01-08T21:46:50
null
UTF-8
Python
false
false
782
py
from typing import Dict, List, Optional import yaml def get_parameter_values(parameter_values: Dict[str, str], values_list: Optional[List[str]]) -> Dict[str, str]: """ Override the parameter values that are given in the list. It assumes each parameter is in the 'KEY=VALUE' format....
[ "bogdan.mustiata@gmail.com" ]
bogdan.mustiata@gmail.com
12e3936893568ce3f48ea41898acde3506eb4f06
52855d750ccd5f2a89e960a2cd03365a3daf4959
/ABC/ABC52_B.py
6a5c62026f989697559e55494fbdcbc27af93a36
[]
no_license
takuwaaan/Atcoder_Study
b15d4f3d15d48abb06895d5938bf8ab53fb73c08
6fd772c09c7816d147abdc50669ec2bbc1bc4a57
refs/heads/master
2021-03-10T18:56:04.416805
2020-03-30T22:36:49
2020-03-30T22:36:49
246,477,394
0
0
null
null
null
null
UTF-8
Python
false
false
147
py
N = int(input()) S = input() l = [0] x = 0 for i in range(N): if S[i] == "I": x+=1 else: x-=1 l.append(x) print(max(l))
[ "takutotakuwan@gmail.com" ]
takutotakuwan@gmail.com
69fd83990f8d65b3de84b868c8044b4418654031
58b87ea29a95a5ceeaae4c2d7db1b16502ed158f
/Numerical Analysis/NumpyEx.py
e1d46e96f9ca5c400cabb5f12dbaf62414e01781
[]
no_license
meyerpa/Python
b609e8c036b478b20cd17a4cc47b71c129c968f8
3797f9be3341e69d5e9eccfc1b4e7f52fdd9c666
refs/heads/master
2021-01-01T03:58:40.183829
2018-03-14T14:24:57
2018-03-14T14:24:57
56,526,228
0
0
null
null
null
null
UTF-8
Python
false
false
24
py
from numpy import zeros
[ "meyerpa@mnstate.edu" ]
meyerpa@mnstate.edu
3a4162c73e2895e4844d4a8ce5c4a057e8fa230e
cb703e45cf56ec816eb9203f171c0636aff0b99c
/Dzien06/loger.py
0e546809184bbae08d85b4ec2e6a1b2e188b982b
[]
no_license
marianwitkowskialx/Enzode
dc49f09f086e4ca128cd189852331d3c9b0e14fb
67d8fd71838d53962b4e58f73b92cb3b71478663
refs/heads/main
2023-06-04T20:58:17.486273
2021-06-24T16:37:53
2021-06-24T16:37:53
366,424,571
0
0
null
null
null
null
UTF-8
Python
false
false
581
py
# Przykład logowania w Pythonie import logging log_format="%(asctime)s:%(levelname)s:%(filename)s:%(message)s" logging.basicConfig( format=log_format, handlers= [ logging.StreamHandler(), logging.FileHandler("app1.log") ], level=logging.DEBUG, #filename="app.log", datefmt="%Y-%...
[ "marian.witkowski@gmail.com" ]
marian.witkowski@gmail.com
99c7a87a5d8431b21888a5a8c5512f6f205f3704
fd7598754b87536d3072edee8e969da2f838fa03
/chapter3_programming17.py
257697649b65df0980c01265e13efa08d4a817ce
[]
no_license
dorabelme/Python-Programming-An-Introduction-to-Computer-Science
7de035aef216b2437bfa43b7d49b35018e7a2153
3c60c9ecfdd69cc9f47b43f4a8e6a13767960301
refs/heads/master
2020-05-02T23:19:44.573072
2019-03-28T21:27:20
2019-03-28T21:27:20
178,261,171
0
0
null
null
null
null
UTF-8
Python
false
false
972
py
# Program using Newton's method to approximate square root import math def main(): # Title and description of the Program print("\nSquare Root Approximator\n") print("This program calculates the approximation of the square root of " +\ "a number using Newton's method.") # Obtain the number to take the square ...
[ "contact.dorabelme@gmail.com" ]
contact.dorabelme@gmail.com
e43289d08b2bee5b02db3fd8e63c0ab77b14b898
4f793320d5d2d003b8e32d7d0204bc152f703d31
/hypercane/hfilter/containing_pattern.py
948a41498d104eff2c5521e4ca164b1533d8e629
[ "MIT" ]
permissive
himarshaj/hypercane
77ea458e75033a51fa452c557e82eb8ff5e0f887
99ac84834e2aad57cdf4687469a63b6305d20e47
refs/heads/master
2023-03-29T22:10:48.123857
2021-04-13T23:17:45
2021-04-13T23:17:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,164
py
import logging import concurrent.futures import re from ..utils import match_pattern module_logger = logging.getLogger('hypercane.hfilter.patterns') def filter_pattern(input_urims, cache_storage, regex_pattern, include): filtered_urims = [] compiled_pattern = re.compile(regex_pattern) with concurrent....
[ "jones.shawn.m@gmail.com" ]
jones.shawn.m@gmail.com
bac612e62bec9e76a649f5be726257ddc8ce1646
1395576291c1e8b34981dbcbfcd0fdda020083b8
/dist_cts/dist_fleet/thirdparty/simnet_bow/dataset_generator.py
4e3b7a3565639c5154043bbc8179ef3b0a6d635f
[]
no_license
gentelyang/scripts
a8eb8a3cc5cc5bac753f1bb12033afaf89f03404
e3562ab40b574f06bba68df6895a055fa31a085d
refs/heads/master
2023-06-06T12:38:37.002332
2021-06-15T05:09:06
2021-06-15T05:09:06
262,957,519
0
4
null
2021-01-10T08:28:11
2020-05-11T06:28:08
Python
UTF-8
Python
false
false
2,500
py
#!/usr/bin/env python #-*- coding:utf-8 -*- # @Time : 2019-09-26 17:30 # @Author : liyang109 from __future__ import print_function import paddle.fluid.incubate.data_generator as dg import random class PairwiseReader(dg.MultiSlotDataGenerator): def init_reader(self, max_len, sampling_rate): # np.random....
[ "liyang109@baidu.com" ]
liyang109@baidu.com
cce4b96a715d43f53534c19733cad518beb38e8e
0d5c77661f9d1e6783b1c047d2c9cdd0160699d1
/python/paddle/fluid/tests/test_lod_tensor.py
f7a9dd4129027417a06a6c25ff9a801fff259c5e
[ "Apache-2.0" ]
permissive
xiaoyichao/anyq_paddle
ae68fabf1f1b02ffbc287a37eb6c0bcfbf738e7f
6f48b8f06f722e3bc5e81f4a439968c0296027fb
refs/heads/master
2022-10-05T16:52:28.768335
2020-03-03T03:28:50
2020-03-03T03:28:50
244,155,581
1
0
Apache-2.0
2022-09-23T22:37:13
2020-03-01T13:36:58
C++
UTF-8
Python
false
false
4,649
py
# Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by app...
[ "xiaoyichao@haohaozhu.com" ]
xiaoyichao@haohaozhu.com
94a798f5d7308fcbe123a455033b48e8309745e5
824b582c2e0236e987a29b233308917fbdfc57a7
/sdk/python/pulumi_google_native/gameservices/v1/_enums.py
80a4901a6859335feb5cffa4619a9f4fff2a8000
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
24601/pulumi-google-native
ce8faf8455609a9572a8cbe0638c66427bf0ae7f
b219a14201c6c58eaa10caaeacbdaab528931adf
refs/heads/master
2023-08-23T05:48:31.819709
2021-10-08T18:50:44
2021-10-08T18:50:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,794
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** from enum import Enum __all__ = [ 'AuditLogConfigLogType', 'AuthorizationLoggingOptionsPermissionType', 'CloudAuditOptionsLogName', 'C...
[ "noreply@github.com" ]
24601.noreply@github.com
d31e51d2b11c4e543c1be1663b64cb279e600790
f4dcb14111539e9a22300256fd6f8fefc61f2d50
/src/flua/Compiler/ExpressionParser/ExpressionParser.py
91fe2cd96730b30e01ee0ff76e858514d3fe80a2
[]
no_license
GWRon/flua
276c3ea4ce1cfcf68a1000fb44512460b5161c4e
1cf051f1d5aec3ba4da48442a0d7257d399e5b36
refs/heads/master
2021-01-15T17:37:03.914965
2012-10-24T12:57:27
2012-10-24T12:57:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
24,234
py
#################################################################### # Header #################################################################### # Expression parser #################################################################### # License #################################################################### # (C...
[ "e.urbach@gmail.com" ]
e.urbach@gmail.com
abcb6982c6f5dd12b149025215077f5e7fde1359
1959350ca45f43806e925907c298cfae2f3f355f
/test/programytest/parser/pattern/nodes_tests/test_root.py
eca847aa29bdf9535f4c7d605bb69293e405357c
[ "MIT" ]
permissive
tomliau33/program-y
8df17ff4078a0aa292b775ef869930d71843682a
30a3715c8501b4c2f1b4de698b679cb4bac168b1
refs/heads/master
2021-09-06T01:56:08.053131
2018-01-31T15:10:10
2018-01-31T15:10:10
114,656,850
0
0
null
2018-02-01T13:27:30
2017-12-18T15:27:54
Python
UTF-8
Python
false
false
3,716
py
from programytest.parser.pattern.base import PatternTestBaseClass from programy.parser.exceptions import ParserException from programy.parser.pattern.nodes.word import PatternWordNode from programy.parser.pattern.nodes.base import PatternNode from programy.parser.template.nodes.base import TemplateNode from programy....
[ "keith@keithsterling.com" ]
keith@keithsterling.com
298765993ed5182b47c72e02ed6cfac278fe1189
7d88a4787246e41adba39b4313380ea4f2f08f5a
/test/regression/features/dictionaries/dict_setitem_new.py
68e8c36e6b05c25cf8aaef18b48058ee8405915f
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
powergun/berp
cd66bdc6e2ad084df119d6d55742fc1e1efdfc06
30925288376a6464695341445688be64ac6b2600
refs/heads/master
2020-06-24T23:34:07.519644
2014-06-11T03:36:35
2014-06-11T03:36:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
56
py
d = {'itchy' : 'knee'} d['scratchy'] = 'elbow' print(d)
[ "florbitous@gmail.com" ]
florbitous@gmail.com
10adb072e9eabcec4d2ad0f61ee7d6d29b38c97c
fdcb2cdee4d5b398eed4eefc830213234e3e83a5
/01_MIT_Learning/week_2/lectures_and_examples/3_guess_my_number.py
12e1fa8891345cf687bad33b67bd047e96880487
[]
no_license
daftstar/learn_python
be1bbfd8d7ea6b9be8407a30ca47baa7075c0d4b
4e8727154a24c7a1d05361a559a997c8d076480d
refs/heads/master
2021-01-20T08:53:29.817701
2018-01-15T22:21:02
2018-01-15T22:21:02
90,194,214
0
0
null
null
null
null
UTF-8
Python
false
false
1,983
py
# ####################################################### # Create a program that guesses a secret number! # The program works as follows: # you (user) thinks of an integer between 0 (inclusive) and 100 (not inclusive). # The computer makes guesses, and you give it input - # is its guess too high or too low? # Using ...
[ "nikdaftary@gmail.com" ]
nikdaftary@gmail.com
b2830436f10dd100a76995d67b0f77827b8fa308
c19bcbc98555ef06276f9f0dcffc9ac35942a7c4
/tests/test_proc_pid_maps.py
295254aa85fb9c2904a4fc24b52c440ba608763e
[ "MIT" ]
permissive
kellyjonbrazil/jc
4e81a5421cd20be5965baf375f4a5671c2ef0410
4cd721be8595db52b620cc26cd455d95bf56b85b
refs/heads/master
2023-08-30T09:53:18.284296
2023-07-30T17:08:39
2023-07-30T17:08:39
215,404,927
6,278
185
MIT
2023-09-08T14:52:22
2019-10-15T22:04:52
Python
UTF-8
Python
false
false
1,270
py
import os import unittest import json from typing import Dict import jc.parsers.proc_pid_maps THIS_DIR = os.path.dirname(os.path.abspath(__file__)) class MyTests(unittest.TestCase): f_in: Dict = {} f_json: Dict = {} @classmethod def setUpClass(cls): fixtures = { 'proc_pid_maps': ...
[ "kellyjonbrazil@gmail.com" ]
kellyjonbrazil@gmail.com
67d7445176b628d391bca470696e3b4247bc6228
aabfe137db175f0e070bd9342e6346ae65e2be32
/RecoEcal/EgammaClusterProducers/python/islandClusteringSequence_cff.py
57c2add9f6396084fa60b771d75bfcb922cb8181
[]
no_license
matteosan1/cmssw
e67b77be5d03e826afd36a9ec5a6dc1b3ee57deb
74f7c9a4cf24913e2a9f4e6805bb2e8e25ab7d52
refs/heads/CMSSW_7_0_X
2021-01-15T18:35:33.405650
2013-07-30T14:59:30
2013-07-30T14:59:30
11,789,054
1
1
null
2016-04-03T13:48:46
2013-07-31T11:06:26
C++
UTF-8
Python
false
false
797
py
import FWCore.ParameterSet.Config as cms # # $Id: islandClusteringSequence.cff,v 1.7 2007/03/13 17:21:44 futyand Exp $ # #------------------ #Island clustering: #------------------ # Island BasicCluster producer from RecoEcal.EgammaClusterProducers.islandBasicClusters_cfi import * # Island SuperCluster producer from R...
[ "sha1-197b93d87bf2e1eb4349df76c6ec25fd8f1f348e@cern.ch" ]
sha1-197b93d87bf2e1eb4349df76c6ec25fd8f1f348e@cern.ch