blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
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
684 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
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
1f64366441dbe071272ae3a51bc643d2129ab68f
05b0bfffa099ca58ffcde6044a253cbe43c9667e
/prx/console/command.py
a4acb1bfc68f12a4ab585a56e533626869255e05
[ "MIT" ]
permissive
pmav99/prx
06c7861035f132a59e42374b6a4e0836abbac429
5152cd20cf731b597693cb25d057bd95e48da5aa
refs/heads/master
2020-04-16T05:26:21.397677
2019-01-11T21:42:15
2019-01-11T21:42:15
165,304,963
0
0
null
null
null
null
UTF-8
Python
false
false
903
py
from cleo import Command as BaseCommand import munch import schema class Command(BaseCommand): schema = None def get_parameters(self): """ Return command parameters """ params = { **{key: self.option(key) for key in self._config.options}, **{key: self.argument(key) fo...
[ "pmav99@gmail.com" ]
pmav99@gmail.com
4c0dd105bdfb013cc8f81d50fc05b47a159f887e
d0c34e4c346d59236da84b35ca0e5f032a997efd
/Python/DevOps/CeleryDemo/app.py
718ff83d2d1bb76fe63528a909120c6fe7d1ebdc
[]
no_license
kinscloud/kinscloud.github.io
898b7309485493578a4ecbc1976b3e158f2a3d93
3ff8d74a85bcc62464796d529874fc9e226d120a
refs/heads/master
2022-12-14T22:01:34.245628
2020-05-31T02:49:05
2020-05-31T02:49:05
244,150,397
0
0
null
2022-12-08T04:02:36
2020-03-01T13:03:23
Python
UTF-8
Python
false
false
222
py
from __future__ import absolute_import from celery import Celery app = Celery("CeleryDemo",include=["CeleryDemo.tasks"]) app.config_from_object("CeleryDemo.settings") if __name__ == "__main__": app.start()
[ "yuan_haoting@163.com" ]
yuan_haoting@163.com
47765547be9ce7bd8949fd249b8213719ce3df67
56ade096db1fe376ee43d38c96b43651ee07f217
/149. Max Points on a Line/Python/Solution.py
90294dafa13804016363d98e244f784c5189af51
[]
no_license
xiaole0310/leetcode
c08649c3f9a9b04579635ee7e768fe3378c04900
7a501cf84cfa46b677d9c9fced18deacb61de0e8
refs/heads/master
2020-03-17T05:46:41.102580
2018-04-20T13:05:32
2018-04-20T13:05:32
133,328,416
1
0
null
null
null
null
UTF-8
Python
false
false
1,387
py
# Definition for a point. # class Point(object): # def __init__(self, a=0, b=0): # self.x = a # self.y = b class Solution(object): def maxPoints(self, points): """ :type points: List[Point] :rtype: int """ def transform(a, b): def gcd(a, b): ...
[ "zhantong1994@163.com" ]
zhantong1994@163.com
61e96d6c66ddc9813f2de23120ba414ce125bcf8
c87a510d79eb216a4602c8dac5165fb8f954b297
/trunk/start.py
03dbacbf31119bad3e772a686bd80e1a7cb0960e
[]
no_license
hanjiangfly/python-admin
cf77adfbb0a3ce870c3668a02b5314a7c8393748
df69d300e4027b772b3fc839e5eb6f79e378ac53
refs/heads/master
2022-06-19T10:49:01.990119
2020-05-06T09:22:54
2020-05-06T09:22:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
758
py
#!/usr/bin/env python # -*- coding:UTF-8 -*- ''' @Description: @Author: Zpp @Date: 2019-09-05 16:07:19 @LastEditTime: 2020-03-31 09:47:09 @LastEditors: Zpp ''' from flask import Flask from conf.setting import server_info import models import routes import services import logs import logging def create_app(): app...
[ "375532103@qq.com" ]
375532103@qq.com
4d48e4e3c1aeb31bfcff0c29326004719e8a09fc
1d928c3f90d4a0a9a3919a804597aa0a4aab19a3
/python/spaCy/2017/4/test_issue999.py
d0c861cb11712474eca38f13df3852af1cd1b91b
[ "MIT" ]
permissive
rosoareslv/SED99
d8b2ff5811e7f0ffc59be066a5a0349a92cbb845
a062c118f12b93172e31e8ca115ce3f871b64461
refs/heads/main
2023-02-22T21:59:02.703005
2021-01-28T19:40:51
2021-01-28T19:40:51
306,497,459
1
1
null
2020-11-24T20:56:18
2020-10-23T01:18:07
null
UTF-8
Python
false
false
2,374
py
from __future__ import unicode_literals import os import random import contextlib import shutil import pytest import tempfile from pathlib import Path import pathlib from ...gold import GoldParse from ...pipeline import EntityRecognizer from ...language import Language try: unicode except NameError: unicode ...
[ "rodrigosoaresilva@gmail.com" ]
rodrigosoaresilva@gmail.com
bd895ea5f7bb8bb703efb214cfc418cd071d916e
a8e8ae98c26a54a99ea840a10140e4c5c4080f27
/lisa/_doc/manconf.py
a79b7b01b5e97bf6924dfcbdace24e83f22b532f
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ARM-software/lisa
c51ea10d9f1ec1713a365ca0362f176c6a333191
be8427f24d7565c0668cd51ed7ed55867fcec889
refs/heads/main
2023-08-30T20:55:20.646965
2023-08-29T15:15:12
2023-08-29T16:19:20
47,548,304
200
131
Apache-2.0
2023-09-14T11:03:27
2015-12-07T11:32:56
Jupyter Notebook
UTF-8
Python
false
false
2,408
py
# # Configuration file for the Sphinx documentation builder. # # This file does only contain a selection of the most common options. For a # full list see the documentation: # http://www.sphinx-doc.org/en/master/config # -- Path setup -------------------------------------------------------------- # If extensions (or ...
[ "douglas.raillard@arm.com" ]
douglas.raillard@arm.com
4e4e311f5bddd830cb64a76295a787490815fc37
bfc25f1ad7bfe061b57cfab82aba9d0af1453491
/data/external/repositories_2to3/166417/Restaurant-Revenue-Prediction-master/Ari/needs_work/GridSearch.py
797392b420070b13db589c6256f26e7ec49aede8
[ "MIT" ]
permissive
Keesiu/meta-kaggle
77d134620ebce530d183467202cf45639d9c6ff2
87de739aba2399fd31072ee81b391f9b7a63f540
refs/heads/master
2020-03-28T00:23:10.584151
2018-12-20T19:09:50
2018-12-20T19:09:50
147,406,338
0
1
null
null
null
null
UTF-8
Python
false
false
1,348
py
# Grid Search for Algorithm Tuning import numpy as np import pandas as pd from sklearn import datasets from sklearn.linear_model import Ridge from sklearn.grid_search import GridSearchCV ### Plotting function ### from matplotlib import pyplot as plt from sklearn.metrics import r2_score def plot_r2(y...
[ "keesiu.wong@gmail.com" ]
keesiu.wong@gmail.com
325ef5b645646efe8a5b3f749d9059d869300293
1f7d287ef90041e20468513a26a39e1f3d221289
/Level-2/s05/guvi-L2-s05-py01.py
2f66ce65d726649fcc5ed76d5626fdbbb099b6b4
[]
no_license
ksthacker/python
d787d69f954c0e9b59b0cc96a8b8fc5c0594d8a0
3a3775e1b9349e313f8c96ea11eade54a7e9bf54
refs/heads/master
2021-04-27T16:32:40.923316
2019-08-21T04:50:22
2019-08-21T04:50:22
122,303,461
0
17
null
2019-10-03T14:59:51
2018-02-21T07:09:32
Python
UTF-8
Python
false
false
323
py
import sys,string, math,itertools n,k = input().split() n,k = int(n),int(k) p = k if n==k : print('yes') sys.exit() elif n<k : print('no') sys.exit() i = 2 while n >= p : p = k**i if p==n : print('yes') sys.exit() i += 1 else : print('no') sys.exit(...
[ "noreply@github.com" ]
ksthacker.noreply@github.com
858fb0967c55d906dc35d2d55349a6503c1bc607
eee5fc5e9e1bd9ababc9cf8ccb8add19c9219ca3
/ABC/027/b.py
94a043ed59a9bc7e7284cfc5b1fe85c2d1d7d0bc
[]
no_license
matatabinoneko/Atcoder
31aa0114bde28ab1cf528feb86d1e70d54622d84
07cc54894b5bcf9bcb43e57a67f2a0cbb2714867
refs/heads/master
2021-11-13T04:39:13.824438
2021-10-31T01:42:52
2021-10-31T01:42:52
196,823,857
0
0
null
null
null
null
UTF-8
Python
false
false
478
py
import numpy as np def main(): n = int(input()) a = [int(i) for i in input().split()] ans = 0 cnt = 0 tmp = 0 mean = np.mean(a) if not mean.is_integer(): print(-1) return for i in range(len(a)): tmp += a[i] if tmp/(cnt+1) != mean: ...
[ "matatabinoneko0721@gmail.com" ]
matatabinoneko0721@gmail.com
9a167761bddf72bd2e4e842d962db3216f7f510a
59ac85afd2c2bc45ad8d3576412abdb3b3e97ca4
/sockets/sockets_https_extract.py
c5f8cf34ad37ddc1ffbeea90b8d377fa650ad3c4
[]
no_license
xaneon/NetworkAutomation
1833bd22b4a573a7ec1e2266bc44abf9b7bdbf11
2560194047b93442ea4f8d822e2b20c77256d5c9
refs/heads/master
2020-06-12T09:23:28.770655
2019-07-18T15:11:16
2019-07-18T15:11:16
194,256,868
0
0
null
null
null
null
UTF-8
Python
false
false
790
py
import socket import ssl import sys HOSTNAME = 'github.com' PORT = 80 BUFFSIZE = 4096 ADDR = (HOSTNAME, PORT) PORT = 443 REQ = "GET / HTTP/1.1\nHost: {}\n\n".format(HOSTNAME).encode("utf-8") tcp_sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) tcp_sock.connect((HOSTNAME, PORT)) tcp_sock = ssl.wrap_socket(tcp_...
[ "bonne.habekost@gmail.com" ]
bonne.habekost@gmail.com
0791b0f4b9332120249065df1e36981c105eef80
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_distaste.py
e497e8504c368854944d763aa003acd158221893
[ "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
349
py
#calss header class _DISTASTE(): def __init__(self,): self.name = "DISTASTE" self.definitions = [u'a dislike of something that you find unpleasant or unacceptable: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'nouns' def run(self, obj1 = [], obj2 =...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
e588a3f1ae7f0a10588b317d69bbb7f38b27c03f
26bd175ffb3bd204db5bcb70eec2e3dfd55fbe9f
/exercises/networking_selfpaced/networking-workshop/collections/ansible_collections/community/general/tests/unit/plugins/cliconf/test_slxos.py
e39034e9ec87c1160d884e0754f6001ec27151e5
[ "MIT", "GPL-3.0-only", "CC0-1.0", "GPL-1.0-or-later" ]
permissive
tr3ck3r/linklight
37814ed19173d893cdff161355d70a1cf538239b
5060f624c235ecf46cb62cefcc6bddc6bf8ca3e7
refs/heads/master
2021-04-11T04:33:02.727318
2020-03-25T17:38:41
2020-03-25T17:38:41
248,992,437
0
0
MIT
2020-03-21T14:26:25
2020-03-21T14:26:25
null
UTF-8
Python
false
false
4,421
py
# # (c) 2018 Extreme Networks Inc. # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ans...
[ "joshuamadison+gh@gmail.com" ]
joshuamadison+gh@gmail.com
fa5aef150732f8de105e6f0c331ff74c3ac41264
e32a75c44ef9c964bc5f97712c8e0e845ee3f6ca
/vqa_interactive_ui.py
468103ee4027419f05d3cbff420e7fb6a66b14e7
[]
no_license
ankita-kalra/ivqa_belief_set
29c40ec4076433ac412728aea603e4e69ce530eb
6ebba50ff001e1af6695bb3f4d2643e7072ee153
refs/heads/master
2020-04-05T17:17:00.834303
2018-08-27T09:59:16
2018-08-27T09:59:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,718
py
import tensorflow as tf import numpy as np import os import cmd from inference_utils.question_generator_util import SentenceGenerator from nltk.tokenize import word_tokenize from inference_utils import vocabulary # from mcb_wrapper import MCBModel def _tokenize_sentence(sentence): sentence = sentence.encode('as...
[ "liufeng@seu.edu.cn" ]
liufeng@seu.edu.cn
e1907affc30e68ce0d16172923a518e04aa46783
441f0b4b4f2016ace7bed37431779b3352b9c2e4
/Book Introdução Programação com Python/6 - Listas/06.11 - Tamanho de listas.py
7237165e21c08feaf6cf9adfc3aaf2ddfcedb1cb
[]
no_license
AlexGalhardo/Learning-Python
936b2eae814d148b0b3b77cc76cf81b45fbb4a02
b710952101a0409f585ba975e2854bf0e0286ac7
refs/heads/master
2020-05-19T23:32:49.285710
2019-09-04T17:37:27
2019-09-04T17:37:27
134,312,273
1
0
null
null
null
null
UTF-8
Python
false
false
646
py
############################################################################## # Parte do livro Introdução à Programação com Python # Autor: Nilo Ney Coutinho Menezes # Editora Novatec (c) 2010-2014 # Primeira edição - Novembro/2010 - ISBN 978-85-7522-250-8 # Primeira reimpressão - Outubro/2011 # Segunda reimpressão - ...
[ "aleexgvieira@gmail.com" ]
aleexgvieira@gmail.com
6c431a5ec86a08358d83dcee8807fdecd0efddf5
462f25705b192a4ab12bc37bc60555ffcb034994
/datasets/climate.py
3f18c6f4c8dae1d1307f7b74ab23902ce4efd5de
[]
no_license
sparticlesteve/nesap-stl
852df118dc78430482818026af1c9891617f8c09
3cf426c6867d5a87812882010b09df8c298fcbda
refs/heads/master
2022-12-19T13:54:00.235833
2020-10-01T21:20:36
2020-10-01T21:20:36
258,641,701
1
2
null
2020-09-30T22:17:41
2020-04-24T22:53:59
Jupyter Notebook
UTF-8
Python
false
false
2,302
py
"""Pytorch dataset specification for the LANL climate data TODO: Finish a first working version is this implementation. TODO: add support for non-overlapping samples (maybe the default). TODO: move to pre-split train/val/test input files. """ # System import logging # Externals import numpy as np import torch # Loc...
[ "sparticlesteve@gmail.com" ]
sparticlesteve@gmail.com
477e994e05a2bac3eac3730fcdea6e66ce2c1cae
52e5632d3f78080c55f97158809e047be60f68d5
/code/scan_theano.py
6d2e759a656c8f6e5eacb472fb9e7b12be7380ba
[ "BSD-2-Clause" ]
permissive
h-mayorquin/mnist_dl_ann_project
0583661fdb5c0f9e6911760edce0b3e6bdd78cc5
1380049fdad2db67a2862a668579160cf709cba0
refs/heads/master
2016-09-06T16:27:41.125353
2015-06-09T17:23:39
2015-06-09T17:23:39
35,223,827
0
0
null
null
null
null
UTF-8
Python
false
false
937
py
import numpy as np import theano import theano.tensor as T up_to = T.iscalar("up_to") # define a named function, rather than using lambda def accumulate_by_adding(arange_val, sum_to_date): return sum_to_date + arange_val seq = T.arange(up_to) # An unauthorized implicit downcast from the dtype of 'seq', to that ...
[ "h.mayorquin@gmail.com" ]
h.mayorquin@gmail.com
29d24d57f5e11c06a1aed5bb7af7d1ec562c016c
6adc53ef8363055fc2929ef0ca0b7d1d9fa9b379
/fhir_server/elements/meta.py
993d6ceadc7b0f7cb0310255abccb16c4c397ae2
[]
no_license
bglar/gawana-fhir
20924097b63b427cdb1252eec973de5fc0306d5b
735468c4435ca1f183eb50920edf02557196dd67
refs/heads/master
2021-06-24T22:28:57.981976
2020-11-23T09:58:05
2020-11-23T09:58:05
149,952,317
2
0
null
2019-01-14T20:15:45
2018-09-23T05:57:04
Python
UTF-8
Python
false
false
1,509
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # FHIR 1.0.2.7202 (http://hl7.org/fhir/StructureDefinition/Meta) # Date: 2016-03-22. from fhir_server.elements import primitives from fhir_server.elements.base.complex_element import ComplexElement, Field from fhir_server.elements.complex.coding import CodingField cl...
[ "bogolla4@gmail.com" ]
bogolla4@gmail.com
02f6af7eb4f741bfb94b44ba212bb72605ef9484
a2d1df88f38ed21ff42f8f56c63031ac5cc49abe
/abc113/b.py
bdea2780a81d8fe284e2127f29728af9cca50819
[]
no_license
honyacho/atcoder_excercise
70831d77a328cae82b0594da4bb3f04e995ef001
aa119994e53abb0bb0f47e0002704e48984ffb38
refs/heads/master
2021-06-14T02:26:51.918702
2021-03-15T05:48:56
2021-03-15T05:48:56
173,929,129
0
0
null
null
null
null
UTF-8
Python
false
false
606
py
import sys sys.setrecursionlimit(10**7) INTMAX = 9223372036854775807 INTMIN = -9223372036854775808 DVSR = 1000000007 def POW(x, y): return pow(x, y, DVSR) def INV(x, d=DVSR): return pow(x, d - 2, d) def DIV(x, y, d=DVSR): return (x * INV(y, d)) % d def LI(): return [int(x) for x in input().split()] def LF(): return [fl...
[ "cc_called_pizza@yahoo.co.jp" ]
cc_called_pizza@yahoo.co.jp
13343acac4c20591b79881c71007651a32f29849
f57116d79804099d474a4ad000d338a50b10c69b
/wirte.py
a3180d119d3e9fa2f57c9c4133e89d44edf9bcb9
[]
no_license
diobachio/untitled1
a7e183b93670139536afe77d995b3e81e86733c2
fc9d081dd94733add6a42f0bac3e3fa67514b97a
refs/heads/master
2020-03-21T16:18:30.223005
2018-06-26T15:46:36
2018-06-26T15:46:36
138,755,848
0
0
null
null
null
null
UTF-8
Python
false
false
1,372
py
import requests import re import os from headers import headers from multiprocessing import Pool,cpu_count import time import asyncio now = lambda: time.time() header = {'content-type': 'application/jaon', 'user-agent': headers()} def main(page): url = 'https://wall.alphacoders.com/by_category.php?' params = {...
[ "your@email.com" ]
your@email.com
7d344301359ec4ed6d1cd5b3401e8127daed13e1
17e81593c86923ef7e4e69f948b6012c2338fa24
/edb/lang/common/datetime.py
4f76832b10c88a45e6cd736a6bbda5f318e42cb4
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
1st1/edgedb
6dfdb90fd6ceb249eee8763e6d37c9240233ba17
3e234aede215d4fc517be9397a25bb16e5f1ace3
refs/heads/master
2021-06-03T21:42:44.068682
2018-07-11T15:52:32
2018-07-11T15:52:32
140,602,007
2
0
Apache-2.0
2018-07-11T16:29:10
2018-07-11T16:29:10
null
UTF-8
Python
false
false
994
py
# # This source file is part of the EdgeDB open source project. # # Copyright 2008-present MagicStack Inc. and the EdgeDB authors. # # 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...
[ "elvis@magic.io" ]
elvis@magic.io
1eba29840f194cf961a0140e0206382eef32fa28
8d472f9facb895dda9e1df81f3bb6c2f81b9c357
/master/bt5/slapos_accounting/SkinTemplateItem/portal_skins/slapos_consumption/Base_getResourceServiceTitleUitList.py
5f8915f221c62069a3670bfd11223b3a2f5360f8
[]
no_license
SlapOS/slapos.core
852485eed9382685f3df6ba8532f8192bb1389c4
369e8d56636e1c59a745e68dc68154abfc5b7840
refs/heads/master
2023-08-31T04:42:34.722241
2023-08-30T15:13:08
2023-08-30T15:13:08
1,825,920
11
4
null
null
null
null
UTF-8
Python
false
false
340
py
cpu_resource = context.service_module.cpu_load_percent memory_resource = context.service_module.memory_used disk_resource = context.service_module.disk_used return [(cpu_resource.getTitle(), cpu_resource.getUid()), (disk_resource.getTitle(), disk_resource.getUid()), (memory_resource.getTitle(), memory_...
[ "alain.takoudjou@nexedi.com" ]
alain.takoudjou@nexedi.com
b7392e04dee1290f2e1f60575d6fe573af63f116
37d1fa587b4d5c95e6ba1c72d7b1e4e26ce887c6
/backoffice/config/urls.py
28ac03c70d5223b90b013d7bb302c6858d51181f
[ "MIT" ]
permissive
erdem/trade-access-program
e0db4b084e2e1d86c17590a404ff70097a0f6436
31f83a3c84ba66a52d284cfe73cecd833bc90fd7
refs/heads/master
2023-04-07T00:01:40.235339
2020-12-07T16:39:43
2020-12-07T16:39:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,738
py
"""tap URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based vie...
[ "seanbl@me.com" ]
seanbl@me.com
edd7c7f3bdfcc2fafc8c632e5471157bd5f83f8d
301ff8012353185db7d1ad76f05e1b7972306f19
/mask2cut.py
14044a33c5d34e71c6ef62b4f93f9d4303b573ea
[]
no_license
msyriac/tenki
36cc9e7cee8f5bbc688ac0c946e0cc5c3be1df2c
b727f0f40f00a431679fea41e5dd693f07cc496b
refs/heads/master
2021-01-22T07:32:03.015010
2017-08-23T14:15:28
2017-08-23T14:15:28
102,306,661
0
0
null
2017-09-04T01:36:40
2017-09-04T01:36:40
null
UTF-8
Python
false
false
3,102
py
import numpy as np, os, bunch from enlib import utils, config, rangelist, mpi, pmat, scan as enscan, enmap, coordinates, errors from enact import filedb, actdata, files parser = config.ArgumentParser(os.environ["HOME"]+"./enkirc") parser.add_argument("sel") parser.add_argument("objname") parser.add_argument("mask") par...
[ "sigurdkn@astro.uio.no" ]
sigurdkn@astro.uio.no
c9916c76757a18a7e90572b1020670f5d1d15d74
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2906/60795/273827.py
d13072026e4332fb02e634cac3d30399cce95700
[]
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
552
py
dict={1:'a',2:'b',3:'c',4:'d',5:'e',6:'f',7:'g',8:'h',9:'i',10:'j',11:'k',12:'l',13:'m',14:'n',15:'o',16:'p',17:'q',18:'r',19:'s',20:'t',21:'u',22:'v',23:'w',24:'x',25:'y',26:'z'} dict2={'a':1,'b':2,'c':3,'d':4,'e':5,'f':6,'g':7,'h':8,'i':9,'j':10,'k':11,'l':12,'m':13,'n':14,'o':15,'p':16,'q':17,'r':18,'s':19,'t':20,'u...
[ "1069583789@qq.com" ]
1069583789@qq.com
4440522a3ffbb6985c71a1bcaaec9a37c129876e
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/fv/wanipdef.py
a4222b0f0987a4ae8cd8ba206d77f5916e9a3aed
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
3,954
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
261a4776e2f9c376c5b877b3e59bf0f2508c3ba9
5ac72c8484d8b7c2ecb94217e70ffa96c8c83053
/server/ndrive/wsgi.py
cc01197dd29cc53ed50933a3070d773cd402e35f
[ "MIT" ]
permissive
buffalos0721/Super-Neutron-Drive
975b6a9d20f9dc28d85632f87f50dd37da199f1f
d3cbeeae113722099032fb651dd4148670cb86e9
refs/heads/master
2020-03-26T08:40:40.409045
2016-08-18T16:20:36
2016-08-18T16:20:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,425
py
""" WSGI config for myproject project. This module contains the WSGI application used by Django's development server and any production WSGI deployments. It should expose a module-level variable named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover this application via the ``WSGI_APPLICATION`...
[ "paul.m.bailey@gmail.com" ]
paul.m.bailey@gmail.com
52d28018e51393bdd9468ded518e8882f4043f49
a44d6c8ddf4d43b8f623053ff8e4863d9a5f40d6
/readlikeme/core/profiles/ajax.py
7fa4c4fae3c410b693a1b8c3c8d36cd4dbe820f8
[]
no_license
martolini/readlikeme
c5bdd31f6233203454ee46c600e6add7936da39e
69e2509a5b747553fe723d890429444fbda24f14
refs/heads/master
2021-03-19T07:12:26.034555
2014-03-18T20:54:06
2014-03-18T20:54:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
718
py
from readlikeme.external.django_ajax.decorators import ajax from .models import Reader from django.shortcuts import get_object_or_404, redirect @ajax def follow_reader(request): if request.POST: follower_id = request.POST.get('follower_id') follower = get_object_or_404(Reader, id=follower_id) reader = request.u...
[ "msroed@gmail.com" ]
msroed@gmail.com
d5fdcc9ce3b0a4b7230ae9f733aaef3e4c1a242b
8c3c537c300e13fd263efb0e81361bcc00b0b21e
/main.py
61912954fb381cc1ef243c328502623db73e0615
[]
no_license
alirezahi/ComPyLer
bdf0bbb35bab5dc0f71fecee4af698eb54cb80ef
916d2b32a203e0415d356beaf270fe9ccfbb6df0
refs/heads/master
2020-04-17T07:55:56.546173
2019-01-22T16:19:26
2019-01-22T16:19:26
166,390,682
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
from lexer import Lexical from yacc import Yacc data = ''' int a : (t + q + r - y * e && ~ y * e) ; void asd(){ a ++; } ''' l = Lexical() y = Yacc() r = y.build().parse(data,l.build(),False) print(r)
[ "alireza97hi@gmail.com" ]
alireza97hi@gmail.com
644f4697a993308114b52b35cd714858f4f50c1c
6817c0ca3f3a0340d4741e8850477c4bcc26300a
/src/transformers/pipelines/image_to_text.py
f34dad3cef81428e97b7574692833024defc140a
[ "Apache-2.0" ]
permissive
cedrickchee/transformers-llama
4df9d829e9e07cd7f813db6f3fbb1bc892cc443a
98467b6d9276ed857238173776ec39d05f14346c
refs/heads/llama_push
2023-05-23T12:37:44.608815
2023-03-17T10:17:14
2023-03-17T10:17:14
609,750,737
27
4
Apache-2.0
2023-03-17T10:17:16
2023-03-05T05:39:49
Python
UTF-8
Python
false
false
4,880
py
from typing import List, Union from ..utils import ( add_end_docstrings, is_tf_available, is_torch_available, is_vision_available, logging, requires_backends, ) from .base import PIPELINE_INIT_ARGS, Pipeline if is_vision_available(): from PIL import Image from ..image_utils import lo...
[ "noreply@github.com" ]
cedrickchee.noreply@github.com
49631c15d6739efe33d1270e14a4283d832bb926
c20f811f26afd1310dc0f75cb00992e237fdcfbd
/219-contains-duplicate-ii.py
3a7a797cc5c8cc1142d9d818755981e130dfd0f7
[ "MIT" ]
permissive
dchentech/leetcode
4cfd371fe4a320ab3e95925f1b5e00eed43b38b8
3111199beeaefbb3a74173e783ed21c9e53ab203
refs/heads/master
2022-10-21T09:59:08.300532
2016-01-04T03:21:16
2016-01-04T03:21:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,849
py
""" Question: Contains Duplicate II Given an array of integers and an integer k, find out whether there are two distinct indices i and j in the array such that nums[i] = nums[j] and the difference between i and j is at most k. Performance: 1. Total Accepted: 28832 Total Submissions: 107900 Difficulty: Eas...
[ "mvjome@gmail.com" ]
mvjome@gmail.com
02f3dca93c9248e783e76253ce36935466387dea
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_1480487_0/Python/daisyblu82/A.py
9e8cd93046dbfad8c69b508420714c849c07138f
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
535
py
import sys f = open(sys.argv[1], 'r') T = int(f.readline()) for case_no in xrange(1, T + 1): case = map(float, f.readline()[:-1].split(' ')) N = case[0] S = case[1:] ans = [] X = sum(S) E = 2*X/N N = 0.0 X += X for s in S: if s <= E: N += 1 else: X -= s for s in S: if s <= E: if X == 0: ...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
35ca75c3ff0fa5332bb413abedb12ee70983a08c
d2c229f74a3ca61d6a22f64de51215d9e30c5c11
/qiskit/pulse/library/samplers/__init__.py
ea5e2dd5d16a55bbb7eb4ec0486806381d7ea7f4
[ "Apache-2.0" ]
permissive
1ucian0/qiskit-terra
90e8be8a7b392fbb4b3aa9784c641a818a180e4c
0b51250e219ca303654fc28a318c21366584ccd3
refs/heads/main
2023-08-31T07:50:33.568824
2023-08-22T01:52:53
2023-08-22T01:52:53
140,555,676
6
1
Apache-2.0
2023-09-14T13:21:54
2018-07-11T09:52:28
Python
UTF-8
Python
false
false
591
py
# This code is part of Qiskit. # # (C) Copyright IBM 2017, 2019. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivat...
[ "noreply@github.com" ]
1ucian0.noreply@github.com
3236cc7e980bbd35840776689ce3d4a4ea070032
e262e64415335060868e9f7f73ab8701e3be2f7b
/.history/demo_20201106190113.py
d237c15e9b2e7329f15f26432ed895edf5ba11be
[]
no_license
Allison001/developer_test
6e211f1e2bd4287ee26fd2b33baf1c6a8d80fc63
b8e04b4b248b0c10a35e93128a5323165990052c
refs/heads/master
2023-06-18T08:46:40.202383
2021-07-23T03:31:54
2021-07-23T03:31:54
322,807,303
0
0
null
null
null
null
UTF-8
Python
false
false
1,761
py
# a = 1 # if a==0: # print("a=0") # else: # print("a!0") # """ # x>1 (3x-5) # -1<=x<=1 (x+2) # x < -1 (5x+3) # """ # x = int(input("输入您的数字:")) # if x > 1: # print(3*x-5) # else: # if x >= -1: # print(x + 2) # else: # print(5*x+3) # 猜数字游戏 # import random # computet_num = rando...
[ "zhangyingxbba@gmail.com" ]
zhangyingxbba@gmail.com
4e0e7e51029c4e74ba506cfd5486e131086b8b83
cd663dd34fa0f85cd9f2b778887cee09d48e7bb1
/hum.py
09b52aa64a2dd0e272b20a5ee70e192ba10b8c91
[]
no_license
suganthicj/hum
e37f2b9792252555a9a039a57188f14092f3db45
bf83d1f473a2167d87d3c694509fb1f3cb064b13
refs/heads/master
2020-06-27T15:12:10.675816
2019-08-01T05:41:08
2019-08-01T05:41:08
199,984,404
0
0
null
null
null
null
UTF-8
Python
false
false
185
py
x11=int(input()) l=list(map(int,input().split())) z11=0 for i in range(0,x11-1): for j in range(i+1,x11): u11=l[j]-l[i] if u11<0: u11=u11*-1 if u11>z11: z11=u11 print(z11)
[ "noreply@github.com" ]
suganthicj.noreply@github.com
1f845a062e696399a33c766523199bb33ed3a166
c6cb45b4c540e9224fcfbc3eb6033850e80ebc4f
/eventum/routes/_eventum.py
38c977e35c17f7da6f0e1bd6dfb86989b084c99b
[]
no_license
schlosser/eventum
3300d78eb1f37d16c42b827dc91a581d03fb6f3a
b258f7c3445ca9fcb5534e179fe5b7811862e4c4
refs/heads/master
2021-01-14T11:30:44.572562
2016-11-02T04:20:26
2016-11-02T04:20:26
18,424,395
3
5
null
2016-09-07T18:59:17
2014-04-04T01:54:28
Python
UTF-8
Python
false
false
304
py
from flask import Blueprint, current_app, send_from_directory eventum = Blueprint('eventum', __name__) @eventum.route('/static/<path:filename>', methods=['GET']) def static(filename): return send_from_directory(current_app.config['EVENTUM_STATIC_FOLDER'], filename)
[ "dan.r.schlosser@gmail.com" ]
dan.r.schlosser@gmail.com
bfe39c6edc9efe979bd20abfa1e378091f19d966
7101871e7a82d202483ada3053fec155ce7824a6
/test/functional/test_framework/coverage.py
be21d29097818c8430ad2c407d507fdbff087e36
[ "MIT" ]
permissive
trumpcoinsupport/TrumpCoin
633a9992e46cab00774d01e569f4611b7f6b4b54
098c62ea249a63ca1cc31d5f37c6209ccdf50e2a
refs/heads/master
2023-01-11T20:22:03.469608
2021-12-31T10:04:39
2021-12-31T10:04:39
194,952,065
15
14
MIT
2023-01-08T02:49:09
2019-07-03T00:24:45
C++
UTF-8
Python
false
false
3,375
py
#!/usr/bin/env python3 # Copyright (c) 2015-2017 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Utilities for doing coverage analysis on the RPC interface. Provides a way to track which RPC commands...
[ "sebgruby@gmail.com" ]
sebgruby@gmail.com
9fb3c10c2e0a3000be96e6abe7eb7fbcd1e5abbb
df2cbe914f463ad050d7ed26194424afbe3a0a52
/addons/website_event_meet/tests/__init__.py
b2835ad5a69e362e094680bf34beb22f8c708662
[ "Apache-2.0" ]
permissive
SHIVJITH/Odoo_Machine_Test
019ed339e995be980606a2d87a63312ddc18e706
310497a9872db7844b521e6dab5f7a9f61d365a4
refs/heads/main
2023-07-16T16:23:14.300656
2021-08-29T11:48:36
2021-08-29T11:48:36
401,010,175
0
0
Apache-2.0
2021-08-29T10:13:58
2021-08-29T10:13:58
null
UTF-8
Python
false
false
138
py
# -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. from . import test_website_event_meet
[ "36736117+SHIVJITH@users.noreply.github.com" ]
36736117+SHIVJITH@users.noreply.github.com
13476a9a965a117bc531ba5b51131300698fd78b
9e549ee54faa8b037f90eac8ecb36f853e460e5e
/venv/lib/python3.6/site-packages/pylint/test/functional/uninferable_all_object.py
801d8af643da4aa560fb71ca01936f1aff44e261
[ "MIT" ]
permissive
aitoehigie/britecore_flask
e8df68e71dd0eac980a7de8c0f20b5a5a16979fe
eef1873dbe6b2cc21f770bc6dec783007ae4493b
refs/heads/master
2022-12-09T22:07:45.930238
2019-05-15T04:10:37
2019-05-15T04:10:37
177,354,667
0
0
MIT
2022-12-08T04:54:09
2019-03-24T00:38:20
Python
UTF-8
Python
false
false
157
py
"""Test that non-inferable __all__ variables do not make Pylint crash.""" __all__ = sorted(["Dummy", "NonExistant", "path", "func", "inner", "InnerKlass"])
[ "aitoehigie@gmail.com" ]
aitoehigie@gmail.com
170ce1e636160c9d6887e8eb1131f57c0ba5b5bb
a90138812eb72c5c39be677769399e97ec5a5d26
/sqrt of a number.py
d3b28dd2bb8551818955164b9dab61f800e2ed0f
[]
no_license
nami-h/Interview
2dc86f191d1002c38651379a8ed510dd4ce56c9b
f39ab0e4e58e97e27aba27d0269d0be8b61832bb
refs/heads/master
2021-07-19T23:20:27.064353
2020-09-29T03:06:29
2020-09-29T03:06:29
215,928,505
0
0
null
null
null
null
UTF-8
Python
false
false
839
py
# Python 3 program to find floor(sqrt(x) # Returns floor of square root of x def floorSqrt(x) : # Base cases if (x == 0 or x == 1) : return x # Do Binary Search for floor(sqrt(x)) start = 1 end = x while (start <= end) : mid = (start + end) // 2 ...
[ "noreply@github.com" ]
nami-h.noreply@github.com
d623a984113e72e88c18698a77027a6f879ad60b
dc182e5b4597bdd104d6695c03744a12ebfe2533
/PythonScripts/receiving_generators.py
d93ed6df577ff8ef565131214352dff5f196ef27
[]
no_license
srinaveendesu/Programs
06fb4a4b452445e4260f9691fe632c732078d54d
f6dbd8db444678b7ae7658126b59b381b3ab0bab
refs/heads/master
2023-01-27T14:42:40.989127
2023-01-18T22:36:14
2023-01-18T22:36:14
129,948,488
1
0
null
2022-09-13T23:06:04
2018-04-17T18:30:13
Python
UTF-8
Python
false
false
1,825
py
# Simple generators in synchronised multitasking print('####### Simple Generator########') def countdown(n): while n > 0: yield n n -= 1 tasks = [countdown(10), countdown(5), countdown(20)] while tasks: task = tasks[0] tasks.remove(task) try: x = next(task) print(x) ...
[ "srinaveen.desu@gmail.com" ]
srinaveen.desu@gmail.com
80c0d367aacfeb434f0077243742bb0978360673
f2a8c2996ef9c64800d26c0b477a71001a623904
/lab7/Task1/Informatics/Ввод-вывод/B.py
d0574618adf76fbb4864798baddbcbe1bd46eb7f
[]
no_license
AA19BD/Web-Development-KBTU-
6ea9cfe7e42544b298773e652a918c25be72c758
5c5937bb39974239c7d834ff4aa76194f0f87788
refs/heads/main
2023-04-08T22:11:07.684400
2021-04-15T03:39:04
2021-04-15T03:39:04
334,355,673
0
2
null
2021-04-24T16:21:18
2021-01-30T07:33:06
Python
UTF-8
Python
false
false
150
py
a=int(input()) print("The next number for the number {0} is {1}.".format(a,a+1)) print("The previous number for the number {0} is {1}.".format(a,a-1))
[ "aitbanov640@gmail.com" ]
aitbanov640@gmail.com
ea074c145a10afda53292b31a16a1415a217eb56
75a1c30de6ddd4b5c80a476a09d38a8c248befae
/app/notify/accounts.py
33ba51c6e10c4685cbaacbb67ae25be77c73eb60
[]
no_license
SeanEstey/Bravo
3f2f373a7f28572fee0171b1b77b271c91a88366
285b7f5adcad6cdbf66dabc54446d4e647c66eda
refs/heads/stable
2022-09-28T03:25:31.484324
2018-12-20T16:01:39
2018-12-20T16:01:39
27,843,686
0
1
null
2022-09-13T22:27:06
2014-12-10T22:53:35
Python
UTF-8
Python
false
false
1,348
py
'''app.notify.accounts''' import logging from flask import g from bson import ObjectId as oid from dateutil.parser import parse from .. import get_keys from app.lib.dt import to_local from logging import getLogger log = getLogger(__name__) #------------------------------------------------------------------------------...
[ "estese@gmail.com" ]
estese@gmail.com
98fb216a1a82970407ee4917ea739a3c7d4ed2cc
844c7f8fb8d6bfab912583c71b93695167c59764
/fixação/Seção08/01-10/Sec08ex09.py
449858412abed6108a8cd0e8bcbfa1f3536692b0
[ "Apache-2.0" ]
permissive
gugajung/guppe
2be10656cd9aa33be6afb8e86f20df82662bcc59
a0ee7b85e8687e8fb8243fbb509119a94bc6460f
refs/heads/main
2023-05-28T08:08:24.963356
2021-06-07T16:56:11
2021-06-07T16:56:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
312
py
from math import pi def volumeCilindro(raio, altura): return pi * (raio**2) * altura valorRaio = int(input("entre com o Raio do cilindro :-> ")) valorAltura = int(input("entre com a altura do cilindro :-> ")) volume = volumeCilindro(valorRaio,valorAltura) print(f'E o volume do cilindro é :-> {volume}')
[ "luiz.carlin@gmail.com" ]
luiz.carlin@gmail.com
bfdd6f06609d21acd4e911a7f4541cc58531127c
6eb4cca56be93939bc3419dba03cc15441ca9686
/stats/0venom_capture_success/add_column_to_bed.py
ec16c6ecf477a6b5544c8f86b636b39a0f84c4a8
[]
no_license
markphuong/venom.targetcapture.pilot
1b1007fd157053eb4cd1bc7da60408533fab783c
a6f0e0c58bb6d1ae12f08feebdae72175391c4be
refs/heads/master
2021-01-21T05:29:12.076443
2017-08-31T03:35:52
2017-08-31T03:35:52
101,924,019
0
0
null
2017-08-30T21:24:56
2017-08-30T20:06:33
Python
UTF-8
Python
false
false
420
py
import os import sys mybed = open(sys.argv[1], 'r') mydict = dict() for line in mybed: info = line.strip().split('\t')[0] if info in mydict: mydict[info] += 1 else: mydict[info] = 1 mybed.close() out = open(sys.argv[2], 'w') mybed = open(sys.argv[1], 'r') for line in mybed: info = line.strip().split...
[ "phuong@br006.pvt.bridges.psc.edu" ]
phuong@br006.pvt.bridges.psc.edu
3106cafa778e5227cf26335cf52b52d36f604685
67be8d282abd8d7abb92f8227a09cb636f4e4cad
/tmp/FitSort.py
409fd8b6ce54a72f6437fdf13d747b74ce64179a
[]
no_license
iABC2XYZ/abc
3b6b1e9fc7c9a472aa6fc8c0bb71188061fb89e0
13386cf2079113127a6f44d53beb9153b252fe9a
refs/heads/master
2020-12-30T11:03:07.611408
2017-12-04T04:42:01
2017-12-04T04:42:01
98,806,854
1
0
null
null
null
null
UTF-8
Python
false
false
1,822
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ @author: Peiyong Jiang 作者: 姜培勇 jiangpeiyong@impcas.ac.cn 本文件解释: """ import numpy as np import matplotlib.pyplot as plt plt.close('all') yRatioPreLoad=np.loadtxt('Ratio.pre') yRatioPre=yRatioPreLoad.T xFit=np.linspace(0,1,np.shape(yRatioPre)[0]) pYRatioPre=np.p...
[ "jiangpeiyong10@mails.ucas.ac.cn" ]
jiangpeiyong10@mails.ucas.ac.cn
117152e08a3209cbff3163fb8d4e8ca332aabbc1
9e553ede4885da863ac570331c423c45641912b0
/june/tasks/mail.py
ff0caccd0b768414bb938ce829029cdb6c855d0f
[ "BSD-3-Clause" ]
permissive
mapix/june
524457a11df92966677bab7e8d875b63b5922541
f35ba035b6c5624492c76833b1876fb5550011dc
refs/heads/master
2021-01-15T17:56:18.634807
2013-05-16T09:10:07
2013-05-16T09:10:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,029
py
# coding: utf-8 import gevent from flask import Flask from flask import current_app, url_for, render_template from flask.ext.babel import gettext as _ from flask_mail import Mail, Message from ..helpers import create_auth_token def send_mail(config, msg): if not config.get('DEFAULT_MAIL_SENDER', None): r...
[ "me@lepture.com" ]
me@lepture.com
a563be377eebbf27a84bbc35e08d28d50067336e
1b00c49171119f99c43003b957d872a02e93e64d
/dvr_mgr/src/GisVideoPlayer/form_usermgr.py
7d0a0f48c20a1738295c0934daf1146778957572
[]
no_license
flyingliang/AutoNavi_2012
fece11c2eff1cfb69cebe1a19576c22d77db5906
983808c794726e82f235005d384695b364b8e299
refs/heads/master
2021-05-31T00:40:34.975460
2016-04-08T15:00:05
2016-04-08T15:00:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,387
py
# coding=utf-8 from PyQt4 import QtCore from PyQt4 import QtGui from PyQt4.QtCore import * from PyQt4.QtGui import * import CommonTools import ui_form_usermgr import imgbase import datetime import psycopg2 as pg2 USERNAME_LENGHT = 1 PASSWARD_LENGHT = 6 HEADER_LIST = [u'序号',u'用户名',u'类别'] class UserM...
[ "24509826@qq.com" ]
24509826@qq.com
72f4cd28a94e59fd4b46144622a83f84961cbf7f
1bad7d2b7fc920ecf2789755ed7f44b039d4134d
/ABC/60/C.py
2b49495f52c3e0c03f17e0b8906845ff6c6ccce5
[]
no_license
kanekyo1234/AtCoder_solve
ce95caafd31f7c953c0fc699f0f4897dddd7a159
e5ea7b080b72a2a2fd3fcb826cd10c4ab2e2720e
refs/heads/master
2023-04-01T04:01:15.885945
2021-04-06T04:03:31
2021-04-06T04:03:31
266,151,065
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
n,k=map(int,input().split()) t=list(map(int,input().split())) ans=k for i in range(n-1): ans+=min(k,t[i+1]-t[i]) print(ans)
[ "kanekyohunter.0314@softbank.ne.jp" ]
kanekyohunter.0314@softbank.ne.jp
302c2c98bf61bec1f25c29d6b7316807a66506ec
a3f5b5ad239d8b1df70bffd926f2204c2a6b065a
/scripts/models/log.py
c5922b764901b890570f5605de0daa975dafa84c
[]
no_license
shortdistance/testSys
66b4bdf7cfd27c205fa50b0097cd4dc463dafe74
672beeb20e5e0c23a438a717bb04308c62412c87
refs/heads/master
2021-01-20T14:15:45.991382
2017-05-08T02:25:25
2017-05-08T02:25:25
90,577,917
0
0
null
null
null
null
UTF-8
Python
false
false
5,297
py
# -*- coding: utf-8 -*- from scripts.models.database import BaseModel from scripts.models.project import Project, ProjectStatus from scripts.models.userprofile import UserStatus, UserProfile from sqlalchemy import Column, Integer, SMALLINT, String, Boolean, DateTime, Float, ForeignKey, UnicodeText from sqlalchemy.orm i...
[ "zhanglei520vip@163.com" ]
zhanglei520vip@163.com
31674ca82f2f905753928c83281839060b8f4cdf
29965b3f3b7fdad9c9500fab0866166e2f77cf23
/main/urls.py
f5e63fbf316e2ef131480f4257e49744879711a0
[ "MIT" ]
permissive
tlake/pax-sivir-skin-hunt-2017
1e8f8ba2e7fe1d2481bceb5f97d36bee17414d23
7640b5d917a840520b5f907931a673f08c4f403a
refs/heads/master
2022-12-24T16:12:33.593140
2020-09-22T05:24:26
2020-09-22T05:24:26
297,494,433
0
0
null
null
null
null
UTF-8
Python
false
false
171
py
from django.conf.urls import url from main.views import MainView, GameView urlpatterns = [ url(r'^$', MainView.as_view()), url(r'^game/', GameView.as_view()), ]
[ "tanner.lake@gmail.com" ]
tanner.lake@gmail.com
cba11dc929f91b28dfdf6f862055bfbbaef16a44
3c7e0da4d146f45af1202c6d9f4a14f9874bd5d0
/src/wai/spectralio/serialisation/error/_WrongTypeError.py
0489338996fb77fcb2c2dd322df91b3e3fa89874
[ "MIT" ]
permissive
waikato-datamining/wai-spectralio
c0d4e85a57f07dfb7daaa8e65f6756687cb4fa81
a0edba2208b0b646ed54782cb0832ce10eed0d5e
refs/heads/master
2020-12-07T07:15:56.731643
2020-02-16T22:22:36
2020-02-16T22:22:36
232,667,947
0
0
null
null
null
null
UTF-8
Python
false
false
775
py
from typing import Any, Type from ._SerialisationError import SerialisationError class WrongTypeError(SerialisationError): """ Class for trying to serialise the wrong value type. """ def __init__(self, value: Any, expected_type: Type): super().__init__(f"Expected a {expected_type.__name__} " ...
[ "coreytsterling@gmail.com" ]
coreytsterling@gmail.com
a88ac63e7df8ef6b20fbfd0c19b4e6c03b9beefc
632747fbfbf1122497792291cb5a6a9f24add48d
/python_beyond_the_basics/organizing_larger_programs/reader/reader/compressed/bzipped.py
a05009042c5d5240224a1bf52d6a8e105343dea5
[]
no_license
mjoze/kurs_python
892ac4fab7f3b3fb1d88b236c362a7630a565af7
78ec0dda34a5450a4c47d79f3957c65dfbac0276
refs/heads/master
2020-08-07T10:54:56.198237
2020-04-30T15:31:50
2020-04-30T15:31:50
213,421,230
0
0
null
null
null
null
UTF-8
Python
false
false
164
py
import bz2 import sys opener = bz2.open if __name__ == '__main__': f = bz2.open(sys.argv[1], mode='wt') f.write(' '.join(sys.argv[2:])) f.close()
[ "mirek.jozefiak@gmail.com" ]
mirek.jozefiak@gmail.com
a38628b7e8544cf949d82ca9cf57e1edf448337e
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5756407898963968_0/Python/jakab922/magic_trick.py
1605b1647dd77f57405a2a03967a0dee9530fc4d
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
569
py
T = int(raw_input().strip()) for j in xrange(T): row_num1 = int(raw_input().strip()) for i in xrange(4): if i + 1 == row_num1: row1 = set(map(int, raw_input().strip().split(' '))) else: raw_input() row_num2 = int(raw_input().strip()) for i in xrange(4): if i + 1 == row_num2: row2 = set(map(int, raw_...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
6796d886c01b7fe4ec52b64b0b5b224181d838dd
a2c7bc7f0cf5c18ba84e9a605cfc722fbf169901
/python_1_to_1000/979_Distribute_Coins_in_Binary_Tree.py
fe3b49163dc881777f1531af7e78256ebf523102
[]
no_license
jakehoare/leetcode
3bf9edd499034ce32be462d4c197af9a8ed53b5d
05e0beff0047f0ad399d0b46d625bb8d3459814e
refs/heads/master
2022-02-07T04:03:20.659422
2022-01-26T22:03:00
2022-01-26T22:03:00
71,602,471
58
38
null
null
null
null
UTF-8
Python
false
false
1,450
py
_author_ = 'jake' _project_ = 'leetcode' # https://leetcode.com/problems/distribute-coins-in-binary-tree/ # Given the root of a binary tree with N nodes, each node in the tree has node.val coins, and there are N coins total. # In one move, we may choose two adjacent nodes and move one coin from one node to another. # ...
[ "jake_hoare@hotmail.com" ]
jake_hoare@hotmail.com
8071cfb58e62280da364f7be4de99ac1142f03e3
dd694c300d0380df35c62f7ab7667346214ea296
/rwlaunchpad/plugins/rwvns/test/test_sdn_mock.py
45e2e809dc60b47089ea6871bd2f1177e0b56ba8
[]
no_license
RIFTIO/SO
9412858132db0430217a2c5c55fb4b1db89290fa
697160573011d47f45bd0b955a291a46063d3b15
refs/heads/RIFT.ware-4.3.3
2021-06-22T13:42:40.860291
2016-12-29T21:47:25
2016-12-29T21:47:25
75,762,640
1
1
null
2017-02-08T19:31:28
2016-12-06T19:11:20
Python
UTF-8
Python
false
false
2,726
py
# # Copyright 2016 RIFT.IO 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...
[ "Leslie.Giles@riftio.com" ]
Leslie.Giles@riftio.com
599559c12b0e8562379087fb35f455cd23e2e171
0130c8b14927097663157846adc4b146d67d2fda
/tests/common/test_run/prelu_run.py
362eb0b53a27e232aa7f76627d81ad142e2c4418
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "Unlicense", "BSD-3-Clause", "NCSA", "LLVM-exception", "Zlib", "BSD-2-Clause", "MIT" ]
permissive
Shigangli/akg
e8be3e0ee1eafe3e42b4cc4d424c28f08ef4c0bc
3766c54e0b109541932d147a6b5643a334b82403
refs/heads/master
2023-09-06T05:13:40.571583
2021-11-23T03:44:54
2021-11-23T03:44:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,206
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...
[ "1027252281@qq.com" ]
1027252281@qq.com
af49a17ef5a6279ce4f78d69fc53ec5e8295b276
016a05014cc4c42074047a80931a0ea04fab3fd8
/BMD/bmdwash/clear.py
19f7fd543208dd7e2730325c20073a6c194b91a9
[]
no_license
cyr2270556/spider_project
9a0285638284c6b274096c02d32ac6126a49c233
bd5bbd683b899d844c42f29b840f910dcc854b6e
refs/heads/master
2023-04-04T01:31:13.135579
2021-04-08T09:26:13
2021-04-08T09:26:13
336,928,667
1
1
null
null
null
null
UTF-8
Python
false
false
494
py
# import openpyxl workbook1 = openpyxl.load_workbook(r'C:\Users\admin\Desktop\车险资源3.xlsx') sheet = workbook1['Sheet1'] workbook2 = openpyxl.Workbook() sheet2 = workbook2.create_sheet('chexian') for i in range(1,sheet.max_row+1): name = sheet.cell(i,6).value phone = sheet.cell(i, 8).value info = sheet.ce...
[ "511517077@qq.com" ]
511517077@qq.com
1288d5f6e7f85567e0c216ed4238e586a02a63e9
da50dd63541d05c06be0d41c376b08bd6da64617
/TIN_Hydro/backup/CGAL-test.py
f7f355bab06e00027933de5fb0298130bfa92be0
[]
no_license
nuanqituan/Python
232a48dde08d05640710bb49544075a1aa169d16
e47fd374c04a945a4201ec1f12502ed28fda5782
refs/heads/master
2023-08-13T16:09:30.893649
2021-09-28T14:28:07
2021-09-28T14:28:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,202
py
# coding=utf-8 from CGAL.Triangulations_2 import * from CGAL.Triangulations_3 import * from CGAL.Kernel import Point_3 from CGAL.Kernel import Point_2 from osgeo import ogr from gdalconst import * import os,sys from ShapefileIO import * pts2DList = [[1.1,2.1],[0.8,5],[5.2,1.9],[3.5,4.9],[6,7.4],[0.3,8],[-2,5.0]] print...
[ "crazyzlj@gmail.com" ]
crazyzlj@gmail.com
3a1b025bf2d0bec054d90cc562d5e3a546c8456c
0fe890aa09f5952727adb6342632d7d4504dd24f
/Firefly/core/services/__init__.py
3fbb58af06e29641020317ba6810b2b1c3c07fa7
[ "Apache-2.0" ]
permissive
Tiancheng-Luo/Firefly
d2b2d6dfae9087a2b15ba632cdab472680786b6d
28f910878d434f3ee9563635117074828aa806d4
refs/heads/master
2021-05-15T05:58:29.856189
2017-01-08T04:27:35
2017-01-08T04:27:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
463
py
from core import ffServices ffIndigo = None ffNest = None if ffServices.has_service('INDIGO'): if ffServices.get_boolean('INDIGO', 'enable'): from devices.ffIndigo.ffIndigoService import IndigoService ffIndigo = IndigoService() if ffServices.has_service('NEST'): if ffServices.get_boolean('NEST', 'enable'...
[ "me@zpriddy.com" ]
me@zpriddy.com
4675b94a3e49d9700608cf7d3769e25d214aa7c5
a0e9f75c1681f4052f53433fa84e948c0c0f4d9f
/rssant_api/migrations/0029_userfeed_group.py
3166c1150350f8990fba2a19ff4a8cfc7a072ae8
[ "BSD-3-Clause" ]
permissive
anyant/rssant
01a4f07c1e5c9922f05eb5f9781922d7349aef8c
03d23db5caaaba6888ce7b9b03513d0d6cc97050
refs/heads/master
2023-08-05T07:42:57.041899
2023-07-26T15:50:47
2023-07-26T15:50:47
229,764,065
1,543
146
BSD-3-Clause
2023-07-27T07:16:57
2019-12-23T14:05:07
Python
UTF-8
Python
false
false
448
py
# Generated by Django 2.2.13 on 2020-11-01 11:18 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('rssant_api', '0028_auto_20200619_0906'), ] operations = [ migrations.AddField( model_name='userfeed', name='group',...
[ "guyskk@qq.com" ]
guyskk@qq.com
1bb53f4b5d5722affd81331d548ceec9b21f5ddb
819ea119c7c9c958614ab3553c8243da3a6d866d
/pdutils/tests/test_save_load.py
ddf731dc4819a17e16542dd353bbf3d024b037b1
[ "MIT" ]
permissive
luispedro/pdutils
c8cb7442c2d99677f1d2e8805cc223820ad3f7c9
8852dd8b69eb6227e3b2d3058e8b7de6e871a47a
refs/heads/master
2021-01-10T07:43:58.002989
2016-10-02T19:08:01
2016-10-02T19:08:01
43,375,011
0
0
null
null
null
null
UTF-8
Python
false
false
471
py
import numpy as np import pandas as pd from pdutils import load_pandas, save_pandas from os import unlink def test_save_load(): X = pd.DataFrame(np.random.random((20,5)), index=["I{}".format(i) for i in range(20)], columns=["C.{}".format(i) for i in range(5)]) save_pandas('testing.pdy', X) X2 = load_pandas...
[ "luis@luispedro.org" ]
luis@luispedro.org
a5fced3086c010b5c584a91002d9cd77b12fe573
5d0edf31b17c5375faf6126c1a7be8e79bfe2ab8
/buildout-cache/eggs/collective.lazysizes-1.5.0b1-py2.7.egg/collective/lazysizes/vocabularies.py
3b152a9e88945d2b6ae9a9b730d2a060d8dfb909
[]
no_license
renansfs/Plone_SP
27cba32ebd9fc03dae3941ec23cf1bf0a7b6667a
8a7bdbdb98c3f9fc1073c6061cd2d3a0ec80caf5
refs/heads/master
2021-01-15T15:32:43.138965
2016-08-24T15:30:19
2016-08-24T15:30:19
65,313,812
0
3
null
null
null
null
UTF-8
Python
false
false
554
py
# -*- coding: utf-8 -*- from plone.app.imaging.utils import getAllowedSizes from zope.schema.vocabulary import SimpleVocabulary def ImageScalesVocabulary(context): """Return a vocabulary listing all image scales. An example item would have token set to 'tile (64, 64)' and value to ('tile', 64, 64). "...
[ "renansfs@gmail.com" ]
renansfs@gmail.com
419c970f3d172d9ab91dc05acc54727179c6116c
13ad53bd54e0fea96a8718a12486e6bca2cde5e3
/Python/7kyu/SeriesOfIntegersFrom0ToN.py
7b5bca65e795ab134b99da9f268b66ecef9b9b93
[]
no_license
WinrichSy/Codewars_Solutions
5cb354b15998167010416bba0b09855e717019b2
6904719eb05cf804694f26dbbb11277b90296d97
refs/heads/master
2023-02-02T22:09:08.453192
2020-12-23T19:51:30
2020-12-23T19:51:30
256,636,224
0
0
null
null
null
null
UTF-8
Python
false
false
140
py
#Series of integers from 0 to n #https://www.codewars.com/kata/5841f4fb673ea2a2ae000111 def generateIntegers(n): return list(range(n+1))
[ "winrichsy@gmail.com" ]
winrichsy@gmail.com
508627fb714ab499a9022a8a322d4cd0bf9ab196
da2993b3aaa18bb35f42886b1f4d7f938d055ff5
/backend/mysite/mysite/settings.py
0d009dd24da31d7b48cad222e96c98f6a2c17611
[]
no_license
karthikeyansa/React_Django_AuthToken
00838c6ef679b589ad38aba864b21a64478a33c4
cab17eff3ef75ade389c33c5f9109fdbc366a8d3
refs/heads/master
2023-02-09T23:10:24.311347
2021-01-01T18:34:53
2021-01-01T18:34:53
304,940,797
0
0
null
null
null
null
UTF-8
Python
false
false
3,471
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 3.1.4. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pathlib ...
[ "karthikeyansa39@gmail.com" ]
karthikeyansa39@gmail.com
51d3cf5b5a9c0809328f29c25e22ddcb46b191a1
ed17bf0d2bfe45e58f8eac961f4433e26a5df791
/community/users/views.py
ab5fcb0a8bbeb5d3691710413706a10d93d78831
[]
no_license
Mostacosta/community
80ca32c34be16f34c173297feb6606290cc4ce6f
457fb423146ffda983ec332e2ebac446254e71b2
refs/heads/master
2022-04-25T23:25:14.020429
2020-04-24T02:43:18
2020-04-24T02:43:18
258,382,748
0
0
null
null
null
null
UTF-8
Python
false
false
2,466
py
from rest_framework.views import APIView from .serializer import user_serializer,profile_serializer,contacts_serializer from .models import user_profile,contacts from django.shortcuts import get_object_or_404 from rest_framework.response import Response from django.contrib.auth import authenticate from django.contrib.a...
[ "mostafaelhassan910@gmail.com" ]
mostafaelhassan910@gmail.com
1bc0069fb6bd258af981355ce359fb52028a2932
a5b66100762c0ca7076de26645ef1b732e0ee2d8
/python_toolbox/sleek_reffing/__init__.py
9d6b35accc8aab89a87afb26d599588b1f7ac2a2
[ "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
cool-RR/python_toolbox
63400bbc004c63b32fe421b668a64bede4928e90
cb9ef64b48f1d03275484d707dc5079b6701ad0c
refs/heads/master
2022-01-26T14:41:29.194288
2021-12-25T06:49:40
2021-12-25T06:49:40
3,066,283
130
15
NOASSERTION
2021-12-25T06:49:41
2011-12-29T01:39:51
Python
UTF-8
Python
false
false
538
py
# Copyright 2009-2017 Ram Rachum. # This program is distributed under the MIT license. ''' Defines the `SleekRef` class and various data types using it. See documentation of `SleekRef` for more details. `SleekCallArgs` and `CuteSleekValueDict` are data types which rely on `SleekRef`. ''' from .sleek_ref import Sleek...
[ "ram@rachum.com" ]
ram@rachum.com
d9b67ee1b133f7b583507ab757bb46864856c456
0b1fd71f50bde5d15c8a66bd0ff7efc84d66e791
/LastTrading/SVM/svm_price_252.py
fe3881bcdb2acdf4c4a78bd7ba6969dadf92eb3d
[ "MIT" ]
permissive
kumars99/Quantiacs
a43d94a72212689b6e9b36b3be4e72fe174fe4cf
95ea9443744c5a2e5268fa18f5e38928a6452d5d
refs/heads/master
2020-04-11T02:47:17.329599
2018-11-28T13:03:03
2018-11-28T13:03:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,587
py
import pandas as pd import numpy as np from sklearn.pipeline import make_pipeline from sklearn.svm import SVC from sklearn.preprocessing import StandardScaler # Evaluate trading system defined in current file. if __name__ == '__main__': import quantiacsToolbox result = quantiacsToolbox.runts(__file__) # v...
[ "zaiddawoodissa@gmail.com" ]
zaiddawoodissa@gmail.com
514e2dee983e428fdb768d1d60049b6556debb84
d280919030466e08a2356d66a19e2326d3edcc23
/testing/testdht.py
9b390af3f9a0028f620dfcca536b832d743fca70
[]
no_license
cudmore/homecage
0bc01fb0823fa54e909a9db86f7af28ded276da1
38454ac370903a2433047fc999ce22a946c69dbc
refs/heads/master
2018-10-07T11:41:54.480985
2018-06-17T13:14:05
2018-06-17T13:14:05
110,311,082
2
0
null
null
null
null
UTF-8
Python
false
false
1,260
py
import sys import Adafruit_DHT # Parse command line parameters. sensor_args = { '11': Adafruit_DHT.DHT11, '22': Adafruit_DHT.DHT22, '2302': Adafruit_DHT.AM2302 } if len(sys.argv) == 3 and sys.argv[1] in sensor_args: sensor = sensor_args[sys.argv[1]] pin = sys.argv[2] else: ...
[ "robert.cudmore@gmail.com" ]
robert.cudmore@gmail.com
b221618ebc9d77dba1ccf9ffe49d866f302042ed
05eabd0206deae03a7d03e03421722c383bfc444
/python/p1472a/main.py
3cc6a68c369f7e2a807a7b1d2083007802a524ad
[ "MIT" ]
permissive
AoEiuV020/codeforces
8e64a96f599f28b7215f7e38fea53093d7b4c10b
c2d2f362ce9bfca5c0d24868c54c669c1d8345c0
refs/heads/master
2021-08-18T03:55:58.720491
2021-01-24T06:50:31
2021-01-24T06:50:31
90,616,821
0
0
null
null
null
null
UTF-8
Python
false
false
256
py
# https://codeforces.com/problemset/problem/1472/A for _ in range(int(input())): w, h, n = map(int, input().split()) bw = bin(w) bh = bin(h) print(['NO', 'YES'][2 ** (len(bw) - bw.rfind('1') - 1) * 2 ** (len(bh) - bh.rfind('1') - 1) >= n])
[ "aoeiuv020@gmail.com" ]
aoeiuv020@gmail.com
010cd08d296c720300414d1ee63251b4a328d7e5
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/125/usersdata/201/29733/submittedfiles/ap1.py
8d7aa936f66b5d99bd547b0b88f23662dbdd3064
[]
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
510
py
# -*- coding: utf-8 -*- a=float(input('Digite a:')) b=float(input('Digite b:')) c=float(input('Digite c:')) if a<=b and a<=c: print ('%d' %a) if b<=c: print ('%d' %b) print ('%d' %c) else: print ('%d' %c) print ('%d' %b) elif b<=a and b<=c: print ('%d' %b) if a<=c: ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
932cb093bf9c3ea27c78568e641e8632be85d57f
db947ddb463e76be484a4193f93e0af660829e9c
/ch05/ch05-02-timeseries.py
5616f2a35e20a87500c7fddf258061a7ed0d58cc
[ "BSD-3-Clause" ]
permissive
yukimori/kagglebook
83054ddeeefd1b7b4b1d9ebca92bbe6252095088
082dedf88398844d657c77b818abb50edd48c67d
refs/heads/master
2021-06-26T04:21:31.135821
2021-02-27T14:35:55
2021-02-27T14:35:55
214,897,505
0
0
BSD-3-Clause
2019-10-13T21:36:02
2019-10-13T21:36:02
null
UTF-8
Python
false
false
3,020
py
# --------------------------------- # データ等の準備 # ---------------------------------- import numpy as np import pandas as pd # train_xは学習データ、train_yは目的変数、test_xはテストデータ # pandasのDataFrame, Seriesで保持します。(numpyのarrayで保持することもあります) train = pd.read_csv('../input/sample-data/train_preprocessed.csv') train_x = train.drop(['targ...
[ "daisukeka@gmail.com" ]
daisukeka@gmail.com
2833c3ae56b2eaaf9b4fad856a39e7276295504f
baf3996414315ffb60470c40c7ad797bf4e6897f
/12_back_dev/Flask/Udemy, Flask, Advanced REST API, codes/section02/23_vanilla_marshmallow/end/resources/user.py
20b6d8f51b72177e9ea9636405843078385f9922
[ "MIT" ]
permissive
thiago-allue/portfolio
8fbbecca7ce232567aebe97c19944f444508b7f4
0acd8253dc7c5150fef9b2d46eead3db83ca42de
refs/heads/main
2023-03-15T22:10:21.109707
2022-09-14T17:04:35
2022-09-14T17:04:35
207,919,073
0
0
null
2019-11-13T18:18:23
2019-09-11T22:40:46
Python
UTF-8
Python
false
false
2,867
py
from flask_restful import Resource from flask import request from hmac import compare_digest from flask_jwt_extended import ( create_access_token, create_refresh_token, get_jwt_identity, jwt_required, get_jwt, ) from marshmallow import ValidationError from models.user import UserModel from schemas.u...
[ "thiago.allue@yahoo.com" ]
thiago.allue@yahoo.com
e8ebc9a34d9f96c944b1973bb91474278b87a99a
8d3b77eccd1a870d0f1d809dedd4abb6546d8155
/Tree/BinarySearchTree.py
7296ef88cffb1c12e3e62b5d5e21d7f15ae4266c
[]
no_license
vipin-s0106/DataStructureAndAlgorithm
c1362321fbae45474195516cfcf93bb55da4548b
73cc9f717cb3c1935af992f8dffea250fc1dcafb
refs/heads/master
2021-05-22T14:49:12.334123
2020-05-07T12:16:14
2020-05-07T12:16:14
252,969,855
0
0
null
null
null
null
UTF-8
Python
false
false
2,104
py
class Node: def __init__(self,data): self.data = data self.left = None self.right = None class BST: def __init__(self): self.root = None def insert(self,data): if self.root == None: new_node = Node(data) self.root = new_node retu...
[ "vipin.s0106@gmail.com" ]
vipin.s0106@gmail.com
ad10ccd21ef18821fcbbe0541cc6c708b8752863
7680dbfce22b31835107403514f1489a8afcf3df
/Exercícios_parte_2/exercício__095v2.py
96926757c68b10153e761c5b93d0b9dd45f7595c
[]
no_license
EstephanoBartenski/Aprendendo_Python
c0022d545af00c14e6778f6a80f666de31a7659e
69b4c2e07511a0bd91ac19df59aa9dafdf28fda3
refs/heads/master
2022-11-27T17:14:00.949163
2020-08-03T22:11:19
2020-08-03T22:11:19
284,564,300
0
0
null
null
null
null
UTF-8
Python
false
false
1,591
py
time = list() jogador = dict() partidas = list() while True: jogador.clear() jogador['nome'] = str(input('Nome do jogador: ')).strip().capitalize() tot = int(input((f'Quantas partidas {jogador["nome"]} jogou? '))) partidas.clear() for c in range(0, tot): partidas.append(int(inpu...
[ "noreply@github.com" ]
EstephanoBartenski.noreply@github.com
021f2c0ad4b949d3468b4c9fee4672d49a621152
cbdef2e8ed259adc4653ade34db12d8bcc0cea9f
/dominion/cards/Card_Tormentor.py
66a06a921aebea0dc0cb775038c3ef82c1ae5f9f
[]
no_license
dwagon/pydominion
8dd5afef8ec89c63ade74c4ae6c7473cd676799f
545709f0a41529de74f33aa83b106c456900fa5b
refs/heads/main
2023-08-29T10:02:26.652032
2023-08-23T02:25:00
2023-08-23T02:25:00
18,776,204
1
0
null
2023-08-23T02:25:02
2014-04-14T20:49:28
Python
UTF-8
Python
false
false
2,412
py
#!/usr/bin/env python import unittest from dominion import Game, Card, Piles import dominion.Card as Card ############################################################################### class Card_Tormentor(Card.Card): def __init__(self): Card.Card.__init__(self) self.cardtype = [Card.CardType.AC...
[ "dougal.scott@gmail.com" ]
dougal.scott@gmail.com
6c8818b1b3b034b2915a90196bda41bb2c258da2
2a30d2b410f077c5f675dd82cea15c9f385301d3
/URL_shortener/wsgi.py
0bcd1499bd830c02405c61103f8034490b51fc29
[]
no_license
abhishek2x/Django-URL-Shortener
8efac3f9012215f9dff0ca64df978458375eded3
d13a46236ac7a7180b552ad0128eb43b2c4af442
refs/heads/master
2022-12-01T21:20:52.585166
2020-08-10T11:31:49
2020-08-10T11:31:49
285,664,368
1
2
null
null
null
null
UTF-8
Python
false
false
403
py
""" WSGI config for URL_shortener project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO...
[ "=" ]
=
0fc190263a4b4fce651c6ffc065ec93fac562d24
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_068/ch18_2020_03_16_15_47_37_130283.py
5444d783fd76b0a2b2da4ddec6020f130c73066d
[]
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
214
py
def verifica_idade(a): if a >= 21: print("Liberado EUA e BRASIL") elif a < 21 and a >= 18: print("Liberado Brasil") else: print("Não está liberado") return (verifica_idade)
[ "you@example.com" ]
you@example.com
d0727702a288d563866b5dd54efb6ff8200078b3
e09b905a092bd324050e405e1caf1e8a5630cc1f
/pyscf/gto/eval_gto.py
3b278f444c4f9d6a3c474906c8fada8fb4f9c820
[ "Apache-2.0" ]
permissive
yangcal/pyscf
09a2776e8d88b2118f1d00a810a9c90e7e214281
e833b9a4fd5fb24a061721e5807e92c44bb66d06
refs/heads/master
2021-06-18T11:45:57.808856
2021-03-18T04:58:53
2021-03-18T04:58:53
246,690,849
1
0
Apache-2.0
2020-03-11T22:17:28
2020-03-11T22:17:28
null
UTF-8
Python
false
false
6,607
py
#!/usr/bin/env python # Copyright 2014-2018 The PySCF Developers. 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 # # U...
[ "osirpt.sun@gmail.com" ]
osirpt.sun@gmail.com
807778762eb6e59f1237b02aebb81895c153a84a
c61798997614f4430a6a56b16e8d17fe75fb2f9c
/Yurii_Khomych/l_11_sqlalchemy/slqalchemy_orm_examples/ex_2_create_instance.py
6741bf9a0835d6074d12b1eafaa6f9f0fcd0c5f2
[]
no_license
YuriiKhomych/ITEA_AC
ad944bbe74be88f306a45f38efa70765c5286162
f9eb147da1135a978929ae370d9c9fcd8dc59d21
refs/heads/master
2022-12-18T14:55:56.162451
2020-05-03T12:45:02
2020-05-03T12:45:02
234,373,863
0
9
null
2022-12-08T03:46:33
2020-01-16T17:26:50
Python
UTF-8
Python
false
false
1,034
py
from sqlalchemy.orm import sessionmaker from ex_1_define_and_create_tables_orm import User, engine ed_user = User(name="ed", fullname="Ed Jones", nickname="edsnickname") ed_user.name ed_user.nickname str(ed_user.id) Session = sessionmaker(bind=engine) session = Session() session.add(ed_user) our_user = session.qu...
[ "yuriykhomich@gmail.com" ]
yuriykhomich@gmail.com
0bf1408e0c46b8d9b32b95ad054d2afee28f78d9
8d5834d267b443d0211f5df7a4a6a525684368ce
/por/migrations/0001_initial.py
e4dccd61323f76ffe59263842f9fa08242842fa7
[]
no_license
priyuvidu/DIH-IIT-BHU-
24e3619c61bbd4f4eaa65c6433c200a70db1ff83
fc5179adbc993a60efa17267f5b2f2207c75909a
refs/heads/master
2020-03-10T21:21:09.543448
2017-08-11T08:23:16
2017-08-11T08:23:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,573
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-07-13 12:45 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migratio...
[ "gupta.rishabh.abcd@gmail.com" ]
gupta.rishabh.abcd@gmail.com
259097f62424fe6f79f04bd1100f04b03675c257
5caaa1f9d9438ba2607b7701d773334affb51993
/.github/workflows/generate-skip-doc-change.py
045bbbb43ebe234fd76545be1dc8f2f68c5e7962
[ "MIT" ]
permissive
cms-externals/onnxruntime
27e5a278bca74a3b3ba815ec9120dfa57e144cf0
e42f7487dfe5b986a5a945a99ce0da99404e370c
refs/heads/master
2023-04-18T22:04:35.913741
2023-03-17T22:05:28
2023-03-17T22:05:28
201,085,861
1
3
MIT
2023-04-06T09:18:43
2019-08-07T16:18:58
C++
UTF-8
Python
false
false
1,667
py
# generate_skip_doc_change.py import os from pathlib import Path from jinja2 import Environment, FileSystemLoader, Template GITHUB_DIR = Path(__file__).resolve().parent.parent class Skipped_Workflow: def __init__(self, workflow_name: str, job_names: list, output_file_name: str): self.workflow_name = wor...
[ "noreply@github.com" ]
cms-externals.noreply@github.com
75d09e442a56ede3883cffd253992ba7cb533d29
05176cf7571ea6f5733cf2a6b7f233f591f7a1e4
/imdb_scrapy/pipelines.py
0e7512206c4f8b01a75b62f3e8814b5cc4580933
[]
no_license
akashjadhav3/imdb_scrap
1a3b79390ab411e29bc97c68b427690bc5466ea8
e955068ada63b94c57fc725f56536f535821d2dd
refs/heads/master
2022-05-15T20:25:10.421052
2020-04-27T08:54:16
2020-04-27T08:54:16
258,946,705
0
0
null
null
null
null
UTF-8
Python
false
false
1,820
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://docs.scrapy.org/en/latest/topics/item-pipeline.html import logging import pymongo import sqlite3 # class MongodbPipeline(object): # collection_name = "best_movies" # de...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
99522c36bb1c65626324b9d1a5c425e3443be534
c6c2650fca1a042a3d870b1fd69a2e2dca80ea78
/jarbas/frontend/tests/test_static_files.py
b20edc2f4ff127f497425c79f311d0cfe0b9b080
[ "MIT" ]
permissive
gabisurita/jarbas
7f08d84b4f244d42b897d36cf1a793f0fc8a3059
26581b24dd00c3b0a0928fe0b24ae129c701fb58
refs/heads/master
2020-06-24T19:21:44.547822
2016-11-23T21:36:36
2016-11-23T21:36:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,678
py
from io import StringIO from os import path, remove, rename from unittest.mock import patch from django.conf import settings from django.contrib.staticfiles import finders from django.core.management import call_command from django.test import TestCase class TestStatic(TestCase): def test_digitalocean(self): ...
[ "cuducos@gmail.com" ]
cuducos@gmail.com
a4bc35b7c74b9dba1af56eac4df3a8ebd42538f8
fc488c143f0beaa898a97c39fabca1602d74d5ea
/apps/countries/migrations/0007_country_geojson.py
def91965f2e89086cfd754844e07ec43968deb9a
[]
no_license
gannetson/fogg_api
7457c0bad0d09a28178a967500d964031cb0bb71
1ff4ffab6cd721e17bfac210f63e6b47917893fd
refs/heads/master
2020-05-29T20:17:39.635654
2015-07-30T12:51:25
2015-07-30T12:51:25
37,656,954
0
0
null
2015-07-30T12:51:26
2015-06-18T12:00:48
Python
UTF-8
Python
false
false
433
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('countries', '0006_auto_20150702_0425'), ] operations = [ migrations.AddField( model_name='country', ...
[ "loek@1procentclub.nl" ]
loek@1procentclub.nl
dbb6b95a522e581c0f06524810a2b5bada3d3132
fddae9a4eda0d651019f646a3c55666cacb305a7
/banks/migrations/0001_initial.py
9b4a1923a874540ffe05f70b2acad597c77ad31d
[]
no_license
prostomusa/Bank
062253336c3ce93512b8cdf7ca5bf8609ae2086a
a87f32450d6f38b20490f51a60fc69b42a333790
refs/heads/master
2022-12-18T06:53:53.130534
2020-09-29T18:37:11
2020-09-29T18:37:11
280,962,709
0
0
null
null
null
null
UTF-8
Python
false
false
1,734
py
# Generated by Django 2.2.2 on 2020-05-05 13:58 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Client', f...
[ "abdurahmanov.musa@mail.ru" ]
abdurahmanov.musa@mail.ru
c5ca17b1a8b04c93b531edf4c1ea8d9e6e86a7c8
ac810c7e637afd67cf19704a1a724eaac56fed93
/Hackerrank_python/6.itertools/52.Compress the String!.py
7d6bbee2fa82f860e51b076e3e99b488dbb8eba8
[ "MIT" ]
permissive
Kushal997-das/Hackerrank
57e8e422d2b47d1f2f144f303a04f32ca9f6f01c
1256268bdc818d91931605f12ea2d81a07ac263a
refs/heads/master
2021-10-28T06:27:58.153073
2021-10-18T04:11:18
2021-10-18T04:11:18
298,875,299
41
8
MIT
2021-03-01T04:40:57
2020-09-26T18:26:19
Python
UTF-8
Python
false
false
167
py
# Enter your code here. Read input from STDIN. Print output to STDOUT import itertools s=input() x=((len(list(p)),int(k)) for k,p in itertools.groupby(s)) print(*x)
[ "noreply@github.com" ]
Kushal997-das.noreply@github.com
83a5a5b543b08f19686986a3fc8279436874c987
ae45dcb4dfb771336e9781413a77c493557fa93a
/lib/dataset/ltcc.py
75b19c2f135e3ec6d20a747f49ac802a098ff9f2
[]
no_license
jacenchen228/Change-Clothes-ReID
7fe92dda088e6418112b259be283e58094e92992
fef20cf5a099899a9ef85de507796d1d4916eae9
refs/heads/main
2023-03-26T07:24:57.484410
2021-03-21T13:55:11
2021-03-21T13:55:11
320,848,233
45
6
null
null
null
null
UTF-8
Python
false
false
2,988
py
from __future__ import absolute_import from __future__ import print_function from __future__ import division import numpy as np from .dataset import * from lib.utils import read_image class LTCC(ImageDataset): """Market. Dataset statistics: - identities: 1501 (+1 for background). - images: 1...
[ "jacenchen228@gmail.com" ]
jacenchen228@gmail.com
6c7e964a9fb40b2ade1e8cb2ca9358728cd989d3
43e53df2f2bc1779c2896541940a235e66a02b02
/day18/套接字服务器端.py
886593d38d76effdba32e362220fce5b8ab67578
[]
no_license
songdanlee/python_code_basic
ddb3276b0473a261423c43d5d8e7a1ff038d5c51
f32cd4dc9670e55ffa6abe04c9184bfa5d8bbc41
refs/heads/master
2020-07-14T21:05:30.471486
2019-08-30T14:55:51
2019-08-30T14:55:51
205,402,606
0
0
null
null
null
null
UTF-8
Python
false
false
534
py
""" 传输层传输协议: UDP TCP 套接字通信(socket) UDP 1.发送方 1.创建套接字(指定的用的传输协议) 2.发送给谁 3.关闭套接字 2.接收方 """ import socket #1.创建套接字 socket = socket.socket(socket.AF_INET,socket.SOCK_DGRAM)#socket.AF_INET :表示ipV4 socket.SOCK_DGRAM:表示使用UDP协议 data = input('请输入你要发送的消息').encode(encoding='utf-8') address = ('10.10.116...
[ "2533636371@qq.com" ]
2533636371@qq.com
fa8a510f2a0cd974aea7fab6c51d8717cc29ad65
18f1e3a513801dfb0c34a5b3ef353c7114be0218
/bin/easy_install-2.7
af9434624b368bbaf3d9d79f9e51290125d8f96a
[]
no_license
murane/sentience-Intern-Project
a748d2ce1902bff8a51604f3c53010e236981410
eafa273713e0bdc85f5e528e7e24709b9791c735
refs/heads/master
2021-01-10T06:54:26.430304
2016-01-17T01:29:58
2016-01-17T01:29:58
49,795,146
1
0
null
null
null
null
UTF-8
Python
false
false
336
7
#!/works/first/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==0.9.8','console_scripts','easy_install-2.7' __requires__ = 'setuptools==0.9.8' import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.exit( load_entry_point('setuptools==0.9.8', 'console_scripts', 'easy_instal...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
eb5322bf94b790e9d6af157b25fe64ec79ab59dc
12258001571bd504223fbf4587870960fa93a46d
/mud/Spirit-0.4.7/spirit/user/forms.py
af26ded6d1394ad92f19b8beed2fa03c8aecf0f7
[ "MIT" ]
permissive
Nik0las1984/mud-obj
0bd71e71855a9b0f0d3244dec2c877bd212cdbd2
5d74280724ff6c6ac1b2d3a7c86b382e512ecf4d
refs/heads/master
2023-01-07T04:12:33.472377
2019-10-11T09:10:14
2019-10-11T09:10:14
69,223,190
2
0
null
2022-12-26T20:15:20
2016-09-26T07:11:49
Python
UTF-8
Python
false
false
2,315
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django import forms from django.utils.translation import ugettext_lazy as _ from django.contrib.auth import get_user_model from django.utils import timezone from django.template import defaultfilters from django.conf import settings import pytz fr...
[ "kolya.khokhlov@gmail.com" ]
kolya.khokhlov@gmail.com
08ad6dd50e1a894d9c3c97f4552e8fe38b5a5e76
42711804426ea982c568414b5f12180fd0d7fc93
/pysparkling/fileio/fs/s3.py
167780519c5ebd1bb78a1fc594aea30a2ec6aa29
[ "MIT" ]
permissive
gitter-badger/pysparkling
3a8f279577292be610f053181245f2e4cc19898d
975bdf955b1d5c28cf65b6e450d32e5dd44fbf17
refs/heads/master
2021-01-18T01:34:58.682424
2015-06-06T16:56:30
2015-06-06T16:56:43
36,987,944
0
0
null
2015-06-06T17:00:58
2015-06-06T17:00:58
null
UTF-8
Python
false
false
2,296
py
from __future__ import absolute_import import boto import fnmatch import logging from io import BytesIO from ...utils import Tokenizer from .file_system import FileSystem log = logging.getLogger(__name__) class S3(FileSystem): _conn = None def __init__(self, file_name): FileSystem.__init__(self, f...
[ "me@svenkreiss.com" ]
me@svenkreiss.com
96a9adeb398db5d84134295f2b8c083e9194c2d5
04bc44777aa1c90487f63918c0ce0dcbe890d98a
/minimization/util.py
000ee5311e4f9ed968f6e2543145275a9ef226e4
[]
no_license
IFCE-Mestado-Ciencia-da-Computacao/Optimization-2018.1
086ed7e3bd245cd3dd4109a25ab276e632b8c6b5
752504c03662f6ce1f9a488f3940db25286701be
refs/heads/master
2020-03-17T04:11:24.653026
2018-07-15T01:32:56
2018-07-15T01:32:56
133,266,064
0
0
null
null
null
null
UTF-8
Python
false
false
177
py
import numpy as np def concatenate(array): lines = [] for line in array: lines.append(np.concatenate(line, axis=1)) return np.concatenate(lines, axis=0)
[ "mateus.moura@hotmail.com" ]
mateus.moura@hotmail.com
49524cb37abba40d4f87c9a3baad04b8431dbf1f
a568e4dc461f71f0ae053fe51e3ddd0fe23bf858
/development/jupyterhub/docker-jupyterhub/jupyterhub_config.py
acd11417c73748892bc977c2d0ed356efe805baa
[ "MIT" ]
permissive
vatlab/sos-docs
413e344a7581e4e2cef5da3d24345a73f3669c43
2b42c280dae0feaeea51161041827c362abe6db0
refs/heads/master
2023-06-26T04:30:59.078944
2023-06-16T20:26:39
2023-06-16T20:26:39
105,951,462
3
15
MIT
2023-06-16T20:18:39
2017-10-05T23:46:39
Jupyter Notebook
UTF-8
Python
false
false
1,153
py
import os import sys c.JupyterHub.authenticator_class = 'tmpauthenticator.TmpAuthenticator' # launch with docker c.JupyterHub.spawner_class = 'dockerspawner.DockerSpawner' # we need the hub to listen on all ips when it is in a container c.JupyterHub.hub_ip = '0.0.0.0' # the hostname/ip that should be used to connec...
[ "ben.bog@gmail.com" ]
ben.bog@gmail.com
d28019bcf45c7fd8c4c7c1a295a15206732d09b1
6405a8383bd81ef7b6a1a43d1847d2b5ce437343
/doubleplayer.py
daa895843148f5381c996bcd1f37b49b3891b786
[]
no_license
yangzhiy/gobang
707f6586fb5ea41f020a15d7890bf29b407271e6
492f0947f84110e7dee63faa3dec0aeaabd5d566
refs/heads/master
2020-04-04T09:17:04.618831
2018-11-02T04:33:41
2018-11-02T04:33:41
155,814,085
0
0
null
null
null
null
UTF-8
Python
false
false
3,363
py
from base import BasePlayer,Chess,is_win from PyQt5 import QtGui from PyQt5.QtGui import QPixmap from PyQt5.QtWidgets import QMessageBox,QLabel #生成逻辑棋盘 #chessboard=[[None for i in range(0,19)] for j in range(0,19)] class DoublePlayer(BasePlayer): def __init__(self,parent=None): super().__init__(parent) ...
[ "you@example.com" ]
you@example.com
1344c13161977d3f7c3aa90f70c53e439dfc9d00
911612964d3b90b62ff731bd743b6273784b16b6
/webdriver/tests/is_element_selected/selected.py
0e76e2349a83b801204e9c3801a90cbf8225a123
[ "W3C", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-w3c-03-bsd-license", "BSD-3-Clause" ]
permissive
nicolemcintyre/wpt
c78c5ad7fd9860a8526a102831b0aad5ff80504f
6d2c774db441cc8dafa21d2c4fd407557b098a31
refs/heads/master
2020-03-25T02:55:37.901735
2018-08-02T14:31:42
2018-08-02T14:31:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,901
py
from tests.support.asserts import assert_error, assert_success from tests.support.inline import inline check_doc = inline(""" <input id=checked type=checkbox checked> <input id=notChecked type=checkbox> """) option_doc = inline(""" <select> <option id=notSelected>r- <option id=selected sel...
[ "james@hoppipolla.co.uk" ]
james@hoppipolla.co.uk
26e8df5a6876507e74b6b138075d0a02ba8e003a
19ff880e7948b6fb60ec6b63481a2e654e7b5634
/kakao/2018/zip.py
c07666f3f71d3c2fcf9f9a28ced4165c6eab5994
[]
no_license
wseungjin/codingTest
efa0d58f48d9746a63485c9966eca1e9d5dc98b2
6d6bed84862d0c001233f6f8fdb0767609cc020f
refs/heads/master
2023-04-01T04:25:51.743860
2021-04-03T08:45:30
2021-04-03T08:45:30
262,339,880
0
0
null
null
null
null
UTF-8
Python
false
false
1,085
py
def init(dictionary): numA = ord("A") for i in range(26): dictionary.append(chr(numA+i)) def solution(msg): dictionary = [] init(dictionary) answer = [] current = 0 count = 1 while current < len(msg): if current + count >= len(msg): nowInput = msg[cur...
[ "bose1021@naver.com" ]
bose1021@naver.com
ee1a3b840ecfdd6eda3c0075f06ed93d462982b5
2dfdf4af0a5143010124558a105daaa4b26b65eb
/dit/profiles/__init__.py
3c0918b6661d3f592828905fc759f665b70bafae
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
psychon7/dit
d3dc7a97e0fc0b3b48f4729e464cc563a36e8a06
fcdd0d240af98da0e7966c448a77be42f7c5a20d
refs/heads/master
2020-12-02T14:46:06.277510
2019-12-09T07:41:40
2019-12-09T07:41:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
352
py
# -*- coding: utf-8 -*- """ This module contains various information ``profiles'', decomposing the total information into the information contained at different scales. """ from .complexity_profile import * from .entropy_triangle import * from .information_partitions import * from .marginal_utility_of_information imp...
[ "ryangregoryjames@gmail.com" ]
ryangregoryjames@gmail.com
b0f7ddfa9236db29f61e2a2832929882c88a1826
9400a8be57a23ddceb57dfd8a60597595a2e68fd
/src/bn_api/urls_api_v1.py
297e31e5e380fad6c00af19577194408e3cac422
[]
no_license
exister/interview_task_money_transfer
1d598aeea25d176a16ee155c8501c892c6faf7ab
ef746c282a0d71b2707f98f4bbef50fe5a16fa37
refs/heads/master
2021-01-23T12:32:25.231771
2017-06-01T20:49:30
2017-06-02T13:04:30
93,166,007
0
0
null
null
null
null
UTF-8
Python
false
false
226
py
from bn_users.urls_api_v1 import urlpatterns as urlpatterns_users from bn_accounts.urls_api_v1 import urlpatterns as urlpatterns_accounts urlpatterns = [] urlpatterns += urlpatterns_users urlpatterns += urlpatterns_accounts
[ "mkuznetsov.dev@gmail.com" ]
mkuznetsov.dev@gmail.com
b34a879b0c2b81f3f6ff2f344ba350b0cbbefc21
6c547e3312e2d1bd3dab123b831053ed7aef7b6d
/tests/test_QTML-T365_Chrome.py
303e5d763f3df7c6894abe2b3a8499b54cd3f22f
[]
no_license
kenito2050/BICL
8c4239f1e897e4dfc04aa35e827816242b41d5dd
82891aba56cc49c9cf96ce82472847c4cb10828f
refs/heads/master
2020-12-31T22:10:44.784193
2020-02-10T23:00:10
2020-02-10T23:00:10
239,039,817
0
0
null
null
null
null
UTF-8
Python
false
false
4,640
py
import pytest from selenium import webdriver import time from config_globals import * from pages.BICL.login.LoginPage import LoginPage from pages.generic_page.generic_page import generic_page from pages.BICL.default_page.user_drop_down.user_drop_down import user_drop_down from pages.BICL.default_page.default_page impor...
[ "ken.villarruel@gmail.com" ]
ken.villarruel@gmail.com
70c479ab84218865dcd8f71c8c576abe7090d48f
b792f600ed4e50f34e65e4f334cf7a32d319cc0e
/2018/0301.py
e4e3ee31f7b529a013b7c011b16304c99587f2ad
[]
no_license
daniel70/AoC
d577f490559d4a0f0d24567bd796117e1aac94ec
ef704a4f6e90168cdc2a91e894583a96e9a6c371
refs/heads/master
2022-12-28T03:19:08.341913
2022-12-16T01:52:39
2022-12-18T01:30:50
224,876,724
0
0
null
null
null
null
UTF-8
Python
false
false
815
py
import numpy as np import re r = re.compile('^#(\d+) @ (\d+),(\d+): (\d+)x(\d+)$') lines = [ '#1 @ 1,3: 4x4', '#2 @ 3,1: 4x4', '#3 @ 5,5: 2x2', ] max_width = 0 max_height = 0 claims = [] with open('input03.txt') as f: # for line in lines: for line in f: m = r.match(line) id, left, t...
[ "vdmeulen.daniel@gmail.com" ]
vdmeulen.daniel@gmail.com