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
d65940db9f881edfd9ca3bda5bfa15a82458d624
a5d418868bdc1d81719cd111f2787f2c5137518c
/Django/myshop/myshop/settings.py
8f554185f4f2edeec5784b269018af5b5b4bd069
[]
no_license
sohn0356-git/TIL
aa0e89b2d163a342fc99e93b0552b73bf1db9e4a
9c7447326caed4d25044a0ab559744ffc469924c
refs/heads/master
2023-07-15T23:33:19.650261
2021-08-24T11:04:12
2021-08-24T11:04:12
327,533,782
0
1
null
null
null
null
UTF-8
Python
false
false
4,797
py
""" Django settings for myshop project. Generated by 'django-admin startproject' using Django 3.1.5. 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/ """ import os fro...
[ "sohn0356@gmail.com" ]
sohn0356@gmail.com
cb9b5dc4f0168d8f2df193838c989f3a0f42d2f5
376b0e12d2a6f89b04f88b55c778d33aca397225
/schemas/node_types.py
5f0c4e9aeb3df78cb05532e36e944eea9624ac5d
[]
no_license
junhoyeo/Partial-SNN
4fd00d78e4d55bba28b96091754ee518a5d1450b
ba93c67617ced22cab156194a1feda2f17b83a40
refs/heads/master
2020-11-29T22:31:23.473774
2019-12-26T19:18:40
2019-12-26T19:18:40
230,231,025
0
1
null
null
null
null
UTF-8
Python
false
false
211
py
class NodeTypes: def __init__(self): self.INPUT = 0 self.HIDDEN = 1 self.OUTPUT = 2 def get_repr(self, type_id: int): return ['INPUT', 'HIDDEN', 'OUTPUT'][type_id] node_types = NodeTypes()
[ "32605822+JunhoYeo@users.noreply.github.com" ]
32605822+JunhoYeo@users.noreply.github.com
c0659028d4ace55fd4c78abd86052a13c0bc6824
149b97574e4cfd57d48295fa94b6dacf205a77f4
/bin/csscombine
e6697d8b6f272c6f3ef025959d7f3cd4fe42f388
[]
no_license
wraithan/zamboni-lib
e347b2ee1ab2f37e6a30cbcc522e26f2611f3691
2a5013afb39a7970d60f161d570dad92238c67bd
refs/heads/master
2021-01-18T19:46:52.837975
2012-09-27T23:59:42
2012-09-27T23:59:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
314
#!/Users/jeff/.dotfiles/.virtualenvs/newz/bin/python2.6 # EASY-INSTALL-ENTRY-SCRIPT: 'cssutils==0.9.7b3','console_scripts','csscombine' __requires__ = 'cssutils==0.9.7b3' import sys from pkg_resources import load_entry_point sys.exit( load_entry_point('cssutils==0.9.7b3', 'console_scripts', 'csscombine')() )
[ "jbalogh@mozilla.com" ]
jbalogh@mozilla.com
e32501e632de4af625fe75cc3246a166456f0446
ab4491a86039d873fb3a3e2d7567f700fc920074
/r_2_project/r_2_project/settings.py
5ccc09ad296862851e68288a40ea89c19a19b08d
[]
no_license
cs-fullstack-2019-spring/django-review2-templates-cw-Joshtg1104
d89c640a129a6c961d9158532ff8fdca61099bc4
606df2721967576ec8d5cc91c3630d6b4dd8c761
refs/heads/master
2020-04-25T12:15:34.416541
2019-03-01T23:39:07
2019-03-01T23:39:07
172,772,098
0
0
null
null
null
null
UTF-8
Python
false
false
3,116
py
""" Django settings for r_2_project project. Generated by 'django-admin startproject' using Django 2.2. For more information on this file, see https://docs.djangoproject.com/en/dev/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/dev/ref/settings/ """ import os ...
[ "joshtg1104@gmail.com" ]
joshtg1104@gmail.com
5268fe9cb03c5cfbc5cfdb88100e2c8a97791bba
a28a3665af439ad3d9f401d180856b0489341ffd
/variable_poisson_test.py
1d9a236ce78306a6a9a0229d82431066cd1fe08a
[]
no_license
Jegp/spike_conv_nets
c75f8bfc8f977ed94e4bc8d6d37cd02ac65b5961
c11b469b6d7896d787c77dca789be26f3d3d98b4
refs/heads/master
2023-06-24T03:20:16.378273
2021-07-16T17:20:43
2021-07-16T17:20:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,266
py
import spynnaker8 as sim import numpy as np import matplotlib.pyplot as plt sim.setup(timestep=1.) np.random.seed(13) n_neurons = 10 n_changes = 5 duration = 100.0 # ms rate = 100.0 # hz rates = np.zeros((n_neurons, n_changes)) n_per_change = n_neurons // n_changes for i in range(n_changes): s = i * n_per_chang...
[ "chanokin@gmail.com" ]
chanokin@gmail.com
4719103af69a4c3cf9138cad6914a95b7cbcab47
78be2d943509d2aac34e9de3cb85c6ed95706333
/ras_backstage/decorators/jwt_decorators.py
b67727f53365ae8a863a49c50c260c62b113edc8
[]
no_license
uk-gov-mirror/ONSdigital.ras-backstage
70a1016bc57eba3302c6e53c99be159d7df7bf2d
a173984dddb466210df500046f4e7b11ec4bb679
refs/heads/master
2021-09-15T21:47:09.274789
2018-06-08T09:33:11
2018-06-08T09:33:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
642
py
from functools import wraps import logging from structlog import wrap_logger from ras_backstage.exception.exceptions import NoJWTError logger = wrap_logger(logging.getLogger(__name__)) def get_jwt(request): def extract_session(original_function): @wraps(original_function) def extract_session_w...
[ "noreply@github.com" ]
uk-gov-mirror.noreply@github.com
ce456148ab5569f96da64f5b2b27e3ae1eaa97e8
7c0136323c67478932784a46c6fe15483bef50a3
/gwcs/tags/selectortags.py
e0c73e78a6b0ad3c49106db8d198880d161e1ad5
[]
no_license
bsipocz/gwcs
e770aef150e722bfcd7eaec5bffc5fbe50f216af
bbc305e88174a11b3d197b82023a72ec99774ae3
refs/heads/master
2022-10-10T19:01:00.342140
2015-10-08T13:31:29
2015-10-08T13:31:29
45,719,996
0
0
null
2015-11-07T02:55:54
2015-11-07T02:55:54
null
UTF-8
Python
false
false
5,120
py
# Licensed under a 3-clause BSD style license - see LICENSE.rst # -*- coding: utf-8 -*- from __future__ import absolute_import, division, unicode_literals, print_function import numpy as np from numpy.testing import assert_array_equal from astropy.modeling import models from astropy.utils import OrderedDict from astr...
[ "nadia.dencheva@gmail.com" ]
nadia.dencheva@gmail.com
7668efd69f8bf91a8ac6079a8bb02e84d2b62e28
673e829dda9583c8dd2ac8d958ba1dc304bffeaf
/data/multilingual/Hebr.HEB/Sun-ExtA_16/pdf_to_json_test_Hebr.HEB_Sun-ExtA_16.py
cce0ed95727e1941254c68573ed061d48457f1e6
[ "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/Hebr.HEB/Sun-ExtA_16/udhr_Hebr.HEB_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
db1921d3478d2e8cde389c8155bd8a9d47b41177
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_8/hrdtim002/question1.py
807ac77ab8cac575e7d4a6c43d33adaec2f0a04a
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
448
py
"""program to check for palindromes using recursion Tim Hardie 9 May 2014""" def check_palin (str_input): if len (str_input) > 1: if str_input[0] == str_input[-1]: check_palin (str_input[1:-1]) else: print ("Not a palindrome!") elif len (str_input) == 1: ...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
40076b43779f6aebbd369738ef11e6d0f116568c
fa44abffdfe00e5a44fffe6610dce25a325ee93e
/instagram_clone/images/serializers.py
dd542db9b1a7c9869aac9e439faf07891b3b29bf
[ "MIT" ]
permissive
devjinius/IG_clone
e539e44318cdf9baf5137057a0c671e8748c36bf
6a525524ec357d5617b09e013b449df2ec9336ad
refs/heads/master
2020-03-21T08:55:23.803771
2018-12-07T13:55:25
2018-12-07T13:55:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,015
py
# python object를 json으로 변형해주는 것이 serializers from rest_framework import serializers from . import models from instagram_clone.users import models as user_model from taggit_serializer.serializers import (TagListSerializerField, TaggitSerializer) class SmallImageSerializer(serializers.ModelSerializer): class Meta:...
[ "eugenekang94@gmail.com" ]
eugenekang94@gmail.com
48c9e3c5942973b2fbc895ea878a1b2edfe51d77
d9b41609de019c5d01ee12f4be77910d4ea0c1aa
/neurodsp/tests/test_sim_periodic.py
52aac2a11f420c304e83a22a3381bf32e7a332c2
[ "Apache-2.0" ]
permissive
josepfont65/neurodsp
ec2dcefd605baab62ee42f0589671467b0b331c9
a7c5b72665eed6368e29bf4f15443a28a2e18732
refs/heads/master
2020-12-04T14:53:10.230006
2019-12-19T18:10:18
2019-12-19T18:10:18
231,808,080
1
0
Apache-2.0
2020-01-04T18:15:34
2020-01-04T18:15:33
null
UTF-8
Python
false
false
762
py
"""Test periodic simulation functions.""" from neurodsp.tests.utils import check_sim_output from neurodsp.tests.settings import FS, N_SECONDS, FREQ1 from neurodsp.sim.periodic import * from neurodsp.sim.periodic import _make_is_osc #####################################################################################...
[ "tdonoghue@ucsd.edu" ]
tdonoghue@ucsd.edu
8de5f962dcb452320096dc21a032ba26b2db1a16
368be25e37bafa8cc795f7c9f34e4585e017091f
/.history/app_fav_books/views_20201115150328.py
3fc74d4417b8348ea09c322a0e561a86bd596edf
[]
no_license
steven-halla/fav_books_proj
ebcfbfda0e7f3cdc49d592c86c633b1d331da513
512005deb84ac906c9f24d4ab0939bd0db096716
refs/heads/master
2023-03-30T09:37:38.016063
2021-04-02T20:27:22
2021-04-02T20:27:22
354,125,658
0
0
null
null
null
null
UTF-8
Python
false
false
4,171
py
from django.shortcuts import render, redirect from .models import * from django.contrib import messages # contains user signup + login form def view_index(request): return render(request, "index.html") # user signup form will post to a url (/register) which maps to this function def register_new_user(request): ...
[ "69405488+steven-halla@users.noreply.github.com" ]
69405488+steven-halla@users.noreply.github.com
fe774970749bfe5c171952c529eb9429f330e2d3
685fa2cb16ff8bce96b603dee8117ed3e9a1adcb
/keras-gradient-tape/gradient_tape_example.py
b740ec82a1cbb9d6cc6e523a6e2e19689565d22d
[]
no_license
albertofernandezvillan/pyimagesearch
352ec1ec678cb628524c476fdcc86c22238a1a2f
8c87e6c5d218e42a8864778c032c0fd20261bcdd
refs/heads/master
2023-02-27T22:02:25.581660
2021-02-08T15:15:15
2021-02-08T15:15:15
338,087,397
0
1
null
null
null
null
UTF-8
Python
false
false
4,820
py
# ----------------------------- # USAGE # ----------------------------- # python gradient_tape_example.py # ----------------------------- # IMPORTS # ----------------------------- # Import the necessary packages from tensorflow.keras.models import Sequential from tensorflow.keras.layers import BatchNormalization f...
[ "silva.mfpedro@gmail.com" ]
silva.mfpedro@gmail.com
d30004da33c7f1178e968db895dfb299855397aa
a39ed5db6c75c9ae1f5e05118794c64102dc5f7a
/2021/15_2/solution_test.py
747664ac87c240e1768aa50e9a615c2466bfabda
[ "MIT" ]
permissive
budavariam/advent_of_code
b656d5caf5d05113b82357754eb225e61e89ac0d
635be485ec691f9c0cdeb83f944de190f51c1ba3
refs/heads/master
2022-12-25T18:12:00.981365
2022-12-20T08:20:51
2022-12-20T08:20:51
114,570,426
1
1
MIT
2022-12-09T09:29:06
2017-12-17T21:36:00
Python
UTF-8
Python
false
false
426
py
""" Advent of code 2021 day 15 / 2 """ import unittest from solution import solution class MyTest(unittest.TestCase): """Unist tests for actual day""" def test_basic(self): """ Test from the task """ self.assertEqual(solution("""1163751742 1381373672 2136511328 3694931569 7463417111 13191281...
[ "budavariam@gmail.com" ]
budavariam@gmail.com
a9e82798443b853ac00c1ea8d220208411f9df71
30dfa9cea355bcfa7b2eb8210aa8326cbf9dcb97
/code/pysubs/old_progs/rot_matrix_mini.py
b02d984e9f6b2f96a59215aa7f3993ec105aaa2d
[]
no_license
craiglagegit/Bullet_Cluster
e96e9088f2cf90db54ad1e756cdd28c7a2609b4a
685555c137d726a86ad02a968e1442ab0c6123f0
refs/heads/master
2021-04-29T18:56:08.548631
2018-02-16T15:42:39
2018-02-16T15:42:39
121,702,899
0
0
null
null
null
null
UTF-8
Python
false
false
909
py
#!/usr/bin/env python #Author: Craig Lage, NYU; #Date: 9-Sep-11 #This program looks at a matrix of rotation angles on a databse with an IP of 4 kpc import lageconfig # system specific path information import sys sys.path.append(lageconfig.bulletpath) import pysubs_mhd_new as pysubs from pylab import * #*********...
[ "cslage@ucdavis.edu" ]
cslage@ucdavis.edu
65942f14d80a42dcc872cdf06b41d8caabfbd5ee
c3ff891e0e23c5f9488508d30349259cc6b64b4d
/python练习/网络编程练习/线程/03-线程的执行顺序.py
7f9ef178bb1cef9263c6c5ce775b3b287d6fd41d
[]
no_license
JacksonMike/python_exercise
2af2b8913ec8aded8a17a98aaa0fc9c6ccd7ba53
7698f8ce260439abb3cbdf478586fa1888791a61
refs/heads/master
2020-07-14T18:16:39.265372
2019-08-30T11:56:29
2019-08-30T11:56:29
205,370,953
0
0
null
null
null
null
UTF-8
Python
false
false
384
py
import threading import time class MyThread(threading.Thread): def run(self): for i in range(3): time.sleep(1) msg = self.name + "@" + str(i) print(msg) def main(): for i in range(5): t = MyThread() t.start() if __name__ == '__main__': main() # 线程执...
[ "2101706902@qq.com" ]
2101706902@qq.com
19272508e23d6510681cf94702628ad535eae7e4
4581a822e8b41b0d8497a41745a45270f2336fb3
/palettes/grey_60.py
7993c773e76cb18cf874c47a144bae957bcf129b
[]
no_license
jw-git-examples/formatting-conflicts-limestone
415564ba269c2f953a54e02532f9ffde7db9d9e9
068240820eafa1f7aaf16c40273366dd25953dd7
refs/heads/master
2021-05-16T21:34:32.634146
2020-03-27T17:15:38
2020-03-27T17:31:03
250,478,023
0
0
null
null
null
null
UTF-8
Python
false
false
222
py
import common_color_config # average JetBrains, VScode and Sublime bg lightness; moderate contrast name = "Monochrome grey 60" background = (15, 0, 0) foreground = (75, 0, 0) shades = common_color_config.shades_lightness
[ "jan.warchol@gmail.com" ]
jan.warchol@gmail.com
fc791e81ad12dd63c10cdac9b0efc0ac8b0dd4ad
bc4656f6f74911f114626538294e0e275105c703
/tests/elftosb/test_elftosb_trustzone.py
bf3c4b9348c394655269166b2e2d3b44324beb3a
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
AdrianCano-01/spsdk
d8679ae58fc67c6369bceff4b31db658d9ad6bc4
4a31fb091f95fb035bc66241ee4e02dabb580072
refs/heads/master
2023-03-15T00:37:07.419191
2021-03-05T16:33:50
2021-03-05T16:33:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
682
py
#!/usr/bin/env python # -*- coding: UTF-8 -*- # # Copyright 2020 NXP # # SPDX-License-Identifier: BSD-3-Clause """Test Trustzone part of elftosb app.""" import os import filecmp from click.testing import CliRunner from spsdk.apps import elftosb from spsdk.utils.misc import use_working_directory def test_elftosb_tr...
[ "maria.wisniewska@nxp.com" ]
maria.wisniewska@nxp.com
a6cb9dc023f493c0851a89646cbed15ce944c1a3
5a1eff241b9e9c2504fcc6762899d90993dcec3a
/aliyun/service/aliVpc.py
d429c550918de73afa006336452843c07f6fcbb9
[]
no_license
P79N6A/AutoCmdb
58cfabae9c5955427a51c291056b1a6c1a224801
d0afe1ec1f7122b4ddc7d5dcb70627190e0a10e0
refs/heads/master
2020-04-13T04:42:54.346089
2018-12-24T08:27:34
2018-12-24T08:30:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,993
py
#!/usr/bin/env python # encoding: utf-8 ''' @author: jerry @contact: wangqiyuan@blhcn.com @file: aliVpc.py @time: 2018/11/27 10:27 @desc: ''' import json import os import wrapt from aliyunsdkcore import client from aliyunsdkvpc.request.v20160428 import DescribeVpcsRequest,DescribeVpcAttributeRequest,DescribeVRoutersReq...
[ "1209394579@qq.com" ]
1209394579@qq.com
7f669845c9630c1488d723f1b3b4f8048ef225c0
24f2deae78a3f5fa8b5b3a53baff5637e0ea80ff
/sinoera/dizhi/shen1.py
18752133a50d5ba9b805e03e92251ebc9e77f26e
[ "Apache-2.0" ]
permissive
sinotradition/sinoera
02b979a7dbca81594eed8862fa86671856b91e2e
1e93482c0a56a8917bc7ceebeef5b63b24ca3651
refs/heads/master
2021-01-10T03:20:20.231752
2015-12-14T15:13:42
2015-12-14T15:13:42
47,981,945
1
0
null
null
null
null
UTF-8
Python
false
false
221
py
#!/usr/bin/python #coding=utf-8 ''' @author: sheng @contact: sinotradition@gmail.com @copyright: License according to the project license. ''' NAME='shen1' SPELL='shēn' CN='申' SEQ='9' if __name__=='__main__': pass
[ "smlh.sheng@gmail.com" ]
smlh.sheng@gmail.com
aa294b37f93e998bccca23b52be56528fc121b23
0466a5dc950f4e89d8696329b89aa50246c7e7e3
/test/scipy.csd_test.py
81608a35e0096f0ff436ba9c461743f60e82817b
[]
no_license
HansInM36/ppcode
00bc94e6177b8110681127514517f277d7a7b07a
e5fe9de8ddf2991f2fe95bde38045ee02bbcfe10
refs/heads/master
2023-07-19T03:42:38.667878
2021-09-30T22:59:48
2021-09-30T22:59:48
313,005,222
2
0
null
null
null
null
UTF-8
Python
false
false
1,080
py
import sys sys.path.append('/scratch/ppcode/sowfa/src') sys.path.append('/scratch/ppcode') import numpy as np import scipy.signal import funcs import matplotlib.pyplot as plt N = int(1800) x = np.random.rand(N) # noise alpha = 1 w = np.random.rand(N) * alpha y = 0*x + 2 + w fs = 0.5 nperseg_ = 128 freq, Pxx = sc...
[ "xni001@gfi3104118.klientdrift.uib.no" ]
xni001@gfi3104118.klientdrift.uib.no
5b471db36bd8d290e580839e915b9b819f742552
6ba377d55d0442ca13cc3e577bfe698c7f51bf54
/NewType/Eddid_CRM/Commons/Modify_xls.py
99e77bdb756f2eb556d1fba4b52b031c524f35d9
[]
no_license
sevencrime/NewType
92fc2f3efe6386334b973b190f42b61db5a58194
125add626e485323d17745bbe629aaabd523fa62
refs/heads/master
2021-07-14T02:08:12.329876
2019-07-16T02:25:45
2019-07-16T02:25:45
170,979,665
0
0
null
null
null
null
UTF-8
Python
false
false
3,242
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Date : 2019-02-19 17:41:50 # @Author : Onedi (Onedi@qq.com) # @Link : ${link} # @Version : $Id$ from openpyxl import load_workbook from xlutils.copy import copy import os import random class Modifyxls(): def __init__(self, file_url): self.path = fil...
[ "onedi@qq.com" ]
onedi@qq.com
c2cc8a6c3e699641b2edecee5969456d7e6b7af4
9c1c714e1b2f0b8e2c16b55e5f9693a123953f20
/Data_Structures/Graph/Old/traversal.py
06cb9f51bb5bc9b72412b14ef01ea04147242dd4
[]
no_license
ekeilty17/Personal-Projects-In-Python
a20f3af44a07b2193b447d022384783f7a0f512a
f8787407cbf9df2a0aa690fb396d933add1520e8
refs/heads/main
2023-04-24T10:23:50.074366
2021-05-15T21:51:20
2021-05-15T21:51:20
367,668,843
1
0
null
null
null
null
UTF-8
Python
false
false
2,481
py
class queue: def __init__(self): self.store = [] #had to rename the queue functions def push(self, val): self.store += [val] #so that it works generally def pop(self): if self.store == []: return False r = self.store[0] self.store = self.store[1:...
[ "epkeilty@hotmail.com" ]
epkeilty@hotmail.com
8eb2319a38d264c5e042c431bd3dc55f5ff351d7
597c4f48332251552a602122bb3d325bc43a9d7f
/etc/lecture/basic/04_짝수_홀수_분리.py
eb46edb53b22a78efa763765aaa89d7e44752810
[]
no_license
Kyeongrok/python_algorithm
46de1909befc7b17766a57090a7036886361fd06
f0cdc221d7908f26572ae67b5c95b12ade007ccd
refs/heads/master
2023-07-11T03:23:05.782478
2023-06-22T06:32:31
2023-06-22T06:32:31
147,303,654
0
1
null
null
null
null
UTF-8
Python
false
false
198
py
list = [3, 8, 9, 5, 4, 2] odds = [] evens = [] for item in list: if(item % 2 == 1): odds.append(item) else: evens.append(item) print("odds:", odds) print("evens:", evens)
[ "kyeongrok.kim@okiconcession.com" ]
kyeongrok.kim@okiconcession.com
b52a6d334b834d5ace7fac96f8e438bb9291e5dd
4dade4f29881e99d8602144744e09ed870bd1034
/Python/other/comb_subst.py
5fa89bb08c76630fa6b512ac12ad6a846451c9c7
[]
no_license
alexbaryzhikov/codebase-archive
9795347c19a82c098983c6d0fe4959c3162ca868
c78c189002a26296a552f30078578cc0cf72e426
refs/heads/master
2023-02-19T21:54:21.310865
2021-01-11T15:47:50
2021-01-11T15:47:50
106,846,461
1
0
null
null
null
null
UTF-8
Python
false
false
273
py
s = '*//*/' subst = {'*':['у', 'при'], '/':['под', 'на']} for i in range(2**len(s)): res = [] for l in s: res.append(subst[l][i&1]) i >>= 1 print('(в е ({} А ({} К Р))) ({} ({} (к П А) Т) ({} Е Т)) !'.format(*res))
[ "aleksiarts@gmail.com" ]
aleksiarts@gmail.com
513b380ec66ddb8b8b42ff7f9aa214c12c9d44d1
414239752b2bfc4cb3a947474f2662af7588b6eb
/ protobufeditor/Tests/MarathonTests/TestCases/Compare/Cmp2Layoutst16.py
b5d14bc14002f6b3fbad04bc160b4097f5017e30
[]
no_license
dtracers/protobufeditor
8c7f9671c3b3a7d1cd3094321d030f6e6afcc7e8
b65d06bce93165eebf9798c533e2447a5992d384
refs/heads/master
2020-12-24T19:28:22.486207
2016-04-19T23:41:57
2016-04-19T23:41:57
56,340,712
0
0
null
null
null
null
UTF-8
Python
false
false
1,171
py
useFixture(default) def test(): from Modules import commonBits java_recorded_version = '1.6.0_0' if window('Protocol Buffer Editor'): select_menu('Utilities>>Compare Menu') click('*2') select('FileChooser', commonBits.sampleDir() + 'protoStoreSales3_Compare2.bin') click('Right') select('Tabbed...
[ "bm_tas@yahoo.com.au" ]
bm_tas@yahoo.com.au
0f3f2a9c607f24ff9189d94f2e4bae6806bf49ef
c0c25fff5f5d900e256cff9bf43fade47043ab2f
/cart/migrations/0001_initial.py
425cf8efe8fc147abc40ecf592ec2227d54aeb7e
[]
no_license
souleymanediallo/shoppy
fe6bed8467f4d4889659721ed7fa680f71737354
412b541bb6871da18fbd69e5ff26ff04cc2eb461
refs/heads/master
2020-07-28T05:22:23.723541
2019-09-19T13:31:05
2019-09-19T13:31:05
209,321,563
0
0
null
null
null
null
UTF-8
Python
false
false
1,390
py
# Generated by Django 2.2.5 on 2019-09-19 11:21 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('shop', '0001_initial'), ] operations = [ migrations.CreateModel( name='Cart...
[ "souleymanedialloo@yahoo.fr" ]
souleymanedialloo@yahoo.fr
2fcbfe067e5fed8f7fa898937c3e8959c749b6dd
3ff660941132bcaed5bfe309861843bd6657ee37
/LinkedList/Detect Loop.py
91810296a4d47fc50720253094bd946cf1664a5d
[]
no_license
mrunalhirve12/Interviews2
04295cebe1946de1f310857d7fbded11a02f8eb1
c48bd0a4e1112804da8bdf2d7e43ab0f2ef00469
refs/heads/master
2023-03-26T14:35:06.029701
2021-03-25T21:31:46
2021-03-25T21:31:46
351,593,537
0
0
null
null
null
null
UTF-8
Python
false
false
956
py
class Node: def __init__(self, data): self.data = data self.next = None class LinkedList: def __init__(self): self.head = None def push(self, data): new_node = Node(data) new_node.next = self.head self.head = new_node def detectLoop(self): slow_...
[ "mrunalhirve@gmail.com" ]
mrunalhirve@gmail.com
137b0162e9bbacef3d7f832e1e51873a2d849f2e
398009b075a10c0653bdf1c3013240b2de656e0d
/podcasts/admin.py
58b9e7bf3a809a6213c840faef4ba857f3ff0e55
[ "Apache-2.0" ]
permissive
AliHabes/pinecast
c930040c04bafca4ccbaa2be82e20600a8fdd9e8
1eae5bfc2ef6d466ccbe170fd829cbff98332833
refs/heads/master
2021-01-18T17:54:26.443918
2017-03-29T16:51:47
2017-03-29T16:51:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,923
py
from django.contrib import admin from .models import Podcast, PodcastEpisode, PodcastCategory from dashboard.models import Collaborator class PodcastCategoryInline(admin.TabularInline): model = PodcastCategory fk_name = 'podcast' readonly_fields = ('category', ) extra = 0 def get_fields(self, re...
[ "me@mattbasta.com" ]
me@mattbasta.com
016ae86aad6c6e19a54493723d905b567cc55a6d
c3082eb2adc43b311dd3c9ff16fd3ed9df85f266
/python/examples/numpy/vectorize_lambda.py
de6b5bc8ccf9ce4c16560706be315d3171913214
[]
no_license
szabgab/slides
78818c7138331b3ba9e221c81da3678a46efe9b3
63bba06678554db737602f2fbcd6510c36037e8a
refs/heads/main
2023-08-31T07:13:51.536711
2023-08-29T13:17:59
2023-08-29T13:17:59
122,212,527
87
69
null
2023-05-19T06:55:11
2018-02-20T14:57:03
Python
UTF-8
Python
false
false
231
py
import numpy as np animals = np.array(['Cow', 'Elephant', 'Snake', 'Camel', 'Praying Mantis']) print(animals) longer_than_5 = np.vectorize(lambda x: len(x) > 5) long_animals_bool = longer_than_5(animals) print(long_animals_bool)
[ "gabor@szabgab.com" ]
gabor@szabgab.com
efa7461ea64952459e66e1148200f28b73b950ac
bdcfab7fef115312988ef7d2bf4f375ab0723e51
/test/myself/TestFile.py
1a105c4d101ed1f5621b1671181223668f23ea7b
[]
no_license
ChenLaiHong/pythonBase
c2587bfa78fbbec225c364c297394131fa2f6f37
00bf1b404be8714f907c7750a60c052e83555b3e
refs/heads/master
2020-03-11T00:57:13.403866
2019-09-19T11:55:09
2019-09-19T11:55:09
129,676,746
3
0
null
null
null
null
UTF-8
Python
false
false
2,178
py
# 文件操作 # 打开文件 # "r"只读; # "w"只写,文件不存在会自动创建;指针在文件头 # "a"追加,文件不存在会自动创建,指针在文件末尾 # f = open("test.txt", "a", encoding="utf-8") # # # 读写操作 # # content = f.read() # # print(content) # # f.write("张三、李四") # # # 关闭文件 # f.close() # 操作图片,增加b是操作二进制 # fromFile = open("xx.jpg", "rb") # fromContent = fromFile.read() # print(fromConte...
[ "1185630400@qq.com" ]
1185630400@qq.com
082f1032d60a7484435d669338999b4da1b246a5
2a871d3f15bfd1b9d4cd962f681503eaf0a535cc
/sample_player/sample_walker.py
1ce5ba9d7a8f8e6089ea607cc3de637181bed503
[]
no_license
PFCM/generative-music
937046ff30eafc5db6cdbb361be6c7732fbebbd5
481b216f2ae795b0ac48a57b83e92fde082b34e9
refs/heads/master
2021-04-28T09:38:41.065310
2018-09-06T09:47:42
2018-09-06T09:47:42
122,046,080
1
0
null
null
null
null
UTF-8
Python
false
false
3,722
py
""" Load some embeddings and do a random walk through them. """ import itertools import os import sys import time from functools import partial from itertools import chain, islice from multiprocessing.dummy import Pool import librosa import networkx as nx import numpy as np import pyo from sklearn.neighbors import kne...
[ "pfcmathews@gmail.com" ]
pfcmathews@gmail.com
ce82c00ac5d6fb5049cfe4eeb9fcf1d8cbf86f55
99f02678101b1790a982301824aa14ed0140c21b
/backend/hawaii_hop_27263/wsgi.py
35ac4077780e887db0b65c0dbc572bf4d2bbb114
[]
no_license
crowdbotics-apps/hawaii-hop-27263
5128b9057e952375c421e4347ed9b280ffefe127
7ae5d451ee9217011921e2874d01e93f1cc07017
refs/heads/master
2023-05-03T20:17:25.616012
2021-05-22T22:11:16
2021-05-22T22:11:16
369,914,980
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
""" WSGI config for hawaii_hop_27263 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/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJA...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
ba8be02377db6cac60f7f9ce5c89b1fcf36d52d4
0b9470f9a839d87b21fd575421b5223afb4573c6
/04day/09-保护对象方法.py
b6a8997e6e6a1ba485c6cbd32ab9f59a0547bc71
[]
no_license
ZiHaoYa/1808
351356b4fa920a5075899c8abdce24a61502097f
891582547fef4c6fd4fd4132da033e48e069901f
refs/heads/master
2020-03-30T06:20:46.898840
2018-09-29T08:56:53
2018-09-29T08:56:53
147,603,769
0
0
null
null
null
null
UTF-8
Python
false
false
295
py
class Tencent(): def __vip(self):#最核心的方法 私有方法 print("开会员成功") def open(self,money):#判断钱够不够 if money > 10: self.__vip() else: print("QQ币不足") qq = Tencent() qq.open(12) #qq.vip()
[ "qingyuan@geekniu.com" ]
qingyuan@geekniu.com
44ddb5ba007d7311a9825af8b5f62b3c330df6df
4d2238210813c1581bf44f64d8a63196f75d2df4
/craking/exercise1/listPairToGetSum.py
a1b6f9664ea3f6108ac27c44ed6d15581fd24d99
[]
no_license
wwtang/code02
b1600d34907404c81fa523cfdaa74db0021b8bb3
9f03dda7b339d8c310c8a735fc4f6d795b153801
refs/heads/master
2020-12-24T14:10:33.738734
2012-12-14T04:24:47
2012-12-14T04:24:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,686
py
""" Given an array of integers, list out all elements that add up to a given sum X with time complexity O(nlgn) A = {6,4,5,7,9,1,2} Sum = 10 Then the pairs are - {6,4} , {9,1} Two methods: 1, sort the array, two pointer begin from the start and the end sorting takes O(nlgn), iteration takes o(n) Overall Nlg(n) 2. ...
[ "andytang1994@gmail.com" ]
andytang1994@gmail.com
941580ec7caf0ea5b4cc0b5f27f63d9e1b1c79f1
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/webpubsub/azure-messaging-webpubsubservice/samples/integration_sample.py
20680a5da983cf49176db9486613de8c1233f116
[ "LicenseRef-scancode-generic-cla", "MIT", "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
4,634
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. # ---------------------------------------------------------------------...
[ "noreply@github.com" ]
Azure.noreply@github.com
b833d9eb4d791fe08f8cb7fbedc1ee7f77c983ce
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/Rn3g3hokznLu8ZtDP_4.py
9a6e5bf2404857405d8c95ab030f03a3b3675f35
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
843
py
""" Write a function which increments a string to create a new string. * **If the string ends with a number** , the number should be incremented by `1`. * **If the string doesn't end with a number** , `1` should be **added** to the new string. * **If the number has leading zeros** , the amount of digits **...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
710ddac897877db3f60b5650a5bbc440c9ed3017
4577d8169613b1620d70e3c2f50b6f36e6c46993
/students/1803699/homework03/program03.py
fcf92797b2788e70eb83311b15b208da45c244b8
[]
no_license
Fondamenti18/fondamenti-di-programmazione
cbaf31810a17b5bd2afaa430c4bf85d05b597bf0
031ec9761acb1a425fcc4a18b07884b45154516b
refs/heads/master
2020-03-24T03:25:58.222060
2018-08-01T17:52:06
2018-08-01T17:52:06
142,419,241
0
0
null
null
null
null
UTF-8
Python
false
false
2,064
py
from immagini import * def ricolora(fname, lista, fnameout): img=load(fname) coppie=[] j=len(img[0]) k=len(img) for quadrupla in lista: areac=quadrupla[2] bordoc=quadrupla[3] baselist=set() nextlist=set() checkedlist=set() arealist=se...
[ "a.sterbini@gmail.com" ]
a.sterbini@gmail.com
5f0cfa1e7c2414a3499568a58470b9e2dcb72c07
e9233367116ace8aac3218abcb8480ac236ac42f
/build/motor_arduino/cmake/motor_arduino-genmsg-context.py
407947db99afa267b28a1e1dd203ffb9ad0fd72f
[]
no_license
zhangzhongwd/optical_waveguide_calibration
2c695592d792b26aa8a3218faa86adbff478cd3b
431d7e0e74885030648c17030f197efa3909a48c
refs/heads/master
2020-11-29T08:19:12.000041
2019-12-25T08:14:20
2019-12-25T08:14:20
230,065,827
0
1
null
null
null
null
UTF-8
Python
false
false
618
py
# generated from genmsg/cmake/pkg-genmsg.context.in messages_str = "/home/zhong/Sensor/src/motor_arduino/msg/Stepper.msg;/home/zhong/Sensor/src/motor_arduino/msg/Limit.msg" services_str = "" pkg_name = "motor_arduino" dependencies_str = "std_msgs" langs = "gencpp;geneus;genlisp;gennodejs;genpy" dep_include_paths_str =...
[ "zhangzhongwd@gmail.com" ]
zhangzhongwd@gmail.com
22ff80f135fb0d20d7d0387a072fb397f970347f
165538de7879dded2b9bd0694f3134b36e923b84
/Python3/1624-Largest-Substring-Between-Two-Equal-Characters/soln.py
ce3fd3b1970776588f3cc8f42a2831594c716f51
[ "MIT" ]
permissive
zhangyaqi1989/LeetCode-Solutions
6f710153ec828e6d9e58a30ae8009f754cae4be6
2655a1ffc8678ad1de6c24295071308a18c5dc6e
refs/heads/master
2023-01-23T16:23:55.483396
2020-12-06T17:35:09
2020-12-06T17:35:09
270,014,622
5
2
null
null
null
null
UTF-8
Python
false
false
393
py
class Solution: def maxLengthBetweenEqualCharacters(self, s: str) -> int: last_idxes = [-1] * 26 ans = -1 for i, ch in enumerate(s): val = ord(ch) - ord('a') if last_idxes[val] != -1: temp = i - last_idxes[val] - 1 ans = max(ans, temp) ...
[ "zhang623@wisc.edu" ]
zhang623@wisc.edu
ea169c925512954473486672a50a844bef88ff5a
77d808f47101202db6cec5a9eee6b38c55f73fde
/17. EXERCISE - Objects and Classes/09.py
f69eb464cd55efefcd817a0f4283f308600429d0
[]
no_license
dimDamyanov/Py-Fundamentals
2ce5591fbfebf8d95c832e3f7109b24e53dd721b
5ccae5bfa456829d97e8773ee9f5eaa5f5051765
refs/heads/main
2023-01-29T22:21:07.788061
2020-12-13T08:11:04
2020-12-13T08:11:04
317,682,227
1
0
null
null
null
null
UTF-8
Python
false
false
607
py
class Movie: __watched_movies = 0 def __init__(self, name, director): self.name = name self.director = director self.watched = False def change_name(self, new_name): self.name = new_name def change_director(self, new_director): self.director = new_director ...
[ "dim.damianov@gmail.com" ]
dim.damianov@gmail.com
3f0202e1af943b8bbda704c6e356788f663611fd
1d892928c70ee9ddf66f2a37a8e083d2632c6e38
/nova/ipv6/api.py
d74e6cd370bb1cfe071d4498e8ccdf7d772c799f
[ "Apache-2.0" ]
permissive
usc-isi/essex-baremetal-support
74196c3f1332ee3cdeba9c263faff0ac0567d3cf
a77daf8ef56cf41e38de36621eda25ed3f180156
refs/heads/master
2021-05-19T03:12:11.929550
2020-07-24T14:15:26
2020-07-24T14:15:26
4,702,421
0
1
Apache-2.0
2020-07-24T14:15:27
2012-06-18T15:19:41
null
UTF-8
Python
false
false
1,342
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright (c) 2011 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...
[ "dkang@isi.edu" ]
dkang@isi.edu
f2073f68965e7070362240f4fd2d08cb653f4697
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/398/usersdata/281/81356/submittedfiles/av1_programa2.py
f84881738dd63b159a8897f7eaba31b5aa5a48b2
[]
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
420
py
# -*- coding: utf-8 -*- import math #COMECE SEU CÓDIGO ABAIXO DESTA LINHA a=int(input(':')) b=int(input(':')) c=int(input(':')) d=int(input(':')) e=int(input(':')) f=int(input(':')) if a>0 and a<=13 and b>0 and b<=13 and c>0 and c<=13 and d>0 and d<=13: if a<b and b<c and c<d and d<e and e<f: p...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
65d7292164c9a3e0351ff48dcb3a057b8dd2290d
792ae5d2a5c17af4f2ccfa582e3aeec569a6809a
/42. Trapping Rain Water.py
f35ce886c90306b5cd3f91bc4258b415545fef8e
[]
no_license
ADebut/Leetcode
396b8b95ad5b5e623db2839bbfdec861c4c1731f
7333d481e00e8c1bc5b827d1d4ccd6e4d291abd7
refs/heads/master
2020-07-05T18:48:27.504540
2019-10-28T10:51:43
2019-10-28T10:51:43
202,735,925
0
0
null
null
null
null
UTF-8
Python
false
false
609
py
class Solution: def trap(self, height: List[int]) -> int: volume = 0 max_left = [0 for i in range(len(height))] max_right = [0 for i in range(len(height))] for i in range(1, len(height) - 1): max_left[i] = max(max_left[i - 1], height[i - 1]) for i in range(len(hei...
[ "chen758@usc.edu" ]
chen758@usc.edu
13f4510cf7c53943658d0e717453ef04820570b8
9ae6ce54bf9a2a86201961fdbd5e7b0ec913ff56
/google/ads/googleads/v11/resources/types/customer_user_access.py
4ef6dbad73be7b9adc4eff12bb1be5952d52fbc8
[ "Apache-2.0" ]
permissive
GerhardusM/google-ads-python
73b275a06e5401e6b951a6cd99af98c247e34aa3
676ac5fcb5bec0d9b5897f4c950049dac5647555
refs/heads/master
2022-07-06T19:05:50.932553
2022-06-17T20:41:17
2022-06-17T20:41:17
207,535,443
0
0
Apache-2.0
2019-09-10T10:58:55
2019-09-10T10:58:55
null
UTF-8
Python
false
false
2,730
py
# -*- coding: utf-8 -*- # Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
GerhardusM.noreply@github.com
dab29b7fb99b4053d194a299747a2da05ff8aaf5
ea260e2d501eda7f04705dbe22a9263e1ffb99c9
/lambda_function.py
ec573d04b0d8c88a2a2c8f3aa63ba9b9ca9897f0
[]
no_license
PeterMitrano/my_desk
d4cd5edf3e054e9d51da4b0d6b6c16e0f088caa9
dfd9816acb7fdb1dd9637b730fa738e2ffac1e8c
refs/heads/master
2020-07-23T21:08:15.349369
2017-08-25T21:20:30
2017-08-25T21:20:30
66,438,995
1
0
null
null
null
null
UTF-8
Python
false
false
2,832
py
from collections import namedtuple import logging import requests LOGGER = 'my_desk' APP_ID = 'amzn1.ask.skill.999f5e91-7264-4660-b397-5efc340a51f9' def send_command(command_endpoint): result = namedtuple('Result', ['err', 'error_msg', 'err_speech']) if not command_endpoint: return result(True, 'comm...
[ "mitranopeter@gmail.com" ]
mitranopeter@gmail.com
b7e46c5a94d311113b0ba3112f69ff066a02906b
b76615ff745c6d66803506251c3d4109faf50802
/pyobjc-framework-AVFoundation/PyObjCTest/test_avoutputsettingsassistant.py
94f07c16b0ffb29979c57ddd8ffc0e0cc3789951
[ "MIT" ]
permissive
danchr/pyobjc-git
6ef17e472f54251e283a0801ce29e9eff9c20ac0
62b787fddeb381184043c7ff136f1c480755ab69
refs/heads/master
2021-01-04T12:24:31.581750
2020-02-02T20:43:02
2020-02-02T20:43:02
240,537,392
0
0
null
null
null
null
UTF-8
Python
false
false
929
py
from PyObjCTools.TestSupport import * import AVFoundation class TestAVOutputSettingsAssistant(TestCase): @min_os_level("10.9") def testConstants10_9(self): self.assertIsInstance(AVFoundation.AVOutputSettingsPreset640x480, unicode) self.assertIsInstance(AVFoundation.AVOutputSettingsPreset960x5...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
a1025224fff76aee836ecf09e5384f9e919891e0
5336e77ea7dc15de19e8e0722549d0fe35c88699
/auth_path/services_serializer.py
ca6ea65450602c5f22940f7caf8d4cc68258e090
[]
no_license
xal9wiii4ik/django-crm
37d16d6cbec3bda3e7751144d9f0466c5d8897d8
ba0858a47ef8ab91a9d5a26ec5328ecaadfa1034
refs/heads/master
2023-03-30T20:17:47.265034
2021-04-08T21:53:44
2021-04-08T21:53:44
323,412,475
0
0
null
null
null
null
UTF-8
Python
false
false
1,875
py
from django.contrib.auth.hashers import make_password from django.contrib.auth.models import User from rest_framework import serializers def verification_password(value: str) -> str: """Check password""" if len(value) >= 8: if any((c in set('QAZWSXEDCRFVTGBYHNUJMIKOLP')) for c in value): ...
[ "xal9wIII4ik@yandex.ru" ]
xal9wIII4ik@yandex.ru
3586ccadfb58facf6e41abb02ed1e53dd12448bd
d496f743372562ddeac41fb40619d725089d538f
/docker_box/urls.py
7b2c8def66410af3dd27c133dbda786ad5bcd5a6
[ "MIT" ]
permissive
druuu/docker-box
18391919498e59631509e1203a00a0e76fb46e5d
36619f91fbc8ac356b55e05d7301e8c27e015117
refs/heads/master
2021-01-21T11:27:11.003086
2018-03-10T18:52:12
2018-03-10T18:52:12
83,549,111
0
0
null
2017-03-01T11:53:16
2017-03-01T11:53:16
null
UTF-8
Python
false
false
199
py
from django.conf.urls import url, include from django.contrib import admin urlpatterns = [ url(r'^admin/', admin.site.urls), url(r'^', include('dockit.urls', namespace='docker_box')), ]
[ "ashwin@micropyramid.com" ]
ashwin@micropyramid.com
329fc3d0591d6575ee97725f1cab29d392776153
0097d779d4d7551569625f6cca16d8bb8e935712
/python/password.py
ee22eba4d579bbbb78367e46753c0cb74931199c
[]
no_license
kamesh051/django_tutorial-master
48b710e3b7382f6204a696187bc1e4e6f20c6a04
0ff99f1db6d73e569ec0aa8539c73118310acee1
refs/heads/master
2020-03-27T19:21:06.471604
2018-09-02T05:13:06
2018-09-02T05:13:06
146,983,049
0
0
null
null
null
null
UTF-8
Python
false
false
1,790
py
import random import sys import string def input(help_text="Do you want me to help you with a password? \n"): return (str(raw_input(help_text))) def main(): a = [] while True: x = input() if x == "yes": while True: z = input("How many characters, between 3 and 50, do you want it to have? \n") if not...
[ "kameshgithub@gmail.com" ]
kameshgithub@gmail.com
15a68d03a1bb8812e543e6eac440ae430cd48763
a2062bd70adf7c64d39401211d4597d010afdad3
/21.05.20/Pandas02_02_FunEx07_송예지.py
e4b0d61eeb4fb7494fdb2b6054fd7128f7695800
[]
no_license
yeijSong/LearningPandas
ebf3f3f2416bb3b7254ebf86ede8ce5f696bb1f9
6e79a54a4412455d9729412551a64a7e86534ced
refs/heads/main
2023-05-24T10:38:41.514011
2021-06-21T13:25:28
2021-06-21T13:25:28
378,843,876
0
0
null
null
null
null
UTF-8
Python
false
false
770
py
''' # 매개변수에 초기값 미리 설정하기 say_myself 함수는 3개의 매개변수를 받아서 마지막 인수인 man이 True이면 남자, False면 여자 출력 default값이 man이므로 아무 것도 적지 않으면 man으로 인식 ''' def say_myself(name,old,man=True): print('나의 이름은 %s입니다.'%name) print('나이는 %d살입니다.'%old) if man: print('남자입니다') else: print('여자입니다') say_myself('소나무',27) p...
[ "noreply@github.com" ]
yeijSong.noreply@github.com
f8671f2e8b5bf4e1f21484e59b893f0ce9fb25ba
b06a317fd3d1d0f27d8d14731d2d84a1963d98eb
/commons/c2cgeoportal_commons/alembic/main/6a412d9437b1_rename_serverogc_to_ogcserver.py
d82ee0bd1f3fe67745fb033bdd9ed1952959a3f3
[ "BSD-2-Clause-Views" ]
permissive
samupl/c2cgeoportal
2844be2376b0598307a4c3e0732aa4e7d196d3be
63a27ceacb47cc1db00d853b507ee3d568320a48
refs/heads/master
2020-03-30T00:58:58.166112
2018-09-26T17:42:37
2018-09-26T17:42:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,441
py
# -*- coding: utf-8 -*- # Copyright (c) 2016-2018, Camptocamp SA # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, this #...
[ "stephane.brunner@camptocamp.com" ]
stephane.brunner@camptocamp.com
17f5cdfad8ea3aa5b4807f8d00ed3fd9be67775e
0adb68bbf576340c8ba1d9d3c07320ab3bfdb95e
/regexlib/2021-5-15/python_re2_test_file/regexlib_3424.py
88dbd13df9a356348055fff7129a8f2730844f25
[ "MIT" ]
permissive
agentjacker/ReDoS-Benchmarks
c7d6633a3b77d9e29e0ee2db98d5dfb60cde91c6
f5b5094d835649e957bf3fec6b8bd4f6efdb35fc
refs/heads/main
2023-05-10T13:57:48.491045
2021-05-21T11:19:39
2021-05-21T11:19:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
559
py
# 3424 # (\s*<(\w*)\s+(((\w*)(=["']?)([\w\W\d]*?)["']?)+)\s*/?>) # EXPONENT # nums:5 # EXPONENT AttackString:"< "+"0="*16+"!_1_EOA(i or ii)" import re2 as re from time import perf_counter regex = """(\s*<(\w*)\s+(((\w*)(=["']?)([\w\W\d]*?)["']?)+)\s*/?>)""" REGEX = re.compile(regex) for i in range(0, 150000): ATT...
[ "liyt@ios.ac.cn" ]
liyt@ios.ac.cn
7940b6f81821c86a3a9703791694818e2cf56511
c7d08810eaa13882c65c2f2cf6b4eaa68239910b
/resume_autofill_site/resume_autofill_site/settings.py
ceb958789c264fa96a9cb770246abb973b5d0109
[]
no_license
thayton/resume-auto-fill
cbcf9b9a81ef7ed7b28c51bebdf8b863bcab7e2d
a5bccb0c422b4d8ce36f15af29ef70847cf24c48
refs/heads/master
2021-01-24T22:13:34.514409
2014-11-03T20:16:51
2014-11-03T20:16:51
24,721,068
3
0
null
null
null
null
UTF-8
Python
false
false
2,243
py
""" Django settings for resume_autofill_site project. For more information on this file, see https://docs.djangoproject.com/en/1.7/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.7/ref/settings/ """ # Build paths inside the project like this: os.path.join(BASE...
[ "thayton@neekanee.com" ]
thayton@neekanee.com
3ad723a11f004fabb06e1714eac83026827275b7
c61310b3da23494fdcd2eae31b26a7c97dbab8a8
/bl2_save_edit.py
8ac96670f77ccdc7e2bdd5c9ff7fd46eaa408255
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
Riroaki/borderlands2
d64971ed73b6bf593c12435e4c503520d916849d
f400305e38445fc944d49f6fa8a0588eea25a86c
refs/heads/master
2022-03-24T11:41:30.670307
2019-11-16T18:15:05
2019-11-16T18:15:05
262,360,555
1
0
null
2020-05-08T15:32:01
2020-05-08T15:32:01
null
UTF-8
Python
false
false
673
py
#!/usr/bin/env python3 import sys import traceback from borderlands.bl2 import AppBL2 if __name__ == "__main__": try: app = AppBL2(sys.argv[1:]) app.run() except Exception as e: print('Something went wrong, but please ensure you have the latest', file=sys.stderr) print('version...
[ "pez@apocalyptech.com" ]
pez@apocalyptech.com
865ca12781577b88d3a2bea93f25428c522a73ce
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/86/usersdata/160/53060/submittedfiles/pico.py
2709fb36f0f75f68fe6937ef2397ffef9447892c
[]
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
481
py
# -*- coding: utf-8 -*- def pico(n): #CONTINUE... cont=0 for i in range(0,len(n)-1,1): if n[i]<n[i] and n[i]<n[i]: cont=cont+1 if cont!=0: return(True) else: return(False) n = int(input('Digite a quantidade de elementos da lista: ')) #CONTINUE... a=[] ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
c1721a80983a02b687c9b844a9bb852d595586f8
52b5773617a1b972a905de4d692540d26ff74926
/.history/coderByte_20200518204427.py
3e1b5f8da2ca300d3e716d8bb95cc003dbd1d538
[]
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
479
py
def QuestionsMarks(str): numbers = [] # others = [] for char in str: if char.isdigit(): numbers.append(int(char)) elif char == '?': numbers.append(char) for i in range(len(numbers)): print(i) print(numbers[i]) if numbers[i] = ...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
49fcbd8414edd891f3a5061eeebfcc6931da6384
a667d52d9be08aab9f101952dfede0e29a43b012
/src/apps/escuela/forms.py
ae8961a84de3e12b386ae7f35317ad2fbc91c7a8
[]
no_license
Epatzan/app-suni
50b04bbf58417e8cfba77a5e00c2d6a5a6537c16
b7f9eaf62942797cd4f222ea2fb82348304aeaf4
refs/heads/master
2023-08-21T13:15:44.826842
2018-03-15T14:00:30
2018-03-15T14:00:30
123,631,541
0
0
null
2018-03-02T21:13:55
2018-03-02T21:13:55
null
UTF-8
Python
false
false
5,314
py
from django import forms from datetime import date from django.core.urlresolvers import reverse_lazy from django.forms.models import inlineformset_factory from django.forms.formsets import BaseFormSet, formset_factory from apps.escuela.models import ( Escuela, EscContacto, EscContactoTelefono, EscContactoMail,...
[ "jinchuika@gmail.com" ]
jinchuika@gmail.com
292d5b2771a74f723aa8855a241c3ca6fec6014f
d4432b0c95e5a25c489f825ba0f44e0ecd958669
/lessons stormnet/lesson3/incapculation.py
1ce2277132010aa31e15d8a698217dadd0fd5c79
[]
no_license
romanannaev/python
1c250c425224ab824492e4893edf786e35b14369
e2a9015bfceeac940936758f84f0dfbf67897f1d
refs/heads/master
2021-07-05T23:39:05.480997
2019-11-13T10:44:00
2019-11-13T10:44:00
175,044,359
2
0
null
2020-09-04T20:42:14
2019-03-11T16:50:24
CSS
UTF-8
Python
false
false
280
py
class Cat: def __init__(self, name, female): self.__name = name self.female = female def __get_mur(self): print('mur-mur-mur') mursik = Cat('mursik', 'kot') # print(mursik.__name) print(mursik.female) # mursik.__get_mur() mursik._Cat__get_mur()
[ "romanannaev1992@gmail.com" ]
romanannaev1992@gmail.com
249b5bd914c4442573b5cc09828915b2858e7e59
759d0ef07c5473dfdef37454e34259771d16deab
/GJMorph/auxFuncs.py
f074ad51570cc1232767f0014f87d6980ac556ef
[ "CC-BY-4.0", "LicenseRef-scancode-public-domain" ]
permissive
wachtlerlab/GJMorph
3442ba85c08303238854f64b641c80197f7eb55f
a158e825ae3c20f94e1a6b12b2578aa1b3f42a8b
refs/heads/master
2020-03-21T15:57:52.466404
2019-08-05T18:41:26
2019-08-05T18:41:26
138,742,834
0
0
null
null
null
null
UTF-8
Python
false
false
4,867
py
import numpy as np # ********************************************************************************************************************** def resampleSWC(swcFile, resampleLength, mask=None, swcData=None, calculateBranchLens=False): ''' Resample the SWC points to place points at every resamplelength along th...
[ "ajkumaraswamy@tutamail.com" ]
ajkumaraswamy@tutamail.com
13b5621657465c1700dcd523a472a763187d94a1
e60487a8f5aad5aab16e671dcd00f0e64379961b
/project/myVacations/vacay/migrations/0002_auto_20191218_2308.py
aef339aafb17c3650a5c1f96f30cfd82d74f60dd
[]
no_license
reenadangi/python
4fde31737e5745bc5650d015e3fa4354ce9e87a9
568221ba417dda3be7f2ef1d2f393a7dea6ccb74
refs/heads/master
2021-08-18T08:25:40.774877
2021-03-27T22:20:17
2021-03-27T22:20:17
247,536,946
0
0
null
null
null
null
UTF-8
Python
false
false
370
py
# Generated by Django 2.2.7 on 2019-12-19 05:08 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('vacay', '0001_initial'), ] operations = [ migrations.AlterField( model_name='destination', name='album_title', ...
[ "reena.dangi@gmail.com" ]
reena.dangi@gmail.com
eb590e4c84b9786a061331130dccde977b2d21b1
fff54b01b46cef0bbc70a6469c88c01c82af5a57
/programming/language/python3/python3-sip/actions.py
c8d1ffbb8fe07a364656fc2c7d076ef632a8a3fd
[]
no_license
LimeLinux/Packages
e51deae6c0d1406e31f06caa5aaa7749466bef0b
d492e075d8b051df68b98c315ad0628e33a8fac4
refs/heads/master
2021-01-11T12:37:22.150638
2018-08-30T18:24:32
2018-08-30T18:24:32
77,054,292
5
19
null
2018-02-02T17:24:06
2016-12-21T13:33:45
Python
UTF-8
Python
false
false
737
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/licenses/gpl.txt from pisi.actionsapi import shelltools from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import pythonmodules from pi...
[ "ergunsalman@hotmail.com" ]
ergunsalman@hotmail.com
e641aa7c71cf66fa224790c752cd052fd1758d64
aee4c0839933a11d8ce3c485d06595202dd3cabd
/keras/utils/timed_threads.py
794fd243c42b7d426baedaf569d92cbf771be5b0
[ "Apache-2.0" ]
permissive
xiaoheilong3112/keras
fc3025a2f14838bf8416b2faed766cb43da62f9b
8d5e9b2163ec9b7d9f70920d1c7992b6df6820ec
refs/heads/master
2023-08-07T18:23:36.804563
2023-07-25T19:16:12
2023-07-25T19:16:48
137,238,629
1
0
Apache-2.0
2023-07-26T05:22:44
2018-06-13T15:59:45
Python
UTF-8
Python
false
false
5,379
py
# Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
2eca7755846fedb58b2c1bacaa67edd161a96c9b
ac0894b411507bfd027696b6bf11b5e384ed68fc
/need-to-do/python3------download-problem--of--leetcode/845.longest-mountain-in-array.py
c66780c77e698c67fa30867bea3b0d5858a98fac
[]
no_license
mkzpd/leetcode-solution
1d19554628c34c74012fa52582c225e6dccb345c
60c9b218683bcdee86477a910c58ec702185c726
refs/heads/master
2020-05-31T05:56:48.985529
2019-09-20T09:10:49
2019-09-20T09:10:49
190,128,627
0
0
null
null
null
null
UTF-8
Python
false
false
1,188
py
# # @lc app=leetcode id=845 lang=python3 # # [845] Longest Mountain in Array # # https://leetcode.com/problems/longest-mountain-in-array/description/ # # algorithms # Medium (34.97%) # Total Accepted: 21.6K # Total Submissions: 61.6K # Testcase Example: '[2,1,4,7,3,2,5]' # # Let's call any (contiguous) subarray B (...
[ "sodgso262@gmail.com" ]
sodgso262@gmail.com
5a1176e053d3166f99224f9c3611db49c2d3ac53
d2821e3679389796d65b423ef10a8ce42a419d56
/exampleproject/views.py
1e40dad12f629d2fa64569ab2109cdee9ba6a59f
[ "BSD-3-Clause" ]
permissive
zerc/django_molder
e47750108213bbfec08cf6eb40eb69db6564e1ba
23d0672eaa60b7bdace0252136bbf8ad9c7631ea
refs/heads/master
2023-01-06T17:55:49.748944
2015-07-04T18:44:23
2015-07-04T18:44:23
35,910,107
0
0
BSD-3-Clause
2022-12-26T19:44:00
2015-05-19T21:41:41
Python
UTF-8
Python
false
false
348
py
# coding: utf-8 from django.views.generic.base import TemplateView from forms import FormOne class IndexPage(TemplateView): template_name = 'index.html' def get_context_data(self, *args, **kwargs): context = super(IndexPage, self).get_context_data(*args, **kwargs) context['form_one'] = FormO...
[ "zero13cool@yandex.ru" ]
zero13cool@yandex.ru
0793c4f5593285e6f03140c10385fccb1b2d9643
62766deea531d0b89b86a53e6f51b94fd2a88f23
/AtCoder/ABC/014/b.py
fb73f462150a40d9afa30384818cff98f81943e2
[ "MIT" ]
permissive
ttyskg/ProgrammingCompetition
53620b07317ae5cbd1ee06272e573e3682ac15f3
885c5a1be228ae7ba9f00b3d63521c9ff7d21608
refs/heads/master
2023-08-18T08:38:33.068168
2023-08-15T04:28:13
2023-08-15T04:28:13
183,425,786
0
0
MIT
2023-08-15T04:28:14
2019-04-25T12:02:53
Python
UTF-8
Python
false
false
292
py
import sys def main(): input = sys.stdin.readline n, X = map(int, input().split()) A = list(map(int, input().split()))[::-1] ans = 0 for i, a in enumerate(A): if X & 2**(n-1-i): ans += a return ans if __name__ == '__main__': print(main())
[ "tatsu100311@gmail.com" ]
tatsu100311@gmail.com
4e33a21ad3f9248831981123ced61cd4eff6d9b8
f57907e356079871a8b6d9292dfdb99572098f15
/DM_int_report_drw/hierarchicalClustering.py
25f33b0fa60de38268260bfb0c6c5029cfce9558
[]
no_license
drwiner/WesternCorpus
421c6b7e2d142b9d46eacd59062e42c403e33be7
aaac96260c9e976ac030bf38c038a36d48e994ff
refs/heads/master
2021-01-11T16:56:56.664567
2017-11-15T00:49:36
2017-11-15T00:49:36
79,701,062
0
0
null
null
null
null
UTF-8
Python
false
false
3,955
py
import numpy as np from itertools import product from clockdeco import clock import math # import collections # NamedPoint = collections.namedtuple('NamedPoint', ['id', 'point']) class NamedPoint: def __init__(self, int_id, point): self.int_id = int_id self.point = point def __hash__(self): return hash(self....
[ "drwiner131@gmail.com" ]
drwiner131@gmail.com
bc3b56a85820774d1ac5eb6f3e9241bd004eb841
693567f042c6bd93ecdda41cb5db81c55ccf3158
/List/reverce a list.py
a12c0980bd0bc7958284b52cdbd7adfc033583fc
[]
no_license
supriyo-pal/Python-Practice
5806e0045ebfeb04856246a245430e2ab7921ba9
2025369f0d23d603ad27eaff149500137e98dbcf
refs/heads/main
2023-01-25T05:31:58.404283
2020-12-09T19:08:22
2020-12-09T19:08:22
317,021,138
0
0
null
null
null
null
UTF-8
Python
false
false
211
py
# -*- coding: utf-8 -*- """ Created on Wed Dec 2 23:52:19 2020 @author: Supriyo """ list1=[87,56,89,65,45,23] def Reverce(list1): return [ele for ele in reversed(list1)] print(Reverce(list1))
[ "noreply@github.com" ]
supriyo-pal.noreply@github.com
e56e255fb03e55b4a999dc58e4c69021594129ee
2fd4de2f0820f186c735f0619bce2a0318bbfc38
/examples/demo.py
d97e0a9e2b393666a9c4f11e75bd4607ebbe1e27
[ "MIT" ]
permissive
SunYanCN/AppZoo
e90b778fefdaf1a440c3fd40d078b5396e4e3f06
91b04cc75fcc5f70ae5819e98233ea9146c1f001
refs/heads/master
2023-08-22T05:41:22.175291
2021-10-12T13:37:21
2021-10-12T13:37:21
359,024,301
0
0
MIT
2021-09-05T12:24:47
2021-04-18T02:12:40
Python
UTF-8
Python
false
false
1,424
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Project : tql-App. # @File : demo # @Time : 2019-11-13 15:44 # @Author : yuanjie # @Email : yuanjie@xiaomi.com # @Software : PyCharm # @Description : import asyncio from datetime import datetime, time, timedelta from sanic import...
[ "313303303@qq.com" ]
313303303@qq.com
6282b45debae15af7a0b552e1dc0444245d5ceea
4659f8758c5204ff27a14dd4352dc63f564c1136
/my_library/db/models/association.py
fe2af630bbbd484a70bb7278b14199ee2e95ada1
[ "MIT" ]
permissive
mplanchard/webservice_template
71823dcd2b98fa93aa2145011ee5a7b820c25f77
fe3e865909d56d8c010f55e08dc6faf6bf4f8ef2
refs/heads/master
2021-03-27T11:12:06.470951
2018-03-29T02:34:51
2018-03-29T02:34:51
123,056,823
0
0
null
null
null
null
UTF-8
Python
false
false
350
py
"""Association tables.""" from __future__ import absolute_import, unicode_literals from sqlalchemy import Column, Integer, ForeignKey, Table from .base import Base books_authors = Table( 'books_authors', Base.metadata, Column('author_id', Integer, ForeignKey('authors.id')), Column('book_id', Intege...
[ "msplanchard@gmail.com" ]
msplanchard@gmail.com
60b2bbc2b50ed814b1dc6531018652e7245713ea
a57207602b4da08b0433b1b513c25788476460a1
/bac_tasks/pipelines/annotation.py
2774c9388a75ffc343c636eaef3ca6f1864bdcd9
[]
no_license
Antonior26/BaC
2e8a1bab08a6e70eb9390947850db2a0c5bca81f
53cf4dcdbc4e56157dbf9e661bcec71cd89d0289
refs/heads/master
2020-04-17T15:42:29.871904
2019-12-15T18:04:48
2019-12-15T18:04:48
166,709,586
1
0
null
2020-04-09T20:55:53
2019-01-20T21:08:13
Python
UTF-8
Python
false
false
2,940
py
import json import os from django.conf import settings from bac_tasks.pipelines.base import JobFailedException, PipelineComponent class Annotation(PipelineComponent): _name = 'ANNOTATION' _workflow = { "stages": [ {"name": "call_features_CDS_glimmer3", "glimmer...
[ "antonio.rueda-martin@genomicsengland.co.uk" ]
antonio.rueda-martin@genomicsengland.co.uk
b927a00f944c15635399243be39c7fa5201b5b7e
fd2908f80e6a20d1a2c9e7f39bc18ce53e625e9f
/esp-2-Compton/petrillo/plotcasetta.py
a2e14dea094cada89642c7795f05320d0304d77e
[]
no_license
Gattocrucco/lab4mpr
a79ecdcb293923188fcef637c7566bbb3904af05
c613bb8e57c2943123697789f5b600483a2b4ff6
refs/heads/master
2021-09-15T08:15:19.129544
2018-05-28T23:20:47
2018-05-28T23:20:47
111,024,426
1
0
null
null
null
null
UTF-8
Python
false
false
834
py
import histo import numpy as np from matplotlib import pyplot as plt files = ['../dati/histo-16feb-ang45.dat', '../dati/histo-16feb-ang45-casetta.dat'] titles = ['spettro a 45°' , 'spettro a 45° con schermaggio'] fig = plt.figure('plotcasetta', figsize=[6.88, 2.93]) fig.clf() fig.set_tight_layout(True...
[ "info@giacomopetrillo.com" ]
info@giacomopetrillo.com
1a2c142d1f04cf5c4e7320b05bf0b4af8adb51c2
165eb709370407093bd6ba22e466f6070ea2123c
/examples/adwords/v201601/campaign_management/add_campaign_labels.py
78d075acd7bee801719188e315c8140782ec59b5
[ "Apache-2.0" ]
permissive
pawankydv/googleads-python-lib
92ed86d74a09a91fd3c95d6471a8c23adb0de440
c0f8ce6c4acfe88ce8f913a4f0e0e92b548e1022
refs/heads/master
2022-06-29T05:26:19.996211
2016-02-23T20:07:02
2016-02-23T20:07:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,012
py
#!/usr/bin/python # # Copyright 2016 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required b...
[ "msaniscalchi@google.com" ]
msaniscalchi@google.com
bedb27f13c256128040486c37f3d346febca1cca
610349599d32d7fc5ddae5dcb202836ca8be50aa
/blog/migrations/0013_auto_20200917_0441.py
25848d5bebfae32506aece8caf48f7f56de261d3
[]
no_license
reetjakhar09/blogs
e3d9d14c01096e4a50474b5a7f562bea7b655a76
d0e17a8dd3761aaa08a59c466820040e05dc300a
refs/heads/master
2022-12-20T05:03:50.350408
2020-09-29T16:40:17
2020-09-29T16:40:17
299,676,944
0
0
null
null
null
null
UTF-8
Python
false
false
1,453
py
# Generated by Django 2.2.16 on 2020-09-17 04:41 from django.db import migrations, models import django_extensions.db.fields class Migration(migrations.Migration): dependencies = [ ('blog', '0012_auto_20200916_1140'), ] operations = [ migrations.CreateModel( name='Comment', ...
[ "test@gmail.com" ]
test@gmail.com
b4c033e2dc7ef615aa538096e2591b4a6e59ef60
fe0017ae33385d7a2857d0aa39fa8861b40c8a88
/env/lib/python3.8/site-packages/pandas/core/arrays/_mixins.py
b11a853c8d39e5b6959a994d7637c842b006251d
[]
no_license
enriquemoncerrat/frasesback
eec60cc7f078f9d24d155713ca8aa86f401c61bf
e2c77f839c77f54e08a2f0930880cf423e66165b
refs/heads/main
2023-01-03T23:21:05.968846
2020-10-18T21:20:27
2020-10-18T21:20:27
305,198,286
0
0
null
null
null
null
UTF-8
Python
false
false
3,460
py
from typing import Any, Sequence, Tuple, TypeVar import numpy as np from pandas.compat.numpy import function as nv from pandas.core.algorithms import take, unique from pandas.core.arrays.base import ExtensionArray from pandas.errors import AbstractMethodError from pandas.util._decorators import cache_readonly _T = Ty...
[ "enriquemoncerrat@gmail.com" ]
enriquemoncerrat@gmail.com
bc19ab8e189e29a058a5dded83af0e6c030da832
d5fe9d0c7c93c3250b9e212435b02d8373dec091
/pro/8.py
98751a3c8367041e394594d3ac34676580508ce2
[]
no_license
HarshaaArunachalam/GUV
6937adb84f0928f08c9fbc519310abc06ef3541a
c047887bf6c19a4950c5f634111e1c02966367e5
refs/heads/master
2020-05-31T10:52:23.280052
2019-08-10T20:23:11
2019-08-10T20:23:11
190,249,464
0
1
null
null
null
null
UTF-8
Python
false
false
471
py
def GCD(a,b): z=0 c=min(a,b) for k in range(c,1,-1): if(a%k==0)and (b%k==0): return k z=1 if z!=1: return 1 x=input() y=x.split(" ") z=[] w=[] res=[] z1=int(y[0]) z2=int(y[1]) z3=input() u=z3.split(" ") for i in range(len(u)): w.append(int(u[i])) for j in rang...
[ "noreply@github.com" ]
HarshaaArunachalam.noreply@github.com
1a8d14085751c17d7831e7fca361ca6d2d552255
5ce040197421e557f8e7337183c2420d1cb898b0
/temoatools/analyze_capacity.py
5fee6b66e7d42c6683ded9998b5d838c9ccfa662
[]
no_license
coopercenter/temoatools
b7bd871d1066dbfe2f43481a6c2ca84e4315b2b3
151ad4e68a4082166f87db2081bfe552f6d92253
refs/heads/master
2023-04-17T00:55:44.106235
2021-04-20T19:53:08
2021-04-20T19:53:08
295,842,252
1
1
null
2020-11-17T16:14:21
2020-09-15T20:30:59
Python
UTF-8
Python
false
false
7,400
py
import os import sqlite3 import pandas as pd import temoatools as tt debug = False resolution = 600 # DPI # ============================================================================== # Remove filetype from filename def name(db): return db[:db.find('.')] # ==================================================...
[ "jab6ft@virginia.edu" ]
jab6ft@virginia.edu
f5ac969f98498b817f245eea5127f37ec78d5b86
d57b51ec207002e333b8655a8f5832ed143aa28c
/.history/l5/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/app_20200705181608.py
cfa4d4767bd82bbd5cf7b9f1eb764d3239a2e78c
[]
no_license
yevheniir/python_course_2020
b42766c4278a08b8b79fec77e036a1b987accf51
a152d400ab4f45d9d98d8ad8b2560d6f0b408c0b
refs/heads/master
2022-11-15T07:13:24.193173
2020-07-11T15:43:26
2020-07-11T15:43:26
278,890,802
0
1
null
null
null
null
UTF-8
Python
false
false
1,390
py
import random from flask import Flask from flask import render_template ####################################### choose = ['rock', 'paper', 'scisors'] app = Flask(__name__) ####################################### def winners(): if winner == 'compucter': return render_template('2.html') else: return render_templat...
[ "yevheniira@intelink-ua.com" ]
yevheniira@intelink-ua.com
d866b7ed98c4357d9ccc8df8cd0f45a28a019655
3a01d6f6e9f7db7428ae5dc286d6bc267c4ca13e
/unittests/pytests/friction/TestSlipWeakeningTimeStable.py
85102fd93c1ba47de9f52358dcbc839563be8946
[ "MIT" ]
permissive
youngsolar/pylith
1ee9f03c2b01560706b44b4ccae99c3fb6b9fdf4
62c07b91fa7581641c7b2a0f658bde288fa003de
refs/heads/master
2020-12-26T04:04:21.884785
2014-10-06T21:42:42
2014-10-06T21:42:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,318
py
#!/usr/bin/env python # # ====================================================================== # # Brad T. Aagaard, U.S. Geological Survey # Charles A. Williams, GNS Science # Matthew G. Knepley, University of Chicago # # This code was developed as part of the Computational Infrastructure # for Geodynamics (http://ge...
[ "baagaard@usgs.gov" ]
baagaard@usgs.gov
d27ad5b6ed1c2a47b246e44fc38b2f4f0c57ce96
a11bd8615f47c15fb52cd83fe7722309f250537d
/pytgf/test/test_controls/wrappers/test_bot_wrapper.py
f70529d81b25b6e27e7274105b99cfc20429dba0
[]
no_license
Angeall/pyTGF
75a0abfc6605f08c93181248bd529279c01b05bc
463359a6596598c0c6cceb6e30f393d77eca0a89
refs/heads/master
2021-01-12T12:21:10.659708
2018-09-02T12:37:58
2018-09-02T12:37:58
72,452,959
0
0
null
2017-05-28T11:41:09
2016-10-31T16:00:45
Python
UTF-8
Python
false
false
7,317
py
import unittest from typing import Tuple, List from multiprocess.connection import Pipe try: from multiprocess.connection import PipeConnection except ImportError: PipeConnection = object from ....characters.moves import MoveDescriptor from ....characters.units import Entity from ....board import Builder fro...
[ "angeal1105@gmail.com" ]
angeal1105@gmail.com
64ef7179aea9c2d661955269e63c1c7311a1037c
c78ce4f66cc964c230ad60fbf2ced6b4811eab89
/0x0C-python-almost_a_circle/models/rectangle.py
42da51e34b0deffedfd7071f7594571e3157540a
[]
no_license
jebichii/holbertonschool-higher_level_programming-1
89026557909851dd775ae355f036db89ebd9adb9
741953aa479af90e8eac6f1315415eff4a20224f
refs/heads/master
2023-03-15T14:58:27.062528
2020-06-11T07:21:23
2020-06-11T07:21:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,270
py
#!/usr/bin/python3 """Provides a class to represent a rectangle """ from models.base import Base class Rectangle(Base): """Representation of a rectangle """ HEADERS = ('id', 'width', 'height', 'x', 'y') def __init__(self, width, height, x=0, y=0, id=None): """Instantiate a rectangle ...
[ "pdeyoreo@gmail.com" ]
pdeyoreo@gmail.com
f54ccd9b35fcc5700879cdbd97e2f7e94d0704ac
77db6591c5884204d6016bfa89b33691bac38813
/lbst/migrations/0008_delete_parcels.py
91d01710672e0f30065b7338bf188b1d05e9f3e1
[]
no_license
jbukoski/iltf-signal-webmap-suite
4fc0aafa977e911a1071872f7adbaf2e7d0da37c
b8374e9cfcc80501a8f632721a7cb9b76e668f6b
refs/heads/master
2021-03-27T11:20:37.174667
2020-12-31T18:03:20
2020-12-31T18:03:20
79,853,039
1
0
null
null
null
null
UTF-8
Python
false
false
358
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2017-10-20 04:54 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('lbst', '0007_auto_20171020_0453'), ] operations = [ migrations.DeleteModel( ...
[ "jacob.bukoski@yale.edu" ]
jacob.bukoski@yale.edu
b09045ad72a51dcaad3ea6dd2cf2c6b90953bc15
316b8375a7ef8095f09973d13f5a49bc7fbe7580
/leetcode/746.py
c1d8ec3f17c479eabb62b24a67fab00b5e1725c1
[]
no_license
zhaolijian/suanfa
9a8d23fbca01d994f7eef24631783c4b7ed25683
4f3b25f360f30c0e604ba4dc4d5774ccb5f25b32
refs/heads/master
2023-06-08T17:12:41.522937
2021-06-27T08:13:16
2021-06-27T08:13:16
313,269,459
1
0
null
null
null
null
UTF-8
Python
false
false
1,006
py
# 数组的每个索引作为一个阶梯,第 i个阶梯对应着一个非负数的体力花费值 cost[i](索引从0开始)。 # 每当你爬上一个阶梯你都要花费对应的体力花费值,然后你可以选择继续爬一个阶梯或者爬两个阶梯。 # 您需要找到达到楼层顶部的最低花费。在开始时,你可以选择从索引为 0 或 1 的元素作为初始阶梯。 # 方法1 class Solution: def minCostClimbingStairs(self, cost) -> int: length = len(cost) dp = [0] * (length + 1) for i in range(2, length +...
[ "820913569@qq.com" ]
820913569@qq.com
097d8374a255ccaa7ec5bbd988be8ef1ae39bea0
7111511ef0cca1bcf84a76d49419fad504d78f6e
/test331scaping_Writer_nfl.py
27f9826cb9dbf89cb2644dbd8d396d44450c712c
[]
no_license
blockchain99/pythonlecture
7800033cd62251b0eec8cf3b93f253175d9cb2e8
198e1b6d68db72e4a5009f988c503958ad7ab444
refs/heads/master
2020-12-12T14:21:53.626918
2020-01-15T19:02:07
2020-01-15T19:02:07
234,148,450
0
0
null
null
null
null
UTF-8
Python
false
false
2,163
py
##not completed ! import requests from bs4 import BeautifulSoup from csv import writer, DictWriter response = requests.get("http://en.wikipedia.org/wiki/NFL_win-loss_records") # print(response.text) with open('test331Write1nfl.text', 'w') as file: file.write(response.text) # print("===============================...
[ "shinebytheriver@yahoo.com" ]
shinebytheriver@yahoo.com
83691555e2c9290c3b999d0373c56b611f949fc5
cf4f3c181dc04c4e698b53c3bb5dd5373b0cc1f4
/meridian/acupoints/tiaokou23.py
c01be663e38206cbf5f9d8dea8e5b7bee0d48952
[ "Apache-2.0" ]
permissive
sinotradition/meridian
da3bba6fe42d3f91397bdf54520b3085f7c3bf1d
8c6c1762b204b72346be4bbfb74dedd792ae3024
refs/heads/master
2021-01-10T03:20:18.367965
2015-12-14T14:58:35
2015-12-14T14:58:35
46,456,260
5
3
null
2015-11-29T15:00:20
2015-11-19T00:21:00
Python
UTF-8
Python
false
false
236
py
#!/usr/bin/python #coding=utf-8 ''' @author: sheng @license: ''' SPELL=u'tiáokǒu' CN=u'条口' NAME=u'tiaokou23' CHANNEL='stomach' CHANNEL_FULLNAME='StomachChannelofFoot-Yangming' SEQ='ST38' if __name__ == '__main__': pass
[ "sinotradition@gmail.com" ]
sinotradition@gmail.com
02e61c8774835d8f58181e6154d935bfe0f92a5c
12f006a0e5d75ef2349d4ae519c1c9cac5309761
/Solution_305.py
c3dacdc43397e43d3cb4084735962f719e35b8d7
[]
no_license
TimothySjiang/leetcodepy
c613db16282eade713e01b7d641c0f5b341ec84b
ef64e46b8833a684b8b0355ce576b767a0e03596
refs/heads/master
2020-07-01T14:48:35.953841
2020-01-12T06:19:44
2020-01-12T06:19:44
201,199,810
1
0
null
null
null
null
UTF-8
Python
false
false
1,260
py
class Solution: def numIslands2(self, m: int, n: int, positions: List[List[int]]) -> List[int]: uf = UnionFind() res = [] board = [[0 for i in range(n)] for i in range(m)] def detect(i, j): if i < 0 or i > m - 1 or j < 0 or j > n - 1 or board[i][j] != 1: ...
[ "shjiang@ucdavis.edu" ]
shjiang@ucdavis.edu
3cfdc2c73a2715bf71926835cd6c115602db7ba1
3fbd26091ebbc13913f9c7be1aaf10d477c79536
/week01/zuoye/requests_maoyan/.history/maoyan_20200626235954.py
2b50c6bd80acfa54c79e82eea959c439fb55b91e
[]
no_license
shuncon/Python001-class01
d28faf3d5d8e9ea4cee93bcae7143a26fd8c472e
df19758181cdaf37f30d4b518600fc4612590499
refs/heads/master
2022-11-13T19:31:27.019214
2020-07-10T14:58:25
2020-07-10T14:58:25
273,135,541
0
0
null
2020-06-18T03:46:56
2020-06-18T03:46:55
null
UTF-8
Python
false
false
727
py
#-*-conding:utf-8 -*- import requests import lxml from bs4 import BeautifulSoup as bfs user_agent= 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36' # header = {'user-agent' : user_agent} myurl = 'https://maoyan.com/films/1222268' 'https://maoyan.com/...
[ "1428834423@qq.com" ]
1428834423@qq.com
055b1b4762a72fc2f85d6bbed013e839d6ab0320
096b0e98f698e7b8c46566cd73039ec66c87f525
/Environmental/DRAXIS/Python/vice_env_buildings_once/consumer.py
1cabe6b241c62390a5436d2c9e019254069e132d
[ "CC-BY-4.0" ]
permissive
georgiapant/DataCrawlers
8ba90491255e1f86b92e0ca5f78bce931c3d9553
1f2d2d4ab04d34fba1c90efc4119a1d40c964921
refs/heads/master
2022-12-09T18:24:30.947686
2020-07-15T13:39:08
2020-09-01T12:22:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,432
py
""" This code is open-sourced software licensed under the MIT license. (http://opensource.org/licenses/MIT) Copyright 2020 Stergios Bampakis, DRAXIS ENVIRONMENTAL S.A. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to ...
[ "ababakis@draxis.gr" ]
ababakis@draxis.gr
163344918b63b083811ad2b9058150401e41c853
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_045/ch68_2019_06_07_09_21_26_405440.py
3fe982878107d4f1707a636956f08b24b66b2f0b
[]
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
136
py
def separa_trios(n): l=[] i=0 while i<len(n): l.append(n[i:i+3]) i+=3 return l
[ "you@example.com" ]
you@example.com
7f90dfab2752f533bb230b138138aea3033928ff
f1a4b824faea817e3f33e477a9a6f9c7d522f72d
/tests/conftest.py
65b4cf65266d9b03aa101c30a0b97aba88b47768
[ "MIT" ]
permissive
singingwolfboy/flask-dance
ea94200492befe9b380c4521b084afd925b8458e
27add7576da008a00867521bc84529d1e4a0fc1e
refs/heads/main
2023-08-24T18:05:55.465730
2023-05-10T18:26:21
2023-05-10T18:26:21
23,831,381
928
211
MIT
2023-09-12T19:49:00
2014-09-09T11:53:06
Python
UTF-8
Python
false
false
336
py
import pytest import responses as resp_module @pytest.fixture def responses(request): """ Set up the `responses` module for mocking HTTP requests https://github.com/getsentry/responses """ resp_module.start() def done(): resp_module.stop() resp_module.reset() request.add...
[ "david@davidbaumgold.com" ]
david@davidbaumgold.com
8415371bb92a7e51b7d22eadc0a43ab589c1fa2d
d33b768704278b6eba4f8d9c6e367cce594a457d
/generator.py
84ac793b320dffe8d343a5ea870eade593062db8
[]
no_license
ashishjsharda/PythonSamples
b71ecfe5768a86bbea4ac3ec683f83b633e85d97
433e14707ff1ce08d2e5110521caf08969db08ea
refs/heads/master
2021-01-19T21:09:01.697894
2020-03-27T10:37:18
2020-03-27T10:37:18
88,614,789
0
0
null
null
null
null
UTF-8
Python
false
false
170
py
''' Created on Jul 31, 2019 Using Yield @author: asharda ''' def gen_nums(): n=0 while n<4: yield n n+=1 for num in gen_nums(): print(num)
[ "noreply@github.com" ]
ashishjsharda.noreply@github.com
a10b849dc80dd5b27d663b2a62652a1f7a072f47
94e7c790d17ba08e8a2a74077dd8b75e7ac120b0
/chapter05/Exercise20b_05.py
dd6b8c148d72cebee8f387e7cd2addbe1a9bdb3b
[]
no_license
lutfar9427/Exercises_Solution_of_INTRODUCTION_TO_PROGRAMMING_USING_Python
9632e515428685dcaa7d057cf52f0e191e9f7ae0
d037475316e6c6b7c6a7a7023318ef4ab4ed3f8d
refs/heads/master
2020-09-02T09:04:44.990668
2018-10-20T00:50:12
2018-10-20T00:50:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
484
py
''' *5.20 (Display four patterns using loops) Use nested loops that display the following patterns in four separate programs: Pattern B 1 2 3 4 5 6 1 2 3 4 5 1 2 3 4 1 2 3 1 2 1 /** * @author BASSAM FARAMAWI * @email tiodaronzi3@yahoo.com * @since 2018 */ ''...
[ "tiodaronzi3@yahoo.com" ]
tiodaronzi3@yahoo.com
5d0829c8e3743612b1c4359ecc4e7b74619061bc
385224b7699b8cf4358f93eea06518a92fe2d40b
/Data Representation/Linear-Models/wide_deep.py
13169a6deeb07b52b95b42ecd09730c6d4110fea
[]
no_license
afcarl/tensorflow-machine-learning
293ab4e513ff46a82e308dbce1fefba4831bdb18
60c6b62025a932948d6d96eaf611b35df5e39cda
refs/heads/master
2020-08-21T20:49:30.237014
2018-02-02T06:45:17
2018-02-02T06:45:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,294
py
"""Example code for TensorFlow Wide & Deep Tutorial using tf.estimator API.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import argparse import shutil import sys import tensorflow as tf _CSV_COLUMNS = [ 'age', 'workclass', 'fnlwgt', 'education', ...
[ "le_j6@denison.edu" ]
le_j6@denison.edu
cf35d907cc4cd9d30e2eeeef7859e0dc51fd7629
f2c58d0b254dd5586266df23f57265abe322dc8c
/other/views.py
c2b449fa20ab7daf09e1904192b04355b67633e1
[]
no_license
Shubham101491/Big-Store
f01ff85193bb77040be82385498c66faa5ac619a
96f842c7856d2b8f6559844e0272828e0b449c6a
refs/heads/master
2023-02-08T01:28:50.005570
2021-01-03T14:34:54
2021-01-03T14:34:54
326,142,083
0
0
null
null
null
null
UTF-8
Python
false
false
685
py
from django.shortcuts import render from bigstore import settings def shipping(request): return render(request, 'other/shipping.html', {"BASE_URL": settings.BASE_URL}) def offer(request): return render(request, 'other/offer.html', {"BASE_URL": settings.BASE_URL}) def wishlist(request): return render(requ...
[ "55647943+Shubham101491@users.noreply.github.com" ]
55647943+Shubham101491@users.noreply.github.com
6c13b1510aa2d1e894f03e08801f3572e56b017a
a5a99f646e371b45974a6fb6ccc06b0a674818f2
/PhysicsTools/PatExamples/test/producePatMcMatch_cfg.py
5ab4881d7f71ebc06a1455a4c45f7d7d8ded42d0
[ "Apache-2.0" ]
permissive
cms-sw/cmssw
4ecd2c1105d59c66d385551230542c6615b9ab58
19c178740257eb48367778593da55dcad08b7a4f
refs/heads/master
2023-08-23T21:57:42.491143
2023-08-22T20:22:40
2023-08-22T20:22:40
10,969,551
1,006
3,696
Apache-2.0
2023-09-14T19:14:28
2013-06-26T14:09:07
C++
UTF-8
Python
false
false
1,632
py
# Start with a skeleton process which gets imported with the following line from PhysicsTools.PatAlgos.patTemplate_cfg import * # Load the standard PAT config process.load( "PhysicsTools.PatAlgos.patSequences_cff" ) # Load the exercise config process.load( "PhysicsTools.PatExamples.mcMatch_cfi" ) # The file to modify...
[ "giulio.eulisse@gmail.com" ]
giulio.eulisse@gmail.com
8954d8187ee611a1397e099108f1803f3fa5ff35
b503e79ccfca67c8114f5bd7a215f5ae993a0ba4
/airflow/providers/amazon/aws/operators/sagemaker_endpoint_config.py
bbf2be11441f1d4d1f2d7d7be3d6bc723ee9308a
[ "Apache-2.0", "BSD-3-Clause", "Python-2.0", "MIT" ]
permissive
github/incubator-airflow
df1d9780f862ea1df8261ea6015dd50a4583f983
73f70e00b9fd294057f8ca6b714a85622f6d5dd5
refs/heads/gh-2.0.2
2023-07-29T18:08:43.140580
2022-09-14T18:23:42
2022-09-14T18:23:42
80,634,006
24
27
Apache-2.0
2023-04-18T04:24:36
2017-02-01T15:34:55
Python
UTF-8
Python
false
false
2,217
py
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
[ "noreply@github.com" ]
github.noreply@github.com
fcb09819fc0640389e046c9fbd0577354ac1e6c1
7ad5582d0f59de00c68e1f1dec626be68ac6332e
/src/test/parser/pattern/nodes/test_one_or_more.py
52252322db65c60fdc295a1cb4f70372188b9286
[ "MIT" ]
permissive
ebegen/program-y
ddb5525cb992de7f80f793742876bc9285e27b2d
4ceb6a31c5ead813faad1b454f0c432e93d6ef7d
refs/heads/master
2021-01-11T14:01:42.053013
2017-06-15T20:39:37
2017-06-15T20:39:37
94,932,566
1
0
null
2017-06-20T20:32:34
2017-06-20T20:32:34
null
UTF-8
Python
false
false
1,734
py
from programy.parser.exceptions import ParserException from test.parser.pattern.nodes.base import PatternTestBaseClass from programy.parser.pattern.nodes.oneormore import PatternOneOrMoreWildCardNode class PatternOneOrMoreWildCardNodeTests(PatternTestBaseClass): def test_invalid_wildcard(self): with self...
[ "keith@keithsterling.com" ]
keith@keithsterling.com
6985bd54d85367c3737c150e198b75089cbd5908
a0376b1b780488c7f97c324cbc6de51f029b21c9
/GULBI GOURI SHANKER_4AL18EC018.py.py
983f54cef68d3643fd05afa74f12d9b3a47eddd9
[]
no_license
alvas-education-foundation/ECE-2year-Code-Challenge
7af0b0e887ec3359f1546ba8d0c1f30d99e9d295
3ffe3e196890433c62b74263de4717795176d3da
refs/heads/master
2022-10-14T02:01:39.165085
2020-06-13T10:29:07
2020-06-13T10:29:07
266,272,378
4
0
null
null
null
null
UTF-8
Python
false
false
1,223
py
correct = True while correct: name = input("what is the user_name?") if name == "micheal".lower(): password = input("please enter your password: ") if password == "e3$WT89x": print("you have successfully login.") break if password != "e3$WT89x": ...
[ "noreply@github.com" ]
alvas-education-foundation.noreply@github.com
58213c5f3427d53904ddc1ebb3dc309ff9fde3a7
236dd1755695fd582b85381cfd40be1886b1459f
/about/migrations/0003_aboutindexpage_body_pua.py
8bc184adeb760b89fc65b4f53879634b283ad730
[]
no_license
davebshow/lenguapurhepecha
bbdb841085adbd5b0f42764a7e4bcafd202068c8
c6ab3ada2b770a0bcca210fa53bb1281857e9168
refs/heads/master
2020-06-16T11:37:31.100321
2016-11-29T18:03:43
2016-11-29T18:03:43
75,107,817
1
0
null
null
null
null
UTF-8
Python
false
false
504
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.3 on 2016-11-29 01:54 from __future__ import unicode_literals from django.db import migrations import wagtail.wagtailcore.fields class Migration(migrations.Migration): dependencies = [ ('about', '0002_auto_20161129_0114'), ] operations = [ ...
[ "davebshow@gmail.com" ]
davebshow@gmail.com
678ab04dfd419260daa2c3e9c5de70af34821483
091a6200be74bf6577c86f623665bcc24e16b02b
/CircuitPython_Templates/mp3_multi_file_playback/code.py
33f93bfe528b1f5f01e69dcdde308dc8596fa399
[ "MIT" ]
permissive
adafruit/Adafruit_Learning_System_Guides
b5f7bce40a16da64e7a79d4b39de032f2cca41d4
5eaa7a15a437c533b89f359a25983e24bb6b5438
refs/heads/main
2023-09-05T18:31:41.621956
2023-09-05T15:36:09
2023-09-05T15:36:09
105,065,494
937
937
MIT
2023-09-12T18:48:53
2017-09-27T20:22:44
C
UTF-8
Python
false
false
2,920
py
# SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries # SPDX-License-Identifier: MIT """ CircuitPython multiple MP3 playback example. Plays two MP3 files consecutively, once time each. Remove this line and all of the following docstring content before submitting to the Learn repo. INCLUDE THE MP3 FILES...
[ "kattni@adafruit.com" ]
kattni@adafruit.com