blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
0722c3f10d8375fc61deb3496915dc5b7d77272f
cef8e528087eeb0ece37bb908ffea7cf81ade0db
/tp2.py
50cfce313755a1f4d1eaea18bbb02fb979cbd83c
[]
no_license
ashrafulemon/python
f03ef07c77885bd00e73674e8767796c9bcac058
5d257288a52195500cf1f6b5cc1e017dae0fdcc0
refs/heads/main
2023-01-31T11:08:17.985674
2020-12-16T14:59:39
2020-12-16T14:59:39
322,011,688
1
0
null
null
null
null
UTF-8
Python
false
false
279
py
# 11. basic syntax # 12. identifiers # 13. keywords # 14.lines and indentation # 15. multiline statements # 19.command line argument import sys print("number arg",len(sys.argv),"argument") print("ar list ",str(sys.argv)) x=int(sys.argv[1]) y=int(sys.argv[2]) z=x+y print(x,y,z)
[ "emon118.bd@gmail.com" ]
emon118.bd@gmail.com
30f2d70ef4d8c8ff6ec88003d1820c4e03b22fe7
b3f40953c1876f5916a2dbd2d7b9903a635e512e
/Dojo_Python/Django_Level_2/dojo_secrets/apps/secrets/migrations/0006_auto_20170227_2020.py
135d75a24c6fc12637b6702c966810ef92428ab4
[]
no_license
rudietuesdays/dojo_python
c9d9907096995d6e247b6b7732a908ece246b466
5e1fd46c45c90dfcd046f0fe922c64f96625a6c0
refs/heads/master
2021-01-11T13:28:56.029473
2017-03-07T02:49:48
2017-03-07T02:49:48
81,473,184
0
0
null
null
null
null
UTF-8
Python
false
false
445
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-02-28 01:20 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('secrets', '0005_secret_liked'), ] operations = [ migrations.AlterField( ...
[ "amanda.gaines@gmail.com" ]
amanda.gaines@gmail.com
fee337d6bdd75a68b697954d025a3b015ea33b3f
87ddcf61c2faaaa795b9c25af334a76018337f62
/frictionless/formats/sql/adapter.py
5f49b7b4b5ee8c675554de78cbb65104b38cb5dd
[ "MIT" ]
permissive
frictionlessdata/frictionless-py
17d663ad34c18964113c97e4d657004610fe0df0
740319edeee58f12cc6956a53356f3065ff18cbb
refs/heads/main
2023-08-26T16:24:25.353929
2023-08-04T07:55:37
2023-08-04T07:55:37
28,409,905
295
79
MIT
2023-09-04T05:01:33
2014-12-23T17:11:11
Python
UTF-8
Python
false
false
6,870
py
from __future__ import annotations import re from typing import TYPE_CHECKING, Any, Callable, Dict, Generator, List, Optional from ... import models from ...package import Package from ...platform import platform from ...resource import Resource from ...system import Adapter from . import settings from .control impor...
[ "noreply@github.com" ]
frictionlessdata.noreply@github.com
828c6edc99064b737f2531777d5caca2b67c08a4
2057ba21d3cfc17c88692c62b35e9c1697bbd720
/digit_string.py
3de66a0d9c558e84f386d48ddbee0ebe16948a02
[]
no_license
crobil/project
bd35bce5e1e57c72dc7ac7747b0f646c2331f78b
6f91eda5c961893a67a0b8ced08304e07e184a84
refs/heads/master
2020-03-07T08:44:03.205807
2018-06-08T08:57:13
2018-06-08T08:57:13
124,166,946
0
0
null
null
null
null
UTF-8
Python
false
false
367
py
def DashInsert(input): res = '' for idx, var in enumerate(input): if idx == 0: res += '%s' % (var) elif (int(var) % 2 == int(input[idx-1]) % 2) and int(var) % 2 == 1: res += '-%s' % (var) elif (int(var) % 2 == int(input[idx-1]) % 2) and int(var) % 2 == 0: res += '+%s' % (var) else: res += '%s' % (...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
c6aa63ffe81952ad736edec1545d368a4a989eec
e2f0806ca1cdd887ea40d050a19fa2710427bd38
/기본 문제/03주차_정렬/2750_수 정렬하기/강승훈.py
44cb4a0940575efcd28ce0ca7b4fc870ebdb5276
[]
no_license
JY-Dev/AlgorithmStudy-1
001f94d80097c850c79eeb2bc86971a01aa5bd5d
2ad1df0fd65c72a6f6d1feeba09f889000ff8c15
refs/heads/main
2023-08-21T18:38:18.235994
2021-09-28T07:07:11
2021-09-28T07:07:11
406,208,087
1
0
null
2021-09-14T03:14:32
2021-09-14T03:14:31
null
UTF-8
Python
false
false
604
py
from sys import stdin # 입력 n = int(stdin.readline()) arr = [int(stdin.readline()) for _ in range(n)] # 버블정렬 for i in range(n-1): # 조건식에서 +1 시키기 때문에, n-1 까지만 반복. for j in range(n-1): if arr[j] > arr[j+1]: # 만약 현재 요소가, 바로 다음 요소보다 크면, 두개의 위치를 바꿔줌. tmp_1 = arr[j]; tmp_2 = arr[j+1] # tmp_1에 앞에 요소,...
[ "noreply@github.com" ]
JY-Dev.noreply@github.com
2d16134229da9c97663682df26d2177427bf90f0
de725b742e69f38318c04cd44ac970e7135857a5
/assets/myauth.py
7af5b88d8abcaff8d9dd6b4c10a35cc8225f7d33
[]
no_license
haochenxiao666/itelftool
e5c0811b48e01d0eeff13d15d33b89960091960a
8558dce6d97e7443c95513aa1389910c3902043f
refs/heads/master
2020-04-14T22:55:46.732111
2018-10-18T09:00:44
2018-10-18T09:00:44
164,183,750
1
0
null
2019-01-05T05:05:32
2019-01-05T05:05:31
null
UTF-8
Python
false
false
4,431
py
#!/usr/bin/env python #coding:utf-8 from django.db import models from django.contrib.auth.models import ( BaseUserManager, AbstractBaseUser,Group,PermissionsMixin ) import django from django import utils from accounts.models import RoleList class UserManager(BaseUserManager): def create_user(self, email, na...
[ "420521738@qq.com" ]
420521738@qq.com
79622b9129c74f9d947d06ef504aa39e5b5e0023
09e5cfe06e437989a2ccf2aeecb9c73eb998a36c
/modules/cctbx_project/cctbx/source_generators/eltbx/generate_henke_cpp.py
7bae6088b98f86b7eb183ef1711372e11162e216
[ "BSD-3-Clause-LBNL", "BSD-3-Clause" ]
permissive
jorgediazjr/dials-dev20191018
b81b19653624cee39207b7cefb8dfcb2e99b79eb
77d66c719b5746f37af51ad593e2941ed6fbba17
refs/heads/master
2020-08-21T02:48:54.719532
2020-01-25T01:41:37
2020-01-25T01:41:37
216,089,955
0
1
BSD-3-Clause
2020-01-25T01:41:39
2019-10-18T19:03:17
Python
UTF-8
Python
false
false
5,440
py
from __future__ import absolute_import, division, print_function from scitbx.source_generators.utils import join_open from scitbx.source_generators.utils import write_this_is_auto_generated import libtbx.load_env import string import os from six.moves import range this = "cctbx.source_generators.eltbx.generate_henke_c...
[ "jorge7soccer@gmail.com" ]
jorge7soccer@gmail.com
0d1fc572c58a6bfa42ebe16a77abc85250542703
88c1f9ccb62e91d6b0574bcde1043921bdeb0126
/test_utilities/src/d1_test/test_files.py
297b4ed0ef73c4895d00055f25c2d0d454ce1cef
[ "Apache-2.0" ]
permissive
jevans97utk/d1_python
83b8de8780287c655779844f367b9189413da074
3ac4d4f3ca052d3e8641a6a329cab526c8ddcb0d
refs/heads/master
2020-05-21T01:16:50.677816
2019-04-22T16:09:44
2019-04-22T16:09:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,309
py
#!/usr/bin/env python # This work was created by participants in the DataONE project, and is # jointly copyrighted by participating institutions in DataONE. For # more information on DataONE, see our web site at http://dataone.org. # # Copyright 2009-2019 DataONE # # Licensed under the Apache License, Version 2.0 (t...
[ "git@dahlsys.com" ]
git@dahlsys.com
61fd076ee0bec381a73beaf4c8fc9e62f16688e9
8606267410dabfeacb4b7ff285a8d2250c139acc
/store/views/home.py
2a799439f55833dad0516d1fccc5b42d0acb7181
[]
no_license
Taraltinu/chopping-Site
a5e6f6eeeecb4fef92f90770a3c2493eca0f0bde
1b722d53de1baaa5780701416f78dab62ef7d057
refs/heads/master
2022-12-20T07:06:16.602476
2020-10-02T18:07:31
2020-10-02T18:07:31
300,697,693
1
0
null
null
null
null
UTF-8
Python
false
false
1,385
py
from django.shortcuts import render,redirect from store.models import Product,Category,Costomer from django.views import View class Home(View): def post(self,request): Product = request.POST.get('product') remove = request.POST.get('remove') cart = request.session.get('cart') if car...
[ "tinu1316@gmail.com" ]
tinu1316@gmail.com
c34ed3439f3d7661d4b7129f79fe9f80006dc229
7087a5dd1772c9456f098bc024a894dcaeef5432
/calbin/build/calkube/kubernetes-6.0.0_snapshot-py2.7.egg/kubernetes/client/models/v1beta1_volume_attachment_status.py
dd12c23922f449d21303a3a99e4861fc7618ae31
[]
no_license
santhoshchami/kubecctl-python
5be7a5a17cc6f08ec717b3eb1c11719ef7653aba
cd45af465e25b0799d65c573e841e2acb983ee68
refs/heads/master
2021-06-23T11:00:43.615062
2019-07-10T16:57:06
2019-07-10T16:57:06
145,669,246
0
0
null
null
null
null
UTF-8
Python
false
false
7,370
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.10.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re...
[ "root@kube-node02.local" ]
root@kube-node02.local
02bc16b5afd184593492d3693b0f3f675d16e337
ababf0e8ab02391321ce71e34ac7a57c96a2838f
/pytorch_disco_recovery/exp_carla_pipe.py
c567650d4db27ed5056b749fffe8aeca91899e12
[]
no_license
kimsoohwan/CoCoNets
e4084b4636c3aa5efaa0ed7da87767278c6c452e
4ad0c088ebcb5cacfd02aad60e9ccd3dd71292a4
refs/heads/main
2023-05-03T09:28:59.752793
2021-05-17T21:05:33
2021-05-17T21:05:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,772
py
from exp_base import * ############## choose an experiment ############## current = 'builder' # current = 'tester' mod = '"ful00"' # reset exp list and logs mod = '"ful01"' # show vis clean of zeroth hypothesis mod = '"ful02"' # create func for vis mod = '"ful03"' # collapse past mod = '"ful04"' # mod = '"ful05"...
[ "shamitlal@yahoo.com" ]
shamitlal@yahoo.com
68e77021a73f93d497900e999f534e311be2a3ad
5ead804c0fc2afb510de84293da9c7003626777d
/p2p/nat.py
b25c7b42fe600af71ec460d1949a0f593ae8f004
[ "MIT" ]
permissive
YaoyaoBae/py-evm
2501437a4227ddffe4ffa584a2b9ec705dad35bf
4a3e8dfa15d81841fde434db352bcb7721ad5c04
refs/heads/master
2020-03-21T01:55:09.261489
2018-06-20T01:02:05
2018-06-20T01:02:05
137,969,468
0
1
null
null
null
null
UTF-8
Python
false
false
6,621
py
import asyncio from concurrent.futures import ( ThreadPoolExecutor, ) import ipaddress from typing import ( AsyncGenerator, NamedTuple, ) from urllib.parse import urlparse from p2p.cancel_token import ( CancelToken, ) from p2p.exceptions import ( NoInternalAddressMatchesDevice, OperationCancell...
[ "ut96caarrs@snkmail.com" ]
ut96caarrs@snkmail.com
6018f93cdb60ae3b44f7efc5dadd97b15e2df5d7
a80e9eb7ade3d43ce042071d796c00dd10b93225
/ch_5/plot_Gaussian.py
4c8f99e7999d1500ef7b8aa4a47a74dd10962194
[]
no_license
ksjpswaroop/python_primer
69addfdb07471eea13dccfad1f16c212626dee0a
99c21d80953be3c9dc95f3a316c04b0c5613e830
refs/heads/master
2020-07-14T17:37:45.923796
2014-06-06T22:30:48
2014-06-06T22:30:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
271
py
# Exercise 5.4 from numpy import sqrt, exp, pi, linspace from matplotlib.pyplot import plot, show, xlabel, ylabel def h(x): return 1 / sqrt(2 * pi) * exp(-0.5 * x * x) xlist = linspace(-4, 4, 41) hlist = h(xlist) plot(xlist, hlist) xlabel('x') ylabel('h') show()
[ "noahwaterfieldprice@gmail.com" ]
noahwaterfieldprice@gmail.com
bec03343a7e11820efea069bf9dfcc2b5ea4b4a9
9e1bda53da4c5e98190f5f25235f528d692ee5a8
/.history/my_app/forms_20210405180023.py
162cd7af67099ba533f93691163e0db59d58976b
[]
no_license
Jumayev-A/Project-3
3d373181af6a87e3fe319a13d28fcd18941167b7
34ddd009726cbba9ae52e74a46d554fd735566e2
refs/heads/main
2023-06-10T11:02:06.446151
2021-07-07T06:19:11
2021-07-07T06:19:11
350,375,680
0
0
null
null
null
null
UTF-8
Python
false
false
116
py
from django import forms from my_app.models import BlogModel class BlogForm(forms.ModelForm): model = BlogMode
[ "abdy.jumayev@gmail.com" ]
abdy.jumayev@gmail.com
ea85dfc55a49d9f7394cf5204d62a669202be72b
518bf342bc4138982af3e2724e75f1d9ca3ba56c
/solutions/1553. Minimum Number of Days to Eat N Oranges/1553.py
ae0d574b19fee8a7c8ccd112c60ba1dde29433ef
[ "MIT" ]
permissive
walkccc/LeetCode
dae85af7cc689882a84ee5011f0a13a19ad97f18
a27be41c174565d365cbfe785f0633f634a01b2a
refs/heads/main
2023-08-28T01:32:43.384999
2023-08-20T19:00:45
2023-08-20T19:00:45
172,231,974
692
302
MIT
2023-08-13T14:48:42
2019-02-23T15:46:23
C++
UTF-8
Python
false
false
209
py
class Solution: @functools.lru_cache(None) def minDays(self, n: int) -> int: if n <= 1: return n return 1 + min(self.minDays(n // 3) + n % 3, self.minDays(n // 2) + n % 2)
[ "me@pengyuc.com" ]
me@pengyuc.com
868718ebefe1069ff6fe9964fe7e073242170198
cf47ecc26210fd51caab0a1ea927ac768f388eb8
/app/requests.py
397faf3ab5d12a0a4ecec31234ca8b51e38bf458
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
BrendaMwiza/News
3eb55d324b40f089d8c3110d3792af4a66341a2d
b68d53d0aefac78fae3de557c145cefd69e03c6b
refs/heads/master
2022-09-28T17:47:48.972932
2019-09-20T09:01:01
2019-09-20T09:01:01
208,076,219
0
0
null
2022-09-16T18:09:55
2019-09-12T14:53:45
Python
UTF-8
Python
false
false
3,234
py
import urllib.request, json from .models import Sources, Articles #get api key api_key = None #get the news base url base_source_url = None base_article_url = None def config_request(app): global api_key, base_article_url, base_source_url api_key = app.config['NEWS_API_KEY'] base_source_url = app.config...
[ "brendabrizy@gmail.com" ]
brendabrizy@gmail.com
159e90f30c0888505f00ac771b040dfe89acf3ac
551b75f52d28c0b5c8944d808a361470e2602654
/huaweicloud-sdk-iam/huaweicloudsdkiam/v3/model/project_info.py
84c0c398d075ddeabe08545806afd80eb148187b
[ "Apache-2.0" ]
permissive
wuchen-huawei/huaweicloud-sdk-python-v3
9d6597ce8ab666a9a297b3d936aeb85c55cf5877
3683d703f4320edb2b8516f36f16d485cff08fc2
refs/heads/master
2023-05-08T21:32:31.920300
2021-05-26T08:54:18
2021-05-26T08:54:18
370,898,764
0
0
NOASSERTION
2021-05-26T03:50:07
2021-05-26T03:50:07
null
UTF-8
Python
false
false
3,718
py
# coding: utf-8 import pprint import re import six class ProjectInfo: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name and the value is jso...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
43510b7202af8f2f999f3f9b7e402ff45eede68e
5864e86954a221d52d4fa83a607c71bacf201c5a
/testfixtures/tests/test_should_raise.py
351daad7e26d3622750b3f95c8d9a93e46200e43
[]
no_license
connoryang/1v1dec
e9a2303a01e5a26bf14159112b112be81a6560fd
404f2cebf13b311e754d45206008918881496370
refs/heads/master
2021-05-04T02:34:59.627529
2016-10-19T08:56:26
2016-10-19T08:56:26
71,334,417
0
0
null
null
null
null
UTF-8
Python
false
false
8,104
py
#Embedded file name: e:\jenkins\workspace\client_SERENITY\branches\release\SERENITY\carbon\common\stdlib\testfixtures\tests\test_should_raise.py from testfixtures import Comparison as C, ShouldRaise, should_raise from unittest import TestCase from .compat import py_33_plus class TestShouldRaise(TestCase): def tes...
[ "le02005@163.com" ]
le02005@163.com
2c44ce5a5899ceb4ccce4714af86337b5c96d807
fa8e2c81f025e7f90555d0e9452a91e03b6eeac0
/guessingGame.py
f44c4975047519e9f33721ba74bc20776764af17
[]
no_license
EgbieAndersonUku1/theGuessingGame
56e3097e379611332791b02498be3fb442ac8abf
129ece7839d98f51a35dc0bbe1a96ff6dd6b4aa0
refs/heads/master
2020-04-15T13:54:35.613549
2015-08-13T00:42:10
2015-08-13T00:42:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,193
py
#!/usr/bin/python ################################################################################ # # Created By : Egbie Anderson # Name Of The Program : GuessWordGame.Py # Created on the 09/08/2015 at 21:05:12 hrs # This is version : 1 # # # File description # # A twist of the famous hang man game but without t...
[ "jayunderwood2011@hotmail.com" ]
jayunderwood2011@hotmail.com
5044b8ef4ace4287373c06bc7916c93db1ba3994
caeea08f9d0362609ccae39ed0ac73345af87494
/s3/s3_1_budget.py
f62dbfc6fe2a4aa9734fa82f5df2017821cc2860
[]
no_license
barcern/cfg-python
9133709fd0139894a80aed2fd95dd28371cef495
aad9cf4feb4e2447bc442d6b90adebfadf1ed6a1
refs/heads/master
2023-03-11T20:19:13.051492
2021-03-01T23:31:31
2021-03-01T23:31:31
295,569,412
0
1
null
null
null
null
UTF-8
Python
false
false
570
py
# You have a budget of £10 and want to write a program to decide which burger restaurant to go to. # - Input the price of a burger using input() # - Check whether the price is less than or equal (<=) 10.00 # - Print the result in the format below # Burger is within budget: True # User input and set budget price = floa...
[ "bcernakova01@gmail.com" ]
bcernakova01@gmail.com
c3a0938f836e7c0c1fac968c208fadfad3b06696
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/004_trees/_exercises/templates/16 Trees/Tree Representation Implementation (Nodes and References).py
725c8abb61a726933d9508e885547cc1571944ae
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
1,309
py
# # Nodes and References Implementation of a Tree # # # # In this notebook is the code corresponding to the lecture for implementing the representation of a Tree as a class with nodes and references! # # c_ BinaryTree o.. # ___ - rootObj # key _ ? # leftChild _ N.. # rightChild _ N.. # # ...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
543dadfc2ac4efbea7de63620013b771b4ad04ff
79e1d04867c4298b23c907f92c7119e4bea8ef02
/ParlAI/parlai/agents/vsepp_caption/modules.py
d94d1f268f6c0b8bab8e2ea1c86bf295d82acfd2
[ "MIT", "Apache-2.0" ]
permissive
ethanjperez/convince
53db0bcd978831799c68fe63ecb0c91473ec40c4
ccf60824b28f0ce8ceda44a7ce52a0d117669115
refs/heads/master
2023-01-08T09:12:16.722614
2021-11-03T18:50:30
2021-11-03T18:50:30
205,189,291
27
8
Apache-2.0
2023-01-05T22:43:12
2019-08-29T15:03:34
Python
UTF-8
Python
false
false
6,876
py
#!/usr/bin/env python3 # This file is covered under the Apache 2.0 License listed here # <https://github.com/fartashf/vsepp/blob/master/LICENSE> as it is a # Derivative Work of the repo. import torch from torch import optim from torch.nn.utils.rnn import pack_padded_sequence import torch.nn as nn import torchvision.m...
[ "ethanperez18@gmail.com" ]
ethanperez18@gmail.com
ce8b24e9eb6af166554ad5e15d4b7dfdc7662b72
87ad372898e793faf1ad89f4bb3b6e84a8002131
/tests/unit/FundManager/test_remove_strategy_from_queue.py
3aaa736133d80b2747e318a8d05899b695b809e4
[]
no_license
atsignhandle/unagii-vault-v2
6a9a96c11d34257bc3fdae57455ec3b2f9c0029a
548f715f34329eb5abebffe40acbeb56a31cb6f3
refs/heads/main
2023-08-27T00:59:48.080152
2021-09-28T02:47:36
2021-09-28T02:47:36
413,448,825
0
0
null
2021-10-04T14:07:37
2021-10-04T14:07:36
null
UTF-8
Python
false
false
1,123
py
import brownie from brownie import ZERO_ADDRESS import pytest def test_remove_strategy_from_queue(fundManager, admin, testStrategy, user): strategy = testStrategy timeLock = fundManager.timeLock() fundManager.approveStrategy(strategy, {"from": timeLock}) fundManager.addStrategyToQueue(strategy, 123, ...
[ "tsk.nakamura@gmail.com" ]
tsk.nakamura@gmail.com
3ab1e9c75667769ee77fc58051c71e5a4e31100c
8242bc1caacbc1d50a3d0458760457ddb45e9df3
/post/migrations/0003_auto_20200915_1353.py
9dad5265249e16d5e30700d66c45c85f0e33e9d7
[]
no_license
ajy720/Outstagram
d0ad1318ff588811070d67b85e844b2770c6596e
bedad304011fcace1e7a589628c5f68753aad147
refs/heads/master
2022-12-31T14:36:33.223069
2020-10-21T01:43:04
2020-10-21T01:43:04
295,584,136
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
# Generated by Django 3.1.1 on 2020-09-15 04:53 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('post', '0002_auto_20200915_1143'), ] operations = [ migrations.AlterField( model_name='post', name='picture', ...
[ "ajy720@gmail.com" ]
ajy720@gmail.com
b4e98124357bf95756dce5ab0ea3eccabdcb4f80
6e322ec7477a0105d5b95055dfafb75ba00a3f43
/example/manage.py
fa318242823951e3cc2177feba6ab8aa36b03288
[]
no_license
tomatohater/Django-API-Playground
ca79dbed28701e214c41f20b7bdc7fd5fa09d5a7
bc950a65bd6f65211e250e71e9777ec865f5d6f6
refs/heads/master
2021-01-21T01:39:51.368593
2012-11-07T05:15:58
2012-11-07T05:15:58
6,568,919
0
2
null
null
null
null
UTF-8
Python
false
false
279
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": sys.path.append("../") os.environ.setdefault("DJANGO_SETTINGS_MODULE", "example.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "fatiherikli@gmail.com" ]
fatiherikli@gmail.com
47259b4d09cadfbf3fc1ac65f5944bd815ba5c23
45c170fb0673deece06f3055979ece25c3210380
/toontown/coghq/CashbotMintGearRoom_Battle00_Cogs.py
317a112ac560c39265cefffa3d94bb97f0dac647
[]
no_license
MTTPAM/PublicRelease
5a479f5f696cfe9f2d9dcd96f378b5ce160ec93f
825f562d5021c65d40115d64523bb850feff6a98
refs/heads/master
2021-07-24T09:48:32.607518
2018-11-13T03:17:53
2018-11-13T03:17:53
119,129,731
2
6
null
2018-11-07T22:10:10
2018-01-27T03:43:39
Python
UTF-8
Python
false
false
1,185
py
#Embedded file name: toontown.coghq.CashbotMintGearRoom_Battle00_Cogs from toontown.coghq.SpecImports import * from toontown.toonbase import ToontownGlobals CogParent = 10000 BattleCellId = 0 BattleCells = {BattleCellId: {'parentEntId': CogParent, 'pos': Point3(0, 0, 0)}} CogData = [{'parentEntId': CogP...
[ "linktlh@gmail.com" ]
linktlh@gmail.com
92adebbd1164f1aa26247842f6b9790d98d0c262
3d8027f2ef3f723e13b31e056d0c03da4ed74aa8
/09-09-2020(Day15)/EmailSend/EmailSend/wsgi.py
1f3a4b5a820f4d8ae86f13ff4fde0be1c4f2cf32
[]
no_license
satyavani462/Django-Batch5
2efbc99223008954896667dee46d2606b6559c82
1b975bc21e7fdeed11bef7505d22d4fed126656c
refs/heads/master
2022-12-08T19:57:33.996903
2020-09-10T14:23:15
2020-09-10T14:23:15
294,688,262
1
0
null
2020-09-11T12:22:16
2020-09-11T12:22:15
null
UTF-8
Python
false
false
395
py
""" WSGI config for EmailSend project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SET...
[ "nivas0803@gmail.com" ]
nivas0803@gmail.com
dd815bb4dafa784e93eeaed5ca27ace6491cc7b3
f3eebcb7800bf2bfba537fc017a3ad3bfe9f9264
/1495.py
ea2f0bf4d5e8a02e479b1474c86f22adffffad06
[]
no_license
do-park/baekjoon
c7a881f8eb50a8303cf8fa05bd0fef8d68e87de7
767a98f743f2fb304b091affe5a9f1c54e0946b8
refs/heads/master
2020-12-19T11:42:03.188674
2020-12-13T07:17:55
2020-12-13T07:17:55
235,723,046
0
0
null
null
null
null
UTF-8
Python
false
false
580
py
# BOJ 1495 메모리 초과 from collections import deque N, S, M = map(int, input().split()) V = list(map(int, input().split())) dp = [[] for _ in range(N + 1)] dp[0].append(S) q = deque() q.append([S, 0]) while q: volume, idx = q.popleft() if idx < N: if 0 <= volume - V[idx]: nxt = volume - V[idx]...
[ "dohee.pa@gmail.com" ]
dohee.pa@gmail.com
04bf10e4a7b62ec6d9e671d32a689f37802b8256
bba02b96608e53bed25eae8fcc30334f238b6a6b
/tests/test_parse_url.py
e4f8b7a62dec7df5d512ede72f1d49a7b9c98898
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
wkentaro/gdown
de1a3ce1058b3457ed4a3087b70cf620d85e9c5a
5c7507f02718048899b85d4010a6ed93316cbf27
refs/heads/main
2023-07-25T11:25:03.088818
2023-04-19T19:39:39
2023-04-22T06:02:17
44,421,756
3,266
319
MIT
2023-09-12T20:53:04
2015-10-17T03:01:23
Python
UTF-8
Python
false
false
1,079
py
import pytest from gdown.parse_url import parse_url def test_parse_url(): file_id = "0B_NiLAzvehC9R2stRmQyM3ZiVjQ" # list of (url, expected, check_warn) urls = [ ( "https://drive.google.com/open?id={}".format(file_id), (file_id, False), True, ), ...
[ "www.kentaro.wada@gmail.com" ]
www.kentaro.wada@gmail.com
a988b3ca16fb889c02de19ee22047a5bcba7d39f
a276a3249780e66efffd439b567a964af0652391
/backend/floral_truth_26698/settings.py
7ffab9abdfda057d9c71aa73799a445278134342
[]
no_license
crowdbotics-apps/floral-truth-26698
b300b428438f0b8451697be38e8907a80fe62a06
7f22632a0dec12806e2055cdd6f6eb3da64f4e14
refs/heads/master
2023-04-19T16:02:52.838834
2021-05-14T15:43:10
2021-05-14T15:43:10
367,408,875
0
0
null
null
null
null
UTF-8
Python
false
false
7,120
py
""" Django settings for floral_truth_26698 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ i...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
055ee322157756c9560886ef28e16fc0bbf63495
6710c52d04e17facbc9fb35a7df313f7a2a7bd53
/1381. Design a Stack With Increment Operation.py
2e7491daea2c04801a5525ecdf77a3a73cd84aec
[]
no_license
pwang867/LeetCode-Solutions-Python
535088fbe747a453360457728cc22cf336020bd2
188befbfb7080ba1053ee1f7187b177b64cf42d2
refs/heads/master
2022-11-13T16:20:28.211707
2020-06-28T06:01:14
2020-06-28T06:01:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,302
py
class CustomStack(object): def __init__(self, maxSize): """ :type maxSize: int """ self.stack = [] self.increase = [] # same size as self.stack self.maxSize = maxSize def push(self, x): """ :type x: int :rtype: None """ ...
[ "wzhou007@ucr.edu" ]
wzhou007@ucr.edu
0c4ab292fbcdcac73da82da08c133ce1417f5d29
78d7d7aeb78a8cea6d0e10b89fc4aa6c46c95227
/1058.py
3aab8b5c6e234d2664ad3c6d742f7112a9165bee
[]
no_license
GenryEden/kpolyakovName
97db13ef93061a8c2afc6cc5acd91337f79063f1
c5d7f631ae7ec8770e56170574b82ea2b7d8a4d9
refs/heads/master
2023-05-23T21:22:51.983756
2021-06-21T08:56:49
2021-06-21T08:56:49
350,466,773
0
0
null
null
null
null
UTF-8
Python
false
false
219
py
def check(a): for x in range(1, 1<<10): for y in range(1, 1<<10): res = (x*y < 4*a) or (x >= 21) or (x < 4*y) if not res: return False return True for a in range(1, 1<<20): if check(a): break print(a)
[ "a926788@gmail.com" ]
a926788@gmail.com
ae33221e90b454202350927d0a8ce65837dc6a9c
2fcf738ee1aa51697739f83d93af5481ac1d8881
/24pts(1).py
db26abd65bcf6b46bae06779bbc2668195535bf9
[]
no_license
fanzhangg/24-points
9c87f0a0b90b75bef3668188809ae1ec2bf571b5
b1af45e4e664665efe2cc6551c73c30d7de9fe9e
refs/heads/master
2020-04-09T08:18:06.248872
2018-12-03T12:40:39
2018-12-03T12:40:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,301
py
import random from Twenty_Four import Game def tran(s): if s == '+': a = 1 def cal(a, b, c, d): a_ = str(a) b_ = str(b) c_ = str(c) d_ = str(d) perm = [[a_] + [b_] + [c_] + [d_], [a_] + [b_] + [d_] + [c_], [a_] + [c_] + [b_] + [d_], [a_] + [c_] + [d_] + [b_], [a_] + [d_] +...
[ "vanadiumzhang@gmail.com" ]
vanadiumzhang@gmail.com
8833b3a38aaef481c4511cb4998d5dca051dbcd4
c16ea32a4cddb6b63ad3bacce3c6db0259d2bacd
/google/devtools/remoteworkers/v1test2/devtools-remoteworkers-v1test2-py/google/devtools/remoteworkers_v1/services/bots/transports/grpc.py
2e156f88902fd67375585b598d17c511732d36ce
[ "Apache-2.0" ]
permissive
dizcology/googleapis-gen
74a72b655fba2565233e5a289cfaea6dc7b91e1a
478f36572d7bcf1dc66038d0e76b9b3fa2abae63
refs/heads/master
2023-06-04T15:51:18.380826
2021-06-16T20:42:38
2021-06-16T20:42:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,154
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 or...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
d387e57f07e02b2094073d41ec379c41efd390d1
ac4b9385b7ad2063ea51237fbd8d1b74baffd016
/.history/connectors/pg_20210220003754.py
e0f701c3c1989cad9eabb69d91b22399c15954f0
[]
no_license
preethanpa/ssoemprep
76297ef21b1d4893f1ac2f307f60ec72fc3e7c6f
ce37127845253c768d01aeae85e5d0d1ade64516
refs/heads/main
2023-03-09T00:15:55.130818
2021-02-20T06:54:58
2021-02-20T06:54:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,736
py
import os import logging import select from contextlib import contextmanager from base64 import b64decode from tempfile import NamedTemporaryFile from uuid import uuid4 import psycopg2 from psycopg2.extras import Range from .query_runner import * from trir.utils import JSONEncoder, json_dumps, json_loads logger = lo...
[ "{abhi@third-ray.com}" ]
{abhi@third-ray.com}
677f423defa59332ac699b790fc922baf8137943
99f43f4591f63d0c57cd07f07af28c0b554b8e90
/python/beckjun/A형 특훈/14889 스타트와 링크 itertools.py
04ec3ba1f53a5ef03e836f75486e2e84597a49e4
[]
no_license
SINHOLEE/Algorithm
049fa139f89234dd626348c753d97484fab811a7
5f39d45e215c079862871636d8e0306d6c304f7e
refs/heads/master
2023-04-13T18:55:11.499413
2023-04-10T06:21:29
2023-04-10T06:21:29
199,813,684
0
0
null
null
null
null
UTF-8
Python
false
false
900
py
''' 탐색종료시점을 잘 생각하자. if min_score ==0: break 이거 하나로 몇배나 빨라졌다. ''' from itertools import combinations n = int(input()) mat = [list(map(int, input().split())) for _ in range(n)] def cal(lis1): lis2 = list(filter(lambda x: x not in lis1, range(n))) l = len(lis1) a_val = 0 b_val = 0 visited = [0] * ...
[ "dltlsgh5@naver.com" ]
dltlsgh5@naver.com
9dd7045bbccedcd5b763377bf2a8b5edb9d5cc0a
49b54185d467fdcdf51fb4f363c09026cef29c5e
/code_examples/4.1B_subscribing_to_an_observable.py
118da04aed8f7e446bc5d953f45c779a4e9b5f79
[]
no_license
kinowarrior/oreilly_reactive_python_for_data
ef0f580856aff0a398315a4f7c5f7e22533a686e
5206fd3cc7e40d871dcfea6b4d30022f8d06c16c
refs/heads/master
2020-05-19T03:08:05.634115
2019-05-06T12:07:38
2019-05-06T12:07:38
184,793,899
0
0
null
2019-05-03T17:21:01
2019-05-03T17:21:00
null
UTF-8
Python
false
false
383
py
from rx import Observable, Observer letters = Observable.from_(["Alpha","Beta","Gamma","Delta","Epsilon"]) class MySubscriber(Observer): def on_next(self, value): print(value) def on_completed(self): print("Completed!") def on_error(self, error): print("Error occure...
[ "thomasnield@live.com" ]
thomasnield@live.com
f9601982ec27c65ea0ec27744fa3fdefebf9e866
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/wEDHiAcALvS2KuRBJ_17.py
ea2deab4f3a764fd9d1a287738403df66623257f
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
1,041
py
class StackCalc: ​ def __init__(self): self.s = [] self.err = False ​ def run(self, instructions): for i in instructions.split(): if not self.err: if i.isdigit(): self.s += [int(i)] elif i == '+': self.s...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
dd7db101067a85f5d04748535f2d184c404bdd04
8b9d3fa48e87579a74b187abf781d5916b6b47df
/geoutils/bin/geogdelt
01cea63360e9ada367f374463fcfb621578c4749
[]
no_license
loum/geoutils
3f34b10bfaff8978af09f01de03723b71cd8be4f
034787d9a54856dac12988aaa05c366c5da4d7ec
refs/heads/master
2021-01-19T08:54:54.983763
2014-12-01T04:59:50
2014-12-01T04:59:50
22,494,847
0
0
null
null
null
null
UTF-8
Python
false
false
1,805
#!/usr/bin/python """Load GDELT files into the Accumulo datastore. """ import os import inspect import sys import daemoniser import geoutils CONF = os.path.join(os.sep, 'etc', 'geoutils', 'conf', 'geoutils.conf') def main(): """Script entry point. """ service = daemoniser.Service() service.parser...
[ "lou.markovski@gmail.com" ]
lou.markovski@gmail.com
dc99239af8da0845d4171c157e926644349a9b68
d54cb7a8a26dbf57423511a14cbb6f150ea4bafb
/setup.py
195fdc163936b3bc230a2a38da75f82c5744e50c
[]
no_license
inclement/vivarium-old
8957bfbf0073d0b772e47820969b585e627518cf
e9f826edcba35caad3856fc7093f728975d190bd
refs/heads/master
2021-06-16T02:05:46.221998
2017-05-07T21:49:37
2017-05-07T21:49:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
713
py
from setuptools import setup, find_packages from os import walk from os.path import join, dirname, sep import os import glob packages = find_packages() package_data = {'pywlc': ['*.py', '*_cdef.h', 'wlc.c'], } data_files = [] setup(name='pywm', version='0.1...
[ "alexanderjohntaylor@gmail.com" ]
alexanderjohntaylor@gmail.com
726ddd1a3d02da7c171166f5be435dc054cfb5b1
0f24c1e2df268a7c98314d5b3c6f8b5738f88ba9
/graphsense/model/search_result_level2.py
4e7853e8813513b9bc3586518c459afde0656912
[ "MIT" ]
permissive
arberx/graphsense-python
b07be2854d4f6e763aacdad4045ae72c338bd4e2
c0dafc97a04bc3dbf0caf08a981bb591bd1e430a
refs/heads/master
2023-08-11T14:15:42.576434
2021-06-17T08:01:04
2021-06-17T08:01:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,613
py
""" GraphSense API GraphSense API # noqa: E501 The version of the OpenAPI document: 0.5 Generated by: https://openapi-generator.tech """ import re # noqa: F401 import sys # noqa: F401 from graphsense.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, Mod...
[ "git@myrho.net" ]
git@myrho.net
1e90815b46685bf505b7aaac11595e9b89aa21eb
28a124b6a2f22a53af3b6bb754e77af88b4138e1
/DJANGO/ecommerce/ecommerce/settings.py
83512d1e10f2ad147fb23f05983f4075b7b7c344
[]
no_license
mebaysan/LearningKitforBeginners-Python
f7c6668a9978b52cad6cc2b969990d7bbfedc376
9e1a47fb14b3d81c5b009b74432902090e213085
refs/heads/master
2022-12-21T03:12:19.892857
2021-06-22T11:58:27
2021-06-22T11:58:27
173,840,726
18
4
null
2022-12-10T03:00:22
2019-03-04T23:56:27
Python
UTF-8
Python
false
false
3,215
py
""" ADMIN USER username -> admin password -> 123 """ import os # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # Quick-start development settings - unsuitable for production # See https://docs.djangopro...
[ "menesbaysan@gmail.com" ]
menesbaysan@gmail.com
d75e2100383263a57b5092934b0d2aafcf1626e4
211618a491e8031551c7bffbc867b9f85134f650
/dao/tdkspider.py
ccd1261db75f18506d2ca7701dfdefb82ab8398e
[]
no_license
xjl12322/xinnetSpiderCode
260c90cee89e070e4cba24d21f80f836440b435a
3afdccd6797ad61a2de29fb39cc28cb1cc916bb1
refs/heads/master
2020-03-26T08:09:58.521521
2018-08-14T07:07:46
2018-08-14T07:07:46
144,689,008
0
0
null
null
null
null
UTF-8
Python
false
false
3,788
py
#! /usr/bin/env python3 # -*- coding:utf-8 -*- __author__ = "X" __date__ = "2017/11/6 20:09" import requests,redis import json,sys import re from lxml import etree dict_encode = {"utf-8": "utf-8", "GB2312": "gbk", "Windows-": "utf-8"} # def return_code(url): # data = { # "domain": url, # "title": "...
[ "xjl12322@126.com" ]
xjl12322@126.com
c82702ec10d3658cf6351e71d23074e94c6fdda0
d460dc3e406e8458d0c5384026dd84bb400e0598
/COJ/python/2382.py
b08cd7d114188885155f5ae1cefa63524ce7abb0
[]
no_license
schiob/OnlineJudges
8490b5a6ed31c97820f6fb494d22862a54a1df28
f29f57e100f0f7c04d007285768cb60d43df4016
refs/heads/master
2023-06-23T03:55:52.600689
2023-06-08T01:48:35
2023-06-08T01:48:35
29,932,221
0
0
null
null
null
null
UTF-8
Python
false
false
158
py
# coding: utf-8 # In[11]: num = input().split(" ") # In[16]: print('YES') if int(num[0], int(num[1])) % int(num[2]) == 0 else print('NO') # In[ ]:
[ "schiob4@gmail.com" ]
schiob4@gmail.com
de9b2cb84c2a897ff015137e6d2acac906582dda
8396606fcb98d8ab2d5e5a139da83e7ce0880324
/rps/bots_open/multiStrategies5.py
4f545ea10cfb38b9e33fc6f57d4721c5a5837860
[]
no_license
bopopescu/Learn2Mine-Main
87b3d6d7fa804568a93c4c7e8324c95574afc819
acc0267b86ad6a9e5e1619d494c20407d4710e90
refs/heads/master
2021-05-29T17:48:17.844094
2015-09-14T16:19:36
2015-09-14T16:19:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,306
py
#multiStrategies5 STRATEGY_ONE = 'forecastMyMove' STRATEGY_TWO = 'forecastOponentMove' def defeatMove(obj): if obj == 'R': return 'P' elif obj == 'P': return 'S' else: return 'R' def lostLastMatche(myMove, oponentMove): if myMove == defeatMove(oponentMove) or myMove == oponentMove: return False else: ...
[ "pauleanderson@gmail.com" ]
pauleanderson@gmail.com
12aca86810a85741cb51fd596ac005e69f3ebd42
1a2a2f2f4fc8c4c2a1e67ae7faaea21a92ce3802
/tools/build_pytorch_libs.py
de4f7a9b74caa76f80575c76d053345ab31e8975
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "Apache-2.0", "BSD-2-Clause" ]
permissive
Nikolatesla-lj/pytorch
cd6bd48738c351fc59f55b2495c65264f79081c7
7dde5a39c38cb82f1761ed9829323ae3b5996b69
refs/heads/master
2020-04-29T14:28:28.225661
2019-03-20T11:53:27
2019-03-20T11:53:27
176,197,615
2
0
NOASSERTION
2019-03-20T11:53:28
2019-03-18T03:25:51
C++
UTF-8
Python
false
false
10,977
py
from .setup_helpers.env import (IS_ARM, IS_DARWIN, IS_LINUX, IS_PPC, IS_WINDOWS, DEBUG, REL_WITH_DEB_INFO, USE_MKLDNN, check_env_flag, check_negative_env_flag, hotpatch_build_env_vars) import os import sys import distutils import distutils.sysconfig from ...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
97ac4863627042b6aa3459be2e50fbd99441e66d
06a7dc7cc93d019e4a9cbcf672b23a0bbacf8e8b
/2013_mescog/db_clinic/00_MISSING_CADASIL.py
6494bf29bfd92f231c3b55162526c88ffe412081
[]
no_license
neurospin/scripts
6c06cd218a5f32de9c3c2b7d1d8bda3f3d107458
f14a2c9cf2cd7f5fbea767b017c3faf36d170bdb
refs/heads/master
2021-07-11T22:55:46.567791
2021-07-02T13:08:02
2021-07-02T13:08:02
10,549,286
2
2
null
null
null
null
UTF-8
Python
false
false
3,120
py
# -*- coding: utf-8 -*- """ Created on Thu Oct 3 10:44:49 2013 Add DATEINCL and DATENAIS an compute AGE_AT_INCLUSION in CADASIL subjects INPUT ----- "base_commun.csv" "france2012.csv" => date DATEINCL and DATENAIS for french "CAD_Munich_Dates.txt" => date DATEINCL and DATENAIS for german OUTPUT ------ "base_commu...
[ "edouard.duchesnay@gmail.com" ]
edouard.duchesnay@gmail.com
ba079ef7005657c485428d1ab73b3303ac4578e5
ab28f1bb7e77309fe5afbc0ef3c57d8cd226d0ef
/0x07-python-test_driven_development/4-print_square.py
55dce02c1a10e4db40711ebeff01ac6de5bf7a5f
[]
no_license
rakiasomai/holbertonschool-higher_level_programming
aebc5245fc0e6d30faf24b1e55dad93ae71fb537
f07fedb05405f4ca6b45354ca1ccb90c1f48a215
refs/heads/master
2020-12-10T14:45:19.245460
2020-05-14T16:58:43
2020-05-14T16:58:43
233,623,084
0
0
null
null
null
null
UTF-8
Python
false
false
572
py
#!/usr/bin/python3 ''' This function called "Print Square" this function prints a square using this symbol "#" The arguments must be an integer ''' def print_square(size): ''' Print a square by using arguments ''' if not isinstance(size, (int, float)) or isinstance(size, bool): raise TypeErr...
[ "somai.rakia@hotmail.fr" ]
somai.rakia@hotmail.fr
46cfb3ce8fe6fdffa1f4bec06b4dcf8eefd0b399
fc90b69b4381a8696d77e5c98976888c93e939f7
/gsee/trigon.py
a99744e61cfae49b7e2a214ef37027813a90e4a7
[ "BSD-3-Clause" ]
permissive
ManiaGary/gsee
aaa9aeae89dc492101fb924b940a86f72db7a789
468ba4fb3119f8303aeffb5f2cca5a9e62614a8c
refs/heads/master
2021-01-23T07:50:52.010402
2016-09-06T08:34:33
2016-09-06T08:34:33
86,457,944
1
0
null
2017-03-28T12:35:15
2017-03-28T12:35:15
null
UTF-8
Python
false
false
8,112
py
""" Irradiance on an inclined plane ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Using trigonometry (Lambert's cosine law, etc). """ import datetime import ephem import numpy as np import pandas as pd def _sun_rise_set(datetime_index, obs): """ Returns a list of (sunrise, sunset) tuples for the datetimes in the gi...
[ "stefan@pfenninger.org" ]
stefan@pfenninger.org
054a786ca85332a9c5e410c27396930e714de064
5419d8d02a7fdec15f542498840d19af939fa130
/LeetCode30DaysChallenge/Day_26_LongestCommonSubsequence.py
50b86c08a66089e50faf5d0ac9108d508a4030c0
[]
no_license
foolchauhan/DataStructureAndAlgorithms
3cf1d4927b6b11592789cb8d1a6800c9de4822e2
d53281a724a8b58ccc67ebe8c0e0af6c4ae63c4a
refs/heads/master
2022-10-10T08:29:14.461248
2020-06-10T16:18:36
2020-06-10T16:18:36
244,270,954
0
0
null
null
null
null
UTF-8
Python
false
false
362
py
def lcs(X , Y): m = len(X) n = len(Y) L = [[None]*(n+1) for i in range(m+1)] for i in range(m+1): for j in range(n+1): if i == 0 or j == 0 : L[i][j] = 0 elif X[i-1] == Y[j-1]: L[i][j] = L[i-1][j-1]+1 else: L[i][j] = max(L[i-1][j] , L[i][j-1]) return L[m][n] X = "abcde" Y = "ace...
[ "chauhanchetan82@gmail.com" ]
chauhanchetan82@gmail.com
b27c407b97b61db14f0ef5557a0a98f303bcd9a6
afbae26b958b5ef20548402a65002dcc8e55b66a
/release/stubs.min/Revit/Application.py
13621cf5daeedceac8a610c432a9699fff210b93
[ "MIT" ]
permissive
gtalarico/ironpython-stubs
d875cb8932c7644f807dc6fde9dd513d159e4f5c
c7f6a6cb197e3949e40a4880a0b2a44e72d0a940
refs/heads/master
2023-07-12T01:43:47.295560
2022-05-23T18:12:06
2022-05-23T18:12:06
95,340,553
235
88
NOASSERTION
2023-07-05T06:36:28
2017-06-25T05:30:46
Python
UTF-8
Python
false
false
1,032
py
# encoding: utf-8 # module Revit.Application calls itself Application # from RevitNodes,Version=1.2.1.3083,Culture=neutral,PublicKeyToken=null # by generator 1.145 # no doc # no imports # no functions # classes class Document(object): """ A Revit Document """ ActiveView=property(lambda self: object(),la...
[ "gtalarico@gmail.com" ]
gtalarico@gmail.com
f5e93ea4f56961c6f7fe468c04989918d124c81b
97be97cfc56fb2170b60b91063dbfe5f1449e3c0
/python/ARC118/A.py
8433baa2c379b11ff6a0977f6734dd8082f1d73f
[]
no_license
iWonder118/atcoder
73d965a0a9ade189733808e47634f2b7776aad4b
3ab7271e838a2903ff0e07f94015ef13c59577e1
refs/heads/master
2022-01-25T10:10:55.007340
2021-12-31T14:04:54
2021-12-31T14:04:54
245,155,997
0
0
null
null
null
null
UTF-8
Python
false
false
302
py
t, N = map(int, input().split()) handled = [False] * (100 + t) for i in range(1, 100): handled[int(i * (100 + t) / 100)] = True unhandled = [] for i in range(1, 100 + t): if not handled[i]: unhandled.append(i) x, y = divmod(N - 1, len(unhandled)) print((100 + t) * x + unhandled[y])
[ "52240372+iWonder118@users.noreply.github.com" ]
52240372+iWonder118@users.noreply.github.com
90563c027e3c2d7b242cddfec0fee30ac8093d2c
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/9Kuah39g997SvZmex_1.py
ed002987b0ece5b4a8e68e0089af9c017d6ed7be
[]
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
906
py
""" Create a function that takes in a sentence as input and returns the **most common last vowel** in the sentence as a single character string. ### Examples common_last_vowel("Hello World!") ➞ "o" common_last_vowel("Watch the characters dance!") ➞ "e" common_last_vowel("OOI UUI EEI AAI") ➞ "...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
e5715d9c0c8cfb7d4476e1ce2ced6e8132fecf58
4580dcd5eeb99b88716721625e243f888ddbca08
/src/Ch10/age_lambda_filter.py
3daeb3c0ca1163577da41b096aab792e330c0566
[]
no_license
dongupak/Prime-Python
c9c7a211e61f06fe518719b499b01eeb34c1e827
767cc9cb9f47fda5efa78776c1d1aa68b43dc6c4
refs/heads/master
2022-02-08T13:10:06.797737
2022-01-18T02:01:29
2022-01-18T02:01:29
224,655,276
23
23
null
2020-07-30T05:06:33
2019-11-28T13:05:28
Jupyter Notebook
UTF-8
Python
false
false
275
py
# 코드 10-5 : 람다 함수를 이용한 간략화된 필터 ## "으뜸 파이썬", p. 579 ages = [34, 39, 20, 18, 13, 54] print('성년 리스트 :') for a in filter(lambda x: x >= 19, ages): # filter() 함수를 사용한 ages의 필터 print(a, end = ' ')
[ "dongupak@gmail.com" ]
dongupak@gmail.com
c01e3c700ea2c7a4bda0f7afd1829a96df5727cb
a35d07b11f013a26901942f730d4b720f4e27355
/warmup1/diff21.py
a8ddabe0c6331fafd4d549bd53c89af715e1e6f7
[]
no_license
PMiskew/codingbat_solutions_python
7cbbf293fb6b230e274a8cee373a2222a5a27e8d
6e62fd0080c2a9bcd59fd4f803cc7966a2cb88d1
refs/heads/master
2022-11-13T13:24:53.078833
2020-07-14T18:38:06
2020-07-14T18:38:06
255,197,455
5
0
null
null
null
null
UTF-8
Python
false
false
2,123
py
''' Question Given two int values, return their sum. Unless the two values are the same, then return double their sum. sum_double(1, 2) → 3 sum_double(3, 2) → 5 sum_double(2, 2) → 8 ''' def diff21(n): #Note: All the other exampels returned booleans so far. This example # returns an intger. Always pa...
[ "paul.miskew@gmail.com" ]
paul.miskew@gmail.com
6c06011d81adf54862a37378abd3221e37f6e4bc
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_212/ch57_2020_06_19_14_53_17_093175.py
c97fcb636614fa2a80d8da7e6fef8d15eb100590
[]
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
748
py
def verifica_progressao (lista): pa = False pg =False if len(lista) == 0: pa = True pg = True else: aumento = lista[1] - lista[0] razao = lista[1]/lista[0] for i in range (len(lista)-1): if lista[i+1] - lista[i] != ...
[ "you@example.com" ]
you@example.com
86ed2728cf8554c1b83eace130b6ded059e02e00
2a21e9469d52c9eb2c794efa85227ca81cd39be8
/app/classes/Database.py
09b9d6d7950135fec164015f1031afc1cd45993b
[]
no_license
CL0456/WebsiteProject
b1f9b0f531eb5afaa21ac8b6c951be8c2c6a1bd0
5e31a7e03d69afe036b0c0f1851fb7f276388cc6
refs/heads/master
2023-01-01T20:19:02.874794
2020-10-29T01:17:22
2020-10-29T01:17:22
271,406,475
0
0
null
null
null
null
UTF-8
Python
false
false
5,717
py
import os import tempfile import pyrebase import requests import json from collections import OrderedDict from flask import current_app as flask_app from app import SITE_ROOT class Database(): """ Database Class. Class to interact with Firebase Realtime Database. """ def __init__(self): ...
[ "you@example.com" ]
you@example.com
d2cb0fdb41bd08f4584135491fc11aca0f8532ba
a154f6985195429b6f839f452576593f09dea6c7
/cartpole_fitness.py
2acd4e600600c2d28c05e369da6e0ba0dfcac22f
[]
no_license
mcx/evolved_cartpole
56e96cfc3e4f92a47d2c330c352672148a4c7f25
1c33f656f7eb3cad4d12de1e1a9f5285dae91df1
refs/heads/master
2022-02-19T08:56:44.839769
2019-09-13T12:45:19
2019-09-13T12:45:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
963
py
# given an agent, eval fitness against cartpole import gym from PIL import Image class CartPoleFitness(object): def __init__(self, render=False): # prep cart pole env self.env = gym.make('CartPole-v0') self.render = render def fitness(self, agent): total_reward = 0 f...
[ "matthew.kelcey@gmail.com" ]
matthew.kelcey@gmail.com
a032d70b9c31a56477988fc39f040166ff30a2bb
bdc635a69a9893d01804044d4458fe6af302e586
/ciphercode.py
3decd2774a9a6d707c90eaa886d5f55c398155af
[]
no_license
sidv1905/Python-programs
55ed197bd0b6b01a6c2e1b06d1f13a76f520dbe5
796381324ddeebc65a778b22eb2ba07d60038698
refs/heads/master
2021-06-16T01:54:20.606829
2019-05-23T21:10:20
2019-05-23T21:10:20
188,306,140
1
0
null
2021-05-06T19:34:12
2019-05-23T21:02:15
Python
UTF-8
Python
false
false
264
py
S=input() sf='' k=int(input()) for i in S: if i.isupper(): sf += chr(65+(ord(i)+k-65) % 26) elif i.islower(): sf += chr(97+(ord(i)+k-97) % 26) elif i.isnumeric(): sf += str((int(i) + k) % 10) else: sf += i print(sf)
[ "sidvarangaonkar1905@gmail.com" ]
sidvarangaonkar1905@gmail.com
b89d17a72689a1ec6488030cde8fd3cde2eb6805
ee9779fd7248b8897dae11df56b0195e90cc28ae
/docs/_ext/sphinx_clickx.py
7083f579cd7a7c4fd8dc5fef412a46b50de93643
[ "Apache-2.0" ]
permissive
mobiusklein/glycresoft
8f31fd4c7941e8251768e3b4dfed46537c03de32
43246cb4c7feca36646abcaa8b5139b471a73ebe
refs/heads/master
2023-09-03T22:38:06.094335
2023-09-03T21:28:35
2023-09-03T21:28:35
62,980,813
7
4
null
2018-01-19T19:27:40
2016-07-10T04:05:43
Python
UTF-8
Python
false
false
10,251
py
import re from docutils import nodes from docutils.parsers.rst import directives from docutils import statemachine import click from docutils.parsers.rst import Directive def clean_type_name(typename): if not isinstance(typename, str): try: typename = typename.human_readable_name exc...
[ "mobiusklein@gmail.com" ]
mobiusklein@gmail.com
6a243b740ac60525a548af49025da95c955bd002
f6703b2afca284bf75e0dbf8f61d77e5251f905c
/euler362.py
a8c1a82abc396cc3badb55813c2bc8abd0374d9d
[]
no_license
rwieckowski/project-euler-python
2a7aa73670b4684f076ad819bfc464aa0778f96c
be9a455058b20adfd32c814effd8753cc9d39890
refs/heads/master
2021-01-10T21:10:44.875335
2015-06-23T13:29:58
2015-06-23T13:29:58
37,920,684
0
1
null
null
null
null
UTF-8
Python
false
false
730
py
""" <P>Consider the number 54<BR />54 can be factored in 7 distinct ways into one or more factors larger than 1<BR />54 2times27 3times18 6 times9 3times3times6 2times3times9 and 2times3times3times3<BR />If we require that the factors are all squarefree only two ways remain 3 times3times6 and 2times3times3times3</P><...
[ "rwieckowski@ivmx.pl" ]
rwieckowski@ivmx.pl
fec30960396bc57c474027f4ee00640ac2016109
16faeb74a141ce5274f176df4c0cffed4dde2512
/src/vk_crawler.py
b698909db1ebbd8c788ef5bfcc21d1a02e329047
[]
no_license
kunansy/Crawler
a0005a18e27551b55bb8c7432cd4170bf7ca238b
02bc04f34077480d5c354f8e6a21bab7614f0d71
refs/heads/master
2023-01-31T02:39:56.694447
2020-12-10T15:03:06
2020-12-10T15:03:06
291,439,024
0
0
null
null
null
null
UTF-8
Python
false
false
16,062
py
import csv import datetime import logging import os import re from pathlib import Path from typing import List, Tuple, Any, Dict from src.request import get_json # Dict[str, Any] Sdict = Dict[str, Any] # pairs with languages TL = Tuple[str, str] # folder with csv files DATA_FOLDER = Path('data') / 'VK' # folder with...
[ "kolobov.kirill@list.ru" ]
kolobov.kirill@list.ru
29eee61b8a8b7fb8569e612e93eececee6fa6872
9df2fb0bc59ab44f026b0a2f5ef50c72b2fb2ceb
/sdk/servicebus/azure-servicebus/azure/servicebus/_servicebus_session.py
f095c85f1ab1f07ad897ec4340781a6c613e71c0
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
openapi-env-test/azure-sdk-for-python
b334a2b65eeabcf9b7673879a621abb9be43b0f6
f61090e96094cfd4f43650be1a53425736bd8985
refs/heads/main
2023-08-30T14:22:14.300080
2023-06-08T02:53:04
2023-06-08T02:53:04
222,384,897
1
0
MIT
2023-09-08T08:38:48
2019-11-18T07:09:24
Python
UTF-8
Python
false
false
8,209
py
# -------------------------------------------------------------------------------------------- # 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" ]
openapi-env-test.noreply@github.com
110872ad79c95d39290a9a65b9e28178a3a65cdf
200ec10b652f9c504728890f6ed7d20d07fbacae
/migrations/versions/c782b3c7ff30_.py
3e3707f526106deafa59f0bf3a3ba1ecc69a68cd
[]
no_license
Ks-Ksenia/flask_shop
f4edc17669c29ae02a89e836c3c48230147ae84f
9eb44fd22bf99913c9824ea35e3922cb14ef2451
refs/heads/master
2023-03-01T13:55:20.749127
2021-02-14T09:29:04
2021-02-14T09:29:04
338,767,599
0
0
null
null
null
null
UTF-8
Python
false
false
1,769
py
"""empty message Revision ID: c782b3c7ff30 Revises: Create Date: 2021-01-28 10:59:15.555312 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'c782b3c7ff30' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto gene...
[ "demag74@mail.ru" ]
demag74@mail.ru
e24e038928e1c3e8008a338b693451cfac3c780f
f82e67dd5f496d9e6d42b4fad4fb92b6bfb7bf3e
/scripts/client/gui/shared/soundeffectsid.py
2e8f0e577fd6cd3f4b4408c7c2436eddfc45b327
[]
no_license
webiumsk/WOT0.10.0
4e4413ed4e7b00e22fb85d25fdae9400cbb4e76b
a84f536c73f86d9e8fab559e97f88f99f2ad7e95
refs/heads/master
2021-01-09T21:55:00.662437
2015-10-23T20:46:45
2015-10-23T20:46:45
44,835,654
1
0
null
null
null
null
UTF-8
Python
false
false
2,871
py
# Embedded file name: scripts/client/gui/shared/SoundEffectsId.py from debug_utils import LOG_DEBUG import FMOD class SoundEffectsId(object): if FMOD.enabled: SPEND_CREDITS_GOLD = 'spend_credits_and_gold' SPEND_CREDITS = 'spend_credits' SPEND_GOLD = 'spend_gold' EARN_CREDITS_GOLD = ...
[ "info@webium.sk" ]
info@webium.sk
78de0ffe83efea63c213df8dbd4adbca5a3209bd
315f126df2d863cb269a021956dc6c92f60794e7
/09waimaii/app/models/member.py
f27dd3c295a55be873674419f3fb68a450725dd0
[]
no_license
OCC111/1809flask
6759cdac5dea2208e38a204987c9271cf3fc69c5
7902e1083a558db2eb6ac47c2c8bf2aac9a669d3
refs/heads/master
2020-05-30T16:13:26.117557
2019-06-12T12:31:10
2019-06-12T12:31:10
189,841,040
0
0
null
null
null
null
UTF-8
Python
false
false
1,557
py
from app import db from app.models.baseModel import BaseModel class Member(BaseModel, db.Model): __tablename__ = 'member' id = db.Column(db.Integer, primary_key=True) nickname = db.Column(db.String(100), nullable=False, default='') mobile = db.Column(db.String(11), nullable=False, default='') gend...
[ "859899882@qq.com" ]
859899882@qq.com
32616bb067f3e60e516a07caea444ac8e9715e5f
b42930ea351e0910efd7b3fbc9ca3bdca0196eed
/app/migrations/0005_auto__add_boletin__add_unique_clase_materia_grupo_profesor.py
e960c90b9c0d3a2134b7a7136b2eb631d44a145a
[ "Apache-2.0" ]
permissive
henocdz/akdmik
1ab0483d859b904e53e2ce8783b4a0c80a560aa1
b01300942fc8b3abd8be23f44dc4057a20ae3726
refs/heads/master
2021-04-12T05:16:32.509407
2013-12-01T22:59:08
2013-12-01T22:59:08
14,650,996
1
0
null
null
null
null
UTF-8
Python
false
false
10,272
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Boletin' db.create_table(u'app_boletin', ( (u'id', self.gf('django.db.models.fie...
[ "henocdz@gmail.com" ]
henocdz@gmail.com
cdc0fc730c4fec7b7f356cae21e10e857bdc8879
36c0532bd632a7ec3c06ac1d03f3ba350b7c140b
/projects/serializer.py
52f61f6f9e7a6884c87b132dbacf57c9822e4dc7
[ "MIT" ]
permissive
apwao/Awwards
bab22f458655692ba02f278b8b929f6df3ea2339
521f98a8ecb9e9d03e2357f391d0611dd7173409
refs/heads/master
2022-11-30T01:07:35.120927
2019-08-28T09:25:13
2019-08-28T09:25:13
194,293,236
0
0
null
2022-11-22T03:55:14
2019-06-28T15:09:46
Python
UTF-8
Python
false
false
356
py
from rest_framework import serializers from .models import Project class ProjectSerializer(serializers.ModelSerializer): """ Class profile serializers to convert the Profile django model into a JSON object """ class Meta: model=Project fields=('project_title','project_image','project_de...
[ "sapwao@gmail.com" ]
sapwao@gmail.com
e3aa334a68217191e7b035f4851912fe116d78c5
8c917dc4810e2dddf7d3902146280a67412c65ea
/v_7/NISS/shamil_v3/mrp_custom/report/__init__.py
3b93f73ef14b14530c20a4b225e509228dff8fb0
[]
no_license
musabahmed/baba
d0906e03c1bbd222d3950f521533f3874434b993
0b997095c260d58b026440967fea3a202bef7efb
refs/heads/master
2021-10-09T02:37:32.458269
2018-12-20T06:00:00
2018-12-20T06:00:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
456
py
# -*- coding: utf-8 -*- ############################################################################# # # NCTR, Nile Center for Technology Research # Copyright (C) 2011-2012 NCTR (<http://www.nctr.sd>). # ############################################################################# #import production_costs_repo...
[ "bakry@exp-sa.com" ]
bakry@exp-sa.com
45f3b8998024a30e11fe46052fd28b6ada623520
5edebb68bd320b3e74cdafe5948c324558d786ab
/mu2e/__init__.py
39934eb836fb48384fda016a36a3c03176f266d4
[]
no_license
pollackscience/Mu2E
ef5816f1e7ea66a9bc42c2f4fffac09578f1dbbf
8551b6afd5c01a6fb9ac2b34650b7c23c0b9215a
refs/heads/master
2022-10-12T18:59:13.699041
2020-06-09T15:22:05
2020-06-09T15:22:05
35,908,238
0
0
null
null
null
null
UTF-8
Python
false
false
109
py
from __future__ import absolute_import import os mu2e_ext_path = os.path.expanduser('~/Coding/Mu2E_Extras/')
[ "brianleepollack@gmail.com" ]
brianleepollack@gmail.com
32add1e8f1a5f2ccfb0c98f10e0c108d20b4e0cd
ccbfc7818c0b75929a1dfae41dc061d5e0b78519
/aliyun-openapi-python-sdk-master/aliyun-python-sdk-scdn/aliyunsdkscdn/request/v20171115/DescribeScdnRefreshQuotaRequest.py
255f6a7086c110837108e34ca8358185fb0b8f9f
[ "Apache-2.0" ]
permissive
P79N6A/dysms_python
44b634ffb2856b81d5f79f65889bfd5232a9b546
f44877b35817e103eed469a637813efffa1be3e4
refs/heads/master
2020-04-28T15:25:00.368913
2019-03-13T07:52:34
2019-03-13T07:52:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,326
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 u...
[ "1478458905@qq.com" ]
1478458905@qq.com
be0a6fb0d5da06a658cbb803dde555f11cb92df9
bc441bb06b8948288f110af63feda4e798f30225
/data_ops_analysis_sdk/model/inspection/metric_group_pb2.pyi
11016ea24bf79dbc2a3001776ac332e255bbb812
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
false
3,015
pyi
# @generated by generate_proto_mypy_stubs.py. Do not edit! import sys from data_ops_analysis_sdk.model.inspection.dim_pb2 import ( InspectionDim as data_ops_analysis_sdk___model___inspection___dim_pb2___InspectionDim, ) from data_ops_analysis_sdk.model.inspection.val_pb2 import ( InspectionVal as data_ops_ana...
[ "service@easyops.cn" ]
service@easyops.cn
df441ecebb831006b1216e31a0f500c020819031
2dc17d12ff6ea9794177c81aa4f385e4e09a4aa5
/archive/2201. Count Artifacts That Can Be Extracted.py
d7667b34133a848ec2001bd66bec971255732dc6
[]
no_license
doraemon1293/Leetcode
924b19f840085a80a9e8c0092d340b69aba7a764
48ba21799f63225c104f649c3871444a29ab978a
refs/heads/master
2022-10-01T16:20:07.588092
2022-09-08T02:44:56
2022-09-08T02:44:56
122,086,222
0
0
null
null
null
null
UTF-8
Python
false
false
448
py
class Solution: def digArtifacts(self, n: int, artifacts: List[List[int]], dig: List[List[int]]) -> int: d = {} for i, a in enumerate(artifacts): r1, c1, r2, c2 = a for x in range(r1, r2 + 1): for y in range(c1, c2 + 1): d[x, y] = i ...
[ "19241008o" ]
19241008o
9a7cc36dd437d76af94baa682c310578ed88e722
3b7c5454d22d843f21d58eaef724c08436f20c26
/exp/exp074.py
22f51f6351bb2dfcc7dc9c0ba021e34165920712
[]
no_license
kurupical/shopee
a6c1a0fcf6f92b5f204ebab150bba7b906c5421a
ccc3f1ed631283d627074529ec1f302b02d0d10a
refs/heads/master
2023-04-18T14:17:18.786699
2021-05-11T00:11:24
2021-05-11T00:11:24
354,429,650
1
0
null
null
null
null
UTF-8
Python
false
false
20,955
py
import torch from torch import nn from torch.nn import Parameter import torch.nn.functional as F from transformers import AutoTokenizer, AutoModel from torch.utils.data import Dataset, DataLoader from timm import create_model import math import cv2 import random import os import numpy as np import pandas as pd from skl...
[ "kurupical@gmail.com" ]
kurupical@gmail.com
0a9868f457eb1aa068c047e33bbec3e8c024ff98
26d5c795d8aa83bf5cb3f228675ff51e2f704f57
/tests/testbed_datastores.py
f87d239f1e36a2101a4c9c72df6982ffb0a085e3
[]
no_license
binarymachines/mercury
8e13bb10c67a056fe88e02f558d73f1f1b95d028
db3e2425f4e77a44a97c740f7fff90312a1bd33f
refs/heads/master
2023-07-08T11:35:26.867494
2023-06-25T00:46:23
2023-06-25T00:46:23
94,708,610
2
6
null
2023-02-15T21:50:06
2017-06-18T19:31:50
Python
UTF-8
Python
false
false
701
py
#!/usr/bin/env python from mercury import datamap as dmap from mercury.dataload import DataStore, DataStoreRegistry, RecordBuffer, checkpoint class TestDatastore(DataStore): def __init__(self, service_object_registry, *channels, **kwargs): super.__init__(service_object_registry, *channels, **kwargs) ...
[ "binarymachineshop@gmail.com" ]
binarymachineshop@gmail.com
e962c04487db5b0daafe715ec6e115ccd8014031
9da8754002fa402ad8e6f25659978bd269bbcec8
/src/139B/cdf_139B.py
a343873acece54f65ada08084ba5a15efaecf9d8
[ "MIT" ]
permissive
kopok2/CodeforcesSolutionsPython
a00f706dbf368ba0846c8ae86d4145b5dd3e1613
35bec0dbcff47765b123b5fe60476014376153df
refs/heads/master
2023-02-02T03:08:22.097651
2020-12-17T22:00:50
2020-12-17T22:00:50
196,035,812
1
1
null
null
null
null
UTF-8
Python
false
false
1,154
py
import math class CodeforcesTask139BSolution: def __init__(self): self.result = '' self.n = 0 self.walls = [] self.m = 0 self.papers = [] def read_input(self): self.n = int(input()) for x in range(self.n): self.walls.append([int(y) for y in ...
[ "oleszek.karol@gmail.com" ]
oleszek.karol@gmail.com
d94e85b910aeaff80552f9e68d32a295d877586b
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/RWLWKmGcbp6drWgKB_23.py
5adf0badb29c6006de4951b4c8c6af9fb7c7a1cc
[]
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
1,221
py
""" Atticus has been invited to a dinner party, and he decides to purchase a bottle of wine. However, he has little knowledge of how to choose a good bottle. Being a very frugal gentleman (yet disliking looking like a cheapskate), he decides to use a very simple rule. In any selection of **two or more wines** , he w...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
f36133a4d7d2cfe78a2cafdf8ab04ec0448e18cb
338062cc2bb422f1364fd18ad5e721f6f713907a
/9. Множества/Дополнительные задачи/Рецепты.py
6d1a81604e9eded44d45203a89486040ea0ef914
[]
no_license
rady1337/FirstYandexLyceumCourse
f3421d5eac7e7fbea4f5e266ebeb6479b89941cf
0d27e452eda046ddd487d6471eeb7d9eb475bd39
refs/heads/master
2022-06-17T03:07:51.017888
2020-05-12T22:17:34
2020-05-12T22:17:34
263,459,364
0
1
null
null
null
null
UTF-8
Python
false
false
345
py
n = int(input()) holod = set() eat = set() for i in range(n): holod.add(input()) n1 = int(input()) for i in range(n1): recept = input() n2 = int(input()) e = 1 for j in range(n2): eat.add(input()) for i in eat: if i not in holod: e = 0 if e == 1: print(rec...
[ "noreply@github.com" ]
rady1337.noreply@github.com
8d7a781bfef3a52b7a074199f5ca4714b0e6c872
72f6f274a9e4937f99e61eebe14f9b2f301a83f5
/utils/vocab.py
377f7baad879bb3d432bda34d57e6de391eff6af
[]
no_license
studio-ousia/textent
e466f8ef4f6910a0f4270014fa29c18aa5f329e0
2a73ef2f6a0d29d4d1c1085a75fa0b7592bdd376
refs/heads/master
2021-03-22T04:45:57.582737
2018-06-03T07:18:28
2018-06-03T07:18:28
93,811,887
20
4
null
null
null
null
UTF-8
Python
false
false
3,790
py
# -*- coding: utf-8 -*- import joblib import logging from collections import Counter from marisa_trie import Trie from tokenizer import RegexpTokenizer logger = logging.getLogger(__name__) class Vocab(object): def __init__(self, dic, start_index=0): if isinstance(dic, Trie): self._dic = dic...
[ "ikuya@ikuya.net" ]
ikuya@ikuya.net
22d67d10e3a2619ee32e9c5fb94ba908b3227b6d
c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64
/Engine/Extras/Maya_AnimationRiggingTools/MayaTools/General/Scripts/customMayaMenu.py
7768a652218d6360937c0bedd93b7f60b33589c3
[ "MIT", "LicenseRef-scancode-proprietary-license" ]
permissive
windystrife/UnrealEngine_NVIDIAGameWorks
c3c7863083653caf1bc67d3ef104fb4b9f302e2a
b50e6338a7c5b26374d66306ebc7807541ff815e
refs/heads/4.18-GameWorks
2023-03-11T02:50:08.471040
2022-01-13T20:50:29
2022-01-13T20:50:29
124,100,479
262
179
MIT
2022-12-16T05:36:38
2018-03-06T15:44:09
C++
UTF-8
Python
false
false
24,510
py
import maya.cmds as cmds import maya.mel as mel import os, cPickle from functools import partial def customMayaMenu(): gMainWindow = mel.eval('$temp1=$gMainWindow') menus = cmds.window(gMainWindow, q = True, menuArray = True) found = False for menu in menus: la...
[ "tungnt.rec@gmail.com" ]
tungnt.rec@gmail.com
236d1bfb3fea28dc75f25ad86df9ae345d5ab611
8b060d38c63993a3259a80b072768206b558772b
/BlogApp/migrations/0002_article_article_text.py
d99bdd629d6dc36f5b7359e87521a9f2e0f14e77
[]
no_license
mortadagzar/Simple-Python-feedingTable
d8b0a2a06c1b3d78167241a6f60a2bb00fa9c4ce
716c68e6b9c55bd2dc8299ca14ccf39431cf0efb
refs/heads/master
2020-03-30T19:07:16.027807
2018-10-14T15:05:28
2018-10-14T15:05:28
151,529,016
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
# Generated by Django 2.1.1 on 2018-09-22 10:00 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('BlogApp', '0001_initial'), ] operations = [ migrations.AddField( model_name='article', name='article_text', ...
[ "mortadagzar@gmail.com" ]
mortadagzar@gmail.com
1f2077fb090fdeee86837bbfae1517e61d60450b
640411253fcf4dfc71b70ec923b0864ccd58b837
/dev/python_introspection.py
56166900dc776d25dc7cfcd71d2b0f2debcfa990
[]
no_license
williamsdoug/GitAnalysis
cb6dce95e7a92b0d1d2cf2db3c94aec6ef3be3bf
da91b541d2531a41cc1f4e02537b7803b84b20d3
refs/heads/master
2016-09-06T15:50:50.345898
2015-07-02T13:28:51
2015-07-02T13:28:51
23,364,094
1
0
null
null
null
null
UTF-8
Python
false
false
20,055
py
# # python_introspection.py - Language aware processing of python source files # # Author: Doug Williams - Copyright 2015 # # Last updated 4/13/2015 # # Nomenclaure: # - AST, ST - Abstract Syntax Tree (from Python standatd library) # - HT - Hash Tree - AST annotates with signatures of each included element # # Histor...
[ "ddwilli@gmail.com" ]
ddwilli@gmail.com
900da8b9e0f950261448fb6dca13409fad7822ae
31a7c0fa71fa9f7b75406fc6868c698acd714804
/sucai/views.py
57f3850c2423baad3f2191892bb4bdeb1640f41f
[]
no_license
cc8848/AiChuangZuoBackground
adb65fc6af937257e4867e95068bf66320a62611
72c77f9569f8739a00a82dfe298db8797f04f228
refs/heads/master
2020-06-05T02:07:49.050905
2018-06-28T10:28:25
2018-06-28T10:28:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,642
py
# -*- coding: utf-8 -*- from django.http import HttpResponse import json import models # 转换成json形式 def toDicts(objs): obj_arr = [] for o in objs: obj_arr.append(o.toDict()) return obj_arr # 查询平台类型 def deck_list(request): all_type = models.deck_type.objects.all() all_dicts = toDicts(all_...
[ "shuo.du@edaibu.net" ]
shuo.du@edaibu.net
f5c0a7e696686f43691506373bb86e69d4cb52a9
4324d19af69080f45ff60b733c940f7dc1aa6dae
/google-ads-python/google/ads/google_ads/v1/proto/services/customer_extension_setting_service_pb2.py
f3103761ce4e6ee6248071e0e456005eea04feb7
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
ljborton/Forked_Work
cc8a3813c146ea4547aca9caeb03e649bbdb9076
7aaf67af8d9f86f9dc0530a1ad23951bcb535c92
refs/heads/master
2023-07-19T22:26:48.085129
2019-11-27T02:53:51
2019-11-27T02:53:51
224,321,748
0
0
null
null
null
null
UTF-8
Python
false
true
20,926
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads_v1/proto/services/customer_extension_setting_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import me...
[ "noreply@github.com" ]
ljborton.noreply@github.com
6f686e08a7cefc2451681d1601521582f55624d6
25bf4f39762b4fa0e249c7fc85681368f3d49573
/test/test_Util/test_param_util.py
1192a531afea3ec6ae4b61d9bc1d83481660a6f2
[ "MIT" ]
permissive
linan7788626/lenstronomy
ca740c25c717f2b674903039d582f283f29fb07e
dc9b4651a5b530e659048fd1a65c9955720b40cd
refs/heads/master
2021-05-04T20:43:20.442654
2018-01-31T07:20:52
2018-01-31T07:20:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,180
py
import numpy as np import pytest import numpy.testing as npt import lenstronomy.Util.param_util as param_util def test_cart2polar(): #singel 2d coordinate transformation center = np.array([0,0]) x = 1 y = 1 r, phi = param_util.cart2polar(x,y,center) assert r == np.sqrt(2) #radial part asse...
[ "simon.birrer@pyhs.ethz.ch" ]
simon.birrer@pyhs.ethz.ch
7fefc058121e0ca2783c53506333d2f74a4cc661
aa5c528588d215ce2ada276d0c9b78f35028eac0
/crm_san/wsgi.py
ac0d55f9d1ddb0103c2f8fcafed11a9dc672d897
[]
no_license
eduardogpg/crm_san
c895e3d6cadfd8be2e668e947016da8510acfd28
c2a950be7a192633a52613b0ef55a7b70c8ef640
refs/heads/master
2023-01-11T11:13:53.607608
2020-11-12T15:20:28
2020-11-12T15:20:28
312,169,081
1
0
null
null
null
null
UTF-8
Python
false
false
391
py
""" WSGI config for crm_san project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTI...
[ "eduardo78d@gmail.com" ]
eduardo78d@gmail.com
9de27ab85689ac971081f9e3e0371b1c0819ac5d
8f6aa9ac9c8c2e409875bbf36fbc49b3eb37d88b
/enthought/block_canvas/interactor/parametric_interactor.py
a3319ca78abac4c86dea4e9f057d9e18af451e02
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
enthought/etsproxy
5660cf562c810db2ceb6b592b6c12274bce96d73
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
refs/heads/master
2023-03-27T04:51:29.297305
2020-12-02T09:05:18
2020-12-02T09:05:18
1,632,969
3
1
NOASSERTION
2020-12-02T09:05:20
2011-04-18T22:29:56
Python
UTF-8
Python
false
false
113
py
# proxy module from __future__ import absolute_import from blockcanvas.interactor.parametric_interactor import *
[ "ischnell@enthought.com" ]
ischnell@enthought.com
cb5c058aabea7ff1201c33ddad173279ca20615d
0600f0979fe17624d33aa74c739775f0f27a3bb5
/putil/plot/figure.py
f9c0c65843a3ce2feed4f0fdc9a15d8515126be8
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
pmacosta/putil
2c8177fb6b9be667b8d52b48bfd3272de8b0160d
416cea52df8221981727e25d133e9b4e3f464798
refs/heads/master
2021-01-21T13:33:41.232773
2016-05-17T12:57:30
2016-05-17T12:57:30
44,289,408
6
2
null
null
null
null
UTF-8
Python
false
false
33,522
py
# figure.py # Copyright (c) 2013-2016 Pablo Acosta-Serafini # See LICENSE for details # pylint: disable=C0111,C0302,R0201,R0914,W0105,W0212 # Standard library imports from __future__ import print_function import os # PyPI imports import numpy import matplotlib.pyplot as plt from matplotlib.backends.backend_agg import ...
[ "pmasdev@gmail.com" ]
pmasdev@gmail.com
8611f209fe68c3cf4bd88593daab738e7551f310
56f5b2ea36a2258b8ca21e2a3af9a5c7a9df3c6e
/CMGTools/H2TauTau/prod/TauES_test/nom/emb/DoubleMuParked/StoreResults-Run2012D_22Jan2013_v1_PFembedded_trans1_tau132_pthad1_30had2_30_v1-5ef1c0fd428eb740081f19333520fdc8/USER/V5_B/PAT_CMG_V5_16_0_1374658143/HTT_24Jul_newTES_manzoni_Nom_Jobs/Job_104/run_cfg.py
dbf427a50449e68c70461099708878a40db6fb43
[]
no_license
rmanzoni/HTT
18e6b583f04c0a6ca10142d9da3dd4c850cddabc
a03b227073b2d4d8a2abe95367c014694588bf98
refs/heads/master
2016-09-06T05:55:52.602604
2014-02-20T16:35:34
2014-02-20T16:35:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
69,051
py
import FWCore.ParameterSet.Config as cms import os,sys sys.path.append('/afs/cern.ch/user/m/manzoni/summer13/CMGTools/CMSSW_5_3_9/src/CMGTools/H2TauTau/prod/TauES_test/nom/emb/DoubleMuParked/StoreResults-Run2012D_22Jan2013_v1_PFembedded_trans1_tau132_pthad1_30had2_30_v1-5ef1c0fd428eb740081f19333520fdc8/USER/V5_B/PAT_C...
[ "riccardo.manzoni@cern.ch" ]
riccardo.manzoni@cern.ch
81808de5af7f87fb82b724de12996ceca4290f0e
9968b58abae0639df4233a038a89fe9c872e141b
/examples/02plot/misc/candidates.py
6fc2a6d2ebb944641a482eaaeb3b91d143d4bc9f
[]
no_license
podhmo/utatane
5dffa1df6fd4c63a7ddd4075c73c67a18a864c52
c38a2615fe89efb163651ef3f764144a0cb902cf
refs/heads/master
2021-01-01T16:46:31.487204
2017-08-07T01:47:07
2017-08-07T01:47:07
97,915,447
0
0
null
null
null
null
UTF-8
Python
false
false
970
py
import matplotlib matplotlib.use("Agg") # NOQA from matplotlib import pyplot as plt from utatane import subplot from collections import defaultdict def defined_with(mro, name): owner = None for cls in mro: if not hasattr(cls, name): return owner owner = cls with subplot(plt, nco...
[ "ababjam61+github@gmail.com" ]
ababjam61+github@gmail.com
2c3781633d95f44eb76888ed600cf855f5ba9f03
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Games/Making Games with Python & Pygame/drawing.py
5c043ef052eeaf031e33696603e08f84f5db5f16
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:c80352eee128cec2e7813b952de0835d4a061ca8607f2b1e31c472e8244844a3 size 1219
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
d335592cde1f334acf88d32c984b22dda377b1fa
4a5b49806d0dd4fd8bd38483b06da79515d1ad39
/apps/comment/apps.py
204d8b893a158211dee28da91a5738aa1665b7b7
[]
no_license
madongliang11/dj_Book
5ace757f7873d10e41d756be29050ee395f4bceb
c70e331e733a4431467d49dcb8514b58ef03715c
refs/heads/master
2022-12-14T15:08:02.027194
2019-03-10T14:48:47
2019-03-10T14:48:47
174,836,847
1
0
null
2022-11-22T02:23:10
2019-03-10T14:44:17
JavaScript
UTF-8
Python
false
false
124
py
from django.apps import AppConfig class CommentsConfig(AppConfig): name = 'comment' verbose_name = "用户评论"
[ "15565608583@163.com" ]
15565608583@163.com
38b6c08a4a112060d351a0e66345401a44d57378
94e2d1fba52b0d8f93c99bdb6a5f58c7de15b842
/userhandler/migrations/0003_userpersonal_verified.py
da523e58862f39f03c8837457a013b0705f1a6e0
[]
no_license
hks74123/covidhelpmain
023b0cfe7c3cb140b2d68a3fbab6e695e6d9c6af
ee96d0b157cd048d2ea27865bf98551186dead98
refs/heads/main
2023-04-26T16:16:39.029555
2021-05-24T19:25:12
2021-05-24T19:25:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
# Generated by Django 3.2.3 on 2021-05-20 21:00 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('userhandler', '0002_auto_20210521_0227'), ] operations = [ migrations.AddField( model_name='userpersonal', name='ver...
[ "experimentallyf@gmail.com" ]
experimentallyf@gmail.com
da2dc0fcba2065f0ab252173bc7582ff09024d07
45b1914317ac543a89afecfbbad9dbe4e0195b21
/tests/integration/settings.py
278335f0b1400dd536a8aa17bd970bd5a4a23c1a
[ "BSD-2-Clause" ]
permissive
lextoumbourou/txes
fbb37dcc2671178eb84d5af533c3ab77e7c5f36d
55fb2d78655d865c1822f3b0b6c09b1c2cf72ed8
refs/heads/master
2021-01-15T11:24:09.231797
2014-11-18T22:22:38
2014-11-18T22:22:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
66
py
URL = '127.0.0.1:9200' INDEX = 'test_index' DOC_TYPE = 'test_doc'
[ "lextoumbourou@gmail.com" ]
lextoumbourou@gmail.com
94b858cec97d32e847d9187305d9f1873514aad8
9b50b3a7dda2711c5665909f6801249de53e70f6
/0x0C-python-almost_a_circle/tests/test_base.py
448df3af8b02c58fed9730cc03782f0cede681df
[]
no_license
nikolasribeiro/holbertonschool-higher_level_programming
3119e5442887f06da104dc8aa93df371f92b9f2b
7dcdf081d8a57ea1f5f6f9830555f73bf2ae6993
refs/heads/main
2023-04-21T05:22:03.617609
2021-05-05T11:38:51
2021-05-05T11:38:51
319,198,337
0
0
null
null
null
null
UTF-8
Python
false
false
2,600
py
#!/usr/bin/python3 """ Module test_base""" import os import unittest from models.base import Base from models.rectangle import Rectangle from models.square import Square class TestBase(unittest.TestCase): """ class TestBase """ def test_normal(self): """ function test_normal """ self.base ...
[ "nikolasribeiro2@outlook.com" ]
nikolasribeiro2@outlook.com
19e84b0ef14097478ef6d6c3c4d9499b957f60a6
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02957/s386293584.py
8ac2ab486051007677c3346e44c36cc2951f3560
[]
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
102
py
a,b=[int(x) for x in input().split()] k=(a+b)//2 if (a+b)%2==0: print(k) else: print("IMPOSSIBLE")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
130bcaa32fbf9c16da199ad5238345639327879b
f63db957cb63b3a37642d138d3092f8f897d6a53
/hila_webapp/hila/auth/backends.py
0798c740954b2d325558900ec384d44bc418ee65
[]
no_license
fillarikanava/old-fillarikanava
c6fd819f95e675e6eddc674e71528c798b391967
8dbb89ea34c2aa98450e403ca2d7f17179edff8d
refs/heads/master
2021-01-13T02:30:01.501771
2013-10-03T16:26:13
2013-10-03T16:26:13
13,201,013
0
1
null
null
null
null
UTF-8
Python
false
false
2,916
py
''' Created on 1.4.2009 @author: jsa ''' from django.contrib.auth.models import User from hila import roundup_utils from roundup.password import Password db = roundup_utils.db() class RoundupUser(User): def __init__(self, usernode): super(RoundupUser, self).__init__( id=usernode.id, ...
[ "rkarhila@iki.fi" ]
rkarhila@iki.fi
006e4d2f73368f5665f1504a4698ce0e137a3d0e
8015f1c62a2cb4efd21aa8938336913bf8117868
/bamap/ba0375.pngMap.py
57180753746f10f80ac179f7b7ab4ce9a9f6469c
[]
no_license
GamerNoTitle/Beepers-and-OLED
675b5e3c179df0f0e27b42bf594c43860d03b9af
afe1340e5394ae96bda5f9022a8a66824368091e
refs/heads/master
2020-04-20T00:09:47.122471
2019-04-29T04:59:35
2019-04-29T04:59:35
168,515,579
4
2
null
null
null
null
UTF-8
Python
false
false
8,468
py
ba0375.pngMap = [ '11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111', '11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111', '1111111111111111111111111111111111111...
[ "bili33@87ouo.top" ]
bili33@87ouo.top
7a04d8115d61910b95a966095a39d6aed73abeff
8fa206c919acd78dea69bc846e92d5a13a22598b
/backend/prenatal_tests_22997/settings.py
ec05cbce6755dd970a47a0f1faa9a52c18cf6007
[]
no_license
crowdbotics-apps/prenatal-tests-22997
ff4e98597ac3e7d45d12152fa94cae817494776b
b4f674a9ee80122214b0242056cc885715effe02
refs/heads/master
2023-01-20T17:49:34.831432
2020-11-26T16:52:05
2020-11-26T16:52:05
316,289,196
0
0
null
null
null
null
UTF-8
Python
false
false
7,032
py
""" Django settings for prenatal_tests_22997 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
55b64b2105130f31d48bc584c5a9ac1ab6655c83
a80963fbac8c0edcef5b1b9bad67a4b5913cd569
/web_data/check_profanity.py
9cd251c833e6d6947acdfb9a3506e0d327f4f3c6
[]
no_license
manurp/Python_programs
946877caf93a2ff0239c68dc4e8e02c72fe6f156
1a0c896b05b72afee7a48dd1bc2bef2aa7ffe0af
refs/heads/master
2020-06-28T01:22:59.140092
2018-09-01T17:03:18
2018-09-01T17:03:18
97,080,367
2
0
null
null
null
null
UTF-8
Python
false
false
641
py
import urllib.request, urllib.parse, urllib.error def check_profanity(text): connection = urllib.request.urlopen('http://www.wdylike.appspot.com/?q='+text) output = connection.read() print(output) connection.close() def read_text(): fhand = open('file.txt') contents = fhand.read().split() # words = contents.sp...
[ "manojrpoojary@gmail.com" ]
manojrpoojary@gmail.com