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
cf5fd45586744cdecce99ff8bd1752960be4c290
f09dc121f213f2881df3572288b7ee5b39246d73
/aliyun-python-sdk-ddoscoo/aliyunsdkddoscoo/request/v20200101/ModifyWebIpSetSwitchRequest.py
0c85341c0f16e1cc7ee82efe7030593b0c94c5c9
[ "Apache-2.0" ]
permissive
hetw/aliyun-openapi-python-sdk
2f31378ad6be0896fb8090423f607e9c7d3ae774
7443eacee9fbbaa93c7975c6dbec92d3c364c577
refs/heads/master
2023-01-19T22:42:36.214770
2020-12-04T10:55:14
2020-12-04T10:55:14
318,689,093
1
0
NOASSERTION
2020-12-05T03:03:03
2020-12-05T03:03:03
null
UTF-8
Python
false
false
1,778
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...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
96e2414c4b98df768bcd639756de677b9a7b9201
6f99c51a186227a127ce8ca2cf3231b15519b70c
/apps/operation/adminx.py
a870326f9adcb0c697ad576297a0cf0fa6b17c14
[]
no_license
nicolefengs/mxonline
ce0a9748e64b7ecead53bc3c2aefea6269a0a4f9
67452439b7e073afaf25621d00085e2de05ffad9
refs/heads/master
2020-03-14T22:40:41.053409
2018-05-02T09:12:15
2018-05-02T09:12:15
131,824,759
0
0
null
null
null
null
UTF-8
Python
false
false
1,423
py
#coding=utf-8 from operation.models import UserAsk, CourseComments, UserFavorite, UserMessage, UserCourse from organization.models import CityDict, CourseOrg, Teacher import xadmin class UserAskAdmin(object): list_display=['name','mobile','course_name','add_time'] search_fields= list_filter=['name','mobile...
[ "you@example.com" ]
you@example.com
ea4755390ded77d2ee9842a8b9c407a80a47f434
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_089/ch120_2020_03_31_18_18_53_266473.py
d7858fad724d1cbc438ab352670cbbe95771a2fc
[]
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
721
py
import random d = 100 i = 0 print("quantidade de dinheiro disponível:",d) V = int(input("Aposte um valor:")) if V == 0: print("Erro.") aposta = input("A aposta é em um número(n) ou paridade(p)?") if aposta == "n": sorteio_n = random.randint(0,36) numero = int(input("Digite um número de 1 a 36:")) if...
[ "you@example.com" ]
you@example.com
e56c1aefefe86204e5ac1e6be713ea705f2b988e
ad4684b7b746a8438740ffc771123e17557f6e19
/audio/audio_streamer.py
affdd0c9ef6a7d88bada105baf601e8c926e890e
[]
no_license
gsy/conference
204bde511232866d77ca15def924835475d5fcc2
31f448ab5508a158c71aebe6217cc87814f4d47b
refs/heads/master
2021-03-12T19:46:01.536532
2013-04-17T08:41:31
2013-04-17T08:41:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,445
py
#!/usr/bin/env python # encoding: utf-8 import gobject, pygst pygst.require('0.10') import gst import gobject import sys import os import readline # To the laptop that will catch everything # REMOTE_HOST = "192.168.33.153" REMOTE_HOST = "127.0.0.1" WRITE_AUDIO_CAPS = "audio.caps" mainloop = gobject.MainLoop() pipelin...
[ "gtcxg@hotmail.com" ]
gtcxg@hotmail.com
0d44984be0a8977fe27cd615b7eafa47890bc823
803f1b894767aa21f153be8e137840ea511e7cf8
/pkg/codegen/testing/test/testdata/simple-resource-schema/python/pulumi_example/_utilities.py
2aa8c1ef88746add475d2f09a752bad67675afca
[ "Apache-2.0" ]
permissive
dorucioclea/pulumi
9f9b0355e41a881c7798e04851f9996988260cb7
766a4d25a5668f975f1371ff5d0ed1e9bf1f1701
refs/heads/master
2022-04-29T05:26:38.804331
2022-03-27T09:39:00
2022-03-27T09:39:00
229,891,320
0
0
Apache-2.0
2019-12-24T07:11:54
2019-12-24T07:11:53
null
UTF-8
Python
false
false
7,694
py
# coding=utf-8 # *** WARNING: this file was generated by test. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import importlib.util import inspect import json import os import pkg_resources import sys import typing import pulumi import pulumi.runtime from semver import VersionI...
[ "noreply@github.com" ]
dorucioclea.noreply@github.com
23917bd09ece8b6d1d7fb6cc27498eb09ecf9b2c
48b2328b6b1f5c64ae693c1f16a353c949f93c0c
/Leetcode/509_FibonacciNumber/sol.py
21091917fcb96a8809a6bf3ccc6bf04aae364da3
[]
no_license
salaschen/ACM
1f766aa7449f1ed6ac76c81bff7ecc0756f20a60
fe414fff98c5d49ea374e24ef50c0ee4f6c66be2
refs/heads/master
2022-03-20T19:15:20.481335
2022-03-16T09:34:16
2022-03-16T09:34:16
90,522,481
5
0
null
null
null
null
UTF-8
Python
false
false
377
py
''' Level: Easy Author: Ruowei Chen Date: 02/Oct/2021 ''' class Solution: def fib(self, n: int) -> int: fn = [0,1] ; if n < 2: return fn[n] ; cur = 1 while n > cur: temp = fn[0]+fn[1] ; fn[0] = fn[1] ; fn[1] = temp ; cur ...
[ "ruowei.chen.aus@gmail.com" ]
ruowei.chen.aus@gmail.com
94107cf8dde62d10192e5e43203d223ebf9b035c
3adec884f06eabfe50d4ab3456123e04d02b02ff
/538. Convert BST to Greater Tree.py
94b43f0f5825e42f7c42ca0003659da1ce415c30
[]
no_license
windmzx/pyleetcode
c57ecb855c8e560dd32cf7cf14616be2f91ba50e
d0a1cb895e1604fcf70a73ea1c4b1e6b283e3400
refs/heads/master
2022-10-05T17:51:08.394112
2020-06-09T09:24:28
2020-06-09T09:24:28
250,222,719
0
0
null
null
null
null
UTF-8
Python
false
false
434
py
# Definition for a binary tree node. class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: num=0 def convertBST(self, root: TreeNode) -> TreeNode: if root : self.convertBST(root.right) root.val+=self.nu...
[ "2281927774@qq.com" ]
2281927774@qq.com
6cd1743d11c3b8bbf500dc145e1330c58b6f3433
244ecfc2017a48c70b74556be8c188e7a4815848
/res/scripts/client/messenger/proto/xmpp/contacts/sub_tasks.py
cab760bb87ed4ec17330fc720e5921b1f2308f4f
[]
no_license
webiumsk/WOT-0.9.12
c1e1259411ba1e6c7b02cd6408b731419d3174e5
5be5fd9186f335e7bae88c9761c378ff5fbf5351
refs/heads/master
2021-01-10T01:38:36.523788
2015-11-18T11:33:37
2015-11-18T11:33:37
46,414,438
1
0
null
null
null
null
WINDOWS-1250
Python
false
false
3,104
py
# 2015.11.18 11:58:02 Střední Evropa (běžný čas) # Embedded file name: scripts/client/messenger/proto/xmpp/contacts/sub_tasks.py from messenger.m_constants import USER_TAG, USER_ACTION_ID, CLIENT_ACTION_ID from messenger.proto.xmpp import errors from messenger.proto.xmpp.contacts.roster_tasks import SyncSubscriptionTas...
[ "info@webium.sk" ]
info@webium.sk
c3ed054dc3e14fdcef5f4c20f19357a6986ef5da
c5f3f83d5ba37f9f67b150f539286cbe19631451
/apps/short_url/admin.py
e9441bed261a38db90f3f12c22aff0ab2c83acaa
[]
no_license
andre23arruda/django-shortener-url
be7f13f2e0da40090cbcd898062f2ffe360f3df5
06b62a53e5746fb32432dffae1b04c66d8c20092
refs/heads/main
2023-07-06T07:04:39.205960
2021-08-14T17:29:05
2021-08-14T17:29:05
396,056,782
0
0
null
null
null
null
UTF-8
Python
false
false
447
py
from django.contrib import admin from django.conf.locale.pt_BR import formats from .models import Url formats.DATE_FORMAT = 'd/m/Y' @admin.register(Url) class UrlRegister(admin.ModelAdmin): list_display = ('id', 'long_url', 'short_url', 'registered_at', 'is_valid',) list_display_links = ('id', 'long_url', 'sh...
[ "andre23arruda@gmail.com" ]
andre23arruda@gmail.com
db511c5d8f78db8cb7b72287680dbd013cc1e7f6
7887a9337cef4b44bf1ccb80657558aa5e104d35
/tests/async/test_async_operation.py
4ff39bd9984c13e16b87cf4840c98930ab866707
[ "MIT" ]
permissive
wuhuaroubj/canopen_301_402
5c7ec60a1e8ac1257cd5c5879fde3a8b92adba84
16b189ffe631bb5812311131002d7f722de5fc66
refs/heads/master
2021-04-28T18:04:36.819618
2016-09-19T10:48:43
2016-09-19T10:48:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,700
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- from canopen_301_402.async.async_operation import AsyncOperation from time import sleep import mock evt_done_timeout = 2.0 TRACE = False if TRACE: import hunter hunter.trace(module_contains="canopen_301_402") def test_timeout(): global evt_done_timeout ...
[ "xaedes@gmail.com" ]
xaedes@gmail.com
eaffd88895449099757d1777f1e4f6b6f1199ccc
cc578cec7c485e2c1060fd075ccc08eb18124345
/cs15211/01Matrix.py
c485aab88cf7b4b6cae582320a6880ccca35ea3e
[ "Apache-2.0" ]
permissive
JulyKikuAkita/PythonPrac
18e36bfad934a6112f727b4906a5e4b784182354
0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c
refs/heads/master
2021-01-21T16:49:01.482561
2019-02-07T06:15:29
2019-02-07T06:15:29
91,907,704
1
1
Apache-2.0
2019-02-07T06:15:30
2017-05-20T18:12:53
Python
UTF-8
Python
false
false
4,866
py
__source__ = 'https://leetcode.com/problems/01-matrix/#/description' # Time: O( m * n) # Space: O( m * n) # # Description: Leetcode # 542. 01 Matrix # # Given a matrix consists of 0 and 1, find the distance of the nearest 0 for each cell. # # The distance between two adjacent cells is 1. # Example 1: # Input: # # 0 0 ...
[ "b92701105@gmail.com" ]
b92701105@gmail.com
fe2659d2998173f89fe387abf8ec2bca8c2cc725
0129b016055daa1aaa1e9e0911f271fa7b38e27e
/programacao_estruturada/20192_166/Bimestral2_166_20192/Parte_1/Giovanne Omar/prova2.py
b73ac32c4fc2e298fbb7be866be63930a722dcfb
[]
no_license
rogeriosilva-ifpi/teaching-tds-course
7c43ff17d6677aef7b42071929b3de8361748870
771ccdc4dc932d0ef5ce6ba61a02b5ee11920d4c
refs/heads/master
2022-04-04T01:08:45.157185
2020-01-30T19:36:57
2020-01-30T19:36:57
206,439,119
1
0
null
null
null
null
UTF-8
Python
false
false
365
py
def prr(): print('Tem que ter letra maiscula,minuscula e numeros') senha = input('Senha: ') maiuscula = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' minuscula = 'abcdefghijklmnopqrstuvwxyz' numeral = '1234567890' seguro = ' ' if seguro in senha: senha = seguro + senha print ('Seguro') e...
[ "rogerio.silva@ifpi.edu.br" ]
rogerio.silva@ifpi.edu.br
4865748c5f4b78e9b21742da57d6807d03e0e882
d7016f69993570a1c55974582cda899ff70907ec
/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2022_10_02_preview/aio/_container_service_client.py
75c2ac282f9f65c4ed0d4f485676b5050385064b
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
kurtzeborn/azure-sdk-for-python
51ca636ad26ca51bc0c9e6865332781787e6f882
b23e71b289c71f179b9cf9b8c75b1922833a542a
refs/heads/main
2023-03-21T14:19:50.299852
2023-02-15T13:30:47
2023-02-15T13:30:47
157,927,277
0
0
MIT
2022-07-19T08:05:23
2018-11-16T22:15:30
Python
UTF-8
Python
false
false
8,166
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" ]
kurtzeborn.noreply@github.com
bbf59a92615aca58f79f53557cce9d592a994f4f
1898456162422859f8b7da7902582e43ed3afffb
/1_Algorithmic_Toolbox/week2_algorithmic_warmup/3_greatest_common_divisor/gcd_euclidean.py
dba5cfa2886ef9aa53f29d9308fab17bd434a02b
[ "MIT" ]
permissive
AnthonyRChao/UCSD-DSA
275a5e668d3c54e0e27c8530280ad3c234f93933
877d7f1d7f3d3d9d6a0c6cda2421ec130b64da3d
refs/heads/master
2020-04-22T14:34:18.824210
2019-05-06T06:46:09
2019-05-06T06:46:09
170,448,258
0
0
null
null
null
null
UTF-8
Python
false
false
458
py
# Uses python3 def gcd_euclid(a, b): """Lemma: Let a' be the remainder when a is divided by d, then: gcd(a, b) = gcd(a', b) = gcd(b, a') a = a' + bq for some value, q d divides a if and only if it divides a' and b """ a_prime = a % b if a_prime == 0: ...
[ "anthony.r.chao@gmail.com" ]
anthony.r.chao@gmail.com
2308219eb5641915fe61715620c458341e5e765a
b9723fa7959d88690bd7605738087b91fa82584a
/HW6/env/lib/python3.5/site-packages/stix/test/common/information_source_test.py
e7421765c9ef24429199a48e409b1ba1b00f8440
[]
no_license
michael5486/network_defense_2
a35e2cffad35d522e68471ab941b34ee14a10cbc
87af7f177840c4df16042f9feefef7b415fd98b5
refs/heads/master
2021-09-14T03:29:08.138589
2018-05-07T16:41:57
2018-05-07T16:41:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,165
py
# Copyright (c) 2017, The MITRE Corporation. All rights reserved. # See LICENSE.txt for complete terms. import unittest from stix.test import EntityTestCase from stix.test.common import structured_text_test from stix.common import InformationSource class InformationSourceTests(EntityTestCase, unittest.T...
[ "michael5486@gmail.com" ]
michael5486@gmail.com
fe3d6aca23fc226640ab18d668c7a8aa1c9af8c4
08c9757c86f48721f13478cc38c0d2a2baa3ceed
/array_diff.py
b14bc8a1bb8f157cd279d5497c82c2d37f4439f6
[]
no_license
Ryoung27/Python-Algo-and-Data-Struc-Practice
0ccce6cc9d9d7bad0794cccbf7f7f674cce1b5b9
f9f1e9b02e8308dde3a167ea986dcb0b3636dd72
refs/heads/master
2020-07-14T07:09:08.324738
2019-09-28T13:17:54
2019-09-28T13:17:54
205,269,766
0
0
null
null
null
null
UTF-8
Python
false
false
117
py
answer_list = [] for i in a: if i not in b: answer_list.append(i) return answer_list
[ "RRYoung89@gmail.com" ]
RRYoung89@gmail.com
4076a7a73a3e41bf67212e5a16777ca13771c952
32cb0be487895629ad1184ea25e0076a43abba0a
/LifePictorial/top/api/rest/AlipayUserContractGetRequest.py
6f18440e9cab71cd6a5dc283901fed5b64cdc84f
[]
no_license
poorevil/LifePictorial
6814e447ec93ee6c4d5b0f1737335601899a6a56
b3cac4aa7bb5166608f4c56e5564b33249f5abef
refs/heads/master
2021-01-25T08:48:21.918663
2014-03-19T08:55:47
2014-03-19T08:55:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
327
py
''' Created by auto_sdk on 2014-02-10 16:59:30 ''' from top.api.base import RestApi class AlipayUserContractGetRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.subscriber_user_id = None def getapiname(self): return 'alipay.user.contract...
[ "poorevil@gmail.com" ]
poorevil@gmail.com
d3d43400018ccce1b6426aee15074ec634bf3c64
c1a9436f38714277b063d76af47e8b9448d5cc73
/Lynda/12 Classes/classes.py
6b9e4219a561fada6e52c529fa95aea7296bc7e7
[]
no_license
rakib06/LearnPythonBasic
83f5bf5c63a40e8d5f93ac3ffa0d0443fdc0519a
fc0b81850e76d38c6816bd9fe81b442b68d6bd75
refs/heads/master
2020-09-01T01:03:49.087763
2019-12-25T23:11:09
2019-12-25T23:11:09
218,835,593
0
0
null
null
null
null
UTF-8
Python
false
false
410
py
#!/usr/bin/python3 # classes.py by Bill Weinman [http://bw.org/] # This is an exercise file from Python 3 Essential Training on lynda.com # Copyright 2010 The BearHeart Group, LLC class Duck: def quack(self): print('Quaaack!') def walk(self): print('Walks like a duck.') def main(): don...
[ "six.rakib@gmail.com" ]
six.rakib@gmail.com
941c2999e3c4c3fdb8999beeceda28b91361d2a4
82b7d5d153b815cafc3cd1b1c156803d0af0e30e
/idaes/unit_models/tests/test_equilibrium_reactor.py
103b06a3516c47a29d2d8971144c2f481e973519
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
spevenhe/idaes-pse
f045ddfa848bbf2bbdda69599222375adbd97e73
cd509f98eb3d60ea468922f793c8b8040f99723c
refs/heads/master
2020-06-10T20:31:45.265044
2019-06-13T20:39:34
2019-06-13T20:39:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,596
py
############################################################################## # Institute for the Design of Advanced Energy Systems Process Systems # Engineering Framework (IDAES PSE Framework) Copyright (c) 2018-2019, by the # software owners: The Regents of the University of California, through # Lawrence Berkeley N...
[ "KSBeattie@lbl.gov" ]
KSBeattie@lbl.gov
c620e2df81219d035ecd1f171637e90d1698b03b
02338bb8111fc1aa88e830ac09a11664720eb2d4
/tmp/azure_rm_waitstatistic.py
8760b4aa27a3bb43697584165780431ade4596eb
[]
no_license
Fred-sun/fred_yaml
a49977b0e8505c7447df23dd80c7fef1be70e6bc
295ca4cd2b59b8d2758f06eb7fd79920327ea524
refs/heads/master
2023-04-28T05:51:56.599488
2023-04-25T13:52:10
2023-04-25T13:52:10
131,376,340
0
1
null
2020-07-06T14:22:46
2018-04-28T05:34:49
TSQL
UTF-8
Python
false
false
8,035
py
#!/usr/bin/python # # Copyright (c) 2020 GuopengLin, (@t-glin) # # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', ...
[ "xiuxi.sun@qq.com" ]
xiuxi.sun@qq.com
d13d13c2b359de257495c6933266526d7ad87cf5
0e1e643e864bcb96cf06f14f4cb559b034e114d0
/Exps_7_v3/doc3d/I_w_M_to_Wxyz_focus_Z_ok_to_Cxy_focus/Pyr_wiDiv_ch016/pyr_2s/L8/step09_2side_L8.py
ddeb4a52cc622d4897a162f533395faa27180149
[]
no_license
KongBOy/kong_model2
33a94a9d2be5b0f28f9d479b3744e1d0e0ebd307
1af20b168ffccf0d5293a393a40a9fa9519410b2
refs/heads/master
2022-10-14T03:09:22.543998
2022-10-06T11:33:42
2022-10-06T11:33:42
242,080,692
3
0
null
null
null
null
UTF-8
Python
false
false
22,827
py
############################################################################################################################################################################################################# ##################################################################################################################...
[ "s89334roy@yahoo.com.tw" ]
s89334roy@yahoo.com.tw
36f2df1c0fadae1ce06bec70824d1a7806c2bcfd
f0257428fed2a5f10950ee52e88a0f6811120323
/study_oldboy/Day6/work/school_course_system/core/all_class.py
7409957e05a32da0f1caf8ce038138c822b690cf
[]
no_license
tata-LY/python
454d42cc8f6db9a1450966aba4af6894e1b59b78
55d13b7f61cbb87ff3f272f596cd5b8c53b807c5
refs/heads/main
2023-04-08T19:31:57.945506
2021-04-19T05:39:17
2021-04-19T05:39:17
328,880,464
0
0
null
null
null
null
UTF-8
Python
false
false
6,643
py
#!/usr/bin/env python3 # _*_coding:utf-8_*_ # by liuyang from conf import settings import os import json class People(object): """学校成员类""" def __init__(self, name, age, sex): self.name = name self.age = age self.sex = sex class Teacher(People): """老师类""" def __init__(self, nam...
[ "ainiyang20@qq.com" ]
ainiyang20@qq.com
9c6e4cdc92a086b7fe4fea32597c647b8e50c6df
82e46ddaeca0a9147f0da00f3edc7c25e2b52596
/project01_python_soccerletters/soccer_league.py
97f538144df993f1cb6bdd8378b448b5951ac920
[]
no_license
sabinem/treehouse-python-techdegree
8f0fd57681fa0cc620e4c3bfa7553a6647bbef06
8bfbba09132b405f7c68cbfd9a0e7596223c3a53
refs/heads/master
2021-09-15T05:21:25.631722
2018-03-07T08:20:11
2018-03-07T08:20:11
121,496,395
3
1
null
null
null
null
UTF-8
Python
false
false
2,984
py
"""File includes all functions for Building a Soccer League and printing team assigmnet letters for the players""" import csv import operator DRAGONS = 'Dragons' SHARKS = 'Sharks' RAPTORS = 'Raptors' PRACTICE_DATETIME = {DRAGONS: 'March 17 at 1pm', SHARKS: 'March 17 at 3pm', R...
[ "sabine.maennel@gmail.com" ]
sabine.maennel@gmail.com
afdf9eeb2ac56c0d8950e050e5216bf7f20b8ba8
a02ccb5dff094fad8bcd691dda234d50ff768299
/tools/pytorch-quantization/docs/source/conf.py
24a47cd91e3a683eeab528b458ce73df04a5c13f
[ "Apache-2.0", "BSD-3-Clause", "MIT", "ISC", "BSD-2-Clause" ]
permissive
NVIDIA/TensorRT
5520d5a6a5926a2b30dbdd2c5b2e4dfe6d1b429b
a167852705d74bcc619d8fad0af4b9e4d84472fc
refs/heads/release/8.6
2023-07-29T05:39:45.688091
2023-06-09T22:29:09
2023-06-09T23:04:18
184,657,328
8,026
2,096
Apache-2.0
2023-09-13T17:30:16
2019-05-02T22:02:08
C++
UTF-8
Python
false
false
7,065
py
# # SPDX-FileCopyrightText: Copyright (c) 1993-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: Apache-2.0 # # 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...
[ "rajeevsrao@users.noreply.github.com" ]
rajeevsrao@users.noreply.github.com
217cead96c5838b5b34cdc1dcd0ee98c27361370
56f5b2ea36a2258b8ca21e2a3af9a5c7a9df3c6e
/CMGTools/H2TauTau/prod/TauES_test/up/emb/DoubleMuParked/StoreResults-Run2012C_22Jan2013_v1_PFembedded_trans1_tau132_pthad1_30had2_30_v1-5ef1c0fd428eb740081f19333520fdc8/USER/V5_B/PAT_CMG_V5_16_0_1374851248/HTT_24Jul_newTES_manzoni_Up_Jobs/Job_24/run_cfg.py
1184613abc26571caefe53db3d5f70786641abb5
[]
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,050
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/up/emb/DoubleMuParked/StoreResults-Run2012C_22Jan2013_v1_PFembedded_trans1_tau132_pthad1_30had2_30_v1-5ef1c0fd428eb740081f19333520fdc8/USER/V5_B/PAT_CM...
[ "riccardo.manzoni@cern.ch" ]
riccardo.manzoni@cern.ch
2b6d1fecb2a811e522b9d20194c673d044f96cf0
facb8b9155a569b09ba66aefc22564a5bf9cd319
/wp2/era5_scripts/01_netCDF_extraction/erafive902TG/271-tideGauge.py
e29a18682de1fa0fad9a12969b80dd9b5d82266b
[]
no_license
moinabyssinia/modeling-global-storm-surges
13e69faa8f45a1244a964c5de4e2a5a6c95b2128
6e385b2a5f0867df8ceabd155e17ba876779c1bd
refs/heads/master
2023-06-09T00:40:39.319465
2021-06-25T21:00:44
2021-06-25T21:00:44
229,080,191
0
0
null
null
null
null
UTF-8
Python
false
false
4,595
py
# -*- coding: utf-8 -*- """ Created on Mon Jun 01 10:00:00 2020 ERA5 netCDF extraction script @author: Michael Tadesse """ import time as tt import os import pandas as pd from d_define_grid import Coordinate, findPixels, findindx from c_read_netcdf import readnetcdf from f_era5_subsetV2 import subsetter def extrac...
[ "michaelg.tadesse@gmail.com" ]
michaelg.tadesse@gmail.com
60ab5b263e428ce47743d2c8034aad095274f996
518bf342bc4138982af3e2724e75f1d9ca3ba56c
/solutions/1992. Find All Groups of Farmland/1992.py
de3ffbfecbdf64854477022bf9e877b2b521cede
[ "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
627
py
class Solution: def findFarmland(self, land: List[List[int]]) -> List[List[int]]: ans = [] def dfs(i: int, j: int, cell: List[int]) -> None: if i < 0 or i == len(land) or j < 0 or j == len(land[0]): return if land[i][j] != 1: return land[i][j] = 2 # Mark as visited. c...
[ "me@pengyuc.com" ]
me@pengyuc.com
156513a0fe8b7ff93b79d1fb09bff8bb8d17ddae
9a8da3fdadd810f19edefe3dbcc642546db3c6f2
/_research/funWithCode.py
1c3582312f74f5420bc373d98452737188190e7c
[]
no_license
davidlatwe/MS_Research
304ae44d0705a62ea4af2c3a6e0b9aef72049f44
06230dade75069f5b3983d1d4bad02d90c8afd54
refs/heads/master
2021-06-01T10:03:19.276550
2016-07-30T05:41:55
2016-07-30T05:41:55
57,391,941
0
1
null
null
null
null
UTF-8
Python
false
false
1,984
py
import binascii ''' https://board.b-at-s.info/index.php?app=core&module=global&section=register ''' print 'Question:\n' sec = \ '30 31 31 31 31 30 30 30 20 30 31 30 31 31 31 31 30 20 30 30 31 31 30 30 31 30 20 30 30 31 30 30 30 30 30 20 30 30 31 30 31 31 30 31 20 30 30 31 30 30 30 ' + \ '30 30 20 30 30 31 31 31 30 3...
[ "david962041@gmail.com" ]
david962041@gmail.com
1c96bc28b3f01bf269ae12e4eeef64856461c2da
e4f8b14cead542586a96bcaa75993b0a29b3c3d0
/pyNastran/bdf/dev_vectorized/cards/elements/solid/chexa20.py
70c2e01cd3c3f8988c3c933611cee3085c7639f7
[]
no_license
afcarl/cyNastran
f1d1ef5f1f7cb05f435eac53b05ff6a0cc95c19b
356ee55dd08fdc9880c5ffba47265125cba855c4
refs/heads/master
2020-03-26T02:09:00.350237
2014-08-07T00:00:29
2014-08-07T00:00:29
144,398,645
1
0
null
2018-08-11T15:56:50
2018-08-11T15:56:50
null
UTF-8
Python
false
false
6,450
py
from numpy import zeros, arange, dot, cross, searchsorted from numpy.linalg import norm from pyNastran.bdf.fieldWriter import print_card_8 from pyNastran.bdf.bdfInterface.assign_type import (fields, integer, integer_or_blank, double_or_blank, integer_double_or_blank, blank) from .chexa8 import area_centroid class...
[ "mesheb82@abe5364a-6225-a519-111c-932ebcde5b3b" ]
mesheb82@abe5364a-6225-a519-111c-932ebcde5b3b
f0a9d907d87bc9d69895fefff2492247b3861692
009df7ad499b19a4df066160cf0c7d8b20355dfb
/src/the_tale/the_tale/game/bills/tests/test_person_chronicle.py
3c4827cf3d5c5c7d9961831e2f707b14d523037d
[ "BSD-3-Clause" ]
permissive
devapromix/the-tale
c0804c7475e877f12f29444ddbbba025561d3412
2a10efd3270734f8cf482b4cfbc5353ef8f0494c
refs/heads/develop
2020-03-28T20:26:30.492292
2018-10-07T17:32:46
2018-10-07T17:32:46
149,070,887
1
0
BSD-3-Clause
2018-10-07T17:32:47
2018-09-17T04:57:50
Python
UTF-8
Python
false
false
5,070
py
import smart_imports smart_imports.all() TEST_FREEDOM = float(666) class PersonChronicleTests(helpers.BaseTestPrototypes): def setUp(self): super(PersonChronicleTests, self).setUp() self.person1 = sorted(self.place1.persons, key=lambda person: -politic_power_storage.persons.total_power_fract...
[ "a.eletsky@gmail.com" ]
a.eletsky@gmail.com
c68a214e4c5850820d017ae9dd37c481e6408f49
701086eb3c858cf7e677f4e901b37ca26752b494
/app/models/Whitelist.py
e01b91fd08351d17a9f74917f23a420833912d1b
[]
no_license
anshulkgupta/eventum
e38f19678358b42f0336c642d818e8e8ed14c84b
4b36ed879694b650c1e5a1eefea7c36855ccf221
refs/heads/master
2021-01-18T01:24:52.697223
2014-10-26T23:09:11
2014-10-26T23:09:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
887
py
from app import db from datetime import datetime now = datetime.now class Whitelist(db.Document): """""" date_created = db.DateTimeField(required=True, default=now) date_modified = db.DateTimeField(required=True, default=now) email = db.EmailField(required=True, unique=True) user_type = db.StringFi...
[ "dan.r.schlosser@gmail.com" ]
dan.r.schlosser@gmail.com
d079d828db34f8f26bd7721251c82253f148fc32
abe9e6bdd8a24383c79362a7c988f04d9489ba34
/CUE_unitary/random_unitaries.py
5c54a65cf83dc23fb9961beef68f7417c11cd388
[]
no_license
rafaelha/quantum_pathway
441334d4ca09899e8fec38bb67e41029561cf3dc
b1356033b908afaca452c60520e72f4412aa0888
refs/heads/master
2023-02-13T15:10:22.341052
2021-01-10T23:20:16
2021-01-10T23:20:16
261,972,648
0
0
null
null
null
null
UTF-8
Python
false
false
1,844
py
from scipy import linalg import numpy as np from numpy import cos, sin, exp, pi import matplotlib.pyplot as plt def haar_measure(n): # A Random matrix distributed with Haar measure # taken from https://arxiv.org/pdf/math-ph/0609050.pdf z = (randn(n,n) + 1j*randn(n,n))/sqrt(2.0) q,r = linalg.qr...
[ "rafaelhaenel@phas.ubc.ca" ]
rafaelhaenel@phas.ubc.ca
1042a4208bc2b9c2a2795a404792ee5c31b05bdc
21a8ec2d3b12b5a4f6ef7bc39df7573f4d9b087a
/dlex/sklearn/models/word2vec.py
370b1b0eab641ec8726ee767b38540cc7937e073
[ "MIT" ]
permissive
trungd/dlex
58ef9d4c9fcaa0ea13aabd4d638a3e8cb58c8a1f
b49e57d10d32bb223e2d7643f2579ccc32c63a9a
refs/heads/master
2021-07-24T19:11:07.654399
2020-05-22T01:57:04
2020-05-22T01:57:04
178,768,391
0
1
null
null
null
null
UTF-8
Python
false
false
468
py
from gensim.sklearn_api import W2VTransformer from dlex.configs import Params class Word2Vec(W2VTransformer): def __init__(self, params: Params): cfg = params.model super().__init__( size=cfg.dimensions, window=cfg.window_size, min_count=cfg.min_count or 0, ...
[ "trungv.dang@outlook.com" ]
trungv.dang@outlook.com
911419de1a74862753af9183e8413782345dc05f
64ae9e59e387aa219183f6748f07ede3533c14b2
/gui/components/status/physicallocationcgi.py
20868dbb82f21aef6053304a11448695aea5fb33
[ "BSD-2-Clause" ]
permissive
sohonet/HEN
fe0168816d908c9c5d3180e90e67b12e4724c7be
47575028a6f3d3fe04d6839dd779b2b1b991accc
refs/heads/master
2021-01-19T07:30:22.849260
2012-02-20T19:41:17
2012-02-20T19:41:17
87,548,153
0
0
null
2017-04-07T13:25:40
2017-04-07T13:25:40
null
UTF-8
Python
false
false
2,294
py
#!/usr/local/bin/python ################################################################################################################## # physicallocationdaemon.py: # ################################################################################################################## import sys, os, time temp = sys.pa...
[ "ben@darkworks.net" ]
ben@darkworks.net
f6fb8015fda10838b80d2b282726bc881398735e
ba57abbddc7c9730741936ebb546d3aa2f1dcb8f
/photos/migrations/0027_photo_live.py
2710fde475b755f9a9292cde2a99aacc781e5cc2
[ "MIT" ]
permissive
kingsdigitallab/mmee-django
895c96e9b9d09e2a16ca3a8cf6b0203e31c4fed7
845fefbecfbf8a46fef2ced9c8d19dfe70bc32db
refs/heads/master
2023-09-01T09:28:32.434736
2023-08-11T12:14:46
2023-08-11T12:14:46
138,729,225
0
0
MIT
2021-06-09T17:39:46
2018-06-26T11:36:21
Python
UTF-8
Python
false
false
383
py
# Generated by Django 2.0.8 on 2018-10-21 12:09 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('photos', '0026_auto_20180926_0149'), ] operations = [ migrations.AddField( model_name='photo', name='live', ...
[ "geoffroy.noel@kcl.ac.uk" ]
geoffroy.noel@kcl.ac.uk
48ffbf0aaa44cdced4add6095ea072614d0fdea9
c7a1c1ae40e9d95dfb92251dcfbf3c5010e6ba81
/expbot.py
bc2084e3034ac5f6e55ebb211b734c7f4424dcbe
[]
no_license
pranavlathigara/Raspberry-Pi-DIY-Projects
efd18e2e5b9b8369bb1a5f5418782480cf9bc729
0c14c316898d4d06015912ac4a8cb7b71a3980c0
refs/heads/master
2021-04-06T09:14:28.088223
2018-02-19T00:15:22
2018-02-19T00:15:22
124,649,553
1
2
null
2018-03-10T11:30:59
2018-03-10T11:30:59
null
UTF-8
Python
false
false
1,846
py
import explorerhat import time steps = [0 for x in range(16)] G_FORWARDS = 2 G_BACKWARDS = 3 G_LEFT = 1 G_RIGHT = 4 G_PLAY = 5 G_STOP = 6 G_PREV = 7 G_NEXT = 8 edit_index = 0 def turn_on_light(light): explorerhat.light.off() if 0 <= light <= 3: explorerhat.light[light].on() def handle_touch(ch, ev...
[ "tdamdouni@users.noreply.github.com" ]
tdamdouni@users.noreply.github.com
32940e37aee2805d56237bb95f2b3c82ea7af7fa
8792e3449fbc6c8dec99f6af1d9f1b4caddad1f7
/131player.py
d23f482ca0511c5694f7b8740769634f4f9e6051
[]
no_license
aarthisandhiya/aarthisandhiya1
c19c1951c9ba01cd97eeddd44614953088718357
e6f10247b6a84d6eaf371a23f2f9c3bebbc73e5b
refs/heads/master
2020-04-15T17:17:07.151242
2019-05-20T05:24:19
2019-05-20T05:24:19
164,868,494
0
1
null
null
null
null
UTF-8
Python
false
false
154
py
a=int(input()) s=0 while a>0: rem=a%10 a=a//10 if rem%2==1: s=s+rem break if s%2==0: print("E") else: print("O")
[ "noreply@github.com" ]
aarthisandhiya.noreply@github.com
203a1767c228e187dbeac0fddef496ac0f6b9a28
7082ba81103d859d745cf159f389739e66a7689f
/Chapter3_DDoS_Mitigation_and_Countermeasures/YAML_Jinja2_Examples/config_generate.py
760e17bea2ce11438d6a3194eeadf3e09ac1d9f1
[]
no_license
oreillymedia/distributed_denial_of_service_ddos
4be4bef49e563cefebd4eb1f7e2eca9f15a671a8
05e7856363aea012a71646689d1996964f5d3787
refs/heads/master
2021-09-25T11:02:30.050119
2018-10-21T15:59:33
2018-10-21T15:59:33
108,575,347
9
3
null
2018-10-21T15:59:34
2017-10-27T17:31:33
Python
UTF-8
Python
false
false
514
py
#!/usr/bin/env python from jinja2 import Environment, FileSystemLoader import yaml, sys ENV = Environment(loader=FileSystemLoader('./')) yamlFile = sys.argv[1] template = sys.argv[2] with open(yamlFile) as f: dict = yaml.load(f) # Print dictionary generated from yaml print("This is the dictionary attributes: ...
[ "echou@yahoo.com" ]
echou@yahoo.com
261dfbf04c10464cf2467006f63689eab4d81c48
581e080fb3f1284432c07272177b1208b2594b5d
/src/tims/apps.py
b05613fc9ef5ea4b999b608a507e73459d51db31
[]
no_license
niketanmoon/inventory2
71fe2dbe5dd4bce54a905da4b14bcb9ae9c10092
2ce5daeea87d5dfc3e38323dfd2e8d10456653a2
refs/heads/master
2022-11-16T21:33:55.022954
2018-01-24T09:47:22
2018-01-24T09:47:22
118,743,871
0
1
null
2022-10-23T06:56:38
2018-01-24T09:36:48
Python
UTF-8
Python
false
false
83
py
from django.apps import AppConfig class TimsConfig(AppConfig): name = 'tims'
[ "niketanmoon@gmail.com" ]
niketanmoon@gmail.com
cff7327e9e3015e0a6548179dbcf8765f300dc7e
59bd639757fd8afcfdba73298a69482fd1f88069
/imagenet/1_resnet50/8NBC_SNAC.py
1694b0b59e614ed71afda3e01d9e2a00b84090a1
[]
no_license
DeepReduce/DeepReduce
f1e14b985affba2796c80d9e795b36cfd4ed9a55
707c2b411d65ed77967a3d1ea1506a91cc9d4bfd
refs/heads/master
2020-08-01T01:47:23.293453
2020-06-14T18:09:01
2020-06-14T18:09:01
210,813,368
4
1
null
null
null
null
UTF-8
Python
false
false
5,385
py
import keras from keras import optimizers from keras.datasets import cifar10, mnist from keras.models import Sequential from keras.layers import Conv2D, Dense, Flatten, MaxPooling2D from keras.callbacks import LearningRateScheduler, TensorBoard from keras.models import load_model from keras.models import Model ...
[ "DLR_ICLR20@163.com" ]
DLR_ICLR20@163.com
f66988b1e4965b6ae344917bd414779ad74ca807
46a62c499faaa64fe3cce2356c8b229e9c4c9c49
/taobao-sdk-python-standard/top/api/rest/WangwangEserviceEvalsGetRequest.py
6406152479f681489920d40c22f149ac57a72112
[]
no_license
xjwangliang/learning-python
4ed40ff741051b28774585ef476ed59963eee579
da74bd7e466cd67565416b28429ed4c42e6a298f
refs/heads/master
2021-01-01T15:41:22.572679
2015-04-27T14:09:50
2015-04-27T14:09:50
5,881,815
0
0
null
null
null
null
UTF-8
Python
false
false
365
py
''' Created by auto_sdk on 2012-09-23 16:46:13 ''' from top.api.base import RestApi class WangwangEserviceEvalsGetRequest(RestApi): def __init__(self,domain,port): RestApi.__init__(self,domain, port) self.end_date = None self.service_staff_id = None self.start_date = None def getapiname(self): ...
[ "shigushuyuan@gmail.com" ]
shigushuyuan@gmail.com
12b033f7034f3d97fe823cb291a1a0e7e3da66ef
2d58c1351ab970eb55f4832b09582592e96468d5
/p1615_test.py
0a2e08bf433cfec9f1f0facd7db734f1cb79e05c
[]
no_license
0x0400/LeetCode
832bc971c2cae9eecb55f5b14e8c34eaec0d9e26
94bb9fedc908490cc52d87def317c057fadaeceb
refs/heads/master
2023-02-24T20:13:11.345873
2023-02-10T16:46:31
2023-02-10T16:46:31
84,653,745
0
0
null
null
null
null
UTF-8
Python
false
false
334
py
from p1615 import Solution test_cases = [ ((4, [[0,1],[0,3],[1,2],[1,3]]), 4), ((5, [[0,1],[0,3],[1,2],[1,3],[2,3],[2,4]]), 5), ((8, [[0,1],[1,2],[2,3],[2,4],[5,6],[5,7]]), 5), ] def test_maximalNetworkRank(): s = Solution() for case in test_cases: assert s.maximalNetworkRank(*case[0]) == ...
[ "0x0400@users.noreply.github.com" ]
0x0400@users.noreply.github.com
effeb89f93cf09cd44df17904784266c89986783
a93cf8f695c1d1d97b8d0b9ccec6932c5e499ff8
/sw_expert/Python/seungjun/2805.py
16268c0755686ef322e0099511c645e5635edda2
[]
no_license
tmdwns1101/AlgorithmStudy
0abc108a7a73895934da2633998c7a90137d49ea
e8ca069e202f40e074b7311626fe8da8af057589
refs/heads/master
2021-07-22T11:32:30.817108
2020-05-20T16:28:27
2020-05-20T16:28:27
165,377,838
0
1
null
2020-02-07T07:56:16
2019-01-12T11:02:59
C++
UTF-8
Python
false
false
620
py
import sys T = int(input()) # 여러개의 테스트 케이스가 주어지므로, 각각을 처리합니다. for test_case in range(1, T + 1): n = int(input()) board = [input().rstrip() for i in range(n)] pivot = n // 2 cost = 0 for i in range(n): pos = i if pos > pivot: pos = 2*pivot - pos cost += int(bo...
[ "tmdwns1101@naver.com" ]
tmdwns1101@naver.com
73f3cf1e4449d6ba0fd187fcd977768648fedaa0
b75d249e71be510fa6468246e611f7788c55db70
/finpack/callbacks/inference_runner.py
ab2bf7f76e78011c70892beb6bb81208a08a9fbb
[]
no_license
BWZX/FinTech
65b9510928218954ddea0b62d4bc3a931d2455a9
d56253fa98365bfa5ad468283d970c049f51d960
refs/heads/master
2020-04-05T14:33:57.047913
2017-07-19T13:58:00
2017-07-19T13:58:00
94,680,035
0
0
null
null
null
null
UTF-8
Python
false
false
1,803
py
import tqdm from torch.autograd import Variable import numpy as np from .base import Callback from .inference import Inferencer from ..utils import get_tqdm_kwargs from ..dataflow import DataFlow import pdb __all__ = ['InferenceRunner'] class InferenceRunner(Callback): def __init__(self, ds, infs): se...
[ "jesse.yang1985@gmail.com" ]
jesse.yang1985@gmail.com
351556da1dcd3311b59e277f6688e3d8a155e962
e4bdc4a1dfd2d44bef2eb477733a0f98085b33f7
/tfx_bsl/telemetry/util.py
dac7cfd6b2bf922538a3481ceca4633604c0f1cb
[ "Apache-2.0" ]
permissive
meixinzhang/tfx-bsl
9262c589baf3e9f62845e5d8615b733025dd9099
ff40846050827175b419b7b12c16a3f5b276a20d
refs/heads/master
2022-12-05T21:53:29.234072
2020-08-20T22:20:01
2020-08-20T22:20:01
263,428,768
0
0
Apache-2.0
2020-07-23T22:25:39
2020-05-12T19:12:39
Python
UTF-8
Python
false
false
971
py
# 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 agreed to in writing, ...
[ "tensorflow-extended-nonhuman@googlegroups.com" ]
tensorflow-extended-nonhuman@googlegroups.com
6854be614752ecbe78d6a065385a87c22a774027
f22cc86b1454d996d42a400904f5dd11cd21341e
/tensorflow_estimator/python/estimator/head/multi_label_head_test.py
8a1d6fdd27a9d8b75beb4bdb6065d672b7922654
[ "Apache-2.0" ]
permissive
ziky90/estimator
0006fb7ef59f89948613e184c3778dc2b03ab78f
825c02ce244ce21ec4f01360dfdf90cbf92f6bde
refs/heads/master
2020-04-21T02:39:22.223173
2019-02-04T22:07:19
2019-02-04T22:07:45
169,260,730
0
0
Apache-2.0
2019-02-05T15:12:27
2019-02-05T15:12:26
null
UTF-8
Python
false
false
54,953
py
# Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
e4b39f4ff5dfd03c85b76201be70ad4316a6a80d
38c10c01007624cd2056884f25e0d6ab85442194
/third_party/catapult/third_party/gsutil/gslib/addlhelp/acls.py
b9ac443f75d67259f214dbb8976c4a5ff95fd808
[ "BSD-3-Clause", "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0" ]
permissive
zenoalbisser/chromium
6ecf37b6c030c84f1b26282bc4ef95769c62a9b2
e71f21b9b4b9b839f5093301974a45545dad2691
refs/heads/master
2022-12-25T14:23:18.568575
2016-07-14T21:49:52
2016-07-23T08:02:51
63,980,627
0
2
BSD-3-Clause
2022-12-12T12:43:41
2016-07-22T20:14:04
null
UTF-8
Python
false
false
9,354
py
# -*- coding: utf-8 -*- # Copyright 2012 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 require...
[ "zeno.albisser@hemispherian.com" ]
zeno.albisser@hemispherian.com
00e540618cc340e9ffe4c9bcf4fbd126cc4d2037
ea91c40523e088d3f41323d000c3345af2615f58
/parser/wmhweb/parser.py
04edcec167defe68e4992e5cd3457499801b7391
[]
no_license
iamkamleshrangi/simpleSpider
73ee9bd4ff29273118411d6f803755cd2df42b87
25db63ad359880f0fbd0992bc4144947a3d34e6a
refs/heads/master
2022-12-13T12:25:51.975653
2019-08-26T09:36:40
2019-08-26T09:36:40
164,854,454
1
0
null
2022-06-28T14:41:22
2019-01-09T11:57:43
Python
UTF-8
Python
false
false
886
py
from bs4 import BeautifulSoup as bs from lib.common import getContent from lib.mongodb import operations from lib.jobs_log import updateJobStatus import re def parser(job): obj = operations() file_path = job['storage_path'] content = getContent(file_path) soup = bs(content, 'html.parser') records ...
[ "iamkamleshrangi@gmail.com" ]
iamkamleshrangi@gmail.com
380f624729dd5e7305ef6c0f94d16aa0ae45bbcc
cbfb102bacc33d550f7b661a4f3f61f9fceb2858
/jaqs/trade/livetrade.py
782bcaf3a72e15e0c3525652354edf6a26b1649c
[ "Apache-2.0" ]
permissive
CRaich/JAQS
c3da54c3f5238a6a4ba04e23b936e6b5d6d021a0
c74861c2aae754cb1d22af9cb039e673cb4eb8fc
refs/heads/master
2020-04-02T12:14:24.428599
2018-10-23T07:13:28
2018-10-23T07:13:28
154,424,829
1
0
NOASSERTION
2018-10-24T02:12:26
2018-10-24T02:12:25
null
UTF-8
Python
false
false
13,507
py
# encoding: utf-8 from __future__ import absolute_import, print_function, unicode_literals, division import datetime import numpy as np import pandas as pd from jaqs.trade.event import EventEngine, Event, EVENT_TYPE from jaqs.data.basic import Quote import jaqs.util as jutil from functools import reduce class Alph...
[ "brillliantz@outlook.com" ]
brillliantz@outlook.com
e9e08582325190cb279a2b66d075b0ef4420ee11
77d808f47101202db6cec5a9eee6b38c55f73fde
/02. EXCERCISE - Basic Syntax, Conditional Statements and Loops/08.py
10180c2d145830cc5bc990e9eaf9cf8df8a42ede
[]
no_license
dimDamyanov/Py-Fundamentals
2ce5591fbfebf8d95c832e3f7109b24e53dd721b
5ccae5bfa456829d97e8773ee9f5eaa5f5051765
refs/heads/main
2023-01-29T22:21:07.788061
2020-12-13T08:11:04
2020-12-13T08:11:04
317,682,227
1
0
null
null
null
null
UTF-8
Python
false
false
232
py
input_string = input() output_string = input() s = input_string for i in range(len(input_string)): s1 = input_string[(i + 1):] s2 = output_string[:(i + 1)] if s2 + s1 == s: continue s = s2 + s1 print(s)
[ "dim.damianov@gmail.com" ]
dim.damianov@gmail.com
0f90e72a1d4d4ef8b165cc7357c066b6908dc0d8
98be41d34ca238e040408017e1a2af8cfd71a419
/Modules/Scaler/compute_average_unit_cell.py
87733e4eff841c85737c5ee42bef9bc6206def8c
[]
no_license
hainm/xia2
338a834fd40aa0a684e4833d34244d6d8f6e0417
a5ae68c731577f14b8400404e883029d2147c548
refs/heads/master
2021-01-24T15:24:44.917551
2016-03-10T09:47:27
2016-03-10T09:47:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
931
py
#!/usr/bin/env python # compute_average_unit_cell.py # # Copyright (C) 2011 Diamond Light Source, Graeme Winter # # This code is distributed under the BSD license, a copy of which is # included in the root directory of this package. # # Replacement function centralised to replace the use of cellparm. def compute...
[ "graeme.winter@gmail.com" ]
graeme.winter@gmail.com
7bc83b0f13b30e778c7a90f6e609e30ef0ac3572
efcd21234f3291e8fc561f49a7c88fc57a63e952
/tests/functional/regressions/test_multiline_strings.py
8dcc0327742a01ccb3e2744251cce00a9536d321
[ "MIT" ]
permissive
tartiflette/tartiflette
146214a43847d2f423bf74594643c1fdefc746f1
421c1e937f553d6a5bf2f30154022c0d77053cfb
refs/heads/master
2023-09-01T02:40:05.974025
2022-01-20T14:55:31
2022-01-20T14:55:31
119,035,565
586
39
MIT
2023-09-11T07:49:27
2018-01-26T09:56:10
Python
UTF-8
Python
false
false
1,198
py
import pytest from tartiflette import Resolver, create_engine @pytest.fixture(scope="module", name="ttftt_engine") async def ttftt_engine_fixture(): sdl = """ type Query { simpleParameterField(s: String): String } """ @Resolver( "Query.simpleParameterField", schema_name="test_regressions...
[ "raulic.maximilien@gmail.com" ]
raulic.maximilien@gmail.com
f8f8031f91b414b98b6b6f9c154b192689f993c1
92aa262600e8ec9c138d23a20735c17f48f17e85
/zeus/evaluator/tools/evaluate_davinci_bolt.py
7589d3c324b475e83fb10778271e928915508092
[ "MIT" ]
permissive
JBoRu/vega
b002721cff1ec4f1fab482d547d6ece58aea0b2e
956b034cd7b4ceac6e022deeeea02e4b2f76a45c
refs/heads/master
2023-04-25T15:01:18.445301
2021-05-14T11:42:20
2021-05-14T11:42:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,701
py
# -*- coding: utf-8 -*- # Copyright (C) 2020. Huawei Technologies Co., Ltd. All rights reserved. # This program is free software; you can redistribute it and/or modify # it under the terms of the MIT License. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the...
[ "zhangjiajin@huawei.com" ]
zhangjiajin@huawei.com
5fc7ec283b0bdaba148a4ac900f2d606b616f1ab
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/5/m3n.py
da22b2fd6435a9a9147dba112ecd841365545fd5
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
d87b63c8580cd11fc901489384237081e70c6582
19bc4d44dc7303e23a6949b1bc7b98b65bcf80e9
/python/Build_Chatbots_with_Python/Retrieval_Based_Chatbots/Bag_Of_Words_Language_Model/Writing_classifier/henson_matthew_raw.py
5741faedbd0ab6b21883ed265ebad45961d060e5
[]
no_license
henry1034/Challenge-Project-of-CodeCademy
c66190ff3a318e22f263fcf78344632773065c24
61ebe84696cec120393acca62b4fce4bdea0fb30
refs/heads/master
2023-07-04T01:04:16.978374
2021-07-29T17:27:56
2021-07-29T17:27:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
26,928
py
henson_raw = """ When the news of the discovery of the North Pole, by Commander Peary, was first sent to the world, a distinguished citizen of New York City, well versed in the affairs of the Peary Arctic Club, made the statement, that he was sure that Matt Henson had been with Commander Peary on the day of the discove...
[ "noreply@github.com" ]
henry1034.noreply@github.com
5ecd9df4016fb8fdc90208a9a7ae733e94769320
c947309ef03dc6ddd0a8bc0186adbab0089782d5
/test/distributed/test_c10d_spawn.py
fb138256fef04a8515437b3afd1063c2527b893d
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0", "BSD-2-Clause" ]
permissive
KsenijaS/pytorch
dc1dc2fd7adb982110aa0730d8625a84975c2e94
3bdb7af1e79c8e514a8cd4c87333ee7b77a78c36
refs/heads/master
2021-06-18T00:04:39.806795
2021-04-07T16:52:18
2021-04-07T16:52:18
191,849,503
1
1
NOASSERTION
2020-04-02T16:47:24
2019-06-14T00:14:56
C++
UTF-8
Python
false
false
19,219
py
import copy import os import sys import tempfile import unittest import torch import torch.distributed as c10d import torch.multiprocessing as mp import torch.nn as nn from torch.testing._internal.common_cuda import TEST_CUDA, TEST_MULTIGPU from torch.testing._internal.common_distributed import requires_gloo, \ c...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
00213d32a65f1cd1c4332173f2e9c71a63f062cb
d8a7ac3ba7531da11464fc10269395dc9b04feeb
/dog/hello/urls.py
62454347c7442a1ec2f875d237d9492329f99d08
[]
no_license
yuhsuan216/language
5848bea6181ceccafca6d07fcce66683423e66d2
a13e508257b1901edd4fa1ca73793a5510cc9b53
refs/heads/master
2021-01-09T21:48:25.050178
2016-01-05T20:17:12
2016-01-05T20:18:37
45,239,088
0
0
null
null
null
null
UTF-8
Python
false
false
119
py
from django.conf.urls import url from hello import views urlpatterns = [ url(r'^$', views.hello, name='hello'), ]
[ "m516@m516" ]
m516@m516
45093cb170b4b757572f577dbdb00c4e41e5e292
f30b91db647dca1f77fffa4b7e26b6c6a68abbc6
/8_kyu/Floating point comparison/python/test_solution.py
b38c958754064b02d07be022c2e9d66730288bc1
[]
no_license
estraviz/codewars
73caf95519eaac6f34962b8ade543bf4417df5b7
5f8685e883cb78381c528a0988f2b5cad6c129c2
refs/heads/master
2023-05-13T07:57:43.165290
2023-05-08T21:50:39
2023-05-08T21:50:39
159,744,593
10
55
null
null
null
null
UTF-8
Python
false
false
440
py
import pytest from solution import approx_equals @pytest.mark.parametrize( "a, b, eq", [ (175.9827, 82.25, False), (-156.24037, -156.24038, True), (123.2345, 123.234501, True), (1456.3652, 1456.3641, False), (-1.234, -1.233999, True), (98.7655, 98.7654999, True...
[ "javier.estraviz@gmail.com" ]
javier.estraviz@gmail.com
56d9db15a0cceb14826de86eda7996e2712b31ef
3a7ed9d2d71a67974ffefa9236387c80eac18981
/00_WarmUpChallenges/repeatedString_2019_02_21.py
d0b1e5d5443bd73a5f2906ec4879ab8ede35f839
[]
no_license
kevindsteeleii/HackerRank_InterviewPreparationKit
ab053c90d8c8dfaea491e9a6fd9a5fa3a8b1329e
6daa175be310923fc5c47c3e779d558d6f3a9538
refs/heads/master
2020-04-24T06:55:36.321707
2019-03-05T09:10:22
2019-03-05T09:10:22
171,782,208
0
0
null
2019-03-05T08:17:17
2019-02-21T02:02:14
Python
UTF-8
Python
false
false
159
py
""" https://www.hackerrank.com/challenges/repeated-string/problem?h_l=interview&playlist_slugs%5B%5D=interview-preparation-kit&playlist_slugs%5B%5D=warmup """
[ "github email address" ]
github email address
4a48d342d2cdc3f02c107a0831285930b6407258
318a2283e9fd8386e1e9b8b33393ec21892ff053
/plaso/formatters/android_app_usage.py
4f934ed5c48c179bef93270861d08458b711cc64
[ "Apache-2.0" ]
permissive
ddm1004/plaso
3a4590f9c7fb5d624938dd1caea703dc92118646
88d44561754c5f981d4ab96d53186d1fc5f97f98
refs/heads/master
2021-05-19T10:16:24.111136
2020-02-27T04:40:48
2020-02-27T04:40:48
251,647,179
0
0
Apache-2.0
2020-03-31T15:31:29
2020-03-31T15:31:29
null
UTF-8
Python
false
false
597
py
# -*- coding: utf-8 -*- """The Android Application Usage event formatter.""" from __future__ import unicode_literals from plaso.formatters import interface from plaso.formatters import manager class AndroidApplicationFormatter(interface.ConditionalEventFormatter): """Formatter for an Application Last Resumed even...
[ "joachim.metz@gmail.com" ]
joachim.metz@gmail.com
f93cfe32b2326a59dce9d29950796ce6316bb01e
a0442fcd9edc8b6d0975ce8799ea5a67e808c568
/casa6/casatasks/src/tasks/task_polfromgain.py
2141a633628ca484f47283055e46ef328e53eb19
[]
no_license
kernsuite-debian/carta-casacore
f0046b996e2d0e59bfbf3dbc6b5d7eeaf97813f7
a88f662d4f6d7ba015dcaf13301d57117a2f3a17
refs/heads/master
2022-07-30T04:44:30.215120
2021-06-30T10:49:40
2021-06-30T10:49:40
381,669,021
0
0
null
null
null
null
UTF-8
Python
false
false
8,749
py
# enable local tools import os from math import pi,floor,atan2,sin,cos,sqrt import pylab as mypl try: import casatools from casatasks import casalog mytb=casatools.table() myme=casatools.measures() mymd=casatools.msmetadata() except ImportError: from taskinit import * mytb=tbtool() ...
[ "aramaila@ska.ac.za" ]
aramaila@ska.ac.za
23b565d8b2a8ab3626a528f81bf52bbb47e61131
6929f9696a8f90b3778d449a199cee8891f3f739
/python_core/list_tuple_set_search.py
167ba40383a7bba60f30ab81348871d9ef3a9d6a
[]
no_license
chemplife/Python
881d492a4271fb2b423f2dd611eaac53a0efdc34
7fdfbf442a915e4f41506503baad4345a52d1e86
refs/heads/master
2022-12-31T20:00:22.475985
2020-10-19T20:14:43
2020-10-19T20:14:43
305,503,403
0
0
null
null
null
null
UTF-8
Python
false
false
654
py
import time, string def membership_test(container): for i in range(len(container)): if 'z' in container: pass char_set = set((string.ascii_letters)*500000) char_list = list((string.ascii_letters)*500000) char_tuple = tuple((string.ascii_letters)*500000) start = time.perf_counter() membership_test(container=cha...
[ "ratul.aggarwal@outlook.com" ]
ratul.aggarwal@outlook.com
b2ee23acc96bb98d93ad3fb3e05950b26ce01dbb
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startQiskit353.py
d58778735a1d97d6d6603911b86bdc537ce8f819
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
2,522
py
# qubit number=3 # total number=13 import numpy as np from qiskit import QuantumCircuit, execute, Aer, QuantumRegister, ClassicalRegister, transpile, BasicAer, IBMQ import networkx as nx from qiskit.visualization import plot_histogram from typing import * from pprint import pprint from math import log2 from collectio...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
2e863290b098589e9c44f4d6f7059996d10fc639
33af6185b48bd76f97f0a74390a3a812ee216c78
/angr/angr/analyses/reassembler.py
c2a568621bc641644ed89daa8ef7a2b0aba39e4f
[ "BSD-2-Clause" ]
permissive
Ruide/angr-dev
dab0cabd907fce47ac698f890c3f3a8b80ab7e2a
964dc80c758e25c698c2cbcc454ef5954c5fa0a0
refs/heads/master
2022-11-10T11:27:13.355024
2017-10-07T14:29:09
2017-10-07T14:29:09
104,417,044
0
1
BSD-2-Clause
2022-10-16T04:48:10
2017-09-22T01:35:12
C
UTF-8
Python
false
false
95,418
py
import logging import re import string import struct from collections import defaultdict from itertools import count import capstone import cffi import cle import networkx import pyvex from . import Analysis, register_analysis from ..knowledge_base import KnowledgeBase from ..sim_variable import SimMemoryVariable, S...
[ "rd.cheung.bupt.sms@gmail.com" ]
rd.cheung.bupt.sms@gmail.com
bb9dea15280befbcd20ea727dc72004f78bccdc6
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_321/ch151_2020_04_13_20_25_48_753863.py
fb9550841cfbebbd430552d32a832a92139cc0ff
[]
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
419
py
def classifica_lista(l): if len(l) < 2: return 'nenhum' for i in range (len(l)): if l[i] > l[i-1]: c = 0 elif l[i] < l[i-1]: c = 1 if (c = 0 and l[i+1] < l[i]) or (c = 1 and l[i+1] > l[i]): c = 2 break if c == 0: return ...
[ "you@example.com" ]
you@example.com
418db186f83eb3bdbbfcc0713df9741c991d5f13
34693b720742528539b666e6b55b8a53c109b0f1
/pwn/rop_emporium/2-split/1-32bit/pwntools_dbg.py
d024dc4602e1928c25820a9994af886d60e2c910
[]
no_license
Catcheryp/CTF
307ebc8f6da5945a8b51e1e14c7579077a528696
b785833c825fb209195a34369ff6d067c8746f50
refs/heads/main
2023-08-08T02:10:11.566297
2023-08-06T20:30:46
2023-08-06T20:30:46
152,171,039
0
0
null
null
null
null
UTF-8
Python
false
false
1,980
py
from pwn import * # Many built-in settings can be controlled via CLI and show up in "args" # For example, to dump all data sent/received, and disable ASLR # ./exploit.py DEBUG NOASLR def start(argv=[], *a, **kw): # Start the exploit against the target if args.GDB: return gdb.debug([exe] + argv, gdbsc...
[ "jburgess03@qub.ac.uk" ]
jburgess03@qub.ac.uk
9ddf6461b01c013b24b63675597d422c5b01be1e
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/pHp9qkjY53JNTGCG4_5.py
b4c30516a409e10588eaae1c610cab4bfb4f8e36
[]
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
76
py
import math ​ def century_from_year(year): return math.ceil(year/100)
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
8bb9a49cb677ccdd8f20bef3a865090f1a0de473
8e24e8bba2dd476f9fe612226d24891ef81429b7
/geeksforgeeks/python/basic/7_15.py
47324d708b588f201643588e7521e3f6f480f0fa
[]
no_license
qmnguyenw/python_py4e
fb56c6dc91c49149031a11ca52c9037dc80d5dcf
84f37412bd43a3b357a17df9ff8811eba16bba6e
refs/heads/master
2023-06-01T07:58:13.996965
2021-06-15T08:39:26
2021-06-15T08:39:26
349,059,725
1
1
null
null
null
null
UTF-8
Python
false
false
2,293
py
Python program to get Current Time In this article, we will know the approaches to get the current time in Python. There are multiple ways to get it. The most preferably date-time module is used in Python to create the object containing date and time. **1: Current time of a timezone –** Using pytZ module ...
[ "qmnguyenw@gmail.com" ]
qmnguyenw@gmail.com
663ec1081f866ba38fc5fc24964ac5974b0011b7
4e37adc003e3be064161cfa1521b477fa75649fd
/py/api/search/search/models/recipe.py
3dd713629d7641e48433d668b370e1359c4e354d
[]
no_license
stgpetrovic/junction2019
ff97a1fb38262c0ea47905c4c61c9550271168c5
227da9ac06f1cd708d4649652a8d79bf776e41b2
refs/heads/master
2020-09-11T07:42:03.613409
2019-11-17T08:27:43
2019-11-17T08:28:05
221,989,977
0
0
null
null
null
null
UTF-8
Python
false
false
27,250
py
# coding: utf-8 """ Search API Search API is a REST-like API which wraps the underlying ElasticSearch service for most common use cases. While this API is called the \"search\" service, in practice it acts as the main data engine for various Kesko services, providing high performance endpoints for fetching re...
[ "stgpetrovic@gmail.com" ]
stgpetrovic@gmail.com
eeb7546c75b3b6ad01a811b97a56d8ebbb752b3f
1e4923a7f415a68aaf22b22406f005a22324a367
/ps/Lib/site-packages/setuptools/extension.py
e3903c33556b5dfecaaa3b587e722c4c28f2c758
[ "Apache-2.0" ]
permissive
phanikiran99/blogapp
91ab261bb1737ee5e0bae11568527975f8b36421
79483041754a62ad9aa9314343a437027a071a5b
refs/heads/master
2020-03-13T00:54:14.811040
2018-04-24T18:10:56
2018-04-24T18:10:56
130,895,204
0
0
null
null
null
null
UTF-8
Python
false
false
1,444
py
import sys import distutils.core import distutils.extension from setuptools.dist import _get_unpatched _Extension = _get_unpatched(distutils.core.Extension) def have_pyrex(): """ Return True if Cython or Pyrex can be imported. """ pyrex_impls = 'Cython.Distutils.build_ext', 'Pyrex.Distuti...
[ "phanikiran99@gmail.com" ]
phanikiran99@gmail.com
2e205fddc8e04632105dceaefccd007386b6f793
a70697ef62978117467695fd3507e4d08e186ab4
/source/res/scripts/common/items/artefacts.py
4b9b3e0feae6f9b141ec1208a9be16ac67be189a
[]
no_license
chipsi007/WorldOfTanks-Decompiled
d208678a6f2f094b02281d09ecc30f3e32725ce9
3b9dc21321429e4dee146c23c7250f2c62757937
refs/heads/master
2020-03-19T01:21:09.883951
2018-05-04T13:19:56
2018-05-04T13:19:56
135,538,885
0
0
null
null
null
null
UTF-8
Python
false
false
53,240
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/common/items/artefacts.py import math from functools import partial import items import nations from constants import IS_CLIENT, IS_CELLAPP, IS_WEB, VEHICLE_TTC_ASPECTS from items import _xml, vehicles from items.basic_item import BasicIte...
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru
7b8972ba6d814eb6bc002340fff686730e55a69b
9f0babb96bb327aaa859aeb7950fb6e5b2fca73d
/ID32/rixs_branch.py
b7e8a9148ba7268781ff5c5a9ea21e34fc064a40
[ "MIT" ]
permissive
srio/shadow3-scripts
d39e750774ad8f1c551e9965d4402b3fcb2b043d
7dd9b4424f47e6d78db9fd6fcb5a3db788b062f7
refs/heads/master
2022-09-18T03:37:16.480163
2022-09-02T13:43:46
2022-09-02T13:43:46
43,300,813
1
0
null
null
null
null
UTF-8
Python
false
false
12,284
py
# # Python script to run shadow3. Created automatically with ShadowTools.make_python_script_from_list(). # import Shadow import numpy import matplotlib.pyplot as plt import copy def trace_rixs_branch(fname,theta_mrad=19.1): # write (1) or not (0) SHADOW files start.xx end.xx star.xx iwr...
[ "srio@esrf.eu" ]
srio@esrf.eu
85f09e8914e1543aa00f69ad11cd6d9bccaf472f
521efcd158f4c69a686ed1c63dd8e4b0b68cc011
/tests/providers/amazon/aws/utils/test_emailer.py
e61eeccffce0600fdf54df76d8e842260abea49f
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
coutureai/RaWorkflowOrchestrator
33fd8e253bfea2f9a82bb122ca79e8cf9dffb003
cd3ea2579dff7bbab0d6235fcdeba2bb9edfc01f
refs/heads/main
2022-10-01T06:24:18.560652
2021-12-29T04:52:56
2021-12-29T04:52:56
184,547,783
5
12
Apache-2.0
2022-11-04T00:02:55
2019-05-02T08:38:38
Python
UTF-8
Python
false
false
1,584
py
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
[ "noreply@github.com" ]
coutureai.noreply@github.com
8498346d7922253bd0eacfc450aead7f1afed285
5d09e3b32b0f7dee1147139e5e57822f33dc0f32
/lib/authorship_simulate_base.py
8104c60606922df764ab157fa7984242dc22516c
[]
no_license
scone-snu/pyflib2
cb797f625100d280f6bd3b757795040ca892b1ed
bb2ad7d9974903ac8c3b01ac48b4d6ab72d2ac80
refs/heads/master
2020-03-31T17:37:54.216805
2011-05-06T04:43:31
2011-05-06T04:43:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,362
py
import os import glob import re import networkx as nx import itertools import matplotlib.pyplot as plt import pickle from collections import defaultdict from PlotFunctions import * import random from scipy.stats import gamma import math # Variables that can be modified START_YEAR = 1997 # Year to start simulation from...
[ "jccccf@gmail.com" ]
jccccf@gmail.com
f232753e867945b6495485f24cac5ff8ae4e0666
21cfc943bf4989362fe4b1063ee9451a44175098
/kitsune/questions/tests/test_karma.py
9b53b9cff7c7e5dff562a6807f493c7d803f6db4
[]
permissive
feer56/Kitsune1
6230a8f01b554c3bb6b4a7016edf198f7b2d74dd
0b39cbc41cb7a067699ce8401d80205dd7c5138d
refs/heads/master
2023-01-07T14:34:24.046353
2014-11-23T04:38:04
2014-11-23T04:38:04
27,058,591
1
0
BSD-3-Clause
2022-12-27T14:53:52
2014-11-24T03:14:18
Python
UTF-8
Python
false
false
2,474
py
import mock from kitsune.questions.karma_actions import ( AnswerAction, AnswerMarkedHelpfulAction, AnswerMarkedNotHelpfulAction, FirstAnswerAction, SolutionAction) from kitsune.questions.tests import TestCaseBase, answer from kitsune.sumo.tests import post from kitsune.users.tests import user class KarmaTest...
[ "rickyrosario@gmail.com" ]
rickyrosario@gmail.com
0d68583685799cb7f838930e725c0558d2039ad1
5e84763c16bd6e6ef06cf7a129bb4bd29dd61ec5
/blimgui/dist/OpenGL/EGL/NOK/swap_region2.py
15d7b7749d2e3ba7979ff3ae15c99e77677d952c
[ "MIT" ]
permissive
juso40/bl2sdk_Mods
8422a37ca9c2c2bbf231a2399cbcb84379b7e848
29f79c41cfb49ea5b1dd1bec559795727e868558
refs/heads/master
2023-08-15T02:28:38.142874
2023-07-22T21:48:01
2023-07-22T21:48:01
188,486,371
42
110
MIT
2022-11-20T09:47:56
2019-05-24T20:55:10
Python
UTF-8
Python
false
false
748
py
'''OpenGL extension NOK.swap_region2 This module customises the behaviour of the OpenGL.raw.EGL.NOK.swap_region2 to provide a more Python-friendly API The official definition of this extension is available here: http://www.opengl.org/registry/specs/NOK/swap_region2.txt ''' from OpenGL import platform, constant, arr...
[ "justin.sostmann@googlemail.com" ]
justin.sostmann@googlemail.com
85d9fa8439ab0cc6dc32a45dc21c87cbb3043907
ee6738dad7fe2ac133fe23bc023b687608553744
/web_qa-crosswalk-nightly-testing-tools/scripts/ntpackages.py
b35b45a55677177e416cd6dbdb4f7305d9e7bf73
[]
no_license
millerblack/NAT
ccb41c57957ba4150e223636c4f190ad2848439c
a04695b03755889b6921dab11728820810afb73a
refs/heads/master
2020-06-10T18:27:36.961268
2016-09-27T14:55:05
2016-09-27T14:55:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,698
py
import copy import os import re import glob import time import threading import multiprocessing from util.ntcommon import * def update_device_config_dic(): nt_logger.debug("Call Function: 'update_device_config_dic'") update_device_config_dic = copy.deepcopy(device_config_dic) latest_version_dic = {} ...
[ "feng.dai@intel.com" ]
feng.dai@intel.com
f52e4f60d959af9541b75faf1b0c795288fb4307
0e5f3af9174f53b87a9db42faffc5ba88480426e
/jupyter_server/extension/handler.py
2285e7f063294c805cb0e03b4c7b9891e8e177db
[ "BSD-3-Clause" ]
permissive
KennyWZhang/jupyter_server
69a91b59004bc1157a161e35c1ac0fc1257a6999
bf029a5a410625c1227d7fd6e45986148b176a7b
refs/heads/master
2020-06-13T09:17:26.064076
2019-06-27T06:38:38
2019-06-27T06:38:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,127
py
from jupyter_server.base.handlers import JupyterHandler, FileFindHandler from traitlets import Unicode, default class ExtensionHandler(JupyterHandler): """Base class for Jupyter server extension handlers. Subclasses can serve static files behind a namespaced endpoint: "/static/<extension_name>/" ...
[ "zachsailer@gmail.com" ]
zachsailer@gmail.com
1d46d173f363531c83644dbb3717b27dde0f2852
45c15254577c9ca2185e43671e56513215ca8b92
/MIME aws smtp.py
0c76c57e1620286742d9cc179b0dfc53b845153a
[]
no_license
abuzarrizvi/MIMEMultipart
393e419fcc93740d25e5486b9b10d3d9a8ac283c
1c2eac824cfb7a2c2debfbd74ec940034e565064
refs/heads/master
2020-08-01T15:41:47.712684
2019-09-27T12:04:26
2019-09-27T12:04:26
211,036,480
0
0
null
null
null
null
UTF-8
Python
false
false
157,018
py
import smtplib import os from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText from email.mime.application import MIMEApplication # me == my email address # you == recipient's email address me = "*****************************" you = "*****************************" # Create message contain...
[ "noreply@github.com" ]
abuzarrizvi.noreply@github.com
3c9ed0d2055e6d730ce3542d13ae5b25341ac8cd
15ed3ab4510677e6df9b11af8fd7a36fc6d826fc
/v1/res_mc_le_2/ortoven.py
51c795491e62e41e95d56db6cdc7d334e159d82e
[]
no_license
pe-ge/Computational-analysis-of-memory-capacity-in-echo-state-networks
929347575538de7015190d35a7c2f5f0606235f2
85873d8847fb2876cc8a6a2073c2d1779ea1b20b
refs/heads/master
2020-04-02T08:08:38.595974
2018-01-17T08:12:26
2018-01-17T08:12:26
61,425,490
0
0
null
null
null
null
UTF-8
Python
false
false
2,156
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ ortoven.py - Orthogonalization vs. N Created 5.8.2015 Goal: Measure the effect of orthogonalization process, depending on N. """ from library.ortho import learn_orthogonal from library.mc6 import memory_capacity import numpy as np from numpy import random from tim...
[ "gergelp@gmail.com" ]
gergelp@gmail.com
7336143924b7fa3c04d6faa0441cf285f070670c
3f6088cf1aaaddc18ca1c6f2d5bfc69590941d60
/Xianyang_vmd/projects/pca_one_step_one_month.py
6233815bed29cac0fbac8b631c7283885f1034b3
[ "MIT" ]
permissive
YX577/MonthlyRunoffForecastByAutoReg
80038b1b0401d0dbe9b4b67cf531298090815cf7
2d66c628141f001e4ffb3dc3b7520a0f0f0ff239
refs/heads/master
2022-03-30T10:48:30.165288
2020-01-17T02:36:47
2020-01-17T02:36:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
353
py
import os root_path = os.path.dirname(os.path.abspath('__file__')) import sys sys.path.append(root_path) from PCA import one_step_pca if __name__ == "__main__": one_step_pca( root_path=root_path, station='Xianyang', decomposer='vmd', predict_pattern='forecast', n_components=...
[ "zuojianyi@outlook.com" ]
zuojianyi@outlook.com
41fb1e52df9ff5130e4d242072b581afbd2b61a4
b87216632b87e1877723e8b079ebe35680b5989c
/pytorch-10/10.4.py
1384f61991a88b5820904b02ac52c51715e4a570
[]
no_license
Jackliaoall-AI-Books-Practise-Archive/DL-with-Python-and-PyTorch
a8b888c9963d38f256f815effb4e1760fa50984a
18f907e9c5351fadecc5c41dbb3efb7efb8b6142
refs/heads/master
2023-07-03T02:49:44.461381
2021-08-08T13:31:18
2021-08-08T13:31:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,034
py
import torch from torch import nn import torch.nn.functional as F import torchvision import torchvision.transforms as transforms from torchvision import models from torchvision.datasets import ImageFolder from datetime import datetime def get_acc(output, label): total = output.shape[0] _, pred_label = output...
[ "zhangxin19870504@163.com" ]
zhangxin19870504@163.com
45a48deb8c867f7e8c2ac195ac2b3a819361fe00
449175eb373ebc622221552e43b46c9378adb618
/grader/files_mai/6210545980_task2.py
22ac0f3f5cf033a28ebe23660681eb8560110745
[]
no_license
NutthanichN/grading-helper
911d39211e070eafc9ffee6978f9270a0be38016
971c605effb4f59e9e22a32503337b3e671f120c
refs/heads/master
2022-12-12T22:46:15.062462
2020-09-08T06:50:12
2020-09-08T06:50:12
293,724,530
0
1
null
null
null
null
UTF-8
Python
false
false
3,125
py
def check_valid_input(a): # Check input that must be only rock, paper, scissors, lizard and spock. """ >>> check_valid_input("rock") True >>> check_valid_input("paper") True >>> check_valid_input("scissors") True >>> check_valid_input("lizard") True >>> check_valid_input("spock")...
[ "monaprom134@gmail.com" ]
monaprom134@gmail.com
69e92160ac275dc70b1346b22dcc9a7531236eb2
fa0ae8d2e5ecf78df4547f0a106550724f59879a
/Crawler/day02/lxmlTest.py
9f6077a5d486a90d0b54a942c2d22da3cb3cf918
[]
no_license
Polaris-d/note
71f8297bc88ceb44025e37eb63c25c5069b7d746
6f1a9d71e02fb35d50957f2cf6098f8aca656da9
refs/heads/master
2020-03-22T17:51:49.118575
2018-09-06T03:36:00
2018-09-06T03:36:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
845
py
# -*- coding: utf-8 -*- """ Created on Wed Aug 8 17:16:52 2018 @author: Administrator """ from lxml import etree xml = """ <bookstore> <book> <title lang="en">Harry Potter</title> <author>J K. Rowling</author> <year>2005</year> <price>29.99</price> </book> <book> <title lang="chs">Pytho...
[ "610079251@qq.com" ]
610079251@qq.com
14d637853077495453c40daade4d491e2a593f7e
60ce73bf2f86940438e5b7fecaaccad086888dc5
/working_scrapers/Kansas_clay.py
ad26969d414aba798ed3fa8963eefcec32c066e6
[]
no_license
matthewgomies/jailcrawl
22baf5f0e6dc66fec1b1b362c26c8cd2469dcb0d
9a9ca7e1328ae549860ebeea9b149a785f152f39
refs/heads/master
2023-02-16T06:39:42.107493
2021-01-15T16:37:57
2021-01-15T16:37:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,157
py
#!/usr/bin/python ''' This is a template script MG ''' from urllib.request import urlopen, Request import pandas as pd import os import time import numpy as np from datetime import datetime import datetime as dt import sys from io import StringIO from joblib import Parallel, delayed import requests from jailscrape.com...
[ "jborowitz@gmail.com" ]
jborowitz@gmail.com
35a950dbf3b9e75a38ee84649b783316892357c9
778d24bc897fc92bb9aef0ee832959c58d768202
/apps/orgs/adminx.py
5e7ea220ffb663aebe175cac06d164c8e723199d
[]
no_license
ferry-luo/GuliEdu
cd5c9901b1d3d80f30fdedd9d6cce1e0c3e794d6
585e18a686e75931d568b5dfc343bdc4da454477
refs/heads/master
2022-12-28T19:15:08.973810
2020-10-18T09:29:03
2020-10-18T09:29:03
305,004,981
0
0
null
null
null
null
UTF-8
Python
false
false
700
py
import xadmin from .models import * class CityInfoXadmin(object): list_display = ['name','add_time'] model_icon = 'fa fa-bath' class OrgInfoXadmin(object): list_display = ['image', 'name','course_num','study_num','love_num','click_num','category','cityinfo'] model_icon = 'fa fa-gift' style_fields...
[ "1021164925@qq.com" ]
1021164925@qq.com
869b495ffd293a3d94c9bc684760277e0f23369b
292d23019c18d0b724aed88f04a0f20b5b616bb9
/Python1/homework/requests_demo.py
c98ec3c56fc555d6c045d54f58ed4f2b1ca24f94
[]
no_license
RedAnanas/macbendi
6f1f6fd41ed1fe8b71408dffa0b964464bd00aa8
8d5aa39d9389937f0e0c3f7a7d6532537f33cda8
refs/heads/master
2023-06-11T18:57:31.061009
2021-06-29T15:04:56
2021-06-29T15:04:56
380,759,110
0
0
null
null
null
null
UTF-8
Python
false
false
7,824
py
#! /usr/bin/env python # -*- coding: utf-8 -*- import requests import json base_url = 'http://jacky-vpc' def get_method1(): # 最基本的get方法使用 return requests.get(base_url + '/agileone/?key=value&key1=value') def get_method2(): # 可以利用字典类型的数据传参数 params = {'key': 'value', 'key1': 'value...
[ "1315157388@qq.com" ]
1315157388@qq.com
397dd671a6bb7f2a0bcb1d084db6804089bbc034
d8010b0cfced1c941e632ed4cc927d20d7b7bf95
/src/yumi_sign_language_robot_control/script/yumi_sign_robot_execute_joint_path.py
e23ddefbce3871eb470dabeed4ce28f3087bcd18
[]
no_license
ZJU-Robotics-Lab/motion-retargeting-rl
b143b7695d8813edc12def6e218975ad8a499329
073a511edfad5b758537d4564a05fea43c229004
refs/heads/master
2022-11-29T13:57:33.736198
2020-07-28T08:04:20
2020-07-28T08:04:20
283,143,525
1
1
null
null
null
null
UTF-8
Python
false
false
36,399
py
#!/usr/bin/env python import sys import copy import rospy import math import tf import pdb import numpy as np import moveit_commander import moveit_msgs.msg import geometry_msgs.msg import trajectory_msgs.msg from math import pi from std_msgs.msg import String import getopt # process the terminal arguments import h5...
[ "lwj19970331@gmail.com" ]
lwj19970331@gmail.com
4895aae8487188c234456e63b583a485476c9829
237b1823007a07f17d7bc5c413764361686cd5da
/course/migrations/0024_auto_20181205_1209.py
3cf32f3689f5f2df2eb1e3e0af02335f178521ed
[]
no_license
alan8365/EasyCoding
df919d5c32c7c9f832ddb2edac874b2f0ca350a5
7b676fb64644c754e69ef9373c53e311c9cd9cb5
refs/heads/master
2020-04-24T06:30:43.569268
2019-02-20T23:49:56
2019-02-20T23:50:42
126,286,014
0
0
null
null
null
null
UTF-8
Python
false
false
386
py
# Generated by Django 2.0.7 on 2018-12-05 12:09 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('course', '0023_auto_20181205_0812'), ] operations = [ migrations.AlterField( model_name='fill', name='content', ...
[ "alan8365@gmail.com" ]
alan8365@gmail.com
c28acde8b4b8a3ffff6d58c46582709dbd4d86d1
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/databoxedge/v20190301/share.py
5c2c915bb0583d8823e0e69ab5823c03ad2a38b3
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
9,977
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** 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 _utilities, _tables from...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
d7b570628ed22d1f5d9ec89a7651bbefef601209
a2706c66c4f2769c00fc5f67e1a85742cfa7e17c
/MODULES/Execution_UserExecution_CallbackEnumChildWindows.py
ebda523c29d49dd154ae4fead9e32a39e3d78131
[ "BSD-3-Clause" ]
permissive
Jeromeyoung/viperpython
48800312dcbdde17462d28d45865fbe71febfb11
ba794ee74079285be32191e898daa3e56305c8be
refs/heads/main
2023-09-01T18:59:23.464817
2021-09-26T04:05:36
2021-09-26T04:05:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,391
py
# -*- coding: utf-8 -*- # @File : SimpleRewMsfModule.py # @Date : 2019/1/11 # @Desc : import time from Lib.ModuleAPI import * class PostModule(PostPythonModule): NAME_ZH = "Callback免杀(EnumChildWindows)" DESC_ZH = "模块通过编码shellcode与EnumChildWindows Callback结合的方式实现免杀" NAME_EN = "Callback AV bypass(Enu...
[ "yu5890681@gmail.com" ]
yu5890681@gmail.com
02e6a3de200c8917daf80bad4aaf1422f224e314
0478abafc05f1dd55ddf6054d95fef73e9fa03e9
/quati/modules/continuous_softmax.py
424dea2bcea09def82286fd875ce7ccf5540523d
[ "MIT" ]
permissive
deep-spin/quati
89bce0868b36b0d7902659507b72acfbd01ada98
62a6769475090182fe2990b2864d66f8e2081a32
refs/heads/master
2023-03-12T09:22:31.520259
2021-03-02T15:13:22
2021-03-02T15:13:22
330,678,540
2
1
null
null
null
null
UTF-8
Python
false
false
3,156
py
import torch import torch.nn as nn # torch.autograd.set_detect_anomaly(True) class ContinuousSoftmaxFunction(torch.autograd.Function): @classmethod def _expectation_phi_psi(cls, ctx, mu, sigma_sq): """Compute expectation of phi(t) * psi(t).T under N(mu, sigma_sq).""" num_basis = [len(basis_fu...
[ "marcosvtreviso@gmail.com" ]
marcosvtreviso@gmail.com
e095a2cd8bc732b35cfca3d7493e9ee4b1805c24
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_343/ch58_2019_06_05_15_34_32_171117.py
decac30d69c3036fed2ef41debb5f2f301530027
[]
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
154
py
def calcula_fibonacci(n): lista=[1,1] i=2 while i <= n: lista.append(lista[n-1]-lista[n-2]) i+=1 return lista
[ "you@example.com" ]
you@example.com
8428d937c22cfa74c60528fa50dff7c54b123ba0
f89d70fc8bf370ef4e2aa54c7ee0de3b4a053624
/troposphere/panorama.py
d36c5dec7721f9129222f01ccc913c74feb38a5c
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
yks0000/troposphere
a7622bff01c31f10dcb296d2ca353144e1d7f793
9a94a8fafd8b4da1cd1f4239be0e7aa0681fd8d4
refs/heads/main
2022-04-28T03:51:42.770881
2022-04-15T15:15:01
2022-04-15T15:15:01
482,753,190
1
0
BSD-2-Clause
2022-04-18T07:20:42
2022-04-18T07:20:42
null
UTF-8
Python
false
false
2,395
py
# Copyright (c) 2012-2022, Mark Peek <mark@peek.org> # All rights reserved. # # See LICENSE file for full license. # # *** Do not modify - this file is autogenerated *** from . import AWSObject, AWSProperty, PropsDictType, Tags from .validators import boolean class ManifestOverridesPayload(AWSProperty): """ ...
[ "mark@peek.org" ]
mark@peek.org
e75e947ac7f463fd18ff6fb01275a6ee8c879f01
3529ecaa44a53172094ba13498097057c8972723
/Questiondir/605.can-place-flowers/605.can-place-flowers_104872540.py
604e16e3c8af492351df9335d2a9cb55492d46ad
[]
no_license
cczhong11/Leetcode-contest-code-downloader
0681f0f8c9e8edd5371fd8d0a1d37dcc368566b6
db64a67869aae4f0e55e78b65a7e04f5bc2e671c
refs/heads/master
2021-09-07T15:36:38.892742
2018-02-25T04:15:17
2018-02-25T04:15:17
118,612,867
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
import itertools class Solution(object): def canPlaceFlowers(self, flowerbed, n): """ :type flowerbed: List[int] :type n: int :rtype: bool """ flowerbed = [0] + flowerbed + [0] t = sum((sum(1 for _ in items) - 1) // 2 for v, items in ...
[ "tczhong24@gmail.com" ]
tczhong24@gmail.com
58cfa225de80a2132c45f83d79cdbcdb6c23c2c2
3632fd8d60f7cc2c681f4bb8e03b0dfbee087420
/trepan/processor/command/show_subcmd/autopython.py
1a7bacdf9608660b13e41ec585d95b65ca3166ac
[]
no_license
mvaled/python3-trepan
893a81db566c95fd3f265e0439cdbf06b6c82ada
3c8ddf94cd12ca72985d82d2cd589f8551a538fd
refs/heads/master
2021-01-23T20:41:49.314047
2014-02-05T10:34:55
2014-02-05T10:34:55
16,593,782
1
1
null
null
null
null
UTF-8
Python
false
false
1,280
py
# -*- coding: utf-8 -*- # Copyright (C) 2009, 2013 Rocky Bernstein # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later ve...
[ "rocky@gnu.org" ]
rocky@gnu.org
096c041686e84d64320aa2ff1a85f3968733eb1c
f3c4fab7d6d79366c5fa1dcf973a30dfb9741cd8
/PYTHON/SSAFY/13_day/bus.py
cb66569e5b01f69b4553aa769941ee6be3b6def0
[]
no_license
eprj453/algorithm
03874747a4cef041721a0b6dc1d7ee16e86edfa9
abf6f7bc319737bbeecba9d88caaab952bf7d4d9
refs/heads/master
2023-01-09T10:36:02.231703
2022-12-26T16:10:50
2022-12-26T16:10:50
196,233,891
0
0
null
null
null
null
UTF-8
Python
false
false
1,196
py
import sys sys.stdin = open('s_input.txt', 'r') t = int(input()) for i in range(1, t+1): n = int(input()) bus = [0] ans = [] for j in range(n): a, b = map(int, input().split()) # print(a, b) for k in range(a-1, b): # 1, 4 if bus[k]: bus[k...
[ "eprj453@gmail.com" ]
eprj453@gmail.com
5381cfbd84425e5fcbc2c6d7328f1b8b61ce1099
0baac2c4aa84f65896054043486577b6e08ba9ef
/python/476-umberComplement.py
8a5ae6d584a99f112078bb2c1176426b6ef302d8
[]
no_license
hy299792458/LeetCode
c302983b81151acddffe3a71b03b4aceb20b4fa4
bb24717283a6b3ddd463b68cba34f70df75ddfed
refs/heads/master
2021-01-21T17:01:58.082623
2017-09-12T16:49:44
2017-09-12T16:49:44
91,924,578
3
0
null
null
null
null
UTF-8
Python
false
false
182
py
class Solution(object): def findComplement(self, num): num = abs(num) total = 1 while total <= num: total *= 2 return total - num - 1
[ "hy299792458@gmail.com" ]
hy299792458@gmail.com
a809872cd19991eebd1ad7a841514ad988e803f0
79ad67da4b7a869391f963798eb5367fdb9e3c63
/venv2/build/WTForms/tests/i18n.py
94c82ab6063e6bddccc32b9ed9ff14db4aea888f
[ "BSD-3-Clause" ]
permissive
SteveScott/EvePIProfit_github
19e37d6313e1719822ac5f5a22d4385576ebe1a2
af9db4c9763546b02eb08a3d043b17bc1cdc53a1
refs/heads/master
2020-05-30T14:46:56.392431
2019-04-16T00:07:37
2019-04-16T00:07:37
70,080,617
2
0
null
null
null
null
UTF-8
Python
false
false
6,184
py
from __future__ import unicode_literals from unittest import TestCase from wtforms import form, TextField, validators from wtforms.i18n import get_translations from wtforms.ext.i18n import form as i18n_form def gettext_lower(self, s): return s.lower() def ngettext_lower(self, singular, plural, n): if n == ...
[ "stevescott517@gmail.com" ]
stevescott517@gmail.com
a147cfff6d74217ef4c82c4061c03bdc45e9329a
6219e6536774e8eeb4cadc4a84f6f2bea376c1b0
/scraper/storage_spiders/sieuthithoitrangvn.py
1a39ea85dbfd0eec1f8681faf30cdf664614a7d1
[ "MIT" ]
permissive
nguyenminhthai/choinho
109d354b410b92784a9737f020894d073bea1534
d2a216fe7a5064d73cdee3e928a7beef7f511fd1
refs/heads/master
2023-05-07T16:51:46.667755
2019-10-22T07:53:41
2019-10-22T07:53:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
934
py
# Auto generated by generator.py. Delete this line if you make modification. from scrapy.spiders import Rule from scrapy.linkextractors import LinkExtractor XPATH = { 'name' : "//div[@id='team_images']/div[@class='mid']/ul/li[1]/img/@alt", 'price' : "//div[@class='deal-buy']/p[@class='deal-price']/strong", ...
[ "nguyenchungthuy.hust@gmail.com" ]
nguyenchungthuy.hust@gmail.com