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
71d9ef0d70866a4e18c09969ee810ff780a8146c
b434d3432decfd039b0a5b57a567478deefa4d32
/backend/app/payments/__init__.py
3aa807b7976475b0ab98c405cfaf156801e9924c
[]
no_license
elcolono/marryday
b895bca21337e0f3092f8eda4cac59b23c41b4b7
89e3caf5c2b0260d15259c6d72bc85d1f3dac81c
refs/heads/main
2023-08-27T03:09:25.797531
2021-09-18T12:40:44
2021-09-18T12:40:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
51
py
default_app_config = "payments.apps.PaymentsConfig"
[ "andreas.siedler@gmail.com" ]
andreas.siedler@gmail.com
fef6b5cbd6467df66736475fcd841be9bc0cc929
84c4514c0d9588026f1f203c2d351df226170f75
/python/itertools/permutations.py
bfacc64c73bf1bbc3b0ce55bba4154f974d6fe6c
[]
no_license
hiromichinomata/hackerrank
eafc1a902353f6bdac508f67cfa7eebdbfb2811f
bffca0f56c92b752706b5a9fb4c814f44ea5d14e
refs/heads/master
2022-12-01T15:39:25.811250
2020-08-08T01:44:10
2020-08-08T01:44:10
264,445,214
1
0
null
null
null
null
UTF-8
Python
false
false
151
py
from itertools import permutations s, num = input().strip().split() s = sorted(s) num = int(num) for i in permutations(s, num): print("".join(i))
[ "git@hiromichinomata.com" ]
git@hiromichinomata.com
16db4fc999d70029f8e94677713d54ff4f1cca36
f4335e8e7d3010506f570167bbba18156d3a4674
/stubs/django/core/management/commands/diffsettings.pyi
1bf6f90fade7e0b8e54afff184eba3267ee5ee24
[]
no_license
rtpg/typehangar
133686ea45ad6187b768290aeebda9cbcae25586
790d057497c4791a38f9e3e009b07935b4a12f45
refs/heads/master
2021-01-19T04:49:17.940793
2017-01-16T13:54:14
2017-01-16T13:54:14
69,260,488
0
0
null
null
null
null
UTF-8
Python
false
false
461
pyi
# Stubs for django.core.management.commands.diffsettings (Python 3.5) # # NOTE: This dynamically typed stub was automatically generated by stubgen. from typing import Any from django.core.management.base import BaseCommand def module_to_dict(module, omittable: Any = ...): ... class Command(BaseCommand): help = ....
[ "raphael@rtpg.co" ]
raphael@rtpg.co
e468552fe67dcb111020cfc2ebd9623c74e0c240
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03720/s960059730.py
c3987b6c50c512aecd596e019b24702590445f5d
[]
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
1,311
py
import sys, re from math import ceil, floor, sqrt, pi, factorial, gcd from copy import deepcopy from collections import Counter, deque from heapq import heapify, heappop, heappush from itertools import accumulate, product, combinations, combinations_with_replacement from bisect import bisect, bisect_left, bisect_right ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
cc23354f1ac1be52b795119e99c44df6f9b9a574
0b793bce2da8c3d09b7956c0672ddbffd46feaed
/hackerrank/algorithm/lonly_integer.py
49cc044edcb98b61afa115495f50c34b58c36815
[ "MIT" ]
permissive
knuu/competitive-programming
c6c4e08fb231937d988bdc5a60a8ad6b31b97616
16bc68fdaedd6f96ae24310d697585ca8836ab6e
refs/heads/master
2021-01-17T09:39:02.647688
2020-11-07T03:17:22
2020-11-07T03:17:22
27,886,732
1
0
null
null
null
null
UTF-8
Python
false
false
135
py
from collections import Counter _ = int(input()) for key, val in Counter(input().split()).items(): if val == 1: print(key)
[ "premier3next@gmail.com" ]
premier3next@gmail.com
e8f56efacae6ebed48b265ae2ae07847dcfaeb1d
9b87fc7054bedaef1bbfe2842bfca12d5585119b
/nicegui/elements/custom_example.py
ab8af2bcd42916f997d1d55803d71709488c011e
[ "MIT" ]
permissive
TrendingTechnology/nicegui
cb08287c9b0cab7ae1a831ee623a056d8ecdee43
68fa24456497683417d2e613ec573673deacd7f7
refs/heads/main
2023-06-20T06:11:52.914008
2021-07-22T05:09:40
2021-07-22T05:09:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
785
py
from .custom_view import CustomView from .element import Element class CustomExampleView(CustomView): def __init__(self, on_change): super().__init__('custom_example', __file__, value=0) self.on_change = on_change self.allowed_events = ['onAdd'] self.initialize(temp=False, onAdd=...
[ "falko@zauberzeug.com" ]
falko@zauberzeug.com
25e4a10195a5b94ecb830ef0b1d184c9feda747f
58ffe83eb9828668c13242c6f98238f08655f561
/app/notebooks/problang/transcript_utils.py
cdb2f5a88761411c4cf30c48af9b83fd05e1dcf8
[ "Apache-2.0" ]
permissive
DanFu09/esper
f9dcc47cd5677dee8dffb1e066d69332471a0d6c
ccc5547de3637728b8aaab059b6781baebc269ec
refs/heads/master
2020-04-04T21:31:43.549572
2020-01-16T01:14:13
2020-01-16T01:14:13
156,289,533
4
0
Apache-2.0
2018-12-14T03:01:02
2018-11-05T22:05:07
Jupyter Notebook
UTF-8
Python
false
false
7,054
py
import numpy as np import torch from torch.utils.data import Dataset import requests from query.models import Video from timeit import default_timer as now from esper.prelude import pcache import random SEGMENT_SIZE = 200 SEGMENT_STRIDE = 100 def video_list(): r = requests.get('http://localhost:8111/videos') ...
[ "wcrichto@cs.stanford.edu" ]
wcrichto@cs.stanford.edu
6310996c29f82720e743d2c1c5d7c036e79d4a73
d93c91e904470b46e04a4eadb8c459f9c245bb5a
/banglore_scrape/proptiger/proptiger/spiders/proptigerresale.py
47b05e9f213ad8c5615011068e0591a29f338475
[]
no_license
nbourses/scrappers
3de3cd8a5408349b0ac683846b9b7276156fb08a
cde168a914f83cd491dffe85ea24aa48f5840a08
refs/heads/master
2021-03-30T15:38:29.096213
2020-03-25T03:23:56
2020-03-25T03:23:56
63,677,541
0
1
null
null
null
null
UTF-8
Python
false
false
7,099
py
import scrapy from proptiger.items import ProptigerItem from scrapy.spiders import Spider from scrapy.spiders import CrawlSpider, Rule from scrapy.linkextractors import LinkExtractor from scrapy.selector import Selector from scrapy.selector import HtmlXPathSelector from scrapy.http import Request import json from scrap...
[ "karanchudasama1@gmail.com" ]
karanchudasama1@gmail.com
8d12ea6102055c34798e687b5a6532f7642b276f
1311696a180047135c825ffa283f9ac9750d4236
/tests/data/stubs-ok/micropython-linux-1_12/websocket.py
84603dedea90d09964895308d20f7dfc0ad0c2bf
[ "MIT" ]
permissive
Josverl/micropython-stubber
71103afa842da02d5ad074b541d9bff7243ce23f
68fe9113f4b4e611bb4c3d19f79c8ba0e7111f5e
refs/heads/main
2023-08-31T00:51:22.200348
2023-05-31T07:48:54
2023-05-31T07:48:54
177,823,007
135
8
NOASSERTION
2023-09-11T21:25:19
2019-03-26T16:00:53
Python
UTF-8
Python
false
false
546
py
""" Module: 'websocket' on micropython-linux-1.12 """ # MCU: {'ver': '1.12', 'port': 'linux', 'arch': 'x64', 'sysname': 'unknown', 'release': '1.12.0', 'name': 'micropython', 'mpy': 2821, 'version': '1.12.0', 'machine': 'unknown', 'build': '', 'nodename': 'unknown', 'platform': 'linux', 'family': 'micropython'} # Stubb...
[ "josverl@microsoft.com" ]
josverl@microsoft.com
91fe8bdac939808480646276789f56bc2fd0c450
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_227/ch149_2020_04_13_20_21_26_194548.py
50b04d13c34b8c1459a9db8abfd23816a3214e2e
[]
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
926
py
salario_bruto=float(input("Qual o seu salário bruto? ")) numero_dependentes=int(input("Qual o seu número de dependentes? ")) if salario_bruto<=1.045: INSS=salario_bruto*0.075 elif salario_bruto>=1045.01 and salario_bruto<=2089.60: INSS=salario_bruto*0.09 elif salario_bruto>=2089.61 and salario_bruto<=3134.40: ...
[ "you@example.com" ]
you@example.com
96acef88bac936107e4d65c64c0f6929293a8933
888f519f9831cc8e172a81693dc318514d0b45fe
/bnv-ufo/particles.py
4eb0deeafa342ddc420fe665bbdef60477465531
[]
no_license
mattbellis/generate_private_MC_from_LHE_files
ca69093c19b16f79291f97c8dc4863f5dc4b73d5
16f4099a91488e4e030ceec62efbb157351d3793
refs/heads/master
2021-06-08T02:18:48.233276
2021-04-24T15:21:50
2021-04-24T15:21:50
151,903,566
0
0
null
null
null
null
UTF-8
Python
false
false
9,968
py
# This file was automatically created by FeynRules $Revision: 845 $ # Mathematica version: 8.0 for Linux x86 (64-bit) (November 7, 2010) # Date: Tue 7 Feb 2012 13:57:29 from __future__ import division from object_library import all_particles, Particle import parameters as Param ve = Particle(pdg_code = 12, ...
[ "matthew.bellis@gmail.com" ]
matthew.bellis@gmail.com
06ee5f8ff46617f38f61ac547a3d6c951b8fb803
1a166165ab8287d01cbb377a13efdb5eff5dfef0
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_virtual_wans_operations.py
fe0a31731f0cf1bff2e9d3a1a2d94cbec51a6e1a
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
manoj0806/azure-sdk-for-python
7a14b202ff80f528abd068bf50334e91001a9686
aab999792db1132232b2f297c76800590a901142
refs/heads/master
2023-04-19T16:11:31.984930
2021-04-29T23:19:49
2021-04-29T23:19:49
363,025,016
1
0
MIT
2021-04-30T04:23:35
2021-04-30T04:23:35
null
UTF-8
Python
false
false
30,068
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
manoj0806.noreply@github.com
1921637bf67204f6d4521f412444523581176738
afb16c3188bf06af65ae0d998e114c72342bd8be
/note/demo/python_trace/demo2.py
69e2891cccff56b373a8630dfd6f7efb23775614
[]
no_license
onsunsl/onsunsl.github.io
aa75f399f1c647bc2e62314633bfe35187e59ad4
4ed2b1b9a2407afcbffdf304020d42b81c4c8cdc
refs/heads/master
2023-05-26T12:33:11.167270
2023-04-01T10:18:05
2023-04-01T10:18:05
237,595,319
1
0
null
2023-05-23T20:13:11
2020-02-01T10:02:58
Python
UTF-8
Python
false
false
490
py
import os from time import sleep import signal import sys from traceback import extract_stack def sigterm_handler(_signo, _stack_frame): # Raises SystemExit(0): f = open("./1.txt", "w") f.write("sigterm_handler") f.close() sys.exit(0) signal.signal(signal.SIGTERM, sigterm_handler) try: prin...
[ "onsunsl@foxmail.com" ]
onsunsl@foxmail.com
e3bcf5984f2cde90d396e03b2e11d82015d67e8c
3cedc7c1519d3b013aad9ec4e6a6ee7834da7589
/python_code/多线程开发/E_多线程使用共享数据.py
65fc69e75f8ee5a199ae857933d77ea27bd7330c
[]
no_license
hzrg/songqin_course
53437100669ee93d2ac5ecae5de938b1a4007d7f
05e422ce34a42fd6d3819722a19252f8005e79ed
refs/heads/master
2022-02-09T13:27:59.871400
2019-06-13T06:08:45
2019-06-13T06:08:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,631
py
# coding=utf8 import threading from time import sleep # 存储支付宝账号余额 zhifubao = { 'jcy' : 2000, 'liming' : 5000, 'wangan' : 15000, 'zhaolei' : 6005000, } # 线程1 : 滴滴打车处理,参数是用户账户和扣款金额 def thread1_didi_pay(account,amount): print('* t1: get balance from bank') balance = zhifubao[...
[ "1174497735@qq.com" ]
1174497735@qq.com
4d2a3ab4f356b1581b21a231111a088874cc611e
afd2087e80478010d9df66e78280f75e1ff17d45
/torch/onnx/_internal/diagnostics/infra/sarif/_suppression.py
c1dcb014809d994a4777917e5e1764388b48dff5
[ "BSD-3-Clause", "BSD-2-Clause", "LicenseRef-scancode-secret-labs-2011", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0" ]
permissive
pytorch/pytorch
7521ac50c47d18b916ae47a6592c4646c2cb69b5
a6f7dd4707ac116c0f5fb5f44f42429f38d23ab4
refs/heads/main
2023-08-03T05:05:02.822937
2023-08-03T00:40:33
2023-08-03T04:14:52
65,600,975
77,092
24,610
NOASSERTION
2023-09-14T21:58:39
2016-08-13T05:26:41
Python
UTF-8
Python
false
false
1,249
py
# DO NOT EDIT! This file was generated by jschema_to_python version 0.0.1.dev29, # with extension for dataclasses and type annotation. from __future__ import annotations import dataclasses from typing import Literal, Optional from torch.onnx._internal.diagnostics.infra.sarif import _location, _property_bag @datacl...
[ "pytorchmergebot@users.noreply.github.com" ]
pytorchmergebot@users.noreply.github.com
7691802558073b399b3e21487c2b7faf90c162dc
b250b3f74b30ad29f65acab3040433473a259cc1
/src/_23a.py
cdd79900dd2c709eacf9c37588896d815d22132b
[]
no_license
Abarn279/advent-of-code-2015
0cc6ce58ba443335fd9dcd451e327cec01fd3e96
8fbf0b2bc576556d5351d64b93c972a6f6ec8020
refs/heads/master
2021-06-28T09:11:28.905618
2020-11-30T22:02:10
2020-11-30T22:02:10
75,760,645
0
0
null
null
null
null
UTF-8
Python
false
false
1,140
py
reg = {'a':1, 'b':0} prog = '''jio a, +19 inc a tpl a inc a tpl a inc a tpl a tpl a inc a inc a tpl a tpl a inc a inc a tpl a inc a inc a tpl a jmp +23 tpl a tpl a inc a inc a tpl a inc a inc a tpl a inc a tpl a inc a tpl a inc a tpl a inc a inc a tpl a inc a inc a tpl a tpl a inc a jio a, +8 inc b jie a, +4 tpl a inc...
[ "Abarn279@gmail.com" ]
Abarn279@gmail.com
9491cccb3a1203f18678ca88d25a374d6c280612
a06fd6b7b4e5fc2b1b5a46b4edd20a11f717a5ea
/netbox/extras/filters.py
d0a801b481f55cfc6f08e7f6c154b2c803fd170f
[ "Apache-2.0" ]
permissive
feiynagly/netbox
d9be722eaa5021cf39e82c19c3e4562dedd94254
d364bbbaa6ee4f2a19015d07dd0de855628befb4
refs/heads/master
2022-12-04T04:41:29.052349
2021-05-11T07:13:56
2021-05-11T07:13:56
173,664,986
1
1
Apache-2.0
2022-11-22T03:12:55
2019-03-04T03:10:07
Python
UTF-8
Python
false
false
7,182
py
import django_filters from django.contrib.contenttypes.models import ContentType from django.db.models import Q from taggit.models import Tag from dcim.models import DeviceRole, Platform, Region, Site from tenancy.models import Tenant, TenantGroup from .constants import CF_FILTER_DISABLED, CF_FILTER_EXACT, CF_TYPE_BOO...
[ "944867649@qq.com" ]
944867649@qq.com
5429336730859c3bf71a435d3f2b50b3bab5483e
2d5c7eccef92f3cd71484607f0d595f7787053a2
/p067.py
bbdc8a94b6df75d8be8acc1b1ae753f79e5bf803
[ "MIT" ]
permissive
arpit0891/Project-Euler
48a34f69e267d6bbcbf2ee30f3f88f4354df3afb
ab36b33c578578595bb518508fa2fe5862f4a044
refs/heads/master
2021-02-14T00:25:01.262715
2020-06-26T14:41:59
2020-06-26T14:41:59
244,749,988
1
3
MIT
2020-06-26T14:42:00
2020-03-03T21:56:34
Python
UTF-8
Python
false
false
16,672
py
# We create a new blank triangle with the same dimensions as the original big triangle. # For each cell of the big triangle, we consider the sub-triangle whose top is at this cell, # calculate the maximum path sum when starting from this cell, and store the result # in the corresponding cell of the blank triangle. # ...
[ "noreply@github.com" ]
arpit0891.noreply@github.com
b89827e7bd2186efac21f3de64db0f0df6ff1c32
c2296f56df3b934f824be07338e14bccf7c0e34f
/url_classification/data/movie_reviews/__init__.py
b3a85173320bf97854087bfab6ecbd94c0f6812c
[]
no_license
jayceyxc/MachineLearning
b190c141be714f4ef7d8b79fab1d0cddc6b7cfcb
793179dab920725866c4fac4d2bae8e1a570d122
refs/heads/master
2022-04-16T21:39:05.652266
2020-04-14T07:51:04
2020-04-14T07:51:04
140,239,558
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
#!/usr/bin/env python # encoding: utf-8 """ @version: 1.0 @author: ‘yuxuecheng‘ @contact: yuxuecheng@baicdata.com @software: PyCharm Community Edition @file: __init__.py.py @time: 2017/8/7 12:18 """
[ "xinluomed_yuxuecheng@git.cloud.tencent.com" ]
xinluomed_yuxuecheng@git.cloud.tencent.com
bc4b65ebdb6ee14010eca2df7ef43ad79f259952
ab1219ddcc33c6162baa670b5cf84e9e6780dba2
/benchmarks/bp09/tsuji_gauges/setrun_1-5.py
b5d502247dccbfd60e1885c95e5bd651f7b5e2a9
[]
no_license
dhanyaj17/geoclaw-group
1672ff47992f4901cb81ac6aebaf58ae122ad466
6acc142ce0ec14ca00944e1d2b96cf7080ad3db4
refs/heads/master
2020-12-11T04:01:02.844249
2013-01-14T01:30:14
2013-01-14T01:30:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,042
py
## Randy: This run took about 4 hours, as it is set up now. """ Module to set up run time parameters for Clawpack. The values set in the function setrun are then written out to data files that will be read in by the Fortran code. """ import os from pyclaw import data import numpy as np #--------------------------...
[ "rjl@uw.edu" ]
rjl@uw.edu
5b790020d26b72bff49b53062649a522938f40a0
63bacb52d016cf7a237dacd79ba2861842c49ca9
/zuora_client/models/amendment_rate_plan_charge_data.py
ae75c81b0fd08894b355d536105e55ada0a62f60
[]
no_license
arundharumar-optimizely/zuora-client-python
ee9667956b32b64b456920ad6246e02528fe6645
a529a01364e41844c91f39df300c85c8d332912a
refs/heads/master
2020-07-05T23:09:20.081816
2019-07-30T21:46:47
2019-07-30T21:46:47
202,811,594
0
0
null
2019-08-16T23:26:52
2019-08-16T23:26:52
null
UTF-8
Python
false
false
44,271
py
# coding: utf-8 """ Zuora API Reference # Introduction Welcome to the reference for the Zuora REST API! <a href=\"http://en.wikipedia.org/wiki/REST_API\" target=\"_blank\">REST</a> is a web-service protocol that lends itself to rapid development by using everyday HTTP and JSON technology. The Zuora REST A...
[ "brian.lucas@optimizely.com" ]
brian.lucas@optimizely.com
637e683e2262bb9da1eeb06e515e1be31b876e13
8dc84558f0058d90dfc4955e905dab1b22d12c08
/tools/swarming_client/named_cache.py
87f3458856e823655bbdb2739e388255da1721b3
[ "LGPL-2.1-only", "BSD-3-Clause", "MIT", "LGPL-2.0-or-later", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "LGPL-2.0-only", "LicenseRef-scancode-unknown" ]
permissive
meniossin/src
42a95cc6c4a9c71d43d62bc4311224ca1fd61e03
44f73f7e76119e5ab415d4593ac66485e65d700a
refs/heads/master
2022-12-16T20:17:03.747113
2020-09-03T10:43:12
2020-09-03T10:43:12
263,710,168
1
0
BSD-3-Clause
2020-05-13T18:20:09
2020-05-13T18:20:08
null
UTF-8
Python
false
false
11,791
py
# Copyright 2016 The LUCI Authors. All rights reserved. # Use of this source code is governed under the Apache License, Version 2.0 # that can be found in the LICENSE file. """This file implements Named Caches.""" import contextlib import logging import optparse import os import random import re import string import ...
[ "arnaud@geometry.ee" ]
arnaud@geometry.ee
d0fe60462342ff39de01b1f8df7a2a0e91c55604
4fc21c3f8dca563ce8fe0975b5d60f68d882768d
/Darlington/phase1/python Basic 1/day 6 solution/qtn1.py
79447fcdb8f1064021152620bb180e2fb9552ea6
[ "MIT" ]
permissive
Uche-Clare/python-challenge-solutions
17e53dbedbff2f33e242cf8011696b3059cd96e9
49ede6204ee0a82d5507a19fbc7590a1ae10f058
refs/heads/master
2022-11-13T15:06:52.846937
2020-07-10T20:59:37
2020-07-10T20:59:37
266,404,840
1
0
MIT
2020-05-23T19:24:56
2020-05-23T19:24:55
null
UTF-8
Python
false
false
108
py
#program to check whether a file exists import os.path open('abc.txt', 'w') print(os.path.isfile('abc.txt'))
[ "darlingtonchibuzor64@gmail.com" ]
darlingtonchibuzor64@gmail.com
4d352594e3d2b3e79f5ea48063fc2959abef8c5b
3c31584c1b661195a567ffd2603d30cb2e270493
/codeforces/864/D.py
86f83b4c6f59f1a9df0e1846a628d8b628115a0c
[]
no_license
ku-nal/Codeforces
c7f621e35b5d4eea1ed11276ee8e91031252ca91
df43c2fcbcfd1c9f96b6fe79c7abc9ddee054cb7
refs/heads/main
2023-04-10T19:00:40.559074
2021-04-27T15:15:51
2021-04-27T15:15:51
362,154,763
4
0
null
null
null
null
UTF-8
Python
false
false
2,877
py
#===========Template=============== from io import BytesIO, IOBase import sys,os inpl=lambda:list(map(int,input().split())) inpm=lambda:map(int,input().split()) inpi=lambda:int(input()) inp=lambda:input() rev,ra,l=reversed,range,len P=print BUFSIZE = 8192 class FastIO(IOBase): newlines = 0 def __init__(self, f...
[ "kunalmakwana18@gnu.ac.in" ]
kunalmakwana18@gnu.ac.in
24e479bc14d88a4d856866a9475952562dcc6177
da7a165522daea7c346693c5f32850017c482967
/abc51-100/abc051/c.py
ad218ed2b388081ae9705ec0c52f82e5979ea0be
[]
no_license
SShayashi/ABC
19f8750919208c5ff8935638dbaab941c255f914
3cbfee0c5251c1bb0df6306166d8d4b33bf7bb2c
refs/heads/master
2021-05-04T21:06:10.720367
2020-07-11T13:59:16
2020-07-11T13:59:29
119,886,572
2
0
null
null
null
null
UTF-8
Python
false
false
455
py
def m(): sx, sy, tx, ty = map(int, input().split()) X = tx-sx Y = ty-sy ans = "" # 一周 ans += "U" * Y ans += "R" * X ans += "D" * Y ans += "L" * X # 左に一つずらして目的地まで ans += "L" ans += "U" * (Y+1) ans += "R" * (X+1) ans += "D" # 右にずれて開始地点まで ans += "R" an...
[ "sshayashi0208@gmail.com" ]
sshayashi0208@gmail.com
cb46e9e19fae34da7ec6451e0dfeb1b3222bff77
4c34dca6c12dd36e9e8eb360a2cbbb3f39a50e20
/scratchpad/scratch.py
4698f26325561e0b97de44eeba25d723830a5498
[ "BSD-3-Clause" ]
permissive
PlumpMath/m2py
a35e0265d9e3c46214c9560b46a9e59df63c9a9b
4a8f754f04adb151b1967fe13b8f80b4ec169560
refs/heads/master
2021-01-18T20:16:37.973122
2015-01-30T11:29:15
2015-01-30T11:29:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
917
py
#!/usr/bin/env python # -*- coding: utf-8 -*- txt = """ >>> t = [1, 2, 3, 4, 5] >>> map(lambda x: x**2, t) [1, 4, 9, 16, 25] >>> t [1, 2, 3, 4, 5] >>> zip(t, map(lambda x: x**2, t)) [(1, 1), (2, 4), (3, 9), (4, 16), (5, 25)] >>> """ def paste_run(): global txt import re from .utils import xclip #tx...
[ "caiorss.rodrigues@gmail.com" ]
caiorss.rodrigues@gmail.com
3a8d9c6cc2b7dc816df485c10119a6be5f1084ee
c37d00101c6f6db5a3e61e92c06f61b98268a509
/eemeter/__init__.py
e1f01a1cf4649392821a32e45cb2637c066037ac
[ "MIT" ]
permissive
impactlab/eemeter
731499b3ba7549460ab786b482e9e7d9b6b29cef
57d85a1f6d3ba1069ee0301b1b400bc27ff7f308
refs/heads/master
2020-04-05T23:47:53.255430
2016-08-16T00:17:14
2016-08-16T00:17:14
30,039,517
29
14
null
2016-08-12T22:21:02
2015-01-29T20:24:41
Jupyter Notebook
UTF-8
Python
false
false
116
py
# Version VERSION = (0, 4, 8) def get_version(): return '{}.{}.{}'.format(VERSION[0], VERSION[1], VERSION[2])
[ "ngo.phil@gmail.com" ]
ngo.phil@gmail.com
501d97a1367b23e6209650cac4c62ceab7531ec4
ee1eed00f04fe4050a9b7d9761a76af37842b8b1
/dynamicportofolio/migrations/0001_initial.py
9c57f02e620c776d880992704da0cded5c914ad2
[]
no_license
dimansion/dango
707b738d1df735a1019e44a53b095d9af4e2a44a
4239531849cef3f6c00ff3ba1e38c768a8648e0f
refs/heads/master
2020-12-24T08:30:31.614872
2016-09-07T13:45:33
2016-09-07T13:45:33
36,284,822
0
0
null
null
null
null
UTF-8
Python
false
false
733
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='Post', fields=[ ('...
[ "dimansional@gmail.com" ]
dimansional@gmail.com
2e6d529fae8f08a9ea454cbd51d7dad90e159848
2611f7e793c52d7bc60be2772cf66b3704c05876
/14B-088/HI/analysis/rotation_curves/rotsub_channels_movie.py
dd2ef9206c76b7ce8fe348324c48c81dbc5dd5fa
[ "MIT" ]
permissive
e-koch/VLA_Lband
15e89878f554a70f0bc2a19cb7c5cb1b825f3ced
8fca7b2de0b88ce5c5011b34bf3936c69338d0b0
refs/heads/master
2022-11-29T01:43:22.069806
2020-12-21T19:48:22
2020-12-21T19:48:22
42,543,618
2
2
MIT
2022-11-25T15:38:46
2015-09-15T20:06:58
Python
UTF-8
Python
false
false
2,386
py
import numpy as np import matplotlib.pyplot as p from spectral_cube import SpectralCube from spectral_cube.cube_utils import average_beams from astropy.utils.console import ProgressBar from astropy import units as u from astropy.visualization import AsinhStretch from astropy.visualization.mpl_normalize import ImageNorm...
[ "koch.eric.w@gmail.com" ]
koch.eric.w@gmail.com
5623d1d86e28812e453b1b0d2b6bad08204a8e8a
df2cbe914f463ad050d7ed26194424afbe3a0a52
/addons/web_editor/models/test_models.py
282b703c03d208e9b44cd2a107f060d5c20fe103
[ "Apache-2.0" ]
permissive
SHIVJITH/Odoo_Machine_Test
019ed339e995be980606a2d87a63312ddc18e706
310497a9872db7844b521e6dab5f7a9f61d365a4
refs/heads/main
2023-07-16T16:23:14.300656
2021-08-29T11:48:36
2021-08-29T11:48:36
401,010,175
0
0
Apache-2.0
2021-08-29T10:13:58
2021-08-29T10:13:58
null
UTF-8
Python
false
false
1,266
py
# -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. from odoo import models, fields class ConverterTest(models.Model): _name = 'web_editor.converter.test' _description = 'Web Editor Converter Test' # disable translation export for those brilliant field labe...
[ "36736117+SHIVJITH@users.noreply.github.com" ]
36736117+SHIVJITH@users.noreply.github.com
9bfefdedb6210274b7005f49c69bd92d3e256979
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/96/usersdata/215/54936/submittedfiles/estatistica.py
2396e9941096556e8218859d3628ab019b398ed1
[]
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
760
py
# -*- coding: utf-8 -*- n=int(input('digite n:')) a=[] b=[] somaA=0 difquadA=0 sdqA=0 somaB=0 difquadB=0 sdqB=0 for z in range(1 ,n+1 ,1): valorA=float(input('valor listaA:')) a.append(valorA) for i in range (0,len(a),1): somaA=somaA=a[i] mediaA=somaA/len(a) for j in range (0 , len(a), 1): difquadA=(a[j...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
48d258b6d821fc4ab55853b8287503e12dcf9ba2
585bac463cb1919ac697391ff130bbced73d6307
/105_ConstructBinaryTreeFromPreorderAndInorderTraversal/solution_1.py
729fb58003e0825a66c681dcd89d745020540bf4
[]
no_license
llgeek/leetcode
ce236cf3d3e3084933a7a4a5e8c7766f7f407285
4d340a45fb2e9459d47cbe179ebfa7a82e5f1b8c
refs/heads/master
2021-01-22T23:44:13.318127
2020-03-11T00:59:05
2020-03-11T00:59:05
85,667,214
1
0
null
null
null
null
UTF-8
Python
false
false
740
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def buildTree(self, preorder: List[int], inorder: List[int]) -> TreeNode: self.preidx = 0 def helper(sidx, eidx): ...
[ "angleflycll@gmail.com" ]
angleflycll@gmail.com
5e4f0f125a0d414df5abb90f65a10363540cd67a
d204538b66b477fea7289c6ca9801919f6fbd09e
/demo/start_demo.py
9fbf7bd3389d6acb37fb7a02802831d838bc6f38
[ "Apache-2.0" ]
permissive
TrendingTechnology/openchat
efb8194f38bc809ffca165d65ae13c1f10771b84
cee89e3acff33ef598bf3dfe6d2e13a418a9a0aa
refs/heads/main
2023-03-26T03:33:52.876583
2021-03-04T05:17:28
2021-03-04T05:17:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
132
py
from openchat import OpenChat from demo.web_demo_env import WebDemoEnv OpenChat(model="blenderbot", size="large", env=WebDemoEnv())
[ "gusdnd852@naver.com" ]
gusdnd852@naver.com
e70b9829664b9c6f71b685b5dd938706773b2eac
91add811783a4f19c7474e92ee87b91d9035a9ae
/segmentation_pytorch/models/unet/layers.py
eca45cbd03bdfc02b7e567b8042babd3c2a61240
[]
no_license
NIRVANALAN/PyTorch_UNOdeMSegNet
fb0f0f992444dd7b41102b3896e9f2866873fee4
49b577cef650a4bcb3d5c4879bef2d97982e5f4c
refs/heads/master
2022-12-22T15:14:22.929861
2020-03-21T05:22:40
2020-03-21T05:22:40
201,301,445
3
3
null
2022-12-08T03:14:09
2019-08-08T16:58:08
Jupyter Notebook
UTF-8
Python
false
false
2,206
py
import torch import torch.nn as nn from .utils import init_weights class unetConv2(nn.Module): def __init__(self, in_size, out_size, is_batchnorm, n=2, ks=3, stride=1, padding=1): super(unetConv2, self).__init__() self.n = n self.ks = ks self.stride = stride self.padding = ...
[ "maverickers@outlook.com" ]
maverickers@outlook.com
e6cd00e49f7d1ca2bed65faf4373545c7d8492ce
8698757521458c2061494258886e5d3cdfa6ff11
/argo/core/network/Bernoulli.py
c79dc46905b9ebaf1716bb2d64646f650601ff94
[ "MIT" ]
permissive
ricvo/argo
546c91e84d618c4bc1bb79a6bc7cba01dca56d57
a10c33346803239db8a64c104db7f22ec4e05bef
refs/heads/master
2023-02-25T01:45:26.412280
2020-07-05T22:55:35
2020-07-05T22:55:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,097
py
import tensorflow as tf import sonnet as snt import numpy as np from operator import xor import types import pdb from abc import ABC, abstractmethod from tensorflow_probability import distributions as tfd from .AbstractModule import AbstractModule class Bernoulli(AbstractModule): def __init__(self, out...
[ "volpi@rist.ro" ]
volpi@rist.ro
2b59f94b6d0f7087c911b821203264dd57eac044
9dc0a06fd4ce161b7bb4b21a36f70b84c03d0feb
/pytorch_code/model_ops/lenet.py
8fb86a5fdc47a99d7f6e881975f0976fe7ce3a29
[]
no_license
chao1224/pytorch_distributed_nn
eaaa250344632256055fac471fc3345b69c15e42
7c692638d00afe95a5ba5ba9a163aa692fafe93a
refs/heads/master
2021-07-21T03:49:56.083684
2017-10-27T21:41:40
2017-10-27T21:41:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,155
py
import torch from torch import nn import torch.nn.functional as F import pandas as pd import numpy as np from torch.autograd import Variable from mpi4py import MPI # we use LeNet here for our simple case class LeNet(nn.Module): def __init__(self): super(LeNet, self).__init__() self.conv1 = nn.Con...
[ "hongyiwang@cs.wisc.edu" ]
hongyiwang@cs.wisc.edu
02c3a4438f148ad6f4507b2fe5038d1f2d498bd3
144b18db9f190daf499df56f555cfc064bfa42f3
/pysoa/test/plan/grammar/directives/time.py
60158f54599153c7b636798e6b2e839efb164050
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
cache51/pysoa
3eff93d9db7cc125ae016f29d294c5263fdfa692
fd37d64dfefff01ff0f7f48e225e0d672b36b5db
refs/heads/master
2020-03-15T14:25:56.935337
2018-05-04T14:56:04
2018-05-04T14:56:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,955
py
""" Directives for freezing time during test execution """ from __future__ import absolute_import, unicode_literals import datetime from pyparsing import Literal from pysoa.test.plan.errors import FixtureSyntaxError from pysoa.test.plan.grammar.directive import ( Directive, ActionDirective, register_dire...
[ "nwilliams@eventbrite.com" ]
nwilliams@eventbrite.com
8e468456067fa4b93a3f6a54a9cf2fc969db6b19
1e1f7d3687b71e69efa958d5bbda2573178f2acd
/payroll/doctype/attendance/attendance.py
664a3cb0a3cc17293706a9f4e4f0e4d3d86d2577
[]
no_license
ravidey/erpnext
680a31e2a6b957fd3f3ddc5fd6b383d8ea50f515
bb4b9bfa1551226a1d58fcef0cfe8150c423f49d
refs/heads/master
2021-01-17T22:07:36.049581
2011-06-10T07:32:01
2011-06-10T07:32:01
1,869,316
1
0
null
null
null
null
UTF-8
Python
false
false
6,537
py
# Please edit this list and import only required elements import webnotes from webnotes.utils import add_days, add_months, add_years, cint, cstr, date_diff, default_fields, flt, fmt_money, formatdate, generate_hash, getTraceback, get_defaults, get_first_day, get_last_day, getdate, has_common, month_name, now, nowdate,...
[ "pdvyas@erpnext.com" ]
pdvyas@erpnext.com
fd24b3900bc159123582a764faa95efbf5f54eef
99aa9b2be5199bf1b2f670bc9bb1a5bc7cec1c89
/OA/MS/Numbers With Equal Digit Sum.py
510e263aff6f09a6c2e3936c708e1801d3888015
[]
no_license
SimonFans/LeetCode
5196e85dec886b18cb2350419a4a2ae3c751966c
0a34a19bb0979d58b511822782098f62cd86b25e
refs/heads/master
2023-02-08T00:49:30.916655
2023-01-31T06:32:32
2023-01-31T06:32:32
145,938,196
1
0
null
null
null
null
UTF-8
Python
false
false
442
py
def find_digit_sum(num): val = 0 while num: val += num % 10 num //= 10 return val def num_digit_equal_sum(arr): digit_sum_map = {} max_val = -1 for num in arr: digit_sum = find_digit_sum(num) if digit_sum in digit_sum_map: other_val = digit_sum_map[digit_sum] max_val = max(max_val, other_v...
[ "noreply@github.com" ]
SimonFans.noreply@github.com
0fb3c1a5ddf254ca4d04fb76e8f9943dfbef7bf9
738e2f18c6ca259fe3a6b0d4d70efd32d83a8758
/generate_bind_conf
b4eb80756ab0933abf30e137d32e4a0ab38762c8
[]
no_license
nicferrier/secondarys
9f1e5a1abb616b1a8346be785de33f5667f44762
1d5998750686ec27ac2cfbe7542c60e3a6c33ad6
refs/heads/master
2016-09-05T19:13:51.949494
2012-06-17T21:42:15
2012-06-17T21:42:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
270
#!/usr/bin/env python import csv import sys for entry in csv.reader(sys.stdin.readlines()): print "zone \"%s\" {" % entry[0] print "\ttype slave;" print "\tfile \"/var/cache/bind/db.%s\";" % entry[0] print "\tmasters { %s; };" % entry[1] print "};"
[ "julien@danjou.info" ]
julien@danjou.info
791da6d75d63d268682d3c474ae43e3c13d93092
ac216a2cc36f91625e440247986ead2cd8cce350
/appengine/monorail/features/hotlistpeople.py
45d63a21870456083afd38fb2703dfc4f193d243
[ "BSD-3-Clause" ]
permissive
xinghun61/infra
b77cdc566d9a63c5d97f9e30e8d589982b1678ab
b5d4783f99461438ca9e6a477535617fadab6ba3
refs/heads/master
2023-01-12T21:36:49.360274
2019-10-01T18:09:22
2019-10-01T18:09:22
212,168,656
2
1
BSD-3-Clause
2023-01-07T10:18:03
2019-10-01T18:22:44
Python
UTF-8
Python
false
false
10,148
py
# Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file or at # https://developers.google.com/open-source/licenses/bsd """Classes to implement the hotlistpeople page and related forms.""" from __future__ import pri...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
0cbd5474b71672cb168a892ee1b300395a042c70
36957a9ce540846d08f151b6a2c2d582cff1df47
/VR/Python/Python36/Lib/turtledemo/lindenmayer.py
5f29811cc858c0d44403b5343333afd966e76012
[]
no_license
aqp1234/gitVR
60fc952307ef413e396d31e0d136faffe087ed2b
e70bd82c451943c2966b8ad1bee620a0ee1080d2
refs/heads/master
2022-12-29T15:30:12.540947
2020-10-07T15:26:32
2020-10-07T15:26:32
290,163,043
0
1
null
2020-08-25T09:15:40
2020-08-25T08:47:36
C#
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:af4e1ba8102f30f049caf1c4657df7ee1a0b79dd016ca78698a1cfe4067a7df7 size 2553
[ "aqp1234@naver.com" ]
aqp1234@naver.com
dc654d354452caf7235e7e12ee24f7a2b350f932
c98d0c486188a120e844830513abae5d48118561
/venv/bin/easy_install
249fd03ac322c27c2a47f44710f88d9c75c7043f
[]
no_license
lminnock/mldjango
0b9e4979925007b53f842cac814d6d5d57afeccd
692d4eacc20fff0edfa399b531df4802d7d4fbe7
refs/heads/master
2021-01-10T08:15:02.198766
2015-10-31T17:33:13
2015-10-31T17:33:13
45,311,540
0
0
null
null
null
null
UTF-8
Python
false
false
259
#!/home/Lminnock/mlworkshop/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "you@example.com" ]
you@example.com
f391e38a5611fd6cdd88cebaaff3a9c04b3d4a5a
e0980f704a573894350e285f66f4cf390837238e
/.history/menus/models_20201030110920.py
d789727b7aff7632494fbbeb3ed03cb146885f45
[]
no_license
rucpata/WagtailWebsite
28008474ec779d12ef43bceb61827168274a8b61
5aa44f51592f49c9a708fc5515ad877c6a29dfd9
refs/heads/main
2023-02-09T15:30:02.133415
2021-01-05T14:55:45
2021-01-05T14:55:45
303,961,094
0
0
null
null
null
null
UTF-8
Python
false
false
240
py
from django.db import models from modelcluster.models import ClusterableModel # Create your models here. class Menu(ClusterableModel): title = models.CharField(max_length=100) slug = AutoSlugField( populate_fro )
[ "rucinska.patrycja@gmail.com" ]
rucinska.patrycja@gmail.com
c23d8ce5ad9ad476b4bb2bf58e618efab78a3471
ed454f31cf5a3d2605f275cc83ec82f34f06bb33
/zerver/views/pointer.py
7f015f01e2b6d0e5aac11ed4a96adc385d4a39ff
[ "Apache-2.0", "LicenseRef-scancode-free-unknown" ]
permissive
18-2-SKKU-OSS/2018-2-OSS-L5
b62a3ce53eff63ed09395dc1f8296fef089d90e2
190bc3afbf973d5917e82ad9785d01b2ea1773f2
refs/heads/master
2020-04-08T11:44:14.468373
2018-12-11T04:35:30
2018-12-11T04:35:30
159,317,980
3
4
Apache-2.0
2018-12-09T14:14:21
2018-11-27T10:30:18
Python
UTF-8
Python
false
false
1,186
py
from django.http import HttpRequest, HttpResponse from django.utils.translation import ugettext as _ from zerver.decorator import to_non_negative_int from zerver.lib.actions import do_update_pointer from zerver.lib.request import has_request_variables, JsonableError, REQ from zerver.lib.response import json_success f...
[ "ulla4571@gmali.com" ]
ulla4571@gmali.com
1a60b8bfcd925f0de5a4773b97fa9ae6113c5d09
62bbfb6c50bba16304202aea96d1de4990f95e04
/dependencies/pulumi_aws/cloudwatch/outputs.py
8b2b4f7a5d50775dcca3e1099d5dabb922874636
[]
no_license
adriell/lambda-autoservico-storagegateway
b40b8717c8de076e61bbd422461c7d624a0d2273
f6e3dea61b004b73943a5438c658d3f019f106f7
refs/heads/main
2023-03-16T14:41:16.821675
2021-03-11T03:30:33
2021-03-11T03:30:33
345,865,704
0
1
null
null
null
null
UTF-8
Python
false
false
27,282
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from .. import _utilitie...
[ "adriel@infoway-pi.com.br" ]
adriel@infoway-pi.com.br
2bed1b1c77d3da2e76f66e85623ed28cb5a2d2f2
5c0a19e08a9bac3e55998f14b7984c355f8ac7e4
/gradedproject2/manage.py
cc9a25c592d4e5d676c69714292649d3232b8b58
[]
no_license
cs-fullstack-2019-spring/django-models4-cw-cgarciapieto
f533a17c61ed48e099fe2a3adb048c4d37b55070
9385954101a2a05ffae6f6fb62ae2d70df453c7b
refs/heads/master
2020-04-24T12:07:42.688722
2019-02-24T22:16:43
2019-02-24T22:16:43
171,946,613
0
0
null
null
null
null
UTF-8
Python
false
false
634
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'gradedproject2.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise...
[ "cgarciapieto@gmail.com" ]
cgarciapieto@gmail.com
5136288c6e4966cb780dcf795be5c2465999260c
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_350/ch40_2019_09_08_04_20_40_849177.py
cf087c2d1de136a88bc2faab43bebab4f0e36c5f
[]
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
126
py
def fatorial(n): while i <= n: y = fat*i i=1+i fat=1 return y
[ "you@example.com" ]
you@example.com
8b5f46f03fd3acf298116d84ec5c3e44a9f3af84
a8750439f200e4efc11715df797489f30e9828c6
/CodeForces/login.py
785f5e468166714bb35241f17932e9b1ce0d062a
[]
no_license
rajlath/rkl_codes
f657174305dc85c3fa07a6fff1c7c31cfe6e2f89
d4bcee3df2f501349feed7a26ef9828573aff873
refs/heads/master
2023-02-21T10:16:35.800612
2021-01-27T11:43:34
2021-01-27T11:43:34
110,989,354
0
0
null
null
null
null
UTF-8
Python
false
false
234
py
a, b = [x for x in input().split()] ans = a[0] i = 1 j = 0 while i < len(a) or j < len(b): if i >= len(a) or b[j] < a[i]: ans += b[j] j += 1 break else: ans += a[i] i += 1 print(ans)
[ "raj.lath@gmail.com" ]
raj.lath@gmail.com
d4f0c626e2bd451c7704118209afe8adf6d93c47
93b88de2ae87c4d7bed4d545fe38c502e84e1ba6
/table/models.py
dee20de09b8933b6cbaa0e3a4cfd8823273031b1
[]
no_license
jod35/empdata-table
b77fb8394f74cb71d50aeb1c2d5183d39f9fd5dd
4bda87eb8f54b4e53c3adc534002f50a7e46c5f8
refs/heads/master
2020-12-20T05:23:17.126355
2020-01-25T05:49:20
2020-01-25T05:49:20
235,975,783
0
0
null
null
null
null
UTF-8
Python
false
false
415
py
from . import db class Employee(db.Model): id=db.Column(db.Integer(),primary_key=True) name=db.Column(db.String(40),nullable=False) age=db.Column(db.Integer(),nullable=False) gender=db.Column(db.String(10),nullable=False) salary=db.Column(db.Integer(),nullable=False) residence=db.Column(db.Str...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
0d6d50fe03634a9956397e0cd037cd9f4ae7634e
607e1b1ec5a41fd5f6cf83e7e20a1372717d2486
/leetcode/62.py
a6d0a7914195cf7602733f2e272dab0afe4cdedd
[]
no_license
histuckyi/algorithm
067e627e1672e858b3143440200262e0e5db495c
fb04bbd8cdb3ead707bb07abbc1688b99f7505a7
refs/heads/master
2023-07-08T05:22:49.049599
2023-06-24T07:00:25
2023-06-24T07:00:25
147,614,786
1
3
null
null
null
null
UTF-8
Python
false
false
1,608
py
""" LeetCode 62. Unique Paths blog : https://daimhada.tistory.com/131 problem : https://leetcode.com/problems/unique-paths/submissions/ """ class Solution: def uniquePaths(self, m: int, n: int) -> int: r = n c = m field = [[0]*c for i in range(r)] rd = [0, 1] cd = [1, 0] ...
[ "histuckyi@gmail.com" ]
histuckyi@gmail.com
88ac7eaa07a6e60ea86b3a2c3c89d5bdf3800eed
7a0f0c2107019c82b693e809c1a9b912bee9d9b1
/app/chap3_2_2/models/mkqueries.py
a6ed847f49085fe78b1ee60cf6cf84fe8ca6cc7b
[]
no_license
petershan1119/Django-Official-Practice
352f17a4c0b03abe81af7471c4823f096868a4b5
a24f626c28bda6024e1b5380f1f8a3c436ba5a0d
refs/heads/master
2021-01-24T01:28:46.044910
2018-02-26T00:32:55
2018-02-26T00:32:55
122,808,687
0
0
null
null
null
null
UTF-8
Python
false
false
2,955
py
from django.db import models __all__ = ( 'Blog', 'Author', 'Entry', ) class Blog(models.Model): name = models.CharField(max_length=100) tagline = models.TextField(blank=True) def __str__(self): return self.name class Author(models.Model): """ ## ManyToMany의 경우 add 이용해서 업데이트 ...
[ "peter.s.han.1119@gmail.com" ]
peter.s.han.1119@gmail.com
c03eaa16a3e0a5b7f3a46d2d94e6d83848e0d6e8
4f972877da14226125440b3da9bdb058764d8a54
/pandasStudy/temp_opt.py
f108619a26d725634c493b10c9b32adf500d1dee
[]
no_license
ZhiYinZhang/study
16c29990cb371e7e278c437aa0abc7c348614063
8c085310b4f65e36f2d84d0acda4ca257b7389af
refs/heads/master
2021-07-09T16:05:02.925343
2020-06-30T07:53:05
2020-06-30T07:53:05
153,767,096
0
1
null
null
null
null
UTF-8
Python
false
false
879
py
#-*- coding: utf-8 -*- # @Time : 2019/3/9 14:37 # @Author : Z # @Email : S # @File : temp_opt.py import pandas as pd import json # df.to_json(,orient="records",force_ascii=False) # path="e:/test/json/shaoshanshi.json" # # df=pd.read_json(path,orient="records",lines=True) # # print(df) # df.to_json("e:/test/j...
[ "2454099127@qq.com" ]
2454099127@qq.com
c8b547b5c2825f3a201e760acb128b8fc94edaca
14cc70fa60dfaa441aab34b083cff1bf59574264
/opencivicdata/legislative/models/session.py
397d1f240810a4a6ecba6cda44895ce9e76871cc
[]
permissive
tubaman/python-opencivicdata
85434672bea6b40a417104d9381097df58b8a7b2
010cd72bdd806e76f342195a1f1e20acbed5a431
refs/heads/master
2020-07-26T13:32:22.452022
2019-08-20T05:56:12
2019-08-20T05:56:12
208,660,220
0
0
BSD-3-Clause
2019-09-15T21:33:06
2019-09-15T21:33:06
null
UTF-8
Python
false
false
1,192
py
from __future__ import unicode_literals from django.db import models from django.utils.encoding import python_2_unicode_compatible from opencivicdata.core.models.base import RelatedBase from opencivicdata.core.models import Jurisdiction from ...common import SESSION_CLASSIFICATION_CHOICES @python_2_unicode_compatible...
[ "james.p.turk@gmail.com" ]
james.p.turk@gmail.com
18355aa0f6375e11796880df007410c7b767cc84
111212d14fe7344a8635f0f8b392a657b5db27d8
/trabajo/migrations/0001_initial.py
c32bbbabe988780ebcaa511d59900c57eef5bca3
[]
no_license
sebasgoldberg/agencia
c83acd2cbdd2097e65c9dfb85fafbd31ed2fa8e8
dc837d8d40183cb22231a13e408bf56b8ce168e0
refs/heads/master
2021-01-25T03:48:18.591880
2014-05-19T10:21:30
2014-05-19T10:21:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
33,493
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Productora' db.create_table(u'trabajo_productora', ( ...
[ "sebas.goldberg@gmail.com" ]
sebas.goldberg@gmail.com
4f086d0abd4fee89dc9252a3a4212d6653a80f19
2dc17d12ff6ea9794177c81aa4f385e4e09a4aa5
/archive/1467. Probability of a Two Boxes Having The Same Number of Distinct Balls.py
5becc6fac00c3d0f19e7da6a06a9d4ace6447378
[]
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
2,261
py
from typing import List from functools import lru_cache class Solution: def getProbability(self, balls: List[int]) -> float: self.num = 0 N = len(balls) space_in_each_box = sum(balls) // 2 @lru_cache(None) def comb(x, y): # x<=y res = 1 for i in r...
[ "19241008o" ]
19241008o
b90c7a68490243757448c83d51d4eae5a3c86fad
8f6cc0e8bd15067f1d9161a4b178383e62377bc7
/ppo_baseline_DMB/WORKINGON/easy_ppo_v2/storage.py
0bd79023734c597fa209870d6297b8372a5c8253
[]
no_license
humorbeing/python_github
9c4dfc61a3cefbb266fefff335f6b28d05797e5e
e4b4b49bee7e7e3843c6874717779ce8d619bd02
refs/heads/master
2023-01-22T21:51:20.193131
2020-01-26T21:47:23
2020-01-26T21:47:23
163,707,778
0
0
null
2022-12-27T15:37:48
2019-01-01T01:58:18
Python
UTF-8
Python
false
false
7,531
py
import torch from torch.utils.data.sampler import BatchSampler, SubsetRandomSampler import numpy as np def ss(s=''): print() print(' ---' * 15) print(' ---' * 15) print() # print(' >>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<< ') print(s) print() print(' -...
[ "geemguang@gmail.com" ]
geemguang@gmail.com
66b1f7ab8b33518cd88195b541716565248d3e8e
2734b77a68f6d7e22e8b823418ad1c59fe1a34af
/opengever/document/behaviors/__init__.py
203ebd83e1f3d6ecb246888b2fffc589e66ad832
[]
no_license
4teamwork/opengever.core
5963660f5f131bc12fd0a5898f1d7c8f24a5e2b1
a01bec6c00d203c21a1b0449f8d489d0033c02b7
refs/heads/master
2023-08-30T23:11:27.914905
2023-08-25T14:27:15
2023-08-25T14:27:15
9,788,097
19
8
null
2023-09-14T13:28:56
2013-05-01T08:28:16
Python
UTF-8
Python
false
false
174
py
from zope.interface import Interface class IBaseDocument(Interface): """Marker interface for objects with a document like type (og.document, ftw.mail.mail) etc."""
[ "lukas.graf@4teamwork.ch" ]
lukas.graf@4teamwork.ch
3a6ecf79f1d71f56398219969add0d7eaa07bd92
908bba8bdc246d665d6b22e3a8b91720c34054e7
/whatsapp-sentiment.py
e7af36895172fa9f736ffba1bc4ba56d53798139
[ "Apache-2.0" ]
permissive
yogithesymbian/whatsapp-sentiments
24874ab055522b8733c500a104d218b205c054a8
d15d4a44282ecfc9b28fc0d16f2714f0f6ed7d2b
refs/heads/master
2020-05-25T00:33:48.165911
2017-03-19T17:27:15
2017-03-19T17:27:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
981
py
from textblob import TextBlob from plotly.offline import plot import plotly.graph_objs as go import random user1 = "Bob" user2 = 'Alice' with open('chat_sample.txt', 'r+') as f: samples = f.readlines() d = {user1:[], user2:[]} for line in samples: time, *text = line.split('-') text = ''.join...
[ "wasi0013@gmail.com" ]
wasi0013@gmail.com
b278f7784694cab7b0f6e4c0ae2aa4bf7f6d02af
0e083f405af00029c9ec31849f0f7f81c56844b5
/configs/mmseg/segmentation_sdk_dynamic.py
bfb033efed815d9f803ec76bca1feeee792fd4fd
[ "Apache-2.0" ]
permissive
open-mmlab/mmdeploy
39b9e7b611caab2c76a6142fcb99f0bf1d92ad24
5479c8774f5b88d7ed9d399d4e305cb42cc2e73a
refs/heads/main
2023-09-01T21:29:25.315371
2023-08-31T09:59:29
2023-08-31T09:59:29
441,467,833
2,164
605
Apache-2.0
2023-09-14T10:39:04
2021-12-24T13:04:44
Python
UTF-8
Python
false
false
307
py
_base_ = ['./segmentation_dynamic.py', '../_base_/backends/sdk.py'] codebase_config = dict(model_type='sdk') backend_config = dict(pipeline=[ dict(type='LoadImageFromFile'), dict(type='LoadAnnotations'), dict( type='PackSegInputs', meta_keys=['img_path', 'ori_shape', 'img_shape']) ])
[ "noreply@github.com" ]
open-mmlab.noreply@github.com
b6002bc250faf4ddfd8640d2a7ed44bf9176c3ec
36785c0893ab1e2c81c6a03305f42459776a84e0
/ambra_sdk/request_args.py
e29318245d880cd3dec5ab930e8d16a232ac1280
[ "Apache-2.0" ]
permissive
dicomgrid/sdk-python
06589f87f33850bd15e6e99fb683bada6492775f
2618e682d38339439340d86080e8bc6ee6cf21b5
refs/heads/master
2022-08-28T14:50:35.864012
2022-08-22T12:36:50
2022-08-22T12:36:50
253,867,502
11
6
Apache-2.0
2022-04-13T10:06:38
2020-04-07T17:36:56
HTML
UTF-8
Python
false
false
5,637
py
"""Request args.""" from datetime import date from json import JSONEncoder from json import dumps as json_dumps from typing import Any, Dict, Iterable, Mapping, Optional import aiohttp from aiohttp.helpers import sentinel class Encoder(JSONEncoder): """Ambra arguments Encoder.""" def default(self, el: Any)...
[ "akapustin@ambrahealth.com" ]
akapustin@ambrahealth.com
24aa177bffbefe30593f636267f6ed4a2bbc8b73
3a6d382503e11753dd81b291145847a2eabb8ec6
/experimental/compilers/reachability/llvm_util_test.py
1b152a96e77ea6c4ead37e28fb642958074c3e74
[]
no_license
QuXing9/phd
7e6f107c20e0b3b1de2b25eb99e0b640a4a0bfcf
58ba53b6d78515ed555e40527f6923e28941cc19
refs/heads/master
2022-02-27T03:29:05.126378
2019-10-22T02:46:57
2019-10-22T02:46:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,354
py
"""Unit tests for //experimental/compilers/reachability:llvm_util.""" import sys import pyparsing import pytest from absl import app from absl import flags from compilers.llvm import opt from experimental.compilers.reachability import llvm_util FLAGS = flags.FLAGS # Bytecode generated by clang using the following ...
[ "chrisc.101@gmail.com" ]
chrisc.101@gmail.com
2b887ca5322df9eb742eec5d14620c6a8c37621d
b5921afe6ea5cd8b3dcfc83147ab5893134a93d0
/tl/contrib/tweepy/auth.py
51ed3d90ae2fd53d749c402f1806617c2846a51b
[ "LicenseRef-scancode-other-permissive" ]
permissive
techdragon/tl
aaeb46e18849c04ad436e0e786401621a4be82ee
6aba8aeafbc92cabdfd7bec11964f7c3f9cb835d
refs/heads/master
2021-01-17T16:13:18.636457
2012-11-02T10:08:10
2012-11-02T10:08:10
9,296,808
1
0
null
null
null
null
UTF-8
Python
false
false
4,226
py
# Tweepy # Copyright 2009 Joshua Roesslein # See LICENSE from urllib.request import Request, urlopen from urllib.parse import quote import base64 from tweepy import oauth from tweepy.error import TweepError from tweepy.api import API class AuthHandler(object): def apply_auth(self, url, method, headers, paramete...
[ "feedbackflow@gmail.com" ]
feedbackflow@gmail.com
87f68bcf618d998027044494849ca6cc6cbdb568
b488060127559a3910ad5bf6642061019cc5f7df
/app/auth/views.py
f16dd5a46f53c65e4f7cb58c19eb52ce58c65ca7
[]
no_license
hypnopompicindex/flasky
1cf4e104bf68a192348049d651ddf7e35c6c6e0d
2131bb49decd8a17d25078ab37205f12e22aefa1
refs/heads/master
2016-09-05T16:04:45.933010
2014-08-29T22:25:55
2014-08-29T22:25:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,999
py
from flask import render_template, redirect, request, url_for, flash from flask.ext.login import login_user, logout_user, login_required, current_user from . import auth from .. import db from ..models import User from .forms import LoginForm from ..email import send_email from .forms import LoginForm, RegistrationForm...
[ "hypnopompicindex@gmail.com" ]
hypnopompicindex@gmail.com
a0647338bf9bf7f1b4ad381078643e483422723e
825930f372fdf8c9c42cd2f9b1f424ab9de90b38
/accounts/migrations/0003_order_note.py
92701e816ce3c74d2368fbed83add82c8b9acf2c
[]
no_license
Xasanjon/crm2
56cbfa05d910144c75a3cdfe7423ba68fd576534
52279925e64e4268830fbeae6af897aef14b64d0
refs/heads/master
2023-07-02T04:13:33.928305
2021-08-16T14:53:43
2021-08-16T14:53:43
395,755,429
0
0
null
2021-08-16T14:53:44
2021-08-13T18:30:32
Python
UTF-8
Python
false
false
392
py
# Generated by Django 3.2 on 2021-08-02 20:32 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0002_auto_20210725_0252'), ] operations = [ migrations.AddField( model_name='order', name='note', ...
[ "xasanboy99akaxon@gmail.com" ]
xasanboy99akaxon@gmail.com
1b803449349f7c2d236f15348e6db398d826631f
504344fc66e8d54081a17306d3012a16bbb81ee7
/1_start_main.py
f5b040ad17b8d6c087939daec2d577d8e233f917
[]
no_license
Ryanshuai/auto_pubg
814753644a8e8e7aa3d7ca3c346a9e05b825c00d
696f33f888efc441a74e142db878e836bbf3efee
refs/heads/master
2022-09-21T12:13:24.155393
2020-11-12T20:03:43
2020-11-12T20:03:43
153,748,441
1
0
null
null
null
null
UTF-8
Python
false
false
1,482
py
from PyQt5 import QtCore, QtGui, QtWidgets from screen_parameter import show_position_y, show_position_x, show_size_y, show_size_x from press_gun.robot import Robot from state.all_states import All_States class Ui_Dialog(object): def setupUi(self, Dialog): Dialog.setObjectName("Dialog") Dialog.re...
[ "1018718155@qq.com" ]
1018718155@qq.com
a8854b058391a3e400e059150fc9e2444400ab81
d4b049d91795b5f8899f5ee60151a04be8890af9
/litapplications/candidates/migrations/0037_auto_20170604_1531.py
673c7eb72fcbdf9751afa92d8101506c0ee2c1c1
[]
no_license
thatandromeda/litapplications
3ab879c6edee1fd8424c3546eead47659699655a
d8b67d0b82ea14fb71b871f7563b7096640e4c25
refs/heads/master
2020-05-21T23:59:07.004211
2017-12-08T03:25:24
2017-12-08T03:25:24
64,570,749
0
1
null
null
null
null
UTF-8
Python
false
false
640
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2017-06-04 15:31 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('candidates', '0036_auto_20170410_0025'), ] operations = [ migrations.AddFiel...
[ "andromeda.yelton@gmail.com" ]
andromeda.yelton@gmail.com
cf7998ad81daa62c4fba1aad1cf014844efd51c8
c532e4d7466188ebbcca32413f592491eac9d7f8
/leetcode/392.is-subsequence.py
e6cd21e9c3757a79129f956abc34459736ec87de
[]
no_license
Zedmor/hackerrank-puzzles
a1ff8601ea6d2bb3d2095909dfe00ef32346b74f
2cc179bdb33a97294a2bf99dbda278e935165943
refs/heads/master
2023-01-10T13:57:26.649360
2023-01-04T03:27:05
2023-01-04T03:27:05
68,768,901
0
0
null
2017-03-05T18:24:18
2016-09-21T01:46:35
Jupyter Notebook
UTF-8
Python
false
false
1,609
py
# # @lc app=leetcode id=392 lang=python3 # # [392] Is Subsequence # # https://leetcode.com/problems/is-subsequence/description/ # # algorithms # Easy (47.97%) # Total Accepted: 233.6K # Total Submissions: 474.3K # Testcase Example: '"abc"\n"ahbgdc"' # # Given a string s and a string t, check if s is subsequence of ...
[ "zedmor@gmail.com" ]
zedmor@gmail.com
56a53cf0a36b5b36076f79e659a49128f7fa1265
ada026a8588611f18a0bae44619aea6dc89c07a7
/backend/event/models.py
94899bc08145ed779dc022f61534cb2e63f156b5
[]
no_license
crowdbotics-apps/iqraa-25096
5a363ec49766352d23de9348bfddcaed187b98c8
42def0722c287182c100ef46a4284236fbd2f04e
refs/heads/master
2023-03-22T23:40:21.685747
2021-03-18T09:17:50
2021-03-18T09:17:50
349,008,088
0
0
null
null
null
null
UTF-8
Python
false
false
3,882
py
from django.conf import settings from django.db import models class Vendor(models.Model): "Generated Model" name = models.TextField() logo_image = models.SlugField( null=True, blank=True, max_length=50, ) type = models.TextField( null=True, blank=True, )...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
a65a5fe2737f2506964095d71631ff9e74b89d51
1b7f4cd39bf7e4a2cf667ac13244e5138ee86cb2
/agents/displays/human_display.py
4ad2949060ec0816a46e1db1e5ae89c9fd33bade
[ "MIT" ]
permissive
cjreynol/willsmith
02f793003a914a21b181839bbd58108046f312d6
39d3b8caef8ba5825f3a0272c7fd61a2f78ef2b5
refs/heads/master
2020-07-15T13:25:57.613707
2018-06-12T00:18:19
2018-06-12T00:18:19
205,572,039
0
0
null
null
null
null
UTF-8
Python
false
false
1,172
py
from tkinter import Button, Entry, Label, END from willsmith.gui_display_controller import GUIDisplayController class HumanDisplay(GUIDisplayController): """ Creates a Tkinter GUI that allows the user to input their moves. """ WINDOW_TITLE = "Human Agent" LABEL_FONT = ("Courier New", 14) ...
[ "cjreynol13@aol.com" ]
cjreynol13@aol.com
9999bb084c19897bd8e0f40f1449c5ab8305baec
2a6d385c7737aea3c6b49eef9252babb7557b909
/MCTools/test/lheTreeMaker.py
7c6aa48eac2b99e552e3669d2e943613a8222e6a
[]
no_license
Sam-Harper/usercode
1b302a4b647e479d27a9501f9576bd04b07e111a
fa43427fac80d773978ea67b78be58d264f39ec8
refs/heads/120XNtup
2022-08-26T12:59:53.388853
2022-07-12T16:52:46
2022-07-12T16:52:46
15,675,175
1
11
null
2022-07-21T13:27:57
2014-01-06T13:54:22
Python
UTF-8
Python
false
false
2,051
py
# Import configurations import FWCore.ParameterSet.Config as cms # set up process process = cms.Process("PDF") # initialize MessageLogger and output report process.load("FWCore.MessageLogger.MessageLogger_cfi") process.MessageLogger.cerr.FwkReport = cms.untracked.PSet( reportEvery = cms.untracked.int32(10000), ...
[ "sam.j.harper@gmail.com" ]
sam.j.harper@gmail.com
22fcbd946d08b1b0360883cebf92843acdabaae0
853c6a09af16fd4dd8a53efa8bde631e63315b59
/Programmers/correct braket.py
0936aa47db0765ce63be6d8daa769dea7d790e1b
[]
no_license
Areum0921/Abox
92840897b53e9bbab35c0e0aae5a017ab19a0500
f4739c0c0835054afeca82484769e71fb8de47c8
refs/heads/master
2021-12-13T11:16:33.583366
2021-10-10T08:09:50
2021-10-10T08:09:50
176,221,995
3
1
null
null
null
null
UTF-8
Python
false
false
346
py
def solution(s): answer = True stack = [] for i in s: if (i == '('): stack.append(i) else: if (stack): stack.pop() else: return False # 짝이 안맞을때 if (stack): # 스택에 남아 있는게 있을때 return False return True
[ "a90907@gmail.com" ]
a90907@gmail.com
4b3961aa5d8906bd87af450467577e695d335f83
b0c0008213c633e6d32d8536a98934047f38ba17
/consumer.py
e8cd2071c6864f984bb83cc67f04e9e66677ddc7
[]
no_license
benthomasson/kafka-test
8363f6a880544a6037e88d01b33954524b3b38ac
95b1e89dd5a009b47a35ac5886c1980e2c5d5fcc
refs/heads/master
2020-06-13T17:34:55.464840
2019-07-01T19:49:22
2019-07-01T19:49:22
194,734,088
0
0
null
null
null
null
UTF-8
Python
false
false
946
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Usage: consumer [options] Options: -h, --help Show this page --debug Show debug logging --verbose Show verbose logging """ from docopt import docopt import logging import sys from kafka import KafkaConsumer logger = logging.ge...
[ "bthomass@redhat.com" ]
bthomass@redhat.com
7491ded17babba2e25a320468b4c7f2d03ec8014
2d67afd40a0425c843aa8643df9f7d5653ad0369
/python/leetcode/836_Rectangle_Overlap.py
07a9c93dabe68189566acdbdd57f7dd25eead09a
[]
no_license
bobcaoge/my-code
2f4ff5e276bb6e657f5a63108407ebfbb11fbf64
70bdd75b6af2e1811c1beab22050c01d28d7373e
refs/heads/master
2022-12-23T22:38:10.003058
2020-07-02T03:52:43
2020-07-02T03:52:43
248,733,053
0
0
null
2022-12-10T05:41:57
2020-03-20T10:55:55
Python
UTF-8
Python
false
false
683
py
# /usr/bin/python3.6 # -*- coding:utf-8 -*- class Solution(object): def isRectangleOverlap(self, rec1, rec2): """ :type rec1: List[int] :type rec2: List[int] :rtype: bool """ return not (rec2[0] >= rec1[2] or rec2[1] >= rec1[3] or rec2[2] <= rec1[0] or rec2[3] <= re...
[ "378082326@qq.com" ]
378082326@qq.com
8f73960e9cd985f473f88967aa7424ab07f7bcbe
aa692f369966074141873a473894362913750e01
/reportform/asgi.py
52f03e6cc3a8f2461ec7170e6d02e3bf734d97bc
[]
no_license
yashacon/Progress_form
d8747d6ba28266cabd2c88ecfdcf4816c7350569
0f26733383f79e9e34992cd12a308a410c27f37f
refs/heads/master
2022-04-22T14:47:05.119632
2020-04-19T15:14:16
2020-04-19T15:14:16
257,029,044
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" ASGI config for reportform project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SE...
[ "17dcs017@lnmiit.ac.in" ]
17dcs017@lnmiit.ac.in
c33743585b9a553e3d3858a7fff83eb8abfe4436
7f1d31cf00f8a1fc175d67c7be6e11367179d3f6
/tests/nlu/extractors/test_extractor.py
b0739e047c43aac5b670854f89971dc56ef5e29e
[ "LicenseRef-scancode-generic-cla", "Apache-2.0", "MIT" ]
permissive
russosanti/rasa
226ec14e3a326ba2ad9cb0aae57c79465c88b5ab
21fb0cc8e92cf270e4228438cb386f1d6f364563
refs/heads/master
2023-04-07T13:25:53.848512
2020-04-16T21:59:58
2020-04-16T21:59:58
256,278,604
0
1
Apache-2.0
2020-04-16T17:05:06
2020-04-16T17:05:05
null
UTF-8
Python
false
false
7,622
py
from typing import Any, Text, Dict, List import pytest from rasa.nlu.tokenizers.tokenizer import Token from rasa.nlu.training_data import Message from rasa.nlu.extractors.extractor import EntityExtractor @pytest.mark.parametrize( "text, tokens, entities, keep, expected_entities", [ ( "Aa...
[ "tabergma@gmail.com" ]
tabergma@gmail.com
eaf21fc64fa4a9963db8428a6d85332bb1f68acf
d2fc4d45b115fb861097657d00b3c5cb08e8a3ad
/scenarios/bank_account_delete/executable.py
22c888baa03eda9722fd271e2a6f2c9a58e213cb
[]
no_license
jess010/balanced-python
81b39f0e9d3ce52d60f2453b8c98e77f07ee3acb
b7a6bf0430ad0299d96de15ea97d3d4ccfb4c958
refs/heads/master
2020-12-25T16:13:35.626111
2013-09-20T00:14:58
2013-09-20T00:14:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
182
py
import balanced balanced.configure('b5de51921b2d11e389c4026ba7cac9da') bank_account = balanced.BankAccount.find('/v1/bank_accounts/BA5YXVcU9ExcM8jXQhQt7ZY6') bank_account.delete()
[ "ben@unfiniti.com" ]
ben@unfiniti.com
86ba2b6052d3e743fb070ef7f0e05d157df3fe4d
0dee7cc69ae44e30c5cb372eb17f2e469635056b
/AirBnB_clone_v3/api/v1/app.py
3b75dd5b7cb112990fe65ac206b8bb1c37bb41c1
[ "LicenseRef-scancode-public-domain" ]
permissive
HausCloud/Holberton
00cd25b4a489041e041551ea8f87674d53f43713
b39c5978698e02b9e746121d6c55d791b73e6d9b
refs/heads/master
2022-12-13T01:06:18.968047
2020-09-05T18:23:00
2020-09-05T18:23:00
293,129,232
0
1
null
null
null
null
UTF-8
Python
false
false
699
py
#!/usr/bin/python3 ''' py file to connect to API ''' from os import getenv from models import storage from api.v1.views import app_views from flask import Flask, Blueprint, jsonify, make_response from flask_cors import CORS app = Flask(__name__) app.register_blueprint(app_views) cors = CORS(app, resources={"/*": {"or...
[ "hauscloud.me@gmail.com" ]
hauscloud.me@gmail.com
3cc8dd50235d65c9fa40a0006df2519f1713d6ca
6343534aaf5483b3fab219c14b5c33726d5d196e
/shopinglyx/wsgi.py
59325b034274c335d3d9de6740a9eb9057a07476
[]
no_license
Emad-ahmed/Ful_Django_Shoping_website
8441b2caa1214c8df9399dceed5e53fa37cd86cb
6eefe47749b5cd6b1a2422e9cf717e9584b13dce
refs/heads/main
2023-05-20T11:30:54.194116
2021-06-09T21:07:18
2021-06-09T21:07:18
375,272,911
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" WSGI config for shopinglyx 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.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SE...
[ "amadahmed1234678@gmail.com" ]
amadahmed1234678@gmail.com
eb6b102c5a47abdb1fddc5dd164e9607a07d4269
918f0fdef0e9224aa1a0596479178618290055ec
/mmdet3d/core/post_processing/__init__.py
42eb5bf2b1a4c0fb4cb35c38a74847ade71b7eee
[ "Apache-2.0" ]
permissive
Tsinghua-MARS-Lab/futr3d
b7eb3a0c9d92a58759c9c43e96bfd024a2e3de96
9130d71e487bad47f5dbcffd696fe9e4a838104f
refs/heads/main
2023-07-24T15:40:00.121665
2023-07-06T05:50:45
2023-07-06T05:50:45
499,766,918
188
27
MIT
2022-06-19T10:42:03
2022-06-04T08:21:17
Python
UTF-8
Python
false
false
677
py
# Copyright (c) OpenMMLab. All rights reserved. from mmdet.core.post_processing import (merge_aug_bboxes, merge_aug_masks, merge_aug_proposals, merge_aug_scores, multiclass_nms) from .box3d_nms import (aligned_3d_nms, box3d_multiclass_n...
[ "noreply@github.com" ]
Tsinghua-MARS-Lab.noreply@github.com
16fddf5472889066e69ad211c65e0c0eaae42d50
8255dcf7689c20283b5e75a452139e553b34ddf3
/run.py
8ba9ab77eb8ef361a982ca743d65c0d45897d818
[ "MIT" ]
permissive
Wern-rm/raton.by
09871eb4da628ff7b0d0b4415a150cf6c12c3e5a
68f862f2bc0551bf2327e9d6352c0cde93f45301
refs/heads/main
2023-05-06T02:26:58.980779
2021-05-25T14:09:47
2021-05-25T14:09:47
317,119,285
0
1
null
null
null
null
UTF-8
Python
false
false
116
py
from app import create_app app = create_app() if __name__ == '__main__': app.run(host='127.0.0.1', port=16000)
[ "devwern@gmail.com" ]
devwern@gmail.com
18f0da7b593b5bb208b8eb0ca6e1b1d9ca239b38
04ab6e4cbc7034ba1a0e43d7cdb6d3547534496b
/q2_vsearch/tests/test_join_pairs.py
cbc95074d6c6bacf1fa44b7eaf435988d38e1278
[ "BSD-3-Clause" ]
permissive
gregcaporaso/q2-vsearch
bd99c1db3d4af06bc691d5111ac60099d13621f2
48e2d77f40c3b1841ca15789c6a02fd5077d9a58
refs/heads/master
2020-06-10T20:53:03.018489
2017-12-20T18:59:30
2017-12-20T18:59:30
75,876,917
1
2
null
null
null
null
UTF-8
Python
false
false
12,263
py
# ---------------------------------------------------------------------------- # Copyright (c) 2016-2017, QIIME 2 development team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file LICENSE, distributed with this software. # ------------------------------------------------...
[ "matthewrdillon@gmail.com" ]
matthewrdillon@gmail.com
5554e807f98c00e8a594c894b58a6069820180ad
187a6558f3c7cb6234164677a2bda2e73c26eaaf
/jdcloud_sdk/services/monitor/models/NoticeOption.py
5782d8ff633350bf7e0c26947724e00a101fa9a3
[ "Apache-2.0" ]
permissive
jdcloud-api/jdcloud-sdk-python
4d2db584acc2620b7a866af82d21658cdd7cc227
3d1c50ed9117304d3b77a21babe899f939ae91cd
refs/heads/master
2023-09-04T02:51:08.335168
2023-08-30T12:00:25
2023-08-30T12:00:25
126,276,169
18
36
Apache-2.0
2023-09-07T06:54:49
2018-03-22T03:47:02
Python
UTF-8
Python
false
false
1,661
py
# coding=utf8 # Copyright 2018 JDCLOUD.COM # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed ...
[ "tancong@jd.com" ]
tancong@jd.com
62be4bbd7ede776de75f9f3f2fd3dc6801ebcfda
1fc45a47f0e540941c87b04616f3b4019da9f9a0
/src/sentry/search/django/constants.py
d07708d74a015bdd0bd4f0411ae69587e4b956d6
[ "BSD-2-Clause" ]
permissive
seukjung/sentry-8.15.0
febc11864a74a68ddb97b146cc1d2438ef019241
fd3cab65c64fcbc32817885fa44df65534844793
refs/heads/master
2022-10-28T06:39:17.063333
2018-01-17T12:31:55
2018-01-17T12:31:55
117,833,103
0
0
BSD-3-Clause
2022-10-05T18:09:54
2018-01-17T12:28:13
Python
UTF-8
Python
false
false
1,622
py
""" sentry.search.django.constants ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :copyright: (c) 2010-2014 by the Sentry Team, see AUTHORS for more details. :license: BSD, see LICENSE for more details. """ from __future__ import absolute_import SORT_CLAUSES = { 'priority': 'sentry_groupedmessage.score', 'date': 'EXTRACT(E...
[ "jeyce@github.com" ]
jeyce@github.com
af07e96835aac06a7e756e51bb65e5c49aedfcfb
56997c84a331433225f89f168520ad8d709083c1
/Programmers/DFS_BFS/네트워크/network_ver1.py
84f304c62bd83cd9430505ab8f1a79b96656c2e5
[]
no_license
miseop25/Back_Jun_Code_Study
51e080f8ecf74f7d1a8bb1da404d29c8ba52325c
1d993e718c37c571aae1d407054ec284dc24c922
refs/heads/master
2022-11-06T01:05:05.028838
2022-10-23T13:11:22
2022-10-23T13:11:22
200,828,984
3
0
null
null
null
null
UTF-8
Python
false
false
1,205
py
class Node : def __init__(self, data) : self.data = data self.child = [] class Network : def __init__(self, n, computers) : self.nodeDict = dict() self.n = n for i in range(n) : self.nodeDict[i] = Node(i) self.connectNode(computers) self.che...
[ "richard25@naver.com" ]
richard25@naver.com
f7716ffbae61d7010cae9cc57710c47a3dd80743
a9f676c06bacee1f8b27e08d3c411c89a69cfd40
/falmer/content/migrations/0012_homepage.py
c6db737a1ea4de523845df670a1e021053dc211d
[ "MIT" ]
permissive
sussexstudent/falmer
1b877c3ac75a0477f155ce1a9dee93a5ada686d6
ae735bd9d6177002c3d986e5c19a78102233308f
refs/heads/master
2022-12-11T19:40:12.232488
2020-03-20T13:01:47
2020-03-20T13:01:47
88,043,958
2
3
MIT
2022-12-08T03:17:26
2017-04-12T11:24:02
Python
UTF-8
Python
false
false
1,364
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2017-07-14 14:31 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import falmer.content.blocks import wagtail.core.blocks import wagtail.core.fields class Migration(migrations.Migration): dep...
[ "james@brudil.com" ]
james@brudil.com
8e2ce871dc44558694ebd870b565b602b4058d98
234c7fb0bdabdd696c8e4c6a449ac2c8e3f14ad5
/build/PureCloudPlatformClientV2/models/nlu_detection_request.py
2cbab60154a60c1e7d754276de069675dcb500c2
[ "Apache-2.0", "MIT" ]
permissive
humano7/platform-client-sdk-python
2a942c43cc2d69e8cb0c4113d998e6e0664fdedb
dd5b693b1fc90c9dcb36885d7227f11221db5980
refs/heads/master
2023-04-12T05:05:53.932393
2021-04-22T03:41:22
2021-04-22T03:41:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,350
py
# coding: utf-8 """ Copyright 2016 SmartBear Software 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...
[ "purecloud-jenkins@ininica.com" ]
purecloud-jenkins@ininica.com
c421d5537c5e8ad2bc05d6403e45f2fbd124db1c
63dd919e1551fbabdad3f311b96040742e4ecb53
/discpy/team.py
af40c20d54199589e72d24df8658cf9c23d632a3
[ "MIT" ]
permissive
AryamanSrii/DiscPy
4d45d2f52c21b31bb84a17dd95af421c9d563bd6
0ba89da9ca184f0dfaebeedd4e9b7bc3099a0353
refs/heads/main
2023-08-17T14:42:45.936056
2021-10-01T15:12:17
2021-10-01T15:12:17
414,887,513
0
0
MIT
2021-10-08T07:24:33
2021-10-08T07:24:32
null
UTF-8
Python
false
false
4,768
py
""" The MIT License (MIT) Copyright (c) 2021 The DiscPy Developers Copyright (c) 2015-2021 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation...
[ "sn1f3rt@outlook.com" ]
sn1f3rt@outlook.com
66dd3074a663a4bbf8256161ed6ac35f783c75e9
926621c29eb55046f9f59750db09bdb24ed3078e
/lib/googlecloudsdk/third_party/py27/py27_collections.py
46e053f8a1b7ee5b2c1180e599017396ae70b3db
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
bopopescu/SDK
525d9b29fb2e901aa79697c9dcdf5ddd852859ab
e6d9aaee2456f706d1d86e8ec2a41d146e33550d
refs/heads/master
2022-11-22T18:24:13.464605
2016-05-18T16:53:30
2016-05-18T16:53:30
282,322,505
0
0
NOASSERTION
2020-07-24T21:52:25
2020-07-24T21:52:24
null
UTF-8
Python
false
false
755
py
# Copyright 2015 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "richarddewalhalla@gmail.com" ]
richarddewalhalla@gmail.com
14384b1bf58a425a8c632b2ccd3f330ffcc1c262
c315c2d9ea4b0d43768964c46611afca242d3cdc
/input_pipeline/pipeline.py
215a7e219e2e1ff50175e8c2946702d086a03d2b
[ "MIT" ]
permissive
TropComplique/EDANet
9685c986b8e25fab7a2db14803ab713602df65a2
ec4fd0d2693ce4ae5b81664e22adf9bf6c81f4a7
refs/heads/master
2020-04-04T14:04:46.228608
2019-01-07T12:40:42
2019-01-07T12:40:42
155,986,060
3
3
null
null
null
null
UTF-8
Python
false
false
6,384
py
import tensorflow as tf from .random_rotation import random_rotation from .color_augmentations import random_color_manipulations, random_pixel_value_scale SHUFFLE_BUFFER_SIZE = 5000 NUM_PARALLEL_CALLS = 12 RESIZE_METHOD = tf.image.ResizeMethod.BILINEAR MIN_CROP_SIZE = 0.9 ROTATE = False class Pipeline: def __in...
[ "antoshchenko.b@gmail.com" ]
antoshchenko.b@gmail.com
bcd750d560e214053a6f3ae7100412b22b224db0
96dcea595e7c16cec07b3f649afd65f3660a0bad
/tests/components/template/test_button.py
bfdb9352767ec5880116473e8ab445ab30b8a0a5
[ "Apache-2.0" ]
permissive
home-assistant/core
3455eac2e9d925c92d30178643b1aaccf3a6484f
80caeafcb5b6e2f9da192d0ea6dd1a5b8244b743
refs/heads/dev
2023-08-31T15:41:06.299469
2023-08-31T14:50:53
2023-08-31T14:50:53
12,888,993
35,501
20,617
Apache-2.0
2023-09-14T21:50:15
2013-09-17T07:29:48
Python
UTF-8
Python
false
false
5,386
py
"""The tests for the Template button platform.""" import datetime as dt from unittest.mock import patch from homeassistant import setup from homeassistant.components.button import DOMAIN as BUTTON_DOMAIN, SERVICE_PRESS from homeassistant.components.template.button import DEFAULT_NAME from homeassistant.const import ( ...
[ "noreply@github.com" ]
home-assistant.noreply@github.com
0f51ca5b879fb84ad265dfd8702b8672392376d4
b3d42d863b170f2a952e69c40bea727a92d95730
/c03/p050_same_name.py
2dfe30b61af6c12638fdf656a5dcee8b56269429
[ "Apache-2.0" ]
permissive
HiAwesome/automate-the-boring-stuff
6e8a8aa12fc36f9d7c139f1c2ae0510df1904491
7355f53bbb0d27755fe350b84be834f3b4f9767a
refs/heads/master
2023-01-04T14:24:53.624590
2020-11-05T06:30:43
2020-11-05T06:30:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
224
py
def spam(): eggs = 'spam local' print(eggs) def bacon(): eggs = 'bacon local' print(eggs) spam() print(eggs) eggs = 'global' bacon() print(eggs) """ bacon local spam local bacon local global """
[ "moqimoqidea@gmail.com" ]
moqimoqidea@gmail.com
3422f9944919abe99c858b9cd797912712273538
86a184949f306c94b6d032cc2ca862412016d25a
/week10/funwithcelery/tasks.py
bdf6f5df56935b6973921ab1d6f00e02ca4f8a79
[]
no_license
sjl421/Web-Development-with-Django
7339b8f4c33f1a1bfa7660e6dc35d74f54c1981d
2bb9e0fc098b03cbb6e7980483624b151601d204
refs/heads/master
2021-04-06T08:58:22.803534
2017-07-08T13:59:50
2017-07-08T13:59:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
438
py
from celery import group from celery_app import app @app.task(bind=True, max_retries=1) def retry_task(self): print('IN TASK') exc = Exception('retrying') self.retry(exc=exc, countdown=60) @app.task def add(x, y): return x + y @app.task def just_printing(*args, **kwargs): print('Someone called ...
[ "radorado@hackbulgaria.com" ]
radorado@hackbulgaria.com
3ad8fdd6adedf14fe1f304fc8af7d2c003990f4d
88ed561f202a4c75f499611ec86099000f53b683
/ccxt_unmerged/krakenfu.py
13d6c8c2a6d001008482e039cf6819536a6d6eae
[]
no_license
jjones2000/ccxt-unmerged
8d07d4cddfd9b3f71223d5baeb92f7dac6b7f11d
316f39b836fa15bd9693de292ba62eb224227ea2
refs/heads/master
2023-06-17T09:19:12.827803
2021-07-14T19:25:50
2021-07-14T19:25:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
46,029
py
# -*- coding: utf-8 -*- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: # https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code from ccxt.base.exchange import Exchange import hashlib from ccxt.base.errors import ExchangeError from ccxt.base.errors import Authenticati...
[ "binares@protonmail.com" ]
binares@protonmail.com
89e7da5910d0897f44e727aec7f25b1c0b510972
1511782b2cc3dcf1f7e058e5046ec67a5561ba51
/2020/0418/we_like_agc.py
cf32c1fd0e83497a7048d6cb9fac03b9d62bda85
[]
no_license
keiouok/atcoder
7d8a053b0cf5b42e71e265450121d1ad686fee6d
9af301c6d63b0c2db60ac8af5bbe1431e14bb289
refs/heads/master
2021-09-07T11:48:55.953252
2021-07-31T15:29:50
2021-07-31T15:29:50
186,214,079
4
0
null
null
null
null
UTF-8
Python
false
false
1,565
py
import sys, re, os from collections import deque, defaultdict, Counter from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians from itertools import permutations, combinations, product, accumulate from operator import itemgetter, mul from copy import deepcopy from string import ascii_lowercase, ascii...
[ "hu.youjia.hx2@is.naist.jp" ]
hu.youjia.hx2@is.naist.jp
b1ca43ca364d54f0cadbe79241cefb980e2b7c7c
f08e50d55bbbb90e4c8f9a8811eaede98ede2694
/erpbee/patches/v11_0/inter_state_field_for_gst.py
2a8ab6e86b41209abb6664006436ad67db52618b
[]
no_license
mohrezbak/erpbee
bc48472a99a7f4357aa7b82ff3a9c1a4c98ba017
1134156ad337fd472e14cf347479c17bd8db7b33
refs/heads/main
2023-02-12T01:32:07.858555
2021-01-08T17:25:23
2021-01-08T17:25:23
327,872,762
0
0
null
null
null
null
UTF-8
Python
false
false
3,205
py
from __future__ import unicode_literals import frappe from erpbee.regional.india.setup import make_custom_fields def execute(): company = frappe.get_all('Company', filters = {'country': 'India'}) if not company: return frappe.reload_doc("Payroll", "doctype", "Employee Tax Exemption Declaration") frappe.reload_d...
[ "bakhtiar2k6@gmail.com" ]
bakhtiar2k6@gmail.com
1c97e19f27526310fc8e6f703b6657e7e3961dc6
cbcdf195338307b0c9756549a9bffebf3890a657
/mypy_django_plugin/transformers/models.py
5db4dbb2c09d863b1f38034dda14dc60a3395ca9
[ "MIT" ]
permissive
mattbasta/django-stubs
bc482edf5c6cdf33b85005c2638484049c52851b
8978ad471f2cec0aa74256fe491e2e07887f1006
refs/heads/master
2020-04-27T08:38:22.694104
2019-03-06T09:05:08
2019-03-06T09:05:24
174,178,933
1
0
MIT
2019-03-06T16:18:01
2019-03-06T16:18:00
null
UTF-8
Python
false
false
10,969
py
from abc import ABCMeta, abstractmethod from typing import Dict, Iterator, List, Optional, Tuple, cast import dataclasses from mypy.nodes import ( ARG_STAR, ARG_STAR2, MDEF, Argument, CallExpr, ClassDef, Expression, IndexExpr, Lvalue, MemberExpr, MypyFile, NameExpr, StrExpr, SymbolTableNode, TypeInfo, Var, ) f...
[ "maxim.kurnikov@gmail.com" ]
maxim.kurnikov@gmail.com
6cad1809e4dcda1f27e0304167dbbb5f9ead2b47
6d233ad2059a941e4ce4c5b5ee3857b8a4a0d212
/Everyday_alg/2021/01/2021_01_13/binary-tree-level-order-traversal.py
2966d1ca6c9df4779c61bf9ec99a75013caf3771
[]
no_license
Alexanderklau/Algorithm
7c38af7debbe850dfc7b99cdadbf0f8f89141fc6
eac05f637a55bfcc342fa9fc4af4e2dd4156ea43
refs/heads/master
2022-06-12T21:07:23.635224
2022-06-12T08:12:07
2022-06-12T08:12:07
83,501,915
5
3
null
null
null
null
UTF-8
Python
false
false
825
py
# coding: utf-8 __author__ = 'Yemilice_lau' """ 给你一个二叉树,请你返回其按 层序遍历 得到的节点值。 (即逐层地,从左到右访问所有节点)。 示例: 二叉树:[3,9,20,null,null,15,7], 3 / \ 9 20 / \ 15 7 返回其层序遍历结果: [ [3], [9,20], [15,7] ] """ class Solution(object): def levelOrder(self, root): """ :type root: TreeNode ...
[ "429095816@qq.com" ]
429095816@qq.com
e38fd14ba552b2ae26182d22a08def171dd47456
fdca7da4bd6a7ce2e6659014da3b11df486ea686
/names.py
a6eb3a885c30d28098b0058184d5f8f67574a955
[]
no_license
MovinTarg/Names
a34bafe2f827078873f13f9034299f036b1a20b8
2ba00a051560ea7a9cfd12cf95bc6617962b9b0b
refs/heads/master
2021-05-02T07:20:11.304723
2018-02-08T22:32:52
2018-02-08T22:32:52
120,826,202
0
0
null
null
null
null
UTF-8
Python
false
false
1,070
py
students = [ {'first_name': 'Michael', 'last_name' : 'Jordan'}, {'first_name' : 'John', 'last_name' : 'Rosales'}, {'first_name' : 'Mark', 'last_name' : 'Guillen'}, {'first_name' : 'KB', 'last_name' : 'Tonel'} ] def names(arr): for val in arr: print val['first_name'], val['last_name'] n...
[ "pbianchi192@gmail.com" ]
pbianchi192@gmail.com
68f6bb61324cd78cba0386369bec19d3a4ec44a3
abf0ea1656a00932d99578a566b8b546daa8c569
/env/bin/cftp
df699cd0cc2f0d301a851ae0138146f3272a4b40
[]
no_license
Lewington-pitsos/soundcloud
cf3b7a22b6e93b32e1f2a3f50b5ca5aec790bf23
5232ddc6d8f745ee91624411f3eecbfea2758c51
refs/heads/master
2020-05-16T02:09:24.846277
2019-04-22T05:37:54
2019-04-22T05:37:54
182,618,894
0
0
null
null
null
null
UTF-8
Python
false
false
273
#!/home/lewington/code/python/learn/soundcloud/env/bin/python3.6 # -*- coding: utf-8 -*- import re import sys from twisted.conch.scripts.cftp import run if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(run())
[ "lewington@student.unimelb.edu.au" ]
lewington@student.unimelb.edu.au