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
ee47ea3245a9cd92cd24c180636dd59a9eba5dfa
b6a31ec10b39a3dbae183ba40c42078cadf88946
/383. Ransom Note.py
900fdd239e174e5afdc8395cd90ddc62d89eb8ef
[]
no_license
QIAOZHIBAO0104/My-Leetcode-Records
69fabd11b279f08861cd644973e51bf664da0d90
882724c8d50b2f21193c81e5072c31385c5e6b8e
refs/heads/main
2023-07-11T00:17:02.368441
2021-08-07T16:19:45
2021-08-07T16:19:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,323
py
''' https://leetcode.com/problems/ransom-note/ Given an arbitrary ransom note string and another string containing letters from all the magazines, write a function that will return true if the ransom note can be constructed from the magazines ; otherwise, it will return false. Each letter in the magazine string can o...
[ "noreply@github.com" ]
QIAOZHIBAO0104.noreply@github.com
3457d37c6f1dfc3005c54f4b733dd89fd782404f
f13acd0d707ea9ab0d2f2f010717b35adcee142f
/ARC/arc001-arc050/arc041/b.py
923178d3ccfc5919230f3dbbbcc329f538fb9950
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
KATO-Hiro/AtCoder
126b9fe89fa3a7cffcbd1c29d42394e7d02fa7c7
bf43320bc1af606bfbd23c610b3432cddd1806b9
refs/heads/master
2023-08-18T20:06:42.876863
2023-08-17T23:45:21
2023-08-17T23:45:21
121,067,516
4
0
CC0-1.0
2023-09-14T21:59:38
2018-02-11T00:32:45
Python
UTF-8
Python
false
false
764
py
# -*- coding: utf-8 -*- def main(): n, m = map(int, input().split()) b = [list(map(int, input())) for _ in range(n)] dxy = [(0, 1), (0, -1), (-1, 0), (1, 0)] ans = [[0 for _ in range(m)] for _ in range(n)] for i in range(1, n - 1): for j in range(1, m - 1): value_mi...
[ "k.hiro1818@gmail.com" ]
k.hiro1818@gmail.com
8dc21b539a1709fbbc19f848faf4d29c48d613e5
cd5746f8cc7aee1f20606a65b4fae0d5e8ee78dc
/Python Books/Athena/training/demo/demo/weave/sum_ex.py
e71d44f05ce9cdb9fe79675d5a085c08694899d1
[]
no_license
theGreenJedi/Path
df24fca355590efef0c6cb5c52e7216c6b5d2464
b5ed2805dbb046480929e49e550bfd8af5bb4d6f
refs/heads/master
2023-07-27T14:23:37.694546
2021-07-16T01:38:55
2021-07-16T01:38:55
87,686,563
8
2
null
2023-07-11T22:49:03
2017-04-09T05:57:30
Jupyter Notebook
UTF-8
Python
false
false
1,262
py
import time from numpy import array, arange from scipy import weave def weave_sum(a): """ Build a 'sum' method that will work on contiguous 1D arrays. """ code = """ double sum = 0.0; for(int i=0; i < Na[0]; i++) sum += a[i]; return_val = sum; ...
[ "GreenJedi@protonmail.com" ]
GreenJedi@protonmail.com
55c90344c15d291f3944d5301b73b6802bc87b8a
321e58ab3e6b2385bb3549aaaefd56a58c2a51e7
/python/tests/install_test.py
3b7fc9c2bb45e11fe69b5f78ed4954a33be2b93f
[]
no_license
alexmadon/atpic_photosharing
7829118d032344bd9a67818cd50e2c27a228d028
9fdddeb78548dadf946b1951aea0d0632e979156
refs/heads/master
2020-06-02T15:00:29.282979
2017-06-12T17:09:52
2017-06-12T17:09:52
94,095,494
0
0
null
null
null
null
UTF-8
Python
false
false
1,053
py
import unittest import os import sys import atpic.installerat class installer_test(unittest.TestCase): """Test the installer test functions""" def testFind(self): file="fixture/matcher.txt" nb=atpic.installerat.check_file_match_re("GOOD",file) print nb class install_test(unittest.TestC...
[ "alex.madon@gmail.com" ]
alex.madon@gmail.com
5b96b3ddcc2765aafbb02d61bec76bd8d23d15cd
33e2187c1815b1e1209743f5a4870401d2097d71
/CTCI/Tree & Graph/q.4.11.py
dfa56f17cc8b2af6fcc49e074a6ab6f8e7d13531
[]
no_license
sachinjose/Coding-Prep
8801e969a3608b5e69dc667cba7f3afaf7273e88
95f6bc85e7c38034e358af47ef4c228937cd4629
refs/heads/master
2022-12-26T22:49:48.510197
2020-09-22T07:05:55
2020-09-22T07:05:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,381
py
import random class Node: def __init__(self,item): self.item = item self.left = None self.right = None self.size = 1 def get_size(self): return self.size def get_item(self): return self.item def getRandomNode(self): if(self.left): leftSize = self.left.get_size(); else: leftSize = 0 inde...
[ "sachinjose16@gmail.com" ]
sachinjose16@gmail.com
60c9a1554ec6a514ee2d377e0f436211713d08d6
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_drawls.py
dcb613684441c7614a936842e41bce32f8ab5fe1
[ "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
218
py
#calss header class _DRAWLS(): def __init__(self,): self.name = "DRAWLS" self.definitions = drawl self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['drawl']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
0a06a1af1bd774cd4ea1106f94f1566e382efbe9
0fe37e11df976c55fe5bbe492879b7cd8a95b7c5
/27_public_test/03_spider_test.py
bad3562d5d72ee0956bc52b9c32569d4ae326cfe
[]
no_license
1286211699/mmc_code
9bb7761107604b445dea4fe5acf9d503fbc28dfa
ee97879632dfd7d24c604f7db52c82fa29109daa
refs/heads/master
2022-12-08T23:19:06.382825
2020-05-08T13:59:46
2020-05-08T13:59:46
177,100,815
2
0
null
2022-12-08T01:42:47
2019-03-22T08:25:37
HTML
UTF-8
Python
false
false
4,597
py
# -*- coding: utf-8 -*- # @Time : 2018/12/27 14:49 # @Author : for # @File : 03_spider_test.py # @Software: PyCharm # from urllib import request # # import requests,time # url = 'https://image.baidu.com/search/acjson?tn=resultjson_com&ipn=rj&ct=201326592&is=&fp=result&queryWord=%E5%94%AF%E7%BE%8E&cl=2&lm=-1&...
[ "1286211699@qq.com" ]
1286211699@qq.com
e3d23e19fb56278fe483550fa5c9206258d1866b
609085edf06f3091ecd639007480fb7cba15126f
/napari/components/experimental/monitor/_monitor.py
7f924f33ab276f4524af867b366a2f4a12ffd949
[ "BSD-3-Clause" ]
permissive
jojoelfe/napari
c7432daa6672045e95a58946c90ed0a5c779ef2d
c871c319247b79d4c5cc9270c0fec04740aed9d0
refs/heads/master
2023-05-12T17:08:48.145360
2022-12-21T16:25:43
2022-12-21T16:25:43
241,278,044
0
0
BSD-3-Clause
2023-05-01T02:58:28
2020-02-18T05:11:42
Python
UTF-8
Python
false
false
6,774
py
"""Monitor class. The Monitor class wraps the MonitorServer and MonitorApi. One reason for having a wrapper class is that so the rest of napari does not need to import any multiprocessing code unless actually using the monitor. """ import errno import json import logging import os import sys from pathlib import Path f...
[ "noreply@github.com" ]
jojoelfe.noreply@github.com
5a4d13317f4b72112f488988ccf1aec7d04865b9
e89837f01f81a8b63015a31a45507fca95b75335
/inference/export.py
433d65683b0a9f46e56b8a50241a67205beba67a
[]
no_license
PaulZhangIsing/etagger
4af56fa30ae7e77411be77750d679c66b0ab3848
306b76e51124623ff434e45b0f5e3d2915eaa5d6
refs/heads/master
2020-04-24T01:03:51.168249
2019-02-20T02:06:35
2019-02-20T02:06:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,583
py
from __future__ import print_function import sys import time import argparse import tensorflow as tf # for LSTMBlockFusedCell(), https://github.com/tensorflow/tensorflow/issues/23369 tf.contrib.rnn def export(args): session_conf = tf.ConfigProto(allow_soft_placement=True, log_device_placement=False) sess = tf....
[ "hazzling@gmail.com" ]
hazzling@gmail.com
7174dacdc84b4da1c7036ed509ffdd9820d05787
a2ab6c23253badb3be54b19ba061e1aeaac6a8cd
/obj_detection/tf_api/object_detection/builders/image_resizer_builder.py
13c029cd24114d4fa78c0e21a52e4ff45500ac24
[]
no_license
vivek09pathak/ImageDetection_RealTime
0720fb4a6f35a81591f401a04ae44aa3bbea013f
d9e376b41a1216aecaacc9626cee59d45001695c
refs/heads/master
2022-12-26T22:04:18.328476
2020-09-30T10:20:15
2020-09-30T10:20:15
152,729,896
0
0
null
null
null
null
UTF-8
Python
false
false
4,693
py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "anupamb266@gmail.com" ]
anupamb266@gmail.com
e402f7415864f1e25dab0fb3075576751ea865b9
9a391fdd281e92427c299e061335987b3a0d0ce5
/scripts/download_attachments.py
2a71d0d63c6ed24d1c56c436a11b240821721298
[]
no_license
felixebert/offeneskoeln
8b63d5c5e669f0b65e56d935d73f82a0c14390fb
587b7e5564a31522ea28034886b78221eb509ace
refs/heads/master
2021-01-16T20:44:12.206718
2013-01-08T14:49:39
2013-01-08T14:49:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,776
py
#!/usr/bin/env python # encoding: utf-8 """ Lädt Anhänge eines bestimmten Datumsbereichs herunter Copyright (c) 2012 Marian Steinbach Hiermit wird unentgeltlich jeder Person, die eine Kopie der Software und der zugehörigen Dokumentationen (die "Software") erhält, die Erlaubnis erteilt, sie uneingeschränkt zu benutze...
[ "marian@sendung.de" ]
marian@sendung.de
00d73fc855f563d69f9529e02177901bbf755bdb
6841787dc208198535c90ee76d035d8837f8b973
/alipay/aop/api/response/AlipayCommerceEcEmployeeInviteQueryResponse.py
f2d86a19b1c5ee78a6a56be338006b74a17a9d00
[ "Apache-2.0" ]
permissive
demlution/alipay-sdk-python-all
e56ea12651717476f940212c281b6c2199dd3fa6
c3cb81aa5980913e7cd51edcf754a804495a9a30
refs/heads/master
2022-10-09T02:08:28.789764
2022-09-20T04:32:03
2022-09-20T04:32:03
263,779,638
0
1
null
2020-05-14T00:58:51
2020-05-14T00:58:51
null
UTF-8
Python
false
false
1,047
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse class AlipayCommerceEcEmployeeInviteQueryResponse(AlipayResponse): def __init__(self): super(AlipayCommerceEcEmployeeInviteQueryResponse, self).__init__() self._enterprise_...
[ "jishupei.jsp@alibaba-inc.com" ]
jishupei.jsp@alibaba-inc.com
fdf6a03063cf072a159e6c921d303d350ab9a597
8a965c2a21d738468fc621915d39b39d1972fac0
/testserver.py
7307b5b80ecf648d3cd423398170a66f07f9ec90
[]
no_license
Ashmaitelly/seproject2chatapp
38cc6dd918783f6d1d11aad0a91b8427c9316a3d
88af7d958d093802bae976f17f08f7fa7002420c
refs/heads/master
2023-01-22T23:45:08.774654
2020-12-06T17:47:29
2020-12-06T17:47:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
557
py
from SimpleWebSocketServer import SimpleWebSocketServer, WebSocket print('Server running...') clients = [] class SimpleChat(WebSocket): def handleMessage(self): for client in clients: if client != self: client.sendMessage(self.data) def handleConnected(self): pr...
[ "email" ]
email
0cbc1facbd06e26b6bb163a0add0ca8ae030a6fa
0d8ce8f494880c885bd48ac3a28ee9697c15aff4
/frontend/models.py
800c97d8456eaf532dbce38d285bb008d911dff0
[]
no_license
chensandiego/carrental-django
e0f474a4d8d72940b3db1dc17a540e66222c376a
30b594ca238545a59ee00e28aae3705e6638c93e
refs/heads/master
2021-01-20T20:39:04.420338
2016-08-05T05:36:13
2016-08-05T05:36:13
64,991,266
0
0
null
null
null
null
UTF-8
Python
false
false
876
py
from __future__ import unicode_literals from django.core.urlresolvers import reverse from django.db import models class Car(models.Model): name = models.CharField(max_length=100) image = models.ImageField(upload_to='car_images') description = models.TextField() daily_rent = models.IntegerField() ...
[ "chensandiego@gmail.com" ]
chensandiego@gmail.com
087014408c5b2c09f6f943476f1fa7b570ae0450
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5756407898963968_0/Python/Roun/magic.py
e30d7e751a99a8d84316f435875bc46b4da76ef6
[]
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
752
py
#!/usr/bin/env python from __future__ import print_function from sys import argv,stdin with open(argv[1]) if len(argv)>1 else stdin as f: num_cases = int(f.readline()) for i in xrange(num_cases): row_idx1 = int(f.readline()) arrangement1 = [f.readline() for j in xrange(4)] set1 = set(a...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
a63b5f56d46d28618515820a9c7e9d185e53d0e7
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/B/buttub/basic_twitter_scraper_338.py
831396458ed083ee5c81b59e0ebd3a27d47a6645
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,288
py
################################################################################### # Twitter scraper - designed to be forked and used for more interesting things ################################################################################### import scraperwiki import simplejson import urllib2 # Change QUERY to y...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
62d8a7d1cd85bf3326485ad8b3d09b6af3c09161
a5d05e3cecfa6571016e41d19c982f1082714582
/TLG.py
80349d5374afe2a719cb3a67b4ecdf2a8b8152ed
[]
no_license
Sanket-Mathur/CodeChef-Practice
8ebc80eb9a32c90a5b3785348fca2048190dbeb0
cba5bc2eaaf5489cbd8e85acaca6f82d223cff4f
refs/heads/master
2023-08-08T05:59:42.755206
2021-09-26T12:44:15
2021-09-26T12:44:15
268,267,425
1
0
null
null
null
null
UTF-8
Python
false
false
302
py
try: S, A, B = [], [], [] for _ in range(int(input())): a, b = map(int, input().split()) A.append(a); B.append(b) a = sum(A); b = sum(B) S.append(a-b) if max(S) > abs(min(S)): print(1, max(S)) else: print(2, abs(min(S))) except: pass
[ "rajeev.sanket@gmail.com" ]
rajeev.sanket@gmail.com
5434b5dbe590c3fed01340af08021e6c3c2756a2
26192962dc2627e7ca5f0e3b249c3fabcf52442c
/Python/Iniciante/1002 - Área do Círculo.py
4e699785d2644624cef0240deb3cc5ce5f019580
[]
no_license
PierreVieira/URI
77278ccb1724ca206ab2c12afbea1e51fa08ff73
c1eb211c788d26b5cb9bedf5dda4147a2961fa19
refs/heads/master
2023-04-10T07:03:13.954639
2023-03-22T00:18:28
2023-03-22T00:18:28
189,321,748
2
1
null
null
null
null
UTF-8
Python
false
false
134
py
""" Autor: Pierre Vieira Data da submissão: 04/05/2018 16:49:45 """ raio = float(input()) print('A={:.4f}'.format(3.14159*raio*raio))
[ "pierrevieiraggg@gmail.com" ]
pierrevieiraggg@gmail.com
655ab4a239d1041ff2cb3539fe9e397b55a1e9ba
d769bb17ce4ca61df1cb5c88a2c2ae8202b6927f
/unitest/test_oprp.py
49f8a8710fcb14c8ac49906dbe17ef4479ad37e0
[ "Apache-2.0" ]
permissive
dallerbarn/oictest
596489625c459d6607cacb90b1e593eca7465fc9
0f85acf8ee081f59176600e0db7bfee915f5cb3b
refs/heads/master
2020-12-30T19:58:25.301555
2015-05-21T08:56:50
2015-05-21T08:56:50
35,876,393
0
0
null
2015-05-19T10:48:27
2015-05-19T10:48:26
null
UTF-8
Python
false
false
1,594
py
import json from rrtest.check import WARNING from rrtest import Trace from oictest.oprp import not_supported, support from oictest.base import Conversation from oictest.check import factory as check_factory from oictest.oidcrp import Client from oic.oic.message import factory as message_factory from oic.oic.message imp...
[ "roland.hedberg@adm.umu.se" ]
roland.hedberg@adm.umu.se
561d151ac587c161a7e42f1da177389d1757e03f
5ae01ab82fcdedbdd70707b825313c40fb373fa3
/scripts/charonInterpreter/parsers/MaterialBlock/MasettiMobility/ElectronMobilityParameters/charonLineParserDopantSpecies.py
a8b6aca7a2756b075e6afeee05b0c806fd872472
[]
no_license
worthenmanufacturing/tcad-charon
efc19f770252656ecf0850e7bc4e78fa4d62cf9e
37f103306952a08d0e769767fe9391716246a83d
refs/heads/main
2023-08-23T02:39:38.472864
2021-10-29T20:15:15
2021-10-29T20:15:15
488,068,897
0
0
null
2022-05-03T03:44:45
2022-05-03T03:44:45
null
UTF-8
Python
false
false
5,527
py
from __future__ import print_function import copy class charonLineParserDopantSpecies: "DopantSpecies parser" def __init__(self): # Register the parsing keys self.parserName = "DopantSpecies" self.parsingKey = "dopant species" self.parsingKeyOptional = [] self.interpr...
[ "juan@tcad.com" ]
juan@tcad.com
a23383ab17a182849ae340924a7204e43425fae6
2660859a9e1a73da695a42d73b75863e02185dce
/src/pretix/plugins/pretixdroid/signals.py
7164ff39eb9d56a3180640a2abaf46e1bbbbba63
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
alainrk/pretix
d4931a5528cfd42b1a9d9fb1b1df02aeee507171
867a8132aa1ed73dd9513efae5b3c46b5bbae140
refs/heads/master
2021-01-18T19:49:27.366758
2017-04-01T13:23:11
2017-04-01T13:23:11
86,915,380
1
0
null
2017-04-01T13:31:04
2017-04-01T13:31:04
null
UTF-8
Python
false
false
1,444
py
import json from django.core.urlresolvers import resolve, reverse from django.dispatch import receiver from django.utils.translation import ugettext_lazy as _ from pretix.base.signals import logentry_display from pretix.control.signals import nav_event @receiver(nav_event, dispatch_uid="pretixdroid_nav") def contro...
[ "mail@raphaelmichel.de" ]
mail@raphaelmichel.de
71df9a20bf7584b49b5d66c00b8295b3e97ee01b
bd88cc281bf5cb92d7f5cd29c028298b0f79de2e
/robot-name/robot_name.py
749f9abc8323278c1d0db1162dfba32397a7ec6d
[]
no_license
kingsley-ijomah/python-basics
4f3b6bcb4c264d23d9d223d2e00609ad30b7b0e5
190409625246243a0be6cc5e52463d541497b467
refs/heads/master
2021-03-11T20:03:09.272119
2020-05-13T08:30:08
2020-05-13T08:30:08
246,557,136
0
0
null
null
null
null
UTF-8
Python
false
false
462
py
from string import ascii_uppercase, digits from random import seed, sample class Robot: def __init__(self): self.generate_name() def generate_name(self): seed() self.name = self.alphabets() + self.digits() def reset(self): self.generate_name() @staticmethod def al...
[ "kingsley.ijomah@gmail.com" ]
kingsley.ijomah@gmail.com
c83edd0b9cd2dd22f40be2012e2d44f280509dc0
d63222abe326a3c8debd59bb8d24cb7eab3de09e
/codeforces/contest/1108/C.py
f7085b931f6177bfc0fd876a9a41f15536b83baf
[]
no_license
tariqrahiman/pyComPro
91f47e93eb0a077d489659fcf0a75d5c1a65fc17
86ec13f47506a2495ab6b6bbb58d4e8b2a21538b
refs/heads/master
2022-02-10T04:15:40.194828
2019-06-16T10:22:38
2019-06-16T10:22:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,010
py
""" this is a standard python template for codeforces task, repo: github.com/solbiatialessandro/pyComPro/codeforces """ from sys import stdin as _stdin from sys import stdout stdin = lambda type_ = "int", sep = " ": list(map(eval(type_), _stdin.readline().split(sep))) joint = lambda sep = " ", *args: sep.join(str(i) if...
[ "alexsolbiati@hotmail.it" ]
alexsolbiati@hotmail.it
36f62627e0ca608318f0af03cb4d32d0fcd88a63
45e7fc0c586729a9fbff0cd5ec036db292264bad
/siena/warp_BM_siena.py
10bc958ee81017c5b1ef5533e1c6f6dd9436d6b8
[]
no_license
ginakirkish/henrylab_scripts
5a11dc96ed03f85e00b7330d26ee776b6f93ac63
5e3009180a731ccd10c851668b00234e6e6728a5
refs/heads/master
2020-12-12T17:48:48.280077
2020-02-10T19:22:42
2020-02-10T19:22:42
234,189,521
0
0
null
null
null
null
UTF-8
Python
false
false
7,521
py
from subprocess import check_call from time import time import argparse import json import pbr from pbr.base import _get_output from glob import glob import os import shutil import pandas as pd pbr_long ="/data/henry12/siena_BM/" def get_t1(mse): with open('{0}/{1}/alignment/status.json'.format(_get_output(mse), ...
[ "gina.kirkish@ucsf.edu" ]
gina.kirkish@ucsf.edu
0aca0fa93b087115f742f7f9df0f030f608de8bc
fd21d6384ba36aa83d0c9f05f889bdbf8912551a
/a10sdk/core/A10_file/file_dnssec_ds.py
ee5c3a4e9eccaa7b00d15e80f993072ec6a00574
[ "Apache-2.0" ]
permissive
0xtobit/a10sdk-python
32a364684d98c1d56538aaa4ccb0e3a5a87ecd00
1ea4886eea3a1609b2ac1f81e7326758d3124dba
refs/heads/master
2021-01-18T03:08:58.576707
2014-12-10T00:31:52
2014-12-10T00:31:52
34,410,031
0
0
null
2015-04-22T19:05:12
2015-04-22T19:05:12
null
UTF-8
Python
false
false
1,904
py
from a10sdk.common.A10BaseClass import A10BaseClass class DnssecDs(A10BaseClass): """ :param action: {"optional": true, "enum": ["create", "import", "export", "copy", "rename", "check", "replace", "delete"], "type": "string", "description": "'create': create; 'import': import; 'export': export; 'copy': co...
[ "doug@parksidesoftware.com" ]
doug@parksidesoftware.com
e8fba3e66c853c5a89e54922bcbc99e07eea8bfc
1ad12cbda2d378c403b9349a867c1e181e4eedc2
/UWsubduction/params/utils.py
7aba9b4cf25e1bd3fddd9dea2cb03abd0f66b010
[ "CC-BY-4.0" ]
permissive
dansand/UWsubduction
0633fd08b6e8505f156c62b59e730b49fd1ed03e
e13183de2dfb362a5531eaa926aeee0c352b8f29
refs/heads/master
2021-03-24T13:33:15.804823
2020-01-09T03:27:46
2020-01-09T03:27:46
119,228,582
3
1
null
null
null
null
UTF-8
Python
false
false
544
py
from easydict import EasyDict as edict ##################### #Now we map pd, md to non-nonDimensionalized dictionaries, paramDict, modelDict ##################### def build_nondim_dict(d, sca): ndd = edict({}) for key, val in d.items(): #can only call .magnitude on Pint quantities if hasattr(v...
[ "sonderfjord@gmail.com" ]
sonderfjord@gmail.com
5f3b114edb77ef8372388472e509b780881e6bac
b9651b4a73d17847a9df7c953d3b0753b260af3e
/view/messageview.py
4dda6de42525476d7b2f55b0a97b544501673500
[]
no_license
KevinB-a/forum
3270dd2dfa763455e9a6fdf0e3077f54413b3d77
b10bf8f7381e2bc03df9777cb0e1df1cea298785
refs/heads/master
2020-12-11T14:37:57.936880
2020-03-05T11:01:13
2020-03-05T11:01:13
233,873,793
0
0
null
null
null
null
UTF-8
Python
false
false
1,172
py
from model.messagemodel import MessageModel class MessageView (): """class to create and display messages""" def __init__(self): self.model = MessageModel() def new_message(self): """write a new message with user entries """ content = input("Entrez le contenu de votre ...
[ "kevin.billet.pro@gmail.com" ]
kevin.billet.pro@gmail.com
8bcb9a0df3639fe02a9b93a66e802fea7740ab65
ce864a3155ba441dab35fcd0f3d1d7f380d67106
/Part1/RelationaDatabases/innerJoin_pandas.py
2485139c6edea3fb659417323bea997b5ae11e74
[]
no_license
rodrigoms2004/PythonImportDataCamp
c984e2b38c709899460f0a0cf5f1b4c06a7f91fa
23ffc36f1454974e22a12f3eaa46d06d3f700ee6
refs/heads/master
2020-04-05T01:12:36.317958
2019-02-20T19:43:29
2019-02-20T19:43:29
156,427,871
0
0
null
null
null
null
UTF-8
Python
false
false
489
py
# Import packages from sqlalchemy import create_engine import pandas as pd db_file = './RelationaDatabases/Northwind_small.sqlite' # db_file = './RelationaDatabases/Chinook.sqlite' # Create engine: engine engine = create_engine('sqlite:///' + db_file) # Execute query and store records in DataFrame: df df = pd.read_s...
[ "rodrigoms2004@gmail.com" ]
rodrigoms2004@gmail.com
ccae764344b61e02e98a695fbbcb8f7a4ab64455
379049c3c3ec7fbac35aec44895971002059643d
/05-python基础-字符串、列表、元组、字典/02-判断名字是否存在.py
e397ca0996acdf755631518507bdd117831d3efb
[]
no_license
mingyue33/python_base
29e771415b59a80c8f0354723f621826aafb46aa
f6c25bb5f9ea4352764a2c7d6d6dd802cdf2b1cb
refs/heads/master
2022-11-24T15:15:50.899518
2020-07-21T03:44:29
2020-07-21T03:44:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
681
py
#coding=utf-8 #1. 定义一个列表,里面有一些名字 names = ["xiaohong","xiaoming","laowang"] #2. 获取一个要查找的名字 insertName = input("请输入您的名字:") #3. 判断是否存在,并显示相应的提示 findFlag = 0 for name in names: if name==insertName: findFlag = 1 break#如果在前面已经找到了需要的名字,那么就结束循环,因为剩下的不会再进行判断,所以提升了程序的运行效率 #else: # findFalg = 0 ...
[ "qiilee@126.com" ]
qiilee@126.com
471363907332458677f8c8441596c6f6ab3bfaaa
17e60f61fc82e7369802a1c597b58b0206ad9bec
/lib/rcDiskInfoWindows.py
d9621266bcf71fa24434e68c138816b64b16097e
[]
no_license
SLB-DeN/opensvc
5e06d42947f51662fa16203a00670a88b9e1fea9
75baeb19e0d26d5e150e770aef4d615c2327f32e
refs/heads/master
2021-05-17T05:35:18.585791
2020-03-19T15:20:05
2020-03-19T15:20:05
250,651,667
1
0
null
2020-03-27T21:29:22
2020-03-27T21:29:22
null
UTF-8
Python
false
false
3,598
py
import rcDiskInfo import wmi from rcUtilities import justcall, which class diskInfo(rcDiskInfo.diskInfo): def __init__(self): self.h = {} self.fcluns = {} self.wmi = wmi.WMI() def scan_mapping(self): if len(self.fcluns) > 0: return if not which('fcinfo'): ...
[ "christophe.varoqui@opensvc.com" ]
christophe.varoqui@opensvc.com
b285a6b8ca9eb4ac0643ebe0bdb04b7377c2d3da
fbd5c602a612ea9e09cdd35e3a2120eac5a43ccf
/Finished/old_py/393.utf-8-编码验证.py
76699d6f1fd1474e7ccec68a99bacf073a2a8d57
[]
no_license
czccc/LeetCode
0822dffee3b6fd8a6c6e34be2525bbd65ccfa7c0
ddeb1c473935480c97f3d7986a602ee2cb3acaa8
refs/heads/master
2023-09-01T18:18:45.973563
2023-08-27T02:44:00
2023-08-27T02:44:00
206,226,364
0
0
null
null
null
null
UTF-8
Python
false
false
1,403
py
# # @lc app=leetcode.cn id=393 lang=python # # [393] UTF-8 编码验证 # # @lc code=start class Solution(object): def validUtf8(self, data): """ :type data: List[int] :rtype: bool """ def get_one_number(n): for i in range(5): if n & (128 >> i) == 0: ...
[ "lichchchn@gmail.com" ]
lichchchn@gmail.com
f59661020a5586029caaf7167761769a3761314c
3b7ea5ac5a8aadf4ce577d4988d3afca76672311
/ziplist.py
d415cdeded50cfd1521572175d8c8d18126ab365
[]
no_license
Parya1112009/mytest
6c0fec16cbe5b83803fce9b270d8c03d247f34a3
6f698b64b34eae0d1d0f8ca1eab4257893fdce83
refs/heads/master
2022-11-23T22:38:24.463420
2022-11-16T03:48:44
2022-11-16T03:48:44
88,562,431
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
list1 = [1,2,3,4,13,14,15] list2 = [5,6,7,8,19,20,21] #print list[::] list3 = zip(list1,list2) print (list3) print list3[1::2] print list3[2::4] print list3[::5] print list3[4::]
[ "noreply@github.com" ]
Parya1112009.noreply@github.com
14f43bf48d1b026bf488ee30115ec39a80659475
41586d36dd07c06860b9808c760e2b0212ed846b
/desktop/toolkit/qt5/qt5-svg/actions.py
472146b914b7669fbaa5b1036574caa84c1164b4
[]
no_license
SulinOS/SulinRepository
4d5551861f57bc1f4bec6879dfe28ce68c7c125d
9686811a1e06080f63199233561a922fe1f78d67
refs/heads/master
2021-06-15T21:34:25.039979
2021-06-05T13:43:34
2021-06-05T13:43:34
207,672,864
6
3
null
2019-12-06T08:11:22
2019-09-10T22:16:17
Python
UTF-8
Python
false
false
827
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/licenses/gpl.txt from inary.actionsapi import shelltools from inary.actionsapi import autotools from inary.actionsapi import inarytools from inary.actionsapi import qt from ina...
[ "zaryob.dev@gmail.com" ]
zaryob.dev@gmail.com
b0480d6a3406a5686ec59eb79bf0f6dabcf6e2f9
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/97/usersdata/126/56593/submittedfiles/lecker.py
bc318ca69e3b8c6abb02f03aae910aa0e1177b20
[]
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
747
py
# -*- coding: utf-8 -*- def lecker(a): cont=0 for i in range(0,len(a),1): if i==0: if a[i]>a[i+1]: cont=cont+1 elif i==len(a): if a[i]>a[i-1]: cont=cont+1 else: if a[i-1]<a[i]>a[i+1]: cont=cont+1 if...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
1b35196193a61bf28c62ee650d3e53c45e7541b0
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03053/s439502616.py
81a964f661902f7e08cba0681473061dbc558555
[]
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
792
py
import sys def input(): return sys.stdin.readline().strip() def mapint(): return map(int, input().split()) sys.setrecursionlimit(10**9) H, W = mapint() As = [list(input()) for _ in range(H)] from collections import deque Q = deque() dist = [[10**18]*W for _ in range(H)] for h in range(H): for w in range(W): ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
240ec89ce59b1aa0f0409a5eb3452080d774caf3
f76a36bb022c4da3fabf0cf13dac8c634c011b3a
/update.py
9ab3aa4af95a287f69a8816bdb56bf3bf7b12ef8
[]
no_license
jtomasek/requirements
eb12da3afb082ebd69d55d8204c915aa018af2fb
e60166eae3795232fcd2bcf03592e8228e0aa0e4
refs/heads/master
2021-01-16T22:42:06.674581
2013-05-29T13:05:00
2013-05-29T13:05:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,826
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2012 OpenStack, LLC # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # ...
[ "mordred@inaugust.com" ]
mordred@inaugust.com
9927cd4bca84ee185c4b5cdf617ba0a29e5b1f9a
251d6d11e807fa47fd1bad1f070b727500b17fd5
/shares/apps.py
9c121ab60adeccabe231925656fcce78bc87b080
[]
no_license
khokhlov/dinv
a0964403a930f479fb744d90c4dbad887ba9810c
7943b533808c913ec3564aa28ada485f857609ee
refs/heads/master
2020-05-26T13:06:42.975971
2017-03-10T12:02:30
2017-03-10T12:02:30
82,479,422
0
0
null
null
null
null
UTF-8
Python
false
false
176
py
#coding: utf-8 from __future__ import unicode_literals from django.apps import AppConfig class SharesConfig(AppConfig): name = 'shares' verbose_name = u'Акции'
[ "kolya.khokhlov@gmail.com" ]
kolya.khokhlov@gmail.com
63186a8cdc7fa9612b687e2999dde46ed4eb74c7
52b5773617a1b972a905de4d692540d26ff74926
/.history/valid_20200616215901.py
0a5eee49ea2e4313e5ba7c021044a1aa7cca4116
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,206
py
# Ipv4 --> 4 decimal numbers,between 0 to 255 # leading zero's is invalid # check whethere its a digit between 0 to 255 import string def valid(str): if str[len(str)-1] == ":" or str[len(str)-1] == ".": return "Neither" address = str.split(".") numbers = range(0,256) result = None ...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
10c9f668c41efc95b861f012f1251780a6fb2386
4de28b1f6d97640834e4a795e68ca9987f9e2cd5
/check plugins 2.1/dell_idrac_redfish/agent_based/dell_idrac_rf_thermal.py
43eec1ae032a7af3d96c7df8ffabee97d4088086
[]
no_license
Yogibaer75/Check_MK-Things
affa0f7e6e772074c547f7b1df5c07a37dba80b4
029c546dc921c4157000d8ce58a878618e7bfa97
refs/heads/master
2023-09-01T15:52:28.610282
2023-08-29T06:18:52
2023-08-29T06:18:52
20,382,895
47
16
null
2023-07-30T15:52:22
2014-06-01T18:04:07
Python
UTF-8
Python
false
false
1,008
py
#!/usr/bin/env python3 # -*- encoding: utf-8; py-indent-offset: 4 -*- # (c) Andreas Doehler <andreas.doehler@bechtle.com/andreas.doehler@gmail.com> # This 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 i...
[ "andreas.doehler@gmail.com" ]
andreas.doehler@gmail.com
9154f740d0f00f873094db8dbd94808071bf1838
95a6555114011d7ba9b0a842dd348dc4a18a56fc
/page_locators/about_page_locator.py
8d1ab126684c99a78c454f3e87d3de5abecd78ad
[ "Unlicense" ]
permissive
battyone/ParaBankSeleniumAutomation
c96dfdcb11591dd12db31b7ddd373326ce4284f7
e28a886adba89b82a60831ad96a3a8f00f863116
refs/heads/master
2023-05-04T19:58:13.067568
2020-03-15T17:19:09
2020-03-15T17:19:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
718
py
# Created by Egor Kostan. # GitHub: https://github.com/ikostan # LinkedIn: https://www.linkedin.com/in/egor-kostan/ from selenium.webdriver.common.by import By from page_locators.base_page_locator import BasePageLocator class AboutPageLocator(BasePageLocator): ''' Holds all relevant locators for 'ABOUT' page we...
[ "igorkostan@gmail.com" ]
igorkostan@gmail.com
d1ab74682b364990dd5ac2704bf6a733bc592772
46494ee049e72d99a1b371a685692f040ab21a36
/1345. Jump Game IV DC (27-12-20).py
25cf8c7d0cacabf19275acd2406bcef42dc0b8ed
[ "MIT" ]
permissive
Dharaneeshwar/Leetcode
5570b953787a65f5c2a831aca3645bca50710844
cc3ed07f6ac5f4d6e3f60c57a94a06a8be2f5287
refs/heads/master
2023-03-25T18:40:26.258939
2021-03-18T06:04:11
2021-03-18T06:04:11
313,374,143
5
0
null
null
null
null
UTF-8
Python
false
false
1,103
py
# Refer Solution class Solution: def minJumps(self, arr: List[int]) -> int: arrlen = len(arr) if arrlen in [0,1]: return 0 graph = defaultdict(list) for i in range(arrlen): graph[arr[i]].append(i) current = [0] visited = set(...
[ "daranip@gmail.com" ]
daranip@gmail.com
cbea326e7b014b522803373a61372a366f563f9e
96e77a734bf865f998e719fafcaabd120b93759c
/Python/Django/login_reg_proj/apps/login_reg_app/models.py
ea5e8361c65eb78b014f69c076a74c0cb4e33b65
[]
no_license
imronha/codingdojoprojects
3346feca1c03f625270eeded2cfb6a9b0249ab56
1b40688372844eca3fd02401f397c4ba4b334ce7
refs/heads/master
2020-04-05T12:59:14.237411
2017-11-06T08:27:06
2017-11-06T08:27:06
94,944,785
0
0
null
null
null
null
UTF-8
Python
false
false
1,141
py
from __future__ import unicode_literals from django.db import models import re EMAIL_REGEX = re.compile(r'^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9._-]+\.[a-zA-Z]+$') class UserManager(models.Manager): def basic_validator(self, postData): errors = {} if len(postData['first_name']) < 2: errors['fir...
[ "imronha@gmail.com" ]
imronha@gmail.com
1cb8be49fabf46b7d1996007bd3c40c46fb353c1
1775a5522f465cb74a1e02393d32c363bb7ef215
/django/db/migrations/executor.py
7ebfe3d13b012c3f15b931e04127b07bd98bbff4
[ "BSD-3-Clause" ]
permissive
trught007/django
b280eaff7706e72a6fc0f298c68e3c065daa448b
d55d21dbb8b307941c2d26b95be46bf83015d868
refs/heads/master
2022-12-21T04:23:49.786811
2020-10-01T08:24:33
2020-10-01T08:24:33
300,203,187
0
0
NOASSERTION
2020-10-01T08:23:34
2020-10-01T08:23:33
null
UTF-8
Python
false
false
6,401
py
from django.db import migrations from .loader import MigrationLoader from .recorder import MigrationRecorder class MigrationExecutor(object): """ End-to-end migration execution - loads migrations, and runs them up or down to a specified set of targets. """ def __init__(self, connection, progress_...
[ "ekurgn@gmail.com" ]
ekurgn@gmail.com
6efbff97a1eb3d659a5b884175b4e260d12f7142
49cb44cfe9b4cd382d8a7d10e1719de69e356ed9
/scripts/problems/ch4/p11/doSolutionStableNode.py
d1b8ad10850cc9c37fb79e5945439c7d0761cce3
[]
no_license
joacorapela/figsResultsAndErrorsFromIzhikevich2007
913a25ff10479b04fa657cea013226766bef730c
2c04cacbaa94485168926ddc7e343207beb033b9
refs/heads/master
2022-01-28T15:26:30.122964
2022-01-21T19:56:52
2022-01-21T19:56:52
150,012,910
2
0
null
null
null
null
UTF-8
Python
false
false
2,478
py
import sys import pdb import math import matplotlib.pyplot as plt from plotFunctions import plotVectorField def main(argv): a = -6.0 b = 1.0 c = 1.0 xMin = -4.0 xMax = 4.0 nXs = 16 yMin = -4.0 yMax = 4.0 nYs=16 colorSaddle = (1.0, 0.0, 0.0) colorSaddleNode = (0.5, 0.0, 0.0...
[ "joacorapela@gmail.com" ]
joacorapela@gmail.com
76f8121fe98413ca6968d65b7bd6bef9ed0594fd
75e8f932e1e08c7e71380e6b71d85ddd04f052dd
/SDAPythonTesting/test_teacher.py
0be270a7e62250060e66527352106940a261ccd8
[]
no_license
aeciovc/sda_python_ee4
fe470a253126ad307c651d252f9f9b489da32835
9e1e8be675fcafe4a61c354b55b71f53ad2af0fe
refs/heads/master
2023-08-29T15:17:34.033331
2021-10-31T09:41:57
2021-10-31T09:41:57
365,678,373
0
0
null
null
null
null
UTF-8
Python
false
false
1,558
py
import pytest from teacher import Teacher @pytest.fixture() def valid_person_name(): yield 'James' print("Cleaning the environment") @pytest.fixture() def invalid_person_name(): return '' class TestCreateDirector: @pytest.mark.skip(reason="still not implemented") def test_create_director_wit...
[ "aeciovc@gmail.com" ]
aeciovc@gmail.com
f98c0ba473b4f18f1b2dc9a34cf29bf54651c48f
71acb7214efd91c0d327f6d8958e1798eadb4401
/locations/spiders/halfords_nl.py
a324790d8a41e361696f8252b1f530caa2776328
[ "CC0-1.0", "MIT" ]
permissive
alltheplaces/alltheplaces
21b9f8b4ace1352e52ae7b8f8825a930d2cb033e
1bcbb55cfcf06f2c714465570711f6e83f205c22
refs/heads/master
2023-08-30T19:45:35.098658
2023-08-30T17:51:54
2023-08-30T17:51:54
61,166,935
453
176
NOASSERTION
2023-09-14T17:16:40
2016-06-15T01:09:18
Python
UTF-8
Python
false
false
2,333
py
import json import re from scrapy import Request, Spider from locations.hours import DAYS_NL, OpeningHours from locations.items import Feature from locations.structured_data_spider import extract_email, extract_phone class HalfordsNLSpider(Spider): name = "halfords_nl" item_attributes = {"brand": "Halfords"...
[ "noreply@github.com" ]
alltheplaces.noreply@github.com
b9d0e135072234e5bc41f7d24f5b094c3e911e1e
0fccee4c738449f5e0a8f52ea5acabf51db0e910
/genfragments/ThirteenTeV/RSGraviton/RSGravitonToGammaGamma_kMpl01_M_2500_TuneCUEP8M1_13TeV_pythia8_cfi.py
ef7485d71801413c97f0e543105aabed9bc8fecc
[]
no_license
cms-sw/genproductions
f308ffaf3586c19b29853db40e6d662e937940ff
dd3d3a3826343d4f75ec36b4662b6e9ff1f270f4
refs/heads/master
2023-08-30T17:26:02.581596
2023-08-29T14:53:43
2023-08-29T14:53:43
11,424,867
69
987
null
2023-09-14T12:41:28
2013-07-15T14:18:33
Python
UTF-8
Python
false
false
1,194
py
import FWCore.ParameterSet.Config as cms from Configuration.Generator.Pythia8CommonSettings_cfi import * from Configuration.Generator.Pythia8CUEP8M1Settings_cfi import * generator = cms.EDFilter("Pythia8GeneratorFilter", comEnergy = cms.double(13000.0), crossSection = cms.untracked.double(1.095e-3),...
[ "sheffield@physics.rutgers.edu" ]
sheffield@physics.rutgers.edu
276669d178cb5c98663816ef873c8f9ba74630fe
46bb96c640eaeeaffc81dfaf62ddca084d9e127c
/bugbuzz_service/db/tables/sessions.py
4c2ca601ff7e457f3d0b048f56db55183668c702
[ "MIT" ]
permissive
pbehnke/bugbuzz-api
4d475d53620f839ef6b33c5326ca1bc079936c88
5ed6810f65f1edabf65282359eabc3845df26a67
refs/heads/master
2021-06-17T06:45:26.633291
2017-05-22T18:55:28
2017-05-22T18:55:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
893
py
from __future__ import unicode_literals from sqlalchemy import Boolean from sqlalchemy import Column from sqlalchemy import Table from sqlalchemy import Unicode from sqlalchemy.dialects.postgresql import BYTEA from . import metadata from . import now_func from ...utils import GUIDFactory from .utc_dt import UTCDateTi...
[ "bornstub@gmail.com" ]
bornstub@gmail.com
94383ebb2f76b0a23a095a78a15e0712ce32f6c3
745197407e81606718c4cdbedb6a81b5e8edf50b
/tests/texttest/TestSelf/Miscellaneous/TrackProcesses/TargetApp/hello.py
6d91a22c9c767c9d9e35c54069475d6b2eaed3b7
[]
no_license
dineshkummarc/texttest-3.22
5b986c4f6cc11fd553dab173c7f2e90590e7fcf0
85c3d3627082cdc5860d9a8468687acb499a7293
refs/heads/master
2021-01-23T20:44:35.653866
2012-06-25T07:52:13
2012-06-25T07:52:13
4,779,248
1
0
null
null
null
null
UTF-8
Python
false
false
393
py
#!/usr/bin/env python import subprocess, os def devnull(): if os.name == "posix": return "/dev/null" else: return "nul" print 'Hello World, now sleeping!' proc = subprocess.Popen([ "python", "-c", "import time; time.sleep(10)" ], stdin=open(devnull()), stdout=open(devnull(), "w"), stderr=subp...
[ "dineshkummarc@gmail.com" ]
dineshkummarc@gmail.com
9e0f38961c074a19d919bca5e680adbb48167373
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/f4c41963e833ab041b269f62a726d26ed6433987-<translate_quota>-bug.py
df94bd39e3f7dbe8d2e19d9a07950641d3fd66c6
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
282
py
def translate_quota(self, quota, parent_quota): if six.text_type(quota).endswith('%'): pct = int(quota[:(- 1)]) quota = ((int(parent_quota) * pct) / 100) if (not quota): return _limit_from_settings(parent_quota) return _limit_from_settings(quota)
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
c53846484eec2daf2dabdcd9d015cf99c3297d22
b47c136e077f5100478338280495193a8ab81801
/Lights/adafruit-circuitpython-bundle-6.x-mpy-20210310/examples/ble_heart_rate_simpletest.py
55bca725fc071fa3160f161bab7321a68ab8fcdb
[ "Apache-2.0" ]
permissive
IanSMoyes/SpiderPi
22cd8747cc389f674cc8d95f32b4d86f9b7b2d8e
cc3469980ae87b92d0dc43c05dbd579f0fa8c4b1
refs/heads/master
2023-03-20T22:30:23.362137
2021-03-12T17:37:33
2021-03-12T17:37:33
339,555,949
16
2
null
null
null
null
UTF-8
Python
false
false
1,881
py
# SPDX-FileCopyrightText: 2021 ladyada for Adafruit Industries # SPDX-License-Identifier: MIT """ Read heart rate data from a heart rate peripheral using the standard BLE Heart Rate service. """ import time import adafruit_ble from adafruit_ble.advertising.standard import ProvideServicesAdvertisement fro...
[ "ians.moyes@gmail.com" ]
ians.moyes@gmail.com
2f705f3b5731158999fc4d2d605618c06352e922
2287048846a00f4cc5f55bd6d48da4a108aba7d7
/review/migrations/0011_auto_20170320_0931.py
e774ee2eda1b026683b3e3c566933be1b659a175
[ "BSD-2-Clause-Views" ]
permissive
kgdunn/peer-review-system
ab840060ad799c25e730e47a09bcbb3a09898890
1fd5ac9d0f84d7637a86682e9e5fc068ac404afd
refs/heads/master
2021-02-08T10:10:16.271687
2017-08-07T10:55:21
2017-08-07T10:55:21
244,140,526
0
0
null
null
null
null
UTF-8
Python
false
false
591
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-03-20 08:31 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('review', '0010_gradecomponent_name_in_table'), ] operations = [ migrations....
[ "kgdunn@gmail.com" ]
kgdunn@gmail.com
316d63df1926eb2c2fb3946ba166785457a4e14e
2c07edf26ef31574d40c96a2d4d9e13238ec74a6
/flask_backend/mailer.py
1eea1462647912c938d16b7291535db6e7255e57
[]
no_license
fryger/wsb_sys_wbudowane
5a61270c4b22d51884117518d903fc386f8b25ca
3f6cb8581b872d3b590bf41875098fd9105aeef1
refs/heads/master
2023-07-31T23:11:56.472684
2021-10-01T22:59:06
2021-10-01T22:59:06
408,139,427
0
0
null
null
null
null
UTF-8
Python
false
false
1,207
py
import smtplib from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText from email.mime.image import MIMEImage from tinydb import TinyDB, Query db = TinyDB('./db.json') table = db.table('Email') config = table.all()[0] sender = config['sender'] password = config['pass'] receiver = config['r...
[ "you@example.com" ]
you@example.com
c1548dc4e5f4cfc7389941be28b7f70f05136071
f3686e5768fa645953d0a8847d6ad65e210bdc98
/pinry/core/migrations/0002_add_licence.py
141d07b9d282be395fc8ee9fff6c174ce68d976c
[ "BSD-2-Clause" ]
permissive
Psycojoker/stickers.community
576dd9e90ce884582d0c1c68221f420cbf0fef00
a57b723e3c9100efbe55c07607c344e66828efa3
refs/heads/master
2021-01-20T20:44:42.412521
2016-07-19T09:08:40
2016-07-19T09:08:43
63,618,191
1
0
null
null
null
null
UTF-8
Python
false
false
722
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0001_initial'), ] operations = [ migrations.AddField( model_name='pin', name='licence', ...
[ "cortex@worlddomination.be" ]
cortex@worlddomination.be
9aabd7aa49edf10476bf2da66ee2c45d98dc572b
7f5cf5f4f35ef5a01a62d9e68354859178909cf3
/homeassistant/components/device_tracker/ee_brightbox.py
fc23abda1db3564cd89ce97ac09d9e89f2507875
[ "Apache-2.0" ]
permissive
unibeck/home-assistant
1cf2fb3f57528bb39a63e4dc8f7591f618d75715
937eba3dbec0f9eb75ddf2a8b39284afa1bc3301
refs/heads/master
2020-04-30T15:55:24.264362
2019-03-20T17:16:24
2019-03-20T17:16:24
176,933,979
1
0
Apache-2.0
2019-03-21T11:48:56
2019-03-21T11:48:55
null
UTF-8
Python
false
false
3,126
py
""" Support for EE Brightbox router. For more details about this platform, please refer to the documentation at https://home-assistant.io/components/device_tracker.ee_brightbox/ """ import logging import voluptuous as vol from homeassistant.components.device_tracker import ( DOMAIN, PLATFORM_SCHEMA, DeviceScanne...
[ "marhje52@kth.se" ]
marhje52@kth.se
61c472871ca7ee207b156dd8f7ad8cbf68a7bc3e
b48ca984df88fa010cc0b57118e4e9789c13abb8
/main/urls.py
c8c157ed68ba37277904a340ba738f22299b04bd
[]
no_license
SebGrobelny/CAWineClassics
1dd8fcf56762093814532560592618d75d9e8b66
1bad62e9174ce492db7cbdec6b4fd702446b92e7
refs/heads/master
2021-08-16T12:50:43.872384
2017-11-19T22:12:57
2017-11-19T22:12:57
108,331,317
0
0
null
null
null
null
UTF-8
Python
false
false
1,052
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.splash, name='splash'), url(r'home', views.home, name='home'), url(r'about', views.about, name='about'), url(r'team', views.team, name='team'), url(r'katie', views.katie, name='katie'), url(r'leslie', views.le...
[ "sgrobelny@Sebastians-MacBook-Air-2.local" ]
sgrobelny@Sebastians-MacBook-Air-2.local
ba73d784f4b93b8204ab8eccd085db5a52cc4fff
fd54c0886b81b49a55c31eb8c5254ce83df78785
/Source_Code/madagascar/appussd/ussd/services/prepaid/call_me_back/config.py
df7560fff2dee759e5b6768280ef316faedc4993
[]
no_license
santsy03/RADIX
7854896651833b1be6e3279be409db59a71c76e4
da8f2535692697b80a6dc543b9eb270fe3d5e4d3
refs/heads/master
2021-01-12T09:48:32.085432
2016-12-13T06:01:41
2016-12-13T06:01:41
76,260,115
0
0
null
2016-12-13T06:01:41
2016-12-12T13:46:31
null
UTF-8
Python
false
false
6,559
py
# coding: utf-8 time_1 = '2015-01-07' time_2 = '2015-01-08' responses = {} responses['True']={} responses['False']={} (responses['True'])['txt-1'] = 'Request successfully sent to $recipient. You can send $requestsdiff more requests today' (responses['True'])['txt-2'] = "Nangataka ho antsoin'ny laharana $...
[ "root@oc4686551628.ibm.com" ]
root@oc4686551628.ibm.com
a42a9da2f80c7831f9c9dbe372ebd51a07832af4
b2755ce7a643ae5c55c4b0c8689d09ad51819e6b
/anuvaad-etl/anuvaad-extractor/document-processor/word-detector/craft/src/utilities/filesystem.py
c37c99ac38c309b30030e0008937d396d5bad88a
[ "MIT" ]
permissive
project-anuvaad/anuvaad
96df31170b27467d296cee43440b6dade7b1247c
2bfcf6b9779bf1abd41e1bc42c27007127ddbefb
refs/heads/master
2023-08-17T01:18:25.587918
2023-08-14T09:53:16
2023-08-14T09:53:16
265,545,286
41
39
MIT
2023-09-14T05:58:27
2020-05-20T11:34:37
Jupyter Notebook
UTF-8
Python
false
false
3,001
py
import os import shutil import glob import pdf2image from anuvaad_auditor.loghandler import log_info from anuvaad_auditor.loghandler import log_error import config def create_directory(path): try: os.mkdir(path) return True except FileExistsError as fe_error: return True except OSErr...
[ "srihari.nagaraj@tarento.com" ]
srihari.nagaraj@tarento.com
2fc166f7544bd63905b3e4c486153cb90f70973c
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03360/s304226723.py
48ffa14fb022080910007afabd1e4a0e564073b3
[]
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
262
py
num_list = list(map(int, input().split())) k = int(input()) max = 0 index = -1 for i in num_list: if max < i: max = i index = num_list.index(i) change = max*(2**k) num_list[index] = change ans = 0 for j in num_list: ans += j print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
a490519255f833a6757b089bece303247e25680e
eda678c6158431430fa195fd5d51c424293fc724
/experiments/dyad_isolate/Snakefile
e42ff25cfeb717a0fc291320fdfb94f76695d7d4
[]
no_license
ohsu-comp-bio/dryads-research
8e75ecf812aa3c5139cffacf43116772d6a36376
c5c4b9e3c5e4ae5820b1dcfa669abf222e85d0db
refs/heads/master
2023-04-12T20:55:52.147569
2021-08-14T21:36:57
2021-08-14T21:36:57
139,887,441
0
3
null
null
null
null
UTF-8
Python
false
false
2,665
import os import sys sys.path.extend([os.path.join(os.environ['CODEDIR'], 'dryads-research', 'experiments', 'utilities')]) from pipeline_setup import get_task_arr, tasks_files TMPDIR = os.path.join( os.environ['TEMPDIR'], 'dryads-research', 'dyad_isolate', config['expr_source'],...
[ "mgrzad@gmail.com" ]
mgrzad@gmail.com
087b0a60a232ac975d6f97c182cdb3f97f2b8023
36ad0839d62d326f60bdcc17af21b48f2391987f
/Layers/bottlenecks.py
c44d28a9e8cdbb5cd6029fe63bbfa152a9a77a12
[ "MIT" ]
permissive
esmou2/Kylearn-pytorch
adef4be5e59a4d6c7e6f33bc76fe6b1aaea0c5be
2e07f7b40b3cbbabf8be6b1abc8a350ddc66eef0
refs/heads/master
2022-11-09T23:11:49.225401
2020-05-09T22:45:44
2020-05-09T22:45:44
260,531,095
0
0
MIT
2020-05-01T18:31:32
2020-05-01T18:31:32
null
UTF-8
Python
false
false
5,175
py
import torch.nn as nn class LinearBottleneckLayer(nn.Module): ''' Bottleneck Layer ''' def __init__(self, d_features, d_hid, d_out=None, dropout=0.1): super().__init__() if d_out == None: d_out = d_features self.encode = nn.Linear(d_features, d_hid) self.decode = n...
[ "sjc951213@gmail.com" ]
sjc951213@gmail.com
57ec1c8837dbbf8ef325c7d10c00a3ba0a6fd2c6
673e829dda9583c8dd2ac8d958ba1dc304bffeaf
/data/multilingual/Latn.COT/Sun-ExtA_16/pdf_to_json_test_Latn.COT_Sun-ExtA_16.py
6f18e32b3f24f6feeadfec011553ba559a4c128f
[ "BSD-3-Clause" ]
permissive
antoinecarme/pdf_to_json_tests
58bab9f6ba263531e69f793233ddc4d33b783b7e
d57a024fde862e698d916a1178f285883d7a3b2f
refs/heads/master
2021-01-26T08:41:47.327804
2020-02-27T15:54:48
2020-02-27T15:54:48
243,359,934
2
1
null
null
null
null
UTF-8
Python
false
false
311
py
import pdf_to_json as p2j import json url = "file:data/multilingual/Latn.COT/Sun-ExtA_16/udhr_Latn.COT_Sun-ExtA_16.pdf" lConverter = p2j.pdf_to_json.pdf_to_json_converter() lConverter.mImageHashOnly = True lDict = lConverter.convert(url) print(json.dumps(lDict, indent=4, ensure_ascii=False, sort_keys=True))
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
7c03529bb6f59646fb9f76a6e8293168b77906bf
5c4d4a2c44eebf8fd9dd790da2a9ba4ededcfb70
/django_kala/django_kala/test_settings.py
8d079d8b604125d1fece8ccd9988b53999bdd663
[ "LicenseRef-scancode-other-permissive", "MIT" ]
permissive
brahimmade/kala-app
bc2602c6034203f83ced448ba54db7606a1234fe
6ac816e7c2711568cd7bcb1d996ba74c09513b3f
refs/heads/master
2023-03-21T05:15:52.436228
2020-03-10T15:50:29
2020-03-10T15:50:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,371
py
# Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/1.10/howto/deployment/checklist/ from django_kala.functions import import_from_string INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.s...
[ "bgroff@hawaii.edu" ]
bgroff@hawaii.edu
1f5531465bc0a3b731ae7971a7b903cc3feb40fe
e28ce5cca66c56ee7446a46e18375430d0d404eb
/OpenCV/color_study.py
6a9c15b7489c871bf2e477d6074c9f588571fd66
[]
no_license
git4robot/PyKids
4fb60c5b107527336d9e686a98988ba7a8354f31
866e45e13171322ad1892d604508cfee9f8086c8
refs/heads/master
2020-04-17T20:45:26.741363
2020-04-14T02:21:55
2020-04-14T02:21:55
166,919,523
1
0
null
null
null
null
UTF-8
Python
false
false
4,439
py
''' # RGB: https://www.jianshu.com/p/25712f48a354 ''' import cv2 import numpy as np from sklearn.cluster import KMeans from collections import Counter from matplotlib import pyplot as plt def get_dominant_color(image, k=4, image_processing_size = None): """ takes an image as input returns the domina...
[ "49167781@qq.com" ]
49167781@qq.com
0857e6a407614cfc12e549e81dca0581fdf90fe8
e2ca3205bb5240a1e4c87de0bdb13faa70241f16
/src/main/nspawn/wrapper/machinectl.py
51e4e7868c85c7b149882efb48b037a9ba526c72
[ "Apache-2.0" ]
permissive
random-python/nspawn
67da4d96d54dcbf537adaf3421a03020ea5c1769
25f53aa565c0685842a89d48d949b0459b1de0a6
refs/heads/master
2023-05-11T21:27:44.557577
2023-05-07T17:00:18
2023-05-07T17:00:18
184,904,641
21
2
null
null
null
null
UTF-8
Python
false
false
2,425
py
""" Wrapper for machinectl https://www.freedesktop.org/software/systemd/man/machinectl.html """ from nspawn.wrapper.base import Base from nspawn.wrapper.sudo import Sudo from typing import List from dataclasses import dataclass @dataclass(frozen=True) class MachineDescriptor(): MACHINE:str CLASS:str SERV...
[ "andrei.pozolotin@gmail.com" ]
andrei.pozolotin@gmail.com
c0ed6552ab058902a8ed5dcc21c397f9b6d9c417
048f2002ed13503d50428c8949c95a2e4f9bd532
/BST/331_VerifyPreorderSerializationofABinaryTree.py
1a2935f033ebb619a2fc7ed1ed56b4ab37754480
[]
no_license
ZhengLiangliang1996/Leetcode_ML_Daily
9c9330bd2c7bab5964fbd3827a27eeff5bd2c502
8cdb97bc7588b96b91b1c550afd84e976c1926e0
refs/heads/master
2023-04-06T19:52:23.524186
2023-03-30T21:08:57
2023-03-30T21:08:57
213,055,072
1
0
null
null
null
null
UTF-8
Python
false
false
704
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # vim:fenc=utf-8 # # Copyright © 2021 liangliang <liangliang@Liangliangs-MacBook-Air.local> # # Distributed under terms of the MIT license. class Solution(object): def isValidSerialization(self, preorder): """ :type preorder: str :rtype: bool ...
[ "zhengliangliang1996@gmail.com" ]
zhengliangliang1996@gmail.com
52c1d61d88bc555db478d99cd478969f3b6d8759
f49b0eb48e7549b9263e87515c10b3e9d40f695a
/tensorflow_hub/file_utils.py
99b421427d210ac37f19e50acdd3495557185052
[ "Apache-2.0" ]
permissive
Pandinosaurus/hub
f8e0a6b95f91643ff51f7403f70080b5bc822f5f
fa1cf068b9cf034b59e7cd59a6ac0ce7e21a4fd4
refs/heads/master
2023-08-11T22:12:41.727750
2023-08-09T12:05:12
2023-08-09T12:05:45
129,443,631
1
0
Apache-2.0
2023-08-10T10:03:26
2018-04-13T19:12:58
Python
UTF-8
Python
false
false
2,779
py
# Copyright 2020 The TensorFlow Hub 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...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
73c040d87bb8f39b8306ff100b8532bb96b26810
3eec249b3629c31ed0114eaaff485b94f23d6b47
/form/urls.py
cb7ce8fbbbc45917ab4e7149eccca260c57d5997
[]
no_license
sarkmen/form
19bae21eafc01aa60c443861dad57833d98fa7d8
0efa1bee36e418095210e0fcc1459cdba8ffa1d6
refs/heads/master
2020-12-25T14:13:11.061223
2016-05-10T17:09:59
2016-05-10T17:09:59
58,479,505
0
0
null
null
null
null
UTF-8
Python
false
false
1,211
py
"""form URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-based ...
[ "beomjun.gim3@gmail.com" ]
beomjun.gim3@gmail.com
e6fe4e7c09f450b93ab07e860c2a7f03ae7f9b89
dd1e6fefcf0eb2fd41b30e93200b787fddb575a8
/fractals/sierpinski_square.py
c238014f80b2549a0ab3313d59f3136efb5869b2
[]
no_license
blackbat13/Algorithms-Python
7a73f8fecbad00fe9c20a16ed35a2f83b2bc2220
751795ce8c4cf711f073bdaad43887186798b5cb
refs/heads/master
2023-01-30T07:55:11.096845
2023-01-19T21:02:09
2023-01-19T21:02:09
95,124,032
0
1
null
null
null
null
UTF-8
Python
false
false
579
py
import turtle def sierpinski_square(rank: int, length: float) -> None: if rank == 0: turtle.begin_fill() for _ in range(4): turtle.forward(length) turtle.left(90) turtle.end_fill() return for _ in range(4): for _ in range(2): turtle....
[ "blackbat13@gmail.com" ]
blackbat13@gmail.com
ce6ee73a31200e63a1139adc8ef584f8f14fe536
2a0b6c10c20051de0daad5e7e06513fe8d3abacb
/test_label.py
c829dfb624092e43440bca6c79b37e4018274001
[ "MIT" ]
permissive
iancze/Pysplotter
b87f5e95aaee9c2081f0b151a3709b8f83c1e04c
54d273e27b26968b05730750c365c58375b6a5e7
refs/heads/master
2021-01-25T07:08:09.461659
2012-06-27T19:00:09
2012-06-27T19:00:09
2,457,047
1
1
null
null
null
null
UTF-8
Python
false
false
6,392
py
import matplotlib matplotlib.use("Qt4Agg") from matplotlib.pyplot import figure, show from matplotlib.patches import Ellipse import numpy as np if 1: fig = figure(1,figsize=(8,5)) ax = fig.add_subplot(111, autoscale_on=False, xlim=(-1,5), ylim=(-4,3)) t = np.arange(0.0, 5.0, 0.01) s = np.cos(2*np.pi*t...
[ "iancze@gmail.com" ]
iancze@gmail.com
1928c8ea213df09712461f81278cde51e2c03d74
c6c76e87ab639c120055783b71e295accd243cd3
/{{cookiecutter.module_name}}/src/bio2bel_{{ cookiecutter.module_name }}/__init__.py
ac0e57ac2c082f98391d68799216ff51820b9515
[ "MIT" ]
permissive
deeenes/bio2bel-cookiecutter
48e3293744cfbbec0ee1b2907a602b01b47d6ee9
8464a34faf3e645de20fb098ced4ec31666dd10a
refs/heads/master
2020-04-25T22:45:38.970831
2019-02-24T19:29:14
2019-02-24T19:29:14
173,122,231
0
0
MIT
2019-02-28T14:01:14
2019-02-28T14:01:13
null
UTF-8
Python
false
false
182
py
# -*- coding: utf-8 -*- """{{ cookiecutter.short_description }}""" from .constants import get_version from .manager import Manager __all__ = [ 'Manager', 'get_version', ]
[ "cthoyt@gmail.com" ]
cthoyt@gmail.com
7fff988fa5a77b5b720d1cd83cd7e8a266e4b410
f353f19174ea2fd8569c8f46bb2d99142fff919c
/String/Exercise-50.py
39a1a406836b67dd4b99c3644c3b1ead05da42e3
[]
no_license
self-study-squad/Python-examples
a283d9efe47d71d2e134e8fc2e919dccffe5108a
07de281fbcc9fb7f421b89a74ff24bafc78a5d4b
refs/heads/master
2022-12-28T01:35:03.927338
2020-10-09T06:41:16
2020-10-09T06:41:16
298,136,591
0
0
null
null
null
null
UTF-8
Python
false
false
151
py
#Write a Python program to split a string on the last occurrence of the delimiter. strip ='w,3,r,e,s,o,u,r,c,e' lst = strip.rsplit(',',2) print(lst)
[ "longpham6595@gmail.com" ]
longpham6595@gmail.com
d1802bdc126d931b61e7ad0bd26a97909c809bd9
d043a51ff0ca2f9fb3943c3f0ea21c61055358e9
/房天下全栈/MongoDb_write.py
50cbcf8646502f27c2635be6028ee5e0d127149e
[]
no_license
lj1064201288/dell_python
2f7fd9dbcd91174d66a2107c7b7f7a47dff4a4d5
529985e0e04b9bde2c9e0873ea7593e338b0a295
refs/heads/master
2020-03-30T03:51:51.263975
2018-12-11T13:21:13
2018-12-11T13:21:13
150,707,725
0
0
null
null
null
null
UTF-8
Python
false
false
994
py
import pymongo class Mongo_DB(): def __init__(self, mongo_db, city, item): self.host = 'localhost' self.mongo_db = mongo_db self.city = city self.item = item def open_spider(self): try: self.client = pymongo.MongoClient(self.host) self.db = self....
[ "1064201288@qq.com" ]
1064201288@qq.com
ea3c7378eafbd7e24cb32a92bd84a33af4cf2f07
52b5773617a1b972a905de4d692540d26ff74926
/.history/missingDigit_20200728194115.py
0cbdd8d70f0de557aa2de261f510c18ae656645a
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
260
py
def missing(s): s = s.replace("=","==") for x in range(1000000): try: if eval(s.replace("x",str(x))): return x except: pass return None print(s) missing("3x + 12 = 46")
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
3ec75456e5cf113904ab7c17e0059d937c023644
373939995a89ed84a26653bf4b11e02b9e060b3d
/20210503PythonAdvanced/05-contextmanager/ctx01.py
48cab9fb6ae9619ae2f1d2d1236c1f7fab38fe4e
[ "MIT" ]
permissive
AuroraBoreas/pypj_sonic_pc
28406f1951280b9349a25fdbd0ad02bae8adc316
3016ed173d912e2ffa08c8581c98a5932c486467
refs/heads/master
2023-09-01T15:04:36.246303
2023-08-25T01:05:28
2023-08-25T01:05:28
279,821,926
0
0
MIT
2022-06-22T04:52:25
2020-07-15T09:15:32
Python
UTF-8
Python
false
false
702
py
"#Python is a protocol orientated lang; every top-level function has a corresponding dunder method implemented;" import sqlite3 with sqlite3.connect('test.db') as conn: cur = conn.cursor() cur.execute('CREATE TABLE points(x int, y int);') cur.execute('INSERT INTO points(x, y) VALUES(1, 1);') ...
[ "noreply@github.com" ]
AuroraBoreas.noreply@github.com
1c6a029683af969af9e6686df9c21e1d0165a4b2
5e3ebc83bc3fe2f85c34563689b82b1fc8b93a04
/google/ads/googleads/v5/enums/types/account_budget_proposal_status.py
775b7b599ba465c2c0fdc70efefd98eefd7eb098
[ "Apache-2.0" ]
permissive
pdsing/google-ads-python
0ce70227cd6bb13a25cd13de0ca05c2636279ecd
ee2c059498d5679a0d1d9011f3795324439fad7c
refs/heads/master
2023-05-04T18:39:57.412453
2021-05-21T16:38:17
2021-05-21T16:38:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,238
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "noreply@github.com" ]
pdsing.noreply@github.com
07c81e48ef1e0240cf2c4b5ca63eec342824fd44
846e8886bbe7e8c3cdee4ba505c2217f1da1d803
/python/catkin/test_results.py
b3471991e33c50440122cc729b6db58321bb9dd9
[]
no_license
jamuraa/catkin
ef315aa644459a73443d2a8d74e6e8c0954b47f3
91b133d4c2048af097fdea270a0a19c57b422ad0
refs/heads/master
2020-11-30T13:03:20.220219
2012-10-02T18:54:56
2012-10-02T18:54:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,795
py
from __future__ import print_function import os from xml.etree.ElementTree import ElementTree def read_junit(filename): tree = ElementTree() root = tree.parse(filename) num_tests = int(root.attrib['tests']) num_errors = int(root.attrib['errors']) num_failures = int(root.attrib['failures']) ret...
[ "dthomas@willowgarage.com" ]
dthomas@willowgarage.com
810af9acd051bb92282777ed5159e2d3bea725ea
471b5d4df7c92af540c3d348594cc6ea98d65fed
/dojo_python/flask/survey/survey.py
d3be0e91dea895719a61bdd25aa6ec76be766ca5
[]
no_license
samuellly/dojo_assignment_file
929c6d747077b47b35179f190075b1d9a54e257c
37363982238fa7591a139a3af9beb20a8e165997
refs/heads/master
2021-01-13T05:30:02.462066
2017-05-20T00:27:47
2017-05-20T00:27:47
80,334,980
0
0
null
null
null
null
UTF-8
Python
false
false
446
py
from flask import Flask, render_template, request, redirect app = Flask(__name__) @app.route('/') def index(): return render_template('index.html') @app.route('/result', methods=['POST']) def result(): print ("Info received!") return render_template('result.html', name = request.form['name'], loca...
[ "gjqorgus900327@gmail.com" ]
gjqorgus900327@gmail.com
b029dde505319423c857d3ae2b468e2b48f9ea6d
543286f4fdefe79bd149ff6e103a2ea5049f2cf4
/Exercicios&cursos/eXcript/Aula 18 - Propriedade Sticky.py
505b6762f67eaf3c58b626f5f1c71a0c1459ee06
[]
no_license
antonioleitebr1968/Estudos-e-Projetos-Python
fdb0d332cc4f12634b75984bf019ecb314193cc6
9c9b20f1c6eabb086b60e3ba1b58132552a84ea6
refs/heads/master
2022-04-01T20:03:12.906373
2020-02-13T16:20:51
2020-02-13T16:20:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
430
py
#width == largura #height == altura from tkinter import * janela = Tk() lb1 = Label(janela, text="ESPAÇO", width=15, height=3, bg="blue") lbHORIZONTAL = Label(janela, text="HORIZONTAL", bg="yellow") lbVERTICAL = Label(janela, text="VERTICAL", bg="yellow") lb1.grid(row=0, column=0) lbHORIZONTAL.grid(row=1, column=0,...
[ "progmatheusmorais@gmail.com" ]
progmatheusmorais@gmail.com
2056295116744d61aff23b37cb126feb78904a4e
863a56f99b4668211b96d66e3d2698196e46f3b1
/prng/cellular_automata/rule198/run.py
309e1673dd75c013f3267dff98a2899f99f68d8b
[ "LicenseRef-scancode-public-domain" ]
permissive
atoponce/scripts
15b958463d6e788ad6f7785d2614ddb372fc69a7
b2c8fd2a0b68e83562570c315f4c9596ee546011
refs/heads/master
2023-04-28T05:47:07.918556
2023-04-15T15:02:05
2023-04-15T15:02:05
8,612,257
22
4
null
2016-12-22T19:21:28
2013-03-06T20:18:33
Shell
UTF-8
Python
false
false
643
py
#!/usr/bin/python3 #seed = '00000000000000000100000000000000000' # textbook initial state seed = '01011111110010010011010001100100010' # random initial state bits = len(seed) for n in range(5000): print(int(seed, 2)/2**bits) state = '' p, q, r = -1, 0, 1 for n in range(bits): # there must be a more ef...
[ "aaron.toponce@gmail.com" ]
aaron.toponce@gmail.com
946fd49ed7af083f41429c81ef2bb5819af47060
9a0a4e1f843d1457c4f466c05c994f3e6ecd842a
/change_transparency.py
543c49f2aa8d0ef476010ab9f243970f94d0c354
[]
no_license
sjbrown/steam_jet_blower
688aa44e43ea8a285ebaf3923473b4a4049b5537
5b894354cb60b5d5d6eee74af77140af641580ee
refs/heads/master
2021-01-10T03:19:21.853486
2016-03-18T20:27:49
2016-03-18T20:27:49
54,229,208
0
0
null
null
null
null
UTF-8
Python
false
false
1,145
py
#!/usr/bin/env python #Import Modules import pygame from pygame.locals import * _cachedOriginals = {} _cachedCalculatedArrays = {} #----------------------------------------------------------------------------- def change_alpha_mult(img, percentAlpha): global _cachedOriginals global _cachedCalculatedArrays if perce...
[ "github@ezide.com" ]
github@ezide.com
7c89b5a70eaa41d0b10e26ac6461585729c21d14
05b80d92bb2efec76f898c527cc803f931031266
/Blind 75/Programs/Longest Repeating Character Replacement.py
1d5251bb53822143571115ed0129d2c93426ce21
[]
no_license
PriyankaKhire/ProgrammingPracticePython
b5a6af118f3d4ec19de6fcccb7933d84f7522d1a
8dd152413dce2df66957363ff85f0f4cefa836e8
refs/heads/master
2022-08-28T00:44:34.595282
2022-08-12T19:08:32
2022-08-12T19:08:32
91,215,578
18
11
null
null
null
null
UTF-8
Python
false
false
1,679
py
# Longest Repeating Character Replacement # https://leetcode.com/problems/longest-repeating-character-replacement/ # Solution understood from. # https://leetcode.com/problems/longest-repeating-character-replacement/discuss/358879/Java-Solution-Explained-and-Easy-to-Understand-for-Interviews ''' formula: (length of sub...
[ "priyanka.khire@gmail.com" ]
priyanka.khire@gmail.com
6f62aac4b432ea6c0ddfaf845217dc767679d71f
12d1bcb4bb0a473d163048f1c5ac9eef6389bc24
/HypothesisTesting/Quiz.py
d386378049509604a12e023d6c89890c25f5779e
[]
no_license
Bharadwaja92/DataScienceProjects
339795c08c4b631006f1602ec84f3b48b828e538
088305387339affa662ac3d88ea5fac2651295b5
refs/heads/master
2020-03-29T19:23:58.041782
2019-01-29T12:22:03
2019-01-29T12:22:03
150,261,056
0
0
null
null
null
null
UTF-8
Python
false
false
1,227
py
"""""" """ Which of these is an accurate statement of the Central Limit Theorem? For a large enough sample size, our sample mean will be sufficiently close to the population mean. What is a statistical hypothesis test? A way of quantifying the truth of a statement. Which of the following describes a Type II error? ...
[ "saibharadwaja92@gmail.com" ]
saibharadwaja92@gmail.com
b508232586963bd3703658b87b4854b11d1c3e75
fc3f784c8d00f419b11cbde660fe68a91fb080ca
/algoritm/20상반기 코딩테스트/한수/bj1065.py
b711cbf86b44c09064fe63cda2dc9461a9d7b1d7
[]
no_license
choo0618/TIL
09f09c89c8141ba75bf92657ac39978913703637
70437a58015aecee8f3d86e6bfd0aa8dc11b5447
refs/heads/master
2021-06-25T07:01:34.246642
2020-12-21T04:57:13
2020-12-21T04:57:13
163,782,782
0
0
null
null
null
null
UTF-8
Python
false
false
201
py
import sys sys.stdin = open('bj1065.txt','r') N=int(input()) if N<100:print(N) else: R=0 for i in range(100,N+1): a,b,c=i//100,(i%100)//10,i%10 if a-b==b-c:R+=1 print(99+R)
[ "choo0618@naver.com" ]
choo0618@naver.com
263feec81bd5161ad7aca3304939729b59c6e0f5
6e466112c3682338ec56c892c883284704fbb727
/bflib/restrictions/weapons.py
e21e12d074b299dcaffacd3c90e51a5f8e5dbcfd
[ "MIT" ]
permissive
ChrisLR/BFLib
5aee153aeaef72516f737abf74cf89e7ec1cb90a
2af49cc113792c4967c0c8c5bf32a1b76876e6e2
refs/heads/master
2021-01-22T17:52:58.790057
2017-11-15T17:46:56
2017-11-15T17:46:56
102,407,112
1
0
null
null
null
null
UTF-8
Python
false
false
617
py
from bflib.keywords.weapons import WeaponWieldKeyword from bflib.restrictions.base import Restriction class WeaponRestrictionSet(Restriction): __slots__ = ["included", "excluded"] def __init__(self, included=None, excluded=None): self.included = included self.excluded = excluded class Weapo...
[ "arzhul@gmail.com" ]
arzhul@gmail.com
581eb71ed8e3a43f72e7d7c856a6ef0ca4273774
a78b1c41fc038703e58d5249a9948fbfd06f8159
/code_nodeperturbation/FM4/sim2/gene/gene.py
47d12a4d13f3c51625eb54494462cfc38ce251d7
[]
no_license
le-chang/DISC1_interactome
15ed1025048e49d5bb6b6bd13eac4f148fe83d04
b517309b8583358220c2a639d4ef5d303bfb0acd
refs/heads/master
2021-02-13T21:00:20.418928
2019-04-24T13:59:50
2019-04-24T13:59:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,652
py
""" Migration simulator It is also a demonstration on how the collector works """ import boolean2 from boolean2 import Model, util from random import choice # ocasionally randomized nodes TARGETS = set( "Migration".split() ) def new_getvalue( state, name, p): """ Called every time a node value is used in a...
[ "noreply@github.com" ]
le-chang.noreply@github.com
8520cda3561bf8b7c960f8602b2bced270173fa2
7c0acdc46cfce5dc116d394f6990ee5ab1c0fa0c
/venv/lib/python3.7/site-packages/builders/logger.py
2315b5710fc7b44fd1e8f35c660d87e62010e1e9
[ "MIT" ]
permissive
Vatansever27/ExchangeCode
84fb4a02371fdda7cd94d00971be76bcd1068be0
ab284653a337937139a9a28c036efe701fb376c7
refs/heads/master
2020-04-07T16:38:59.819929
2018-11-21T12:18:30
2018-11-21T12:18:30
158,537,067
0
0
null
2018-11-21T12:18:31
2018-11-21T11:22:14
null
UTF-8
Python
false
false
284
py
''' Created on Sep 10, 2013 This module holds logger configuration for builders @author: pupssman ''' import logging logger = logging.getLogger('builders') logger.setLevel(logging.INFO) handler = logging.StreamHandler() handler.setLevel(logging.WARN) logger.addHandler(handler)
[ "doguhan@puentedev.io" ]
doguhan@puentedev.io
4f122446d7f74b618c9d6df7407213c5b1993795
70744b927246edb4cfdc405bd3528513d9ea9ded
/envios/autocomplete_light_registry.py
cd1e842920390dfa7c8bab2e7b617952f2f99540
[]
no_license
jesusmaherrera/enviamexpaisano
e0616cbba47a4b4bddc897fbf2244d92c59c10fd
dd9e3e8270616a8cb73704dc7076791e36ecc98f
refs/heads/master
2016-09-06T04:30:19.848954
2013-06-07T06:05:27
2013-06-07T06:05:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
336
py
import autocomplete_light from cities_light.models import City autocomplete_light.register(City, search_fields=('search_names',), autocomplete_js_attributes={'placeholder': 'Nombre de la ciudad..'}) autocomplete_light.register(City, search_fields=('name',), autocomplete_js_attributes={'placeholder': 'Nombre de...
[ "jesusmaherrera@gmail.com" ]
jesusmaherrera@gmail.com
e944ac632c5986200ef656717afb0a52d305c33e
5ec48e90f711c9514a6d2ee36dbb46bc1ba71b74
/shop/urls.py
c552e41a6565ef31e6acd61ea30c24f84cf3f152
[]
no_license
hanieh-mav/hanieh_shop
1ca5042fefb970459d9f48fb716a95fec6a530bb
b7cf253e11b6c167e78b245f253a8d057f435026
refs/heads/main
2023-06-10T16:37:26.385048
2021-07-07T14:19:58
2021-07-07T14:19:58
372,892,835
2
0
null
2021-07-07T14:19:59
2021-06-01T16:19:48
CSS
UTF-8
Python
false
false
443
py
from django.urls import path from .views import home , category_detail , ProductDetail app_name = 'shop' urlpatterns = [ path('',home,name='home'), path('page/<int:page>',home,name='home'), path('category/<slug:slug>',category_detail,name='category_detail'), path('category/<slug:slug>/<int:page>',cate...
[ "h.mehdiabadi@gmail.com" ]
h.mehdiabadi@gmail.com
df7281a7926eb33f1778ef246c2fdeca5fbffa99
aafc9140c662fcb2b36fb092cbf861d80e4da7e9
/examples/misc/chained_callbacks.py
87879ff42488aca6c81fd210a4a5cc2f14054791
[]
no_license
alecordev/dashing
12fb8d303143130f3351c8042615a0f7497f59cf
aac810147f8459834b6c693291b1276e8a84c36e
refs/heads/master
2023-02-18T08:55:22.410205
2022-04-07T08:17:37
2022-04-07T08:17:37
99,436,393
0
0
null
2023-02-16T03:20:21
2017-08-05T17:01:29
CSS
UTF-8
Python
false
false
1,473
py
import dash import dash_core_components as dcc import dash_html_components as html from dash.dependencies import Input, Output external_stylesheets = ["https://codepen.io/chriddyp/pen/bWLwgP.css"] app = dash.Dash(__name__, external_stylesheets=external_stylesheets) all_options = { "America": ["New York City", "S...
[ "alecor.dev@gmail.com" ]
alecor.dev@gmail.com
3b08994748c30a31baf779c095991557e4427e44
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/rasbt_mlxtend/mlxtend-master/mlxtend/classifier/softmax_regression.py
04e5d621bb0f443e834b5ed9ae559e12551abd2b
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
5,868
py
# Sebastian Raschka 2014-2017 # mlxtend Machine Learning Library Extensions # # Implementation of the mulitnomial logistic regression algorithm for # classification. # Author: Sebastian Raschka <sebastianraschka.com> # # License: BSD 3 clause import numpy as np from time import time from .._base import _BaseModel fro...
[ "659338505@qq.com" ]
659338505@qq.com
748eb1b3110d4ce4036007555737afa714ca4d1e
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/rdbms/azure-mgmt-rdbms/generated_samples/mysql/virtual_network_rules_create_or_update.py
d18659e34af6cf458a211fb1e990c431312e142a
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
2,010
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
Azure.noreply@github.com
fb2a5ba96ca24f614cac37db2dbc94f81c00928d
e838076bc1c8aedbb8c77710b1a1a32efc3a4da1
/site_selection/migrations/0002_siteselectionselectedsites.py
6d1aaf6ccd16ac174ac7cf7e4c86b045fbcf5e69
[]
no_license
abbasgis/ferrp
5f2f7768f0e38e299498c2e74379311698b6321f
77736c33e7ec82b6adf247a1bf30ccbc4897f02e
refs/heads/master
2023-05-25T09:59:45.185025
2021-06-12T09:15:07
2021-06-12T09:15:07
376,236,936
0
0
null
null
null
null
UTF-8
Python
false
false
1,267
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.14 on 2018-11-15 20:28 from __future__ import unicode_literals import django.contrib.gis.db.models.fields from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('site_selection', '0001_initial'), ] ope...
[ "abbas123@abc" ]
abbas123@abc
0f478534f7fcad7d99d58f79b2fc2d2cc39d3729
d2332604fc80b6d622a263b2af644425a7e703de
/fast-track/dynamic_programming/11_decode_ways.py
24d39552909846b648b35486f8055c00aeb4d3b3
[]
no_license
abhijitdey/coding-practice
b3b83a237c1930266768ce38500d6812fc31c529
6ae2a565042bf1d6633cd98ed774e4a77f492cc8
refs/heads/main
2023-08-14T23:31:06.090613
2021-10-18T21:35:56
2021-10-18T21:35:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,238
py
""" A message containing letters from A-Z can be encoded into numbers using the following mapping: 'A' -> "1" 'B' -> "2" ... 'Z' -> "26" To decode an encoded message, all the digits must be grouped then mapped back into letters using the reverse of the mapping above (there may be multiple ways). For example, "11106" ...
[ "ashiz2013@gmail.com" ]
ashiz2013@gmail.com
a2e126193720517843439923118b13b875d7f842
bd2a3d466869e0f8cb72075db7daec6c09bbbda1
/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_06_01_preview/models/_paged_models.py
fdec95712a6365532286786ba2a82a0e79c2e307
[ "MIT" ]
permissive
samvaity/azure-sdk-for-python
7e8dcb2d3602d81e04c95e28306d3e2e7d33b03d
f2b072688d3dc688fed3905c558cff1fa0849b91
refs/heads/master
2021-08-11T21:14:29.433269
2019-07-19T17:40:10
2019-07-19T17:40:10
179,733,339
0
1
MIT
2019-04-05T18:17:43
2019-04-05T18:17:42
null
UTF-8
Python
false
false
3,607
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 ...
[ "laurent.mazuel@gmail.com" ]
laurent.mazuel@gmail.com
ece90d1b27b7bda334a307b0a1726b78af015b34
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_20866.py
43b89f649be556f519aaca98d7c1a6b0b17da9d8
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
277
py
# Python: Splitting a string into elements and adding them in a list foo = '"MARY","PATRICIA","LINDA","BARBARA","ELIZABETH","JENNIFER","MARIA","SUSAN","MARGARET","DOROTHY","LISA","NANCY","KAREN","BETTY","HELEN","SANDRA","DONNA","CAROL"' output = foo.replace('"','').split(",")
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
0efc657b8dcb8e6b318ea4ca6e2a6c04543e1dbd
891902687207fb335b65dbb8d31d6e20301764f9
/pe048.py
bc475ea81eba7af44d87a0dfa5b0a74bcdc8ceb0
[]
no_license
maecchi/PE
93bd050eaca2733aa37db6ca493b820fe3d7a351
3d9092635807f0036719b65adb16f1c0926c2321
refs/heads/master
2020-05-04T16:38:36.476355
2012-06-10T05:26:10
2012-06-10T05:26:10
1,746,853
0
0
null
null
null
null
UTF-8
Python
false
false
234
py
#!/usr/bin/env python #-*- coding: utf-8 -*- # # pe048.py - Project Euler # LIMIT = 1000 series = [pow(x,x) for x in xrange(1, LIMIT+1)] total = sum(series) total_str = str(total) ten_digit_str = total_str[-10:] print ten_digit_str
[ "aos81922710@yahoo.co.jp" ]
aos81922710@yahoo.co.jp
6a51e12f7a32aaa10eff1954b31dffd2d63024dd
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/193/usersdata/274/70731/submittedfiles/al7.py
1054fb07641b98114c1cfba9aaba25c980ae4b02
[]
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
193
py
# -*- coding: utf-8 -*- n = int(input("Valor de n: ")) i=1 s=0 while (i<n): if (n%i)==0: s-s+1 i=i+1 print(s) if s==n: print("PERFEITO") else: print("NÃO PERFEITO")
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
a5e3c2dd3665157ca080d0fc9762c4e20c48c388
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-2/7cf0626d7b9176f0eba3ff83c69c5b4553ae3f7e-<validate_distribution_from_caller_reference>-fix.py
b639b22fa205318f577ce5de14a54a2382c3197b
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,000
py
def validate_distribution_from_caller_reference(self, caller_reference): try: distributions = self.__cloudfront_facts_mgr.list_distributions(False) distribution_name = 'Distribution' distribution_config_name = 'DistributionConfig' distribution_ids = [dist.get('Id') for dist in dist...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
7b46f5761fbed7cb98152ac3384dc472e21fbcc6
fb1e852da0a026fb59c8cb24aeb40e62005501f1
/edgelm/fairseq/file_io.py
dd2865cd448fe581b22d069b32f12c045efc8c1f
[ "LicenseRef-scancode-unknown-license-reference", "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-free-unknown", "Apache-2.0" ]
permissive
microsoft/unilm
134aa44867c5ed36222220d3f4fd9616d02db573
b60c741f746877293bb85eed6806736fc8fa0ffd
refs/heads/master
2023-08-31T04:09:05.779071
2023-08-29T14:07:57
2023-08-29T14:07:57
198,350,484
15,313
2,192
MIT
2023-08-19T11:33:20
2019-07-23T04:15:28
Python
UTF-8
Python
false
false
5,806
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import logging import os import shutil from typing import List, Optional logger = logging.getLogger(__f...
[ "tage@sandbox12.t0ekrjpotp2uhbmhwy0wiwkeya.xx.internal.cloudapp.net" ]
tage@sandbox12.t0ekrjpotp2uhbmhwy0wiwkeya.xx.internal.cloudapp.net