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
c7d7a4883c4ab514cadf97faae9ff73459bd33ab
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/139/usersdata/165/59838/submittedfiles/diagonaldominante.py
075feccac89be566766f1e4839a07d0f21253793
[]
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
545
py
# -*- coding: utf-8 -*- import numpy as np def diagonaldominante(a): for i in range(0,a.shape[0],1): for j in range(0,a.shape[1],1): soma=soma+a[i,j] soma=soma-a[i,i] if soma<=a[i,i]: return False return True n=int(input('digite a ordem da matriz:')) a=n...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
28444482d26ea8121cb836029ad3e93d17809a1f
1b48b3980abbe11691310a7f35efef62bc0ae831
/Qt/QState/rogue.py
54a6897f40b4217183ae0b7b120dd1c64d4ca3cb
[]
no_license
FXTD-ODYSSEY/MayaScript
7619b1ebbd664988a553167262c082cd01ab80d5
095d6587d6620469e0f1803d59a506682714da17
refs/heads/master
2022-11-05T08:37:16.417181
2022-10-31T11:50:26
2022-10-31T11:50:26
224,664,871
45
11
null
null
null
null
UTF-8
Python
false
false
7,836
py
############################################################################# ## ## Copyright (C) 2010 velociraptor Genjix <aphidia@hotmail.com> ## Copyright (C) 2016 The Qt Company Ltd. ## Contact: http://www.qt.io/licensing/ ## ## This file is part of the Qt for Python examples of the Qt Toolkit. ## ## $QT_BEGIN_LIC...
[ "timmyliang@tencent.com" ]
timmyliang@tencent.com
38ae20856df89827f8a00aa25a5e08cb9eb6ceea
04975a41eb459f1528dcbdcb1143a3cb535aa620
/Array_easy/leetcode_1480.py
e74dd07db830ae28ab16b1a7251a89f541404fe5
[]
no_license
RickLee910/Leetcode_easy
2a50d632379826979a985e1b9950d4cf6bbd8b18
c2687daf334f96a908737067bb915b8b072d0d56
refs/heads/master
2023-01-29T11:09:26.701243
2020-12-02T04:36:14
2020-12-02T04:36:14
294,952,436
0
0
null
null
null
null
UTF-8
Python
false
false
165
py
class Solution: def runningSum(self, nums): temp = [] for i in range(len(nums)): temp.append(sum(nums[0:i + 1])) return temp
[ "13554543910@163.com" ]
13554543910@163.com
fe5a15533c33ffc5a7c712c95bd101c436d9abeb
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_211/ch11_2020_03_05_22_17_54_209757.py
0a1e69d816050755f964c115c59f668d1f8cb2ac
[]
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
146
py
import math def distancia_euclidiana(x1,y1,x2,y2): dx=x2-x1 dy=y2-y1 dist= mat.sqrt(dx**2+dy**2) return dist_
[ "you@example.com" ]
you@example.com
013d8ebbd04d376cb034689339509448b298d55a
d7d26c42cd541417edcd7b1992027286ecef7f04
/venv/Scripts/pip-script.py
ac7ceef7b30414cd771175275ec59f973fbcdf41
[]
no_license
plutoese/pluto_archive
bfba8df48ee5639a2666b33432004519b93ecbf7
e6ea64aaf867fd0433714293eb65a18a28d3136d
refs/heads/master
2021-10-22T14:46:20.540770
2019-03-11T12:31:08
2019-03-11T12:31:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
#!D:\github\pluto\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit( ...
[ "glen.zhang7@gmail.com" ]
glen.zhang7@gmail.com
cfbbb16014049c04dd2b6265a388c8013940b803
6d8ebfaf95299fa7fa892db4565f3597a72f5219
/rest_mongo/fileutils.py
58273a1ebc278d89e96d80a745f932d772670277
[]
no_license
videntity/georegistry
30aecec862f10d364cb72ce391656dc8d2a0d794
44fcda20d669650d1efbfee4907986654fd6d931
refs/heads/master
2021-01-23T20:13:20.899937
2011-06-11T13:15:36
2011-06-11T13:15:36
1,880,133
0
1
null
null
null
null
UTF-8
Python
false
false
5,346
py
#!/usr/bin/env python from django.conf import settings import sys, os from boto.s3.connection import S3Connection from boto.s3.key import Key import mimetypes from datetime import datetime, timedelta """ simpleS3.py """ # # simpleS3.py # # By: Alan Viars # Copyright Videntity Systems, Inc. 2009 # All rights Reseved...
[ "aviars@videntity.com" ]
aviars@videntity.com
30c0adc1bf302aa332f6238ab1dc498667a73b8f
7c74ceb9f8addcc0816d012e0b84b174b96e0def
/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_origin_scenarios.py
686c7b83182a5be9b4008bd6a6a38bd57a46f58c
[ "MIT", "LGPL-2.1-only", "LGPL-2.1-or-later", "GPL-1.0-or-later", "MPL-2.0", "LGPL-2.0-or-later", "BSD-3-Clause", "Apache-2.0", "BSD-2-Clause" ]
permissive
microsoft/azure-cli
4c826290e7a6f6bd27da3829b05e4f02ff6dc8d9
9ba64b33f6f78e2c3e42f8a147f59484300e8779
refs/heads/dev
2023-08-31T08:51:39.526556
2022-11-28T19:08:23
2022-11-28T19:08:23
370,900,439
7
7
MIT
2023-08-01T23:34:50
2021-05-26T03:59:41
Python
UTF-8
Python
false
false
14,702
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
[ "noreply@github.com" ]
microsoft.noreply@github.com
16a07c4a5130861ee929c4c6aa071b6b522282fa
ce29884aa23fbb74a779145046d3441c619b6a3c
/hot/101.py
59780c0d19d68e9723dd52964b189a62795bf5f8
[]
no_license
gebijiaxiaowang/leetcode
6a4f1e3f5f25cc78a5880af52d62373f39a546e7
38eec6f07fdc16658372490cd8c68dcb3d88a77f
refs/heads/master
2023-04-21T06:16:37.353787
2021-05-11T12:41:21
2021-05-11T12:41:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
645
py
#!/usr/bin/python3.7 # -*- coding: utf-8 -*- # @Time : 2020/11/18 21:40 # @Author : dly # @File : 101.py # @Desc : # 对称二叉树 class Solution(object): def isSymmetric(self, root): """ :type root: TreeNode :rtype: bool """ if not root: return True d...
[ "1083404373@qq.com" ]
1083404373@qq.com
f0706f295a0f5c0439315b98c658cffe45b19867
571d36f865b545c0a72134e586fbcddd6953a68b
/eng/tilemap.py
eccae387cca8ac4c2300f94fc619d7cc4e784680
[]
no_license
andrew-turner/Ditto
a5a79faaf31cc44d08ac5f70fa2ac51e51d1b60f
72841fc503c716ac3b524e42f2311cbd9d18a092
refs/heads/master
2020-12-24T14:19:01.164846
2015-05-20T08:42:26
2015-05-20T08:42:26
35,935,568
0
0
null
null
null
null
UTF-8
Python
false
false
21,642
py
import os import xml.etree.ElementTree as ET from . import settings from . import tileset from . import camera from . import npc from . import trainer from . import script_engine from . import events from . import error from . import data from . import globs from . import sound from . import environment_objects import...
[ "andrew.turner@merton.ox.ac.uk" ]
andrew.turner@merton.ox.ac.uk
7ce34c0f27ee62952ab7710218314c661a9307d4
922d5487bc18dd4d044d41d6b81cd14eb952c591
/build/maps/catkin_generated/pkg.develspace.context.pc.py
4cbdbf4d1fbe95e207783ee3aac5fe8a53f99498
[]
no_license
hanbincho/ros_ws
21b747f115cee85a3b8a578028ac44e069721c31
d92feebd845a69bb8535e8c48592caf2b94d6497
refs/heads/master
2020-04-02T15:45:16.395227
2018-11-07T04:09:07
2018-11-07T04:09:07
149,820,985
0
0
null
null
null
null
UTF-8
Python
false
false
363
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "maps" PROJECT_SPACE_DIR = "/home/hanb...
[ "hxc431@case.edu" ]
hxc431@case.edu
889fd162b2172cea0fc44dfa040f0d7923be9d3b
66927122b147061fefd486712e4caa797eb1f4c4
/python/sdssdb/database/__init__.py
b280fcd6ce6dbab0cde71e29575d28f47cedf8fb
[]
no_license
sdss/sdssdb_peewee
23ed0fb70e819bf2b2b73e55dedd4a16c55a547b
f64d042606eb3688e85f1450513afe38ae76e4b6
refs/heads/master
2021-03-27T12:37:24.793109
2018-06-10T19:36:10
2018-06-10T19:36:10
94,731,246
1
0
null
null
null
null
UTF-8
Python
false
false
25
py
from .database import *
[ "gallegoj@uw.edu" ]
gallegoj@uw.edu
1f778357bc0ffe65c05214c2bc7f0432cea408f5
aaa204ad7f134b526593c785eaa739bff9fc4d2a
/tests/providers/amazon/aws/hooks/test_step_function.py
54f9556b7016ac20701ad68f26a857dad7136944
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
cfei18/incubator-airflow
913b40efa3d9f1fdfc5e299ce2693492c9a92dd4
ffb2078eb5546420864229cdc6ee361f89cab7bd
refs/heads/master
2022-09-28T14:44:04.250367
2022-09-19T16:50:23
2022-09-19T16:50:23
88,665,367
0
1
Apache-2.0
2021-02-05T16:29:42
2017-04-18T20:00:03
Python
UTF-8
Python
false
false
2,550
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" ]
cfei18.noreply@github.com
67258a6994da1d273531135b1b83de48c41edf94
1adc05008f0caa9a81cc4fc3a737fcbcebb68995
/hardhat/recipes/mingw64/mingw64_libcsv.py
fdb7c482927ad1b4dc16ce316999985addbca2f6
[ "MIT", "BSD-3-Clause" ]
permissive
stangelandcl/hardhat
4aa995518697d19b179c64751108963fa656cfca
1ad0c5dec16728c0243023acb9594f435ef18f9c
refs/heads/master
2021-01-11T17:19:41.988477
2019-03-22T22:18:44
2019-03-22T22:18:52
79,742,340
0
0
null
null
null
null
UTF-8
Python
false
false
516
py
from .base import Mingw64BaseRecipe class Mingw64LibCsvRecipe(Mingw64BaseRecipe): def __init__(self, *args, **kwargs): super(Mingw64LibCsvRecipe, self).__init__(*args, **kwargs) self.sha256 = 'd9c0431cb803ceb9896ce74f683e6e5a' \ '0954e96ae1d9e4028d6e0f967bebd7e4' sel...
[ "clayton.stangeland@gmail.com" ]
clayton.stangeland@gmail.com
09a753257b8c194d653adc57fa8fc15b1ef05a9a
a5fdc429f54a0deccfe8efd4b9f17dd44e4427b5
/0x08-python-more_classes/4-rectangle.py
f4dd8584a36172af297d6445e87fa837e70d95f0
[]
no_license
Jilroge7/holbertonschool-higher_level_programming
19b7fcb4c69793a2714ad241e0cc4fc975d94694
743a352e42d447cd8e1b62d2533408c25003b078
refs/heads/master
2022-12-20T20:41:33.375351
2020-09-25T02:02:28
2020-09-25T02:02:28
259,471,881
0
0
null
null
null
null
UTF-8
Python
false
false
2,192
py
#!/usr/bin/python3 """Module for evolved rectangle""" class Rectangle: """class Rectangle with priv inst attrib width and height""" def __init__(self, width=0, height=0): self.__width = width self.__height = height @property def width(self): """Method to get value of width""" ...
[ "1672@holbertonschool.com" ]
1672@holbertonschool.com
01c294996900995b8b6e38364a71528e9204bfe2
2b3e9b32a38f4992c529de56b4baa51e1a674c4e
/ccui/testexecution/templatetags/execution.py
4e6b442e37794b16a9f4d7be4b72a9985bd786e8
[]
no_license
camd/caseconductor-ui
2c4f63fd6c20ee421012d8770b3b873c1b4f4232
deb6b22ed417740bf947e86938710bd5fa2ee2e7
refs/heads/master
2021-01-18T05:36:22.647236
2011-10-10T14:48:29
2011-10-10T14:48:29
2,447,257
0
0
null
null
null
null
UTF-8
Python
false
false
1,478
py
from django import template from django.template.loader import render_to_string from classytags.core import Tag, Options from classytags.arguments import Argument from ..models import TestCaseAssignmentList register = template.Library() class RunCase(Tag): name = "run_case" options = Options( Argu...
[ "carl@oddbird.net" ]
carl@oddbird.net
bde043a1c15730f638e92132c6348583ce9fcb26
69fff86731eb12d0879c7232c975728c0c444dc6
/modpin/src/SBI/beans/File.py
beb03e55a3dd74ba6cc72ec3f8e0a6e78fd088f5
[]
no_license
structuralbioinformatics/MODPIN
158565405b0e7bddaec554add53c4a33beddfd39
e06e0ac107de3a025d9d4961518393109dfd55db
refs/heads/master
2021-07-07T16:46:40.602447
2020-07-17T12:32:11
2020-07-17T12:32:11
132,624,679
2
1
null
null
null
null
UTF-8
Python
false
false
11,690
py
"""File author: jbonet date: 02/2013 @oliva's lab """ """ Import Standard Libraries """ import os import math import gzip import warnings """ Dependences in SBI library """ from SBI.error import FileError from SBI import SBIglobals class File(object): """The File class manages certain aspects of the I...
[ "patriciamirelabota@gmail.com" ]
patriciamirelabota@gmail.com
0fe941019348268ae95cac69f0823b8ce404d416
987ead1eb0877b9bdea16f3ee50bf19d5fe204bd
/DL/face_feature/faceFeature.py
a22d34eba15d893f8ddbe019281b82568ce7d04a
[]
no_license
ZHX1996/project
da62151e32254848a02292a2f9bdb1db17850d67
5a57be55cf173dde7e5a135a9cf1cfbc9a63a158
refs/heads/master
2021-07-15T11:36:02.412231
2020-05-15T08:51:34
2020-05-15T08:51:34
94,512,901
0
0
null
null
null
null
UTF-8
Python
false
false
1,100
py
from itertools import islice import numpy as np import io def train_data(): dtrain, label, buff = [], [], [] i = 0 train_file = io.open('training.csv', 'r', encoding='utf-8') for s in islice(train_file, 1, 3): p = s.split(',') for i in range(len(p)-1): buff.append(float(p[i...
[ "1365370292@qq.com" ]
1365370292@qq.com
f66d19147add74c58d7348ca20d812a10a1f7bf4
d19bfba1c92a59a9d5d888e87db32a2cd1e7bd00
/example.py
e405d017f7947ad196b0a5d5b3ecc3639cb05de9
[]
no_license
codesharedot/Plot-no-111
25a3c6a2b7895efc9f327a1b0695749361e2d858
e046244c102253f5e538edc892f3ac106b8eec61
refs/heads/master
2021-03-15T03:39:44.802296
2020-03-12T11:51:42
2020-03-12T11:51:42
246,821,312
0
0
null
null
null
null
UTF-8
Python
false
false
361
py
import numpy as np import matplotlib.pyplot as plt labels = ['G1', 'G2', 'G3', 'G4', 'G5'] m_means = [8,1,6,9,10] m_std = [2, 3, 4, 1, 2] width = 0.35 # the width of the bars fig, ax = plt.subplots() ax.bar(labels, m_means, width, yerr=m_std, label='Data') ax.set_ylabel('Scores') ax.set_title('Visual') ax.lege...
[ "codeto@sent.com" ]
codeto@sent.com
618f3a962bee7c18f831cf4dd618b01831a5b133
112bcac00e68ffeceeffec335a87411f141ad17f
/codes/ch4/gethostbyaddr-paranoid.py
55dde1e691537b3e573ceba19a6590a3b79bc697
[]
no_license
wwq0327/PyNP
a5a214fde76ef0701a8205a3509e762f47f8fc2c
684d13533d7296116aa7a099347365ca69a72004
refs/heads/master
2021-01-15T17:45:23.434786
2011-09-23T16:41:18
2011-09-23T16:41:18
2,421,118
0
0
null
null
null
null
UTF-8
Python
false
false
1,057
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ gethostbyaddr-paranoid.py ~~~~~~~~~~~~~~~~~~~~ :date: 2011-09-22 :from: Python Network Programming """ import sys, socket def getipaddrs(hostname): '''根据域名获得IP地址列表''' result = socket.getaddrinfo(hostname, None, 0, socket.SOCK_STREAM)...
[ "wwq0327@gmail.com" ]
wwq0327@gmail.com
c0fb6fdd9e20b83a6bea88c1db214ee925b3d934
27a2864de9876b53db02bcfd1df2342af193933a
/users/views.py
d49c14148e211a0e9975e507da46a9d553808334
[]
no_license
VinneyJ/learning_tracker
40d04c19800cfa62ed4789753441208bf5d92cf6
63b0b00e9d153d193c7f12f6af57f1b756d95c5d
refs/heads/master
2022-08-28T07:50:47.700443
2020-05-29T07:22:08
2020-05-29T07:22:08
266,212,290
0
0
null
null
null
null
UTF-8
Python
false
false
571
py
from django.shortcuts import render, redirect from django.contrib.auth import login from django.contrib.auth.forms import UserCreationForm # Create your views here. def register(request): if request.method != 'POST': form = UserCreationForm() else: form = UserCreationForm(data=request.POST) ...
[ "vincentjayden49@gmail.com" ]
vincentjayden49@gmail.com
87dc8f8a1fa3afbc82df866419a33d3ed8c8f399
d190750d6cb34e9d86ae96724cf4b56a2f57a74a
/tests/r/test_biopsy.py
dd6a45a631739b758f371642bb938df3da77b5b4
[ "Apache-2.0" ]
permissive
ROAD2018/observations
a119f61a48213d791de0620804adb8d21c2ad9fb
2c8b1ac31025938cb17762e540f2f592e302d5de
refs/heads/master
2021-09-24T04:28:02.725245
2018-09-16T23:06:30
2018-09-16T23:06:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
512
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import shutil import sys import tempfile from observations.r.biopsy import biopsy def test_biopsy(): """Test module biopsy.py by downloading biopsy.csv and testing shape of extracted data has 699 row...
[ "dustinviettran@gmail.com" ]
dustinviettran@gmail.com
33daf595f2ce39ec83394a7b12ab536c060a963d
e23a4f57ce5474d468258e5e63b9e23fb6011188
/140_gui/pyqt_pyside/_exercises/_templates/PyQt5 Quick Start PyQt5 Database Operation/7 5. Paging Query 3. Paging Query Implementation.py
1666eaaa01177d4de2dc0c3b30a26ae8e9ec6872
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
4,714
py
# ______ ___ # ____ ?.?S.. ______ ?SD.., ?SQ.., ?STM.., QSqlQueryModel # ____ ?.?C.. ______ * # ____ ?.?W.. ______ * # ______ re # # c_ DataGrid(?W..): # ___ - parent_None): # s__(DataGrid, self). - (parent) # # Declare Database Connections # db _ N.. # # Layout Manager # ...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
90141dabab155f6e69636187b33b83799277dfc1
b966dde596adfdf3bd8522abd45e84fa599ec474
/catapult_build/build_steps.py
6cd057f68add796ae97394e557188208a0ed9669
[ "BSD-3-Clause" ]
permissive
PratikshaDPai/catapult
4bad688ccb724ae8ce88e1b7cca1c9536afd11ec
8495de1eb482068897a88bbd3a59199d1a4525f5
refs/heads/master
2020-03-22T23:10:17.694564
2018-07-12T20:42:55
2018-07-12T21:15:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,562
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. import argparse import json import os import sys # This is the list of tests to run. It is a dictionary with the following # fields: # # name (required): Th...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
ddc1653e2d5e0653376da3e54a9f3d2962cead2d
a5698f82064aade6af0f1da21f504a9ef8c9ac6e
/huaweicloud-sdk-kms/huaweicloudsdkkms/v1/model/create_datakey_without_plaintext_request.py
2f468730dd17b485d1b5a2c0f176dd90c739fe61
[ "Apache-2.0" ]
permissive
qizhidong/huaweicloud-sdk-python-v3
82a2046fbb7d62810984399abb2ca72b3b47fac6
6cdcf1da8b098427e58fc3335a387c14df7776d0
refs/heads/master
2023-04-06T02:58:15.175373
2021-03-30T10:47:29
2021-03-30T10:47:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,539
py
# coding: utf-8 import pprint import re import six class CreateDatakeyWithoutPlaintextRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
8acc3647db6c1987fba61153233611a325584767
fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd
/ui/base/ime/DEPS
db197e21a60fea15ba02e213495b3979bdc5986e
[ "BSD-3-Clause" ]
permissive
wzyy2/chromium-browser
2644b0daf58f8b3caee8a6c09a2b448b2dfe059c
eb905f00a0f7e141e8d6c89be8fb26192a88c4b7
refs/heads/master
2022-11-23T20:25:08.120045
2018-01-16T06:41:26
2018-01-16T06:41:26
117,618,467
3
2
BSD-3-Clause
2022-11-20T22:03:57
2018-01-16T02:09:10
null
UTF-8
Python
false
false
42
include_rules = [ "+chromeos/system", ]
[ "jacob-chen@iotwrt.com" ]
jacob-chen@iotwrt.com
7e1e14422e5c20ca970f9ac3f337d8f70a1365ef
99985209fb8fa250886db43ee8c4bd3de9ec4ae6
/Iris_flower_predict/iris.py
6b6d64458aedccec48cfa916357bf540cc5498f8
[]
no_license
Arpankarar/mini-data_science-projects
c7f986eacfb0901187981cbe29b978b38a3dddac
1721226f505a6e41d3588ecc9cf57c1171c7f776
refs/heads/master
2023-06-24T02:01:28.406361
2021-07-31T08:58:48
2021-07-31T08:58:48
390,634,538
0
0
null
null
null
null
UTF-8
Python
false
false
1,277
py
import streamlit as st import pandas as pd from sklearn import datasets from sklearn.ensemble import RandomForestClassifier st.write(""" # Simple Iris Flower Prediction App This app predicts the **Iris flower** type! """) st.sidebar.header('User Input Parameters') def user_input_features(): sepal_length = st.sid...
[ "you@example.com" ]
you@example.com
01e44159ebc667da0d152037de82f1570e56a198
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02796/s829176641.py
db5435558a236408a2920925ea8b5565137ac7e4
[]
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
335
py
_, *_XL = open(0).read().split() XL = list(zip(*[map(int, iter(_XL))]*2)) ans = 0 t = -10**10 # 数直線のマイナス方向からスタートする arms = [(X-L, X+L) for X, L in XL] arms_sorted = sorted(arms, key=lambda k:k[1]) ans = 0 for s, e in arms_sorted: if t <= s: t = e ans += 1 print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
f605fca32647d4acd9406b4bfc685b273229d17d
640729166526060d5761458745a74a02b6fa4213
/notebooks/solutions/day4-01-02.py
a893dd5268ede5252fcd6ca9cc82e21c705788dc
[]
no_license
AI-BlackBelt/yellow
9dbb8b973a39d29ee071fb46fa164127836e0dbb
560dba2268fa8dd4e4fc327bfe009b79784022ab
refs/heads/master
2020-04-21T12:25:49.082139
2020-03-23T15:47:56
2020-03-23T15:47:56
169,561,717
8
3
null
2019-05-27T15:53:20
2019-02-07T11:32:49
Jupyter Notebook
UTF-8
Python
false
false
150
py
knn = KNeighborsClassifier(n_neighbors=best_n_neighbors) knn.fit(X_train, y_train) print("test-set score: {:.3f}".format(knn.score(X_test, y_test)))
[ "g.louppe@gmail.com" ]
g.louppe@gmail.com
36a49e6a2e38193458fb28a4d0df0bb692bf122d
dd5b7241ae3deed66254466d6e089cbb15ff0623
/build/driver/depth_camera/iai_kinect2-master/kinect2_bridge/catkin_generated/pkg.installspace.context.pc.py
da100c56a86553c3e2284bf0a413954d9dea2c01
[ "BSD-2-Clause" ]
permissive
lty1994/ros_project
189dde5842a5bcb9392a70383a37822ccafb7de2
d55ce07c592d545f9a43330fa6bf96af6651575f
refs/heads/master
2020-04-14T16:14:22.878838
2019-01-04T05:31:46
2019-01-04T05:31:46
163,946,343
0
0
null
null
null
null
UTF-8
Python
false
false
483
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/autolabor/catkin_ws/install/include".split(';') if "/home/autolabor/catkin_ws/install/include" != "" else [] PROJECT_CATKIN_DEPENDS = "kinect2_registration".replace(';', ' ') PKG_CONFIG_LIBRARIES...
[ "lty2008@vip.qq.com" ]
lty2008@vip.qq.com
92ef1e32731390c9733ad4e327465dc20028c848
6be845bf70a8efaf390da28c811c52b35bf9e475
/windows/Resources/Python/Core/Lib/encodings/utf_32.py
ba16204eb2a42eb85e80a813dddfdc8cb0d0d369
[]
no_license
kyeremalprime/ms
228194910bf2ed314d0492bc423cc687144bb459
47eea098ec735b2173ff0d4e5c493cb8f04e705d
refs/heads/master
2020-12-30T15:54:17.843982
2017-05-14T07:32:01
2017-05-14T07:32:01
91,180,709
2
2
null
null
null
null
UTF-8
Python
false
false
4,658
py
# uncompyle6 version 2.9.10 # Python bytecode 2.7 (62211) # Decompiled from: Python 3.6.0b2 (default, Oct 11 2016, 05:27:10) # [GCC 6.2.0 20161005] # Embedded file name: utf_32.py """ Python 'utf-32' Codec """ import codecs import sys encode = codecs.utf_32_encode def decode(input, errors='strict'): return codecs...
[ "kyeremalprime@gmail.com" ]
kyeremalprime@gmail.com
bacac8bbe869e43f529e22b4dfca17df8767215b
0107ea802fe10efda2c9cb8ccd43e21f5e3217f2
/hrnet/detr.py
24036c94561b0033108e6b9510ad5afd35ef6c2b
[ "Apache-2.0" ]
permissive
openseg-group/detr
e5c25f238c346a3fded97eb2242a85c2d9a5412b
d947cf39ab716aedf7502103fc51b85b9d82822b
refs/heads/master
2023-01-31T16:43:10.818178
2020-12-20T08:26:32
2020-12-20T08:26:32
267,306,642
0
0
Apache-2.0
2020-10-14T07:14:08
2020-05-27T11:56:10
null
UTF-8
Python
false
false
21,058
py
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved """ DETR model and criterion classes. """ import torch import torch.nn.functional as F from torch import nn from util import box_ops from util.misc import (NestedTensor, nested_tensor_from_tensor_list, accuracy, get_world_siz...
[ "yhyuan@pku.edu.cn" ]
yhyuan@pku.edu.cn
8a8938f84a7c687b66e0d1b18d01c112f7864e2f
32fb5fbaf49cf767f276fc6cee0c31d2f63de159
/node_modules/secp256k1/build/config.gypi
3a1a2f612a9e9bb9a943190cc0e0235962abe708
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
laddukavala/ladduBabu
9d7b771516e78a3091da44ff89b01a2aaeb50eb6
a47238f8db435fc2561bd4b994caaa2e5e36c555
refs/heads/master
2022-12-14T20:11:30.634919
2019-06-01T06:29:45
2019-06-01T06:29:45
189,697,323
0
0
null
2022-12-09T04:46:01
2019-06-01T06:11:05
JavaScript
UTF-8
Python
false
false
4,933
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "coverage": "false", "debug_devtools": "node", "debug_http2"...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
6b9226b90a7de587d71b30cad44ecff48e5b36f2
69096ca0d67b3d6809a2fe05af51341df62ebc60
/tibiapy/errors.py
7d46deea3b3e3d421b16d9b41493ecba7f3cf1fd
[ "Apache-2.0" ]
permissive
Galarzaa90/tibia.py
6f648aff8b6fbac7be4886435711f7ff08420402
f8c145dd597c558398bac50e035711e34863b571
refs/heads/main
2023-08-17T15:50:31.354488
2023-08-17T14:00:07
2023-08-17T14:00:07
143,892,750
30
12
Apache-2.0
2023-08-24T17:24:19
2018-08-07T15:25:23
Python
UTF-8
Python
false
false
2,521
py
"""Exceptions thrown by tibia.py.""" from enum import Enum from typing import Type, Any class TibiapyException(Exception): """Base exception for the tibiapy module. All exceptions thrown by the module are inherited from this. """ pass class InvalidContent(TibiapyException): """Exception thrown...
[ "allan.galarza@gmail.com" ]
allan.galarza@gmail.com
6311dfd903716c2ca23ce2202aa867bc5a567a78
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_116/1755.py
8c9f6f86daffb3dad052205a0bf1c9fee9d771c6
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,502
py
import sys inFile = open(sys.argv[1], 'r') outFile = open(sys.argv[1][:-2]+"out", "w") number_of_input = int(inFile.readline().rstrip("\n")) #print number_of_input count = 0 while(count != number_of_input): matrix = [] for line in range(0,4): attrib = inFile.readline().rstrip("\n") attrib = ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
3405e2abb735e5a7131c3bcfa7208aef3d54ecfc
5a56592fb347f650cd3c7ada273bf58902c8c925
/05_proteins_to_graph.py
c61886adf64c7a28c39d8467c3f76d6333e2bdc4
[]
no_license
chelseaju/ProteinGraph
05a1541719442966a76a9f8e11bc2552f41ada75
75a96a4eab4a7b59b18be4db209c855f2912ab1a
refs/heads/master
2016-09-08T10:26:50.338110
2016-01-27T00:58:36
2016-01-27T00:58:36
30,887,654
0
1
null
null
null
null
UTF-8
Python
false
false
3,874
py
""" Retrieve proteins from a given family Convert these proteins into graph format """ import argparse, re, os, time, random from pdb import * from graph import * from echo import * POSITIVE = [] def build_pfam_reference(pfam_ref, pfam_id): fh = open(pfam_ref, 'r') for line in fh: ...
[ "chelseaju@ucla.edu" ]
chelseaju@ucla.edu
3746a660384a515254a4dccf0078e0b6055607fc
48e294e8cec03960710b10fe6774b8e7145f4d50
/documentation/environment_canada/ec_density.py
09567cbf9b16c4a11ab57d39bc738bcf1d7d6a66
[ "Unlicense" ]
permissive
NOAA-ORR-ERD/OilLibrary
891744dc9877c40fe55a0f38712d9cc4d3fd12fc
a09a51721e43b040d19549531c0370efc956ebd0
refs/heads/master
2021-12-23T16:00:49.425884
2021-12-01T22:33:11
2021-12-01T22:33:11
57,332,172
11
15
NOASSERTION
2021-09-16T08:51:49
2016-04-28T20:37:11
Python
UTF-8
Python
false
false
4,510
py
from oil_library.models import Density from ec_xl_parse import (get_oil_properties_by_name, get_oil_properties_by_category) from ec_oil_props import get_oil_weathering def get_oil_densities(oil_columns, field_indexes): ''' Getting densities out of this datasheet is more tricky t...
[ "james.makela@noaa.gov" ]
james.makela@noaa.gov
c1d12bd6d916dad983128b2cdd959b18503023ab
237c1abede4dfb24649087a62bbe7af0cb5f4b80
/pwncat/commands/connect.py
e36cb6510d7fc4d68087a3d465648c3dce385a1f
[]
no_license
jimmyfish/pwncat
9f17a2a7807ac0c25a86a9ebcdaee8892f07b47c
59ab922de9f2674bcdcd60564749c106ccd3a2a6
refs/heads/master
2023-02-24T22:49:47.945083
2021-02-02T06:10:32
2021-02-02T06:10:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,579
py
#!/usr/bin/env python3 from colorama import Fore import ipaddress import os.path import socket import re import paramiko from prompt_toolkit import prompt from rich.progress import Progress, BarColumn import pwncat from pwncat.util import console from pwncat.commands.base import ( CommandDefinition, Complete,...
[ "caleb.stewart94@gmail.com" ]
caleb.stewart94@gmail.com
3dd1b171406bc7721b63a12c64a6e50545f3769d
7c11455f583c73b4c7c57e61a78229231a3798f8
/reinforcement_learning/models/base_model.py
1cbd8f29f1bb922c7c1ce17ae3bcc78a6b4b9c25
[]
no_license
twobackfromtheend/quRL
d75215f24fbe3c4bccfce5f627c20655e0329951
8b40017793ca591e8d8cba469bdd71c32b0a1d5a
refs/heads/master
2020-04-03T17:45:54.975865
2019-01-19T12:24:42
2019-01-19T12:25:08
155,458,154
1
0
null
null
null
null
UTF-8
Python
false
false
634
py
import numpy as np class BaseModel: def __init__(self, inputs: int, outputs: int): self.inputs = inputs self.outputs = outputs def build_model(self): raise NotImplementedError def save_model(self, filename: str): raise NotImplementedError def create_copy(self): ...
[ "harry1996@gmail.com" ]
harry1996@gmail.com
81f9769d137023d2fb464ee389955229c53a657e
b53e3d57d31a47a98d87141e44a5f8940ee15bca
/src/programy/parser/template/nodes/select.py
e820619919546b11e755c04bc00a6a7969a28fcc
[ "MIT" ]
permissive
Chrissimple/program-y
52177fcc17e75fb97ab3993a4652bcbe7906bd58
80d80f0783120c2341e6fc57e7716bbbf28a8b3f
refs/heads/master
2020-03-29T13:20:08.162177
2018-09-26T19:09:20
2018-09-26T19:09:20
149,952,995
1
0
null
2018-09-23T06:11:04
2018-09-23T06:11:04
null
UTF-8
Python
false
false
9,024
py
""" Copyright (c) 2016-17 Keith Sterling http://www.keithsterling.com 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 the rights to use, copy, mod...
[ "keith@keithsterling.com" ]
keith@keithsterling.com
62bb90eaf5656edc3f0d26b8615d22a301750586
528976ba81dfab381e2273d9784c7e21d5c90c34
/snake/main.py
d3523a15e019c4c8e174d2170158039e1a98978f
[ "MIT" ]
permissive
uaiuaief/Machine-Learning-for-Snake-Game
d65478d08b8d2bf4c06e0668dfdb41b1b6d0514c
1a36ef4468eea9f80f44fb1b8d115790262320c5
refs/heads/master
2020-09-14T20:24:55.545625
2019-11-28T21:15:46
2019-11-28T21:15:46
223,244,973
0
0
null
null
null
null
UTF-8
Python
false
false
3,568
py
import random from tkinter import mainloop, CENTER, NW class SnakeAPP: config = { "TICK": 100, "SNAKE_BODY_COLOR": 'green', "SNAKE_HEAD_COLOR": 'lime green', "BACKGROUND_COLOR": 'black', "FOOD_COLOR": 'red', "GRID_WIDTH_IN_SQMS": 20, "GRI...
[ "=" ]
=
380ab18c6dccc5590c8334095f89d932b866f7ae
b6721322ada8cc2820df67c5d28c568edb28cde9
/DectoRoman_2019_2020.py
ab3070bf36643dc4704e30c6110caf9d4845908c
[]
no_license
Ticonderoga/CoursInfoL2
0d68914b2cc94e8df42b296524a16e4b88d6b44d
8d65b2f269ca1bd0e923082f9506194600969f0c
refs/heads/master
2021-04-11T03:38:09.547703
2020-05-15T14:32:10
2020-05-15T14:32:10
248,989,376
0
0
null
null
null
null
UTF-8
Python
false
false
952
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Mar 24 17:04:01 2020 @author: phil """ def DectoRoman(deci) : """ Fonction permettant de transformer un nombre en chiffre romain Parameters ---------- deci : Integer Nombre à convertir en chiffres romains. Returns ...
[ "travis@travis-ci.org" ]
travis@travis-ci.org
65cad5d0de4d5aa9756f02fbc08038d47c0d8101
381dc64b93f0bd8cb25553f2415a4add64eb1d39
/arrange_good_one.py
8d0b0d53c4648f03dacb07dabf4d00c856a60821
[]
no_license
EmuxEvans/py_learn
ce1abd29e5ba8533b4208101ad52aebd057c2038
69476ec5b482eb4b4ddce2aff4ed6e934e08b7f1
refs/heads/master
2021-01-21T02:55:59.716050
2015-03-19T13:17:29
2015-03-19T13:17:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
637
py
import copy def arrange(n): if n <= 0: return result = [[]] for i in range(n): temp = [] for each in result: for j in range(i + 1): t = copy.copy(each) t.insert(j, i) temp.append(t) result = copy.deep...
[ "metathinkerk@gmail.com" ]
metathinkerk@gmail.com
b1fb8191d74cba456913da37765a7243bad750a6
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_examples/_algorithms_challenges/pybites/beginner/038_using_elementtree_to_parse_xml/save4_nopass.py
610acd10a85062c21c2e9a451793e4d85cb06c73
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
1,493
py
import xml.etree.ElementTree as ET # from OMDB xmlstring = '''<?xml version="1.0" encoding="UTF-8"?> <root response="True"> <movie title="The Prestige" year="2006" rated="PG-13" released="20 Oct 2006" runtime="130 min" genre="Drama, Mystery, Sci-Fi" director="Christopher Nolan" /> <movie title="The Dark Knight" ye...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
0b0b87f8cb05a693503c52e614e6e36a9734221a
d42a65c149b004228fd72586a0f79b17b0545e92
/python_learn/lect06/venv/Scripts/easy_install-script.py
110794ca9fc2b2a0627e9841ca82b632eacadab0
[]
no_license
chenbiningbo/programming_learning
34a642823c6bc8d54c4b912fa51a4ad6e9f23c15
2cfb2ca509d7d1ccc4779be4d7a35625010cb98a
refs/heads/master
2020-12-27T12:51:05.640281
2020-02-18T14:02:40
2020-02-18T14:02:40
237,903,158
0
0
null
null
null
null
UTF-8
Python
false
false
434
py
#!D:\python_learn\lect06\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys...
[ "bi.chen@chnenergy.com.cn" ]
bi.chen@chnenergy.com.cn
e11f5b8a6bce94fb2fb1eed0c75f6808a52e33b9
1aa6e732645f4603c05a1c9262f6fbb1af76b056
/patchinfo/Google_Apps/gapps-task650.py
0d9fc26ced139d01b3e77087393f74a2da5240a8
[]
no_license
nauddin257/DualBootPatcher
f2831bdc72d8f94787a1d3ad94d0d85103316dd5
024af7ecb38ba6b4e3f1ae16ab81e32cd213864f
refs/heads/master
2020-12-11T07:26:46.916515
2013-11-14T03:54:41
2013-11-14T03:54:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
451
py
from fileinfo import FileInfo import re file_info = FileInfo() filename_regex = r"^gapps-jb\([0-9\.]+\)-[0-9\.]+\.zip$" file_info.patch = 'Google_Apps/gapps-task650.dualboot.patch' file_info.has_boot_image = False def matches(filename): if re.search(filename_regex, filename): return True e...
[ "chenxiaolong@cxl.epac.to" ]
chenxiaolong@cxl.epac.to
5e6661b7a1ff8065f2e5e82f2a5ce4f5f69c88b9
8b25a7984bd18fc356232083da0bb2f829a1dbd4
/ineco_point_reward/__init__.py
446998d61d4fb32feff1de8c38b9b0e55af31f0f
[]
no_license
anndream/new_mixprint_addons
f94067a1248cf3d30ce4e937d5fb3c96bc9cb482
1b4b04388e723dc7137dd8d2a29fdef3f59f4861
refs/heads/master
2020-04-09T19:17:36.882746
2015-09-10T04:41:13
2015-09-10T04:41:13
42,242,457
0
2
null
2015-09-10T12:13:56
2015-09-10T12:13:56
null
UTF-8
Python
false
false
1,106
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU...
[ "thitithup@gmail.com" ]
thitithup@gmail.com
e9025879b824e2a02721409d1fe7e3c7fa642b83
147519505f3c47e5f10d9679e07d3719931b9fd0
/ecommerce/product/views.py
d03412aa093af7ddfd44127d9b19f824f955fc21
[]
no_license
grbalmeida/hello-django
85ed28d8d47a9a2e072f3eecd13d22fb2e977a31
9ef261ba5faeac3de8d36eeb7efa8974e5d1e661
refs/heads/master
2020-08-12T10:10:48.554349
2019-12-20T01:18:33
2019-12-20T01:18:33
214,748,310
0
0
null
null
null
null
UTF-8
Python
false
false
5,585
py
from django.shortcuts import render, redirect, reverse, get_object_or_404 from django.views.generic import ListView from django.views.generic.detail import DetailView from django.views import View from django.http import HttpResponse from django.contrib import messages from . import models from user_profile.models impo...
[ "g.r.almeida@live.com" ]
g.r.almeida@live.com
11115846bcf63ce3f18a74a99918a5763ab07da3
8da91c26d423bacbeee1163ac7e969904c7e4338
/pyvisdk/enums/net_ip_config_info_ip_address_status.py
72780ca843b9d782573c01057d893237fb90437c
[]
no_license
pexip/os-python-infi-pyvisdk
5d8f3a3858cdd61fb76485574e74ae525cdc7e25
1aadea0afbc306d09f6ecb9af0e683dbbf961d20
refs/heads/master
2023-08-28T02:40:28.789786
2020-07-16T04:00:53
2020-07-16T04:00:53
10,032,240
0
1
null
null
null
null
UTF-8
Python
false
false
323
py
######################################## # Automatically generated, do not edit. ######################################## from pyvisdk.thirdparty import Enum NetIpConfigInfoIpAddressStatus = Enum( 'deprecated', 'duplicate', 'inaccessible', 'invalid', 'preferred', 'tentative', 'unknown', ...
[ "jmb@pexip.com" ]
jmb@pexip.com
7ff5bc8c0d237ac504daf3e4602b7d93d76731a9
d841f4b4b1a7d1837c84fbe431df201ecbccb0ca
/hydrus/client/metadata/ClientMetadataMigrationImporters.py
ad4ce3a9411bdf300d3f9a0079c087b8f9f8881f
[ "WTFPL" ]
permissive
floogulinc/hydrus
ed109f2fcc9af0b33543b18a65038b74f2deab3d
dfde69b5f28d11778a2bec3b5f4188c98363d202
refs/heads/master
2023-08-16T23:09:43.998955
2023-07-22T18:06:10
2023-07-22T18:06:10
177,238,251
1
0
NOASSERTION
2022-02-15T11:47:59
2019-03-23T03:13:59
Python
UTF-8
Python
false
false
26,865
py
import os import typing from hydrus.core import HydrusConstants as HC from hydrus.core import HydrusGlobals as HG from hydrus.core import HydrusSerialisable from hydrus.core import HydrusText from hydrus.client import ClientConstants as CC from hydrus.client import ClientParsing from hydrus.client import ClientString...
[ "hydrus.admin@gmail.com" ]
hydrus.admin@gmail.com
69b8440a1cf5de7d0991dc2472928b20cde2bdb3
43cdd7cb26fe44b1ed7de6a46f8b5e680c9b1372
/tests/components/mqtt/test_subscription.py
5ee784b8ab76967c31edb266f4a6e916a62b2fc7
[ "Apache-2.0" ]
permissive
OpenPeerPower/Open-Peer-Power
02ec5c133564b47c6f72f669e844a666643cacd6
940a04a88e8f78e2d010dc912ad6905ae363503c
refs/heads/master
2022-08-16T09:38:49.994009
2021-05-29T03:54:13
2021-05-29T03:54:13
183,174,237
1
0
Apache-2.0
2022-07-15T18:43:02
2019-04-24T07:35:47
Python
UTF-8
Python
false
false
5,209
py
"""The tests for the MQTT subscription component.""" from unittest import mock from openpeerpower.components.mqtt.subscription import ( async_subscribe_topics, async_unsubscribe_topics, ) from openpeerpower.core import callback from tests.common import async_fire_mqtt_message, async_mock_mqtt_component asyn...
[ "pcaston@arach.net.au" ]
pcaston@arach.net.au
251e27541c26ade09017922536afaa65c6e7a613
a816de2c05290e9a1dcfe1e3e50b96e36792898a
/TESSLCclass.py
30552e94e69fbe6cad0cd43162dfb7f19ae0be04
[]
no_license
r-cloutier/mdwarfparams
2998defb6ed62b6ec8fe1d6a868a9541ea350c15
e62f10473f91405e2f9cf4998e6ba85a5fd73243
refs/heads/master
2021-06-17T14:27:25.835864
2019-08-26T18:04:08
2019-08-26T18:04:08
145,714,853
0
0
null
null
null
null
UTF-8
Python
false
false
675
py
from imports import * from truncate_cmap import * def loadpickle(fname): fObj = open(fname, 'rb') self = pickle.load(fObj) fObj.close() return self class TESSLC: def __init__(self, TICid, index): try: os.mkdir('PipelineResults') except OSError: pass self.TICid = TICid self.folder_...
[ "cloutier@astro.utoronto.ca" ]
cloutier@astro.utoronto.ca
4a0119a6b16b4ec5de4f7084e981c22e29875eae
b049ec2f36bb63537ca5b73717635f2dc0126cda
/399_Evaluate_Division/399_2.py
4a28c1a4a9e5a35f0b88010918c5a7d6d2df7b9b
[]
no_license
massquantity/LeetCode
01d29fe8922b7545140015efbda0f71b04043124
e298cdab86a4de81bf5a44579c54b5bc7bcb1618
refs/heads/master
2021-07-20T07:18:38.109707
2021-07-03T04:11:15
2021-07-03T04:11:15
135,297,184
3
1
null
null
null
null
UTF-8
Python
false
false
1,392
py
class Solution: def calcEquation(self, equations: List[List[str]], values: List[float], queries: List[List[str]]) -> List[float]: graph = collections.defaultdict(set) weights = dict() visited = set() def bfs(start, end): if (start, end) in weights: return...
[ "wdmjjxg@163.com" ]
wdmjjxg@163.com
afeaee0d2e5f5995448744d53b52869fc13fa776
52b5773617a1b972a905de4d692540d26ff74926
/.history/perm_20200622013715.py
9bb5e958673f171c3512fadc89c47141dea344c0
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
269
py
def sequence(n,k): newArr = [] for i in range(1,n+1): newArr.append(i) # index == k/n-1! answer = " " i = 1 factor = 1 while i <= n-1: factor *=i i +=1 print(factor) index = k/factor sequence(3,3)
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
06052e5198f1bd847230dc07432e93da469d8b0e
3cca537e780ba900087b187d1494713f0c81a24d
/lenstools/tests/test_limber.py
00cf52cad33fc6b031b5476bb4e990699ccf8f7a
[ "MIT" ]
permissive
apetri/LensTools
4119c1b5c0570fb6e4078fa67fb3acd5b443c0a5
9151988bfe6fbd6809353a33cfb556d44b6806ed
refs/heads/master
2023-07-19T02:03:26.708366
2021-01-21T14:26:47
2021-01-21T14:26:47
27,881,137
32
33
null
2023-07-12T10:53:00
2014-12-11T16:43:33
Python
UTF-8
Python
false
false
680
py
import os from ..simulations.limber import LimberIntegrator from ..utils.defaults import load_power_default from .. import dataExtern import numpy as np import matplotlib.pyplot as plt from astropy.cosmology import WMAP9 def test_convergence_power(): l = np.logspace(0.0,5.0,100) integrator = LimberIntegrator(...
[ "apetri@phys.columbia.edu" ]
apetri@phys.columbia.edu
2c475eea931a29a01165cdd68c61090b2c880580
a86fda09a185ebf367e31cf26589161303f9497a
/metrics/_version.py
d8cec597f3c241c088dae32efea12b629a4a3b11
[ "BSD-3-Clause" ]
permissive
kristianeschenburg/metrics
67ec2cd5b697241eee35da46daf71b2d735cdb64
53900f8130cb7dd762ae3e816225fb4f178a5b29
refs/heads/master
2020-03-25T10:27:29.623361
2019-04-02T21:20:08
2019-04-02T21:20:08
116,600,441
0
0
null
null
null
null
UTF-8
Python
false
false
18,454
py
# This file helps to compute a version number in source trees obtained from # git-archive tarball (such as those provided by githubs download-from-tag # feature). Distribution tarballs (built by setup.py sdist) and build # directories (produced by setup.py build) will contain a much shorter file # that just contains t...
[ "keschenb@uw.edu" ]
keschenb@uw.edu
e0f4dcaaccc52eb5169348eead02c5eaf9fdb071
925a067ff1473cf45ad8aa9cf99db4311a7799ed
/Sandbox/Old/shawn_model.py
0bd190b07ece28f4d7b9a2b74c48e1239514d191
[]
no_license
ORNL-Fusion/Collector-Probes
fd7250738e797befa06fad487e9d2498b61436a5
16e15a0d3dcaa8a88da25aaf3ea126e9eb2a5f96
refs/heads/master
2022-09-03T01:02:39.520659
2022-08-28T13:28:53
2022-08-28T13:28:53
95,914,293
1
3
null
2019-11-14T15:00:39
2017-06-30T18:34:29
Python
UTF-8
Python
false
false
13,635
py
# This program determines the total flux to a collector probe (maxFlux). The # basis is net_flux = maxFlux - loss_flux, where loss_flux is due to sputtering. from __future__ import print_function from scipy import interpolate from scipy.optimize import curve_fit import numpy as np import open...
[ "shawnzamperini@gmail.com" ]
shawnzamperini@gmail.com
bcc5aaa88ec03798f57cbf2092d41e69f6d8be0c
e4806fe953cbb76a6baf1f27ae40562561014f36
/labravel/MIS_SYS/MAIN.py
ab1d0b37968eeddf9ae34f447d78387237cb0f3c
[]
no_license
LaBravel/Tedu-code
701daa5f49ab42129db0a4684c8e7b3cbcbe1d65
9c93e9d88e940e627c7a3d1e8c2519035b462086
refs/heads/master
2020-04-27T16:33:55.535261
2019-03-08T07:27:29
2019-03-08T07:27:29
174,486,026
0
0
null
null
null
null
UTF-8
Python
false
false
950
py
from MENU import * from STUDENT import * def main(): DATE = [] while 1 : show_menu() choice = input('要进行什么操作?') if choice == '1' : input_student(DATE) elif choice == '2' : output_student(DATE) elif choice == '3' : delete_student(DATE) ...
[ "463662798@qq.com" ]
463662798@qq.com
2967eddce5d6006864ec854b7c7f9d7c3e829f9e
b144c5142226de4e6254e0044a1ca0fcd4c8bbc6
/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/flowprofile.py
ea7288f4d656a7167aabf2db92581bc9dd90f409
[ "MIT" ]
permissive
iwanb/ixnetwork_restpy
fa8b885ea7a4179048ef2636c37ef7d3f6692e31
c2cb68fee9f2cc2f86660760e9e07bd06c0013c2
refs/heads/master
2021-01-02T17:27:37.096268
2020-02-11T09:28:15
2020-02-11T09:28:15
239,721,780
0
0
NOASSERTION
2020-02-11T09:20:22
2020-02-11T09:20:21
null
UTF-8
Python
false
false
4,008
py
# MIT LICENSE # # Copyright 1997 - 2019 by IXIA Keysight # # 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 # the rights to use, copy, modify,...
[ "srvc_cm_packages@keysight.com" ]
srvc_cm_packages@keysight.com
2d04d274781ae60c5385e020cc01d8fc1c3b99bc
9f7c9201b86128d2459e463d3bb1c60b7e434a78
/examples/tree_benchmark.py
ea39ec0d7c7b9965ca1cf840687150bca077ec9e
[]
no_license
jackd/deep-cloud
b4a171a290c22a113b8a6dd3a49c875afae84b93
9adb25bfcdfd1f2faf3820378cc27a952aa90f9d
refs/heads/master
2020-07-05T19:32:38.824051
2019-10-25T04:04:43
2019-10-25T04:04:43
202,748,871
0
0
null
null
null
null
UTF-8
Python
false
false
1,511
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import numpy as np from time import time from tqdm import tqdm import tensorflow_datasets as tfds from deep_cloud.problems.partnet import PartnetProblem from deep_cloud.ops.np_utils.tree_utils import pykd pro...
[ "thedomjack@gmail.com" ]
thedomjack@gmail.com
b273b59111c729a742b4aba94c9189dbef82690c
b16bc512603cbe3bdc5a56586cfc9147fe5fb3f6
/venv/bin/rst2latex.py
944a30a66b8d95f943a166fadb0372224d4a4a08
[]
no_license
hoang-ho/TechTogether
caa565b14165c7b0889bd4232098e16a0137ba67
fa4ca8375ab00d1791d2fce02384503eff5df7e0
refs/heads/master
2020-05-01T08:24:22.561868
2019-05-13T06:55:46
2019-05-13T06:55:46
177,377,979
2
2
null
2019-05-13T06:55:47
2019-03-24T06:15:31
Python
UTF-8
Python
false
false
829
py
#!/Users/hoangho/TechTogether/TTB_Backup/venv/bin/python # $Id: rst2latex.py 5905 2009-04-16 12:04:49Z milde $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ A minimal front end to the Docutils Publisher, producing LaTeX. """ try: import locale ...
[ "hoangho@Hoangs-MacBook-Pro.local" ]
hoangho@Hoangs-MacBook-Pro.local
1defbd42fd03ec6153cd47a3c7858fd4ba026f91
360ff148d658caf1736ae159954c928d2ce545f7
/alembic/env.py
019c1b1fff7cee38417508e2ad8a39313905a451
[ "MIT" ]
permissive
beanjo55/KerbalStuff
3305401122186a692a345a6a0a5fad63f8eb864c
18e8c517b6f79c2839236a9507464ab0987f103e
refs/heads/master
2021-01-18T11:11:04.293762
2016-02-17T12:10:21
2016-02-17T12:10:21
51,928,777
1
0
null
2016-02-17T14:34:06
2016-02-17T14:34:06
null
UTF-8
Python
false
false
2,076
py
from __future__ import with_statement import os, sys sys.path.append(os.getcwd()) from alembic import context from sqlalchemy import engine_from_config, pool from logging.config import fileConfig # this is the Alembic Config object, which provides # access to the values within the .ini file in use. config = context.co...
[ "sir@cmpwn.com" ]
sir@cmpwn.com
a9c826a7328ff7e2ee198e2896b50d8824d8f631
367d2670c75d385d122bca60b9f550ca5b3888c1
/gem5/src/cpu/testers/garnet_synthetic_traffic/GarnetSyntheticTraffic.py
8ad00b64256a9917a7ada32c5171b7828a640d29
[ "BSD-3-Clause", "LicenseRef-scancode-proprietary-license", "LGPL-2.0-or-later", "MIT" ]
permissive
Anish-Saxena/aqua_rowhammer_mitigation
4f060037d50fb17707338a6edcaa0ac33c39d559
3fef5b6aa80c006a4bd6ed4bedd726016142a81c
refs/heads/main
2023-04-13T05:35:20.872581
2023-01-05T21:10:39
2023-01-05T21:10:39
519,395,072
4
3
Unlicense
2023-01-05T21:10:40
2022-07-30T02:03:02
C++
UTF-8
Python
false
false
3,118
py
# Copyright (c) 2016 Georgia Institute of Technology # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: redistributions of source code must retain the above copyright # notice, this list of conditi...
[ "asaxena317@krishna-srv4.ece.gatech.edu" ]
asaxena317@krishna-srv4.ece.gatech.edu
3800a32637fe1d6fdc6c62820da488f167181ae2
8f48d12b88048e424ebb0d72ca6dfab5cf12ae0f
/0001_0599/349.py
fd262223f7f0e12f87b1a1d0b8c093a9eedd4ba2
[]
no_license
renjieliu/leetcode
e1caf13c18a8107ed9252588b339fb76bcb1b246
4668b64fcb9320b6c316d8608fc61911ce43b6c7
refs/heads/master
2023-03-18T18:16:06.187741
2023-03-14T20:31:59
2023-03-14T20:31:59
128,823,819
7
0
null
null
null
null
UTF-8
Python
false
false
431
py
def intersection(nums1, nums2): """ :type nums1: List[int] :type nums2: List[int] :rtype: List[int] """ map = {} output = [] for i in nums1: map[i] = "a" for j in nums2: if map.get(j, "None")!="None": map[j] = "b" for k, v in map.items(): if ...
[ "anlrj@qq.com" ]
anlrj@qq.com
728e2b1d2f05db0e391e7186e865451f25c2215e
ca0ffc5606da190274569e3d6ced2543af187fa9
/get_workday.py
06f8c01b9e6d486f740ea889b72de0ec804429bc
[]
no_license
littlelienpeanut/TBrain_ETF_prediction
f3a3db045e5274bfca56e28e373e98fa31c1ce67
c9f2d19e2f97a67cd923928c4b87ffc53c274704
refs/heads/master
2020-03-18T01:42:25.374235
2018-06-27T16:17:06
2018-06-27T16:17:06
134,155,671
0
1
null
null
null
null
UTF-8
Python
false
false
1,109
py
import pandas as pd import datetime import csv def main(): df = pd.read_csv('../TBrain_Round2_DataSet_20180518/tetfp.csv', encoding = 'utf8') fname = ['50', '51', '52', '53', '54', '55', '56', '57', '58', '59', '6201', '6203', '6204', '6208', '690', '692', '701', '713'] date_title = [] data_v1 ...
[ "noreply@github.com" ]
littlelienpeanut.noreply@github.com
7417a352702bc75fb38d3aaa9bbcfbdaa341d73b
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/HcLCh8566zewZvZ2j_14.py
9f55f28459886892e818bcb9a02bddb0c83f2341
[]
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
114
py
def word(s): return ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine'].index(s)
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
d211ed69c45c9616969fa79f815d55d5f3412cca
9ea80adb9252c0e67e5e20c3ff9d6a08cf4a172d
/mxonline/apps/courses/migrations/0007_auto_20190517_1615.py
574173276b261a61cc8699af045aca93332ac58e
[]
no_license
hfxjd9527/djangoweb
11830fbbaab0d4986b7494c61ac23d7f19266b67
1d83c423755b357eb178cc4f384829082623d2e0
refs/heads/master
2022-12-10T02:20:43.569239
2019-06-04T14:31:18
2019-06-04T14:39:11
185,593,356
0
0
null
2022-12-08T00:46:58
2019-05-08T11:34:07
HTML
UTF-8
Python
false
false
678
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2019-05-17 16:15 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('courses', '0006_video_url'), ] operations = [ migrations.AddField( ...
[ "1725824530@qq.com" ]
1725824530@qq.com
350ed4b6348456ac8bf7a9bdab5919e1a7dec755
6e5ab77fee1fb4a0310213dd8c6dd8601828b1b9
/Algorithm/문제/수업/D-13t/AD/[TST] 책꽂이.py
4c6bb04f51b13f2fef4ab0a48e707a342aa6520b
[]
no_license
hongyong3/TIL
36d031c0da9e3e6db3eebb977bd3e12df00a849f
7f1492128e957a78fc95b255f4f7f2978161e471
refs/heads/master
2023-08-19T09:16:03.231757
2023-08-18T09:38:47
2023-08-18T09:38:47
162,100,258
1
0
null
2023-02-11T00:52:32
2018-12-17T08:42:42
Jupyter Notebook
UTF-8
Python
false
false
711
py
import sys sys.stdin = open("[TST] 책꽂이_input.txt", "r") <<<<<<< HEAD def bookshelf(idx, sums): global minn if sums - B >= minn: return if idx == N: if 0 <= sums - B <= minn - 1: minn = sums - B return bookshelf(idx + 1, sums) bookshelf(idx + 1, sums + data[idx]...
[ "chy66822495@gmail.com" ]
chy66822495@gmail.com
f393255f7aea9000b5a00c844b41886415fd2e91
20e3ee6642d20578e48756963798acfe307ac6b5
/Practice/hackerrank/Certifications/Python (Basics)/01AverageFunction.py
e85fad181b9c07a0a2736dbbd750cea5f4a290e4
[]
no_license
sirinenisaikiran/Python
538f64276767435de3233b720f547aac0bf4d511
bdfef0d1c04c7f3b9fc91a164b5fd1789828176c
refs/heads/master
2023-01-31T00:53:01.650916
2021-06-06T10:39:20
2021-06-06T10:39:20
237,744,104
0
0
null
2023-01-26T03:38:47
2020-02-02T08:58:49
Python
UTF-8
Python
false
false
179
py
def avg(List): sum = 0 for i in List: sum += int(i) return (sum/len(List)) nums = input() List = nums.split(' ') Res = avg(List) print("{:0.2f}".format(Res))
[ "saikiran.sirneni@gmail.com" ]
saikiran.sirneni@gmail.com
593a40ccc8e700576ce71bf879140b04f39095fd
19101bf9478c585f73540f1962494a0315ccd0a6
/ax/service/managed_loop.py
0c3e1e47caa6bd03f80680aca0e296ac263bf518
[ "MIT" ]
permissive
liusulin/Ax
4ca1dcaa34f129d25faa2f52a8094b5f6e399eba
850b6975b7c7f9960ad5461e71d0304b2670232a
refs/heads/main
2023-07-14T01:02:38.044397
2021-08-18T15:34:06
2021-08-18T15:35:11
397,664,102
1
0
MIT
2021-08-18T16:16:10
2021-08-18T16:16:09
null
UTF-8
Python
false
false
11,471
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from __future__ import annotations import inspect import logging from typing import Iterable, List, Optional, Tuple f...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
4f0f8ba69b0a8734ccdd99d4bc191cf199cc9e7e
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/stdlib-big-2968.py
e973507ef17d14f6230c4f996b768103a5d902a1
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
9,000
py
# ChocoPy library functions def int_to_str(x: int) -> str: digits:[str] = None result:str = "" # Set-up digit mapping digits = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"] # Write sign if necessary if x < 0: result = "-" x = -x # Write digits using a recursive call ...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
efe190f572281fda60f87458816984aefd501e95
29783ede1402f93bee06cbc899c41a48911e1285
/portrait/import/NameAlignImport2Neo.py
0632ec363abc75e5d619cc814b7cfe7660d9a381
[ "BSD-2-Clause" ]
permissive
Allen517/alignment
389f3dd4ff4b2bd6785ecee009f46e589f3b07f5
a0bfe29b229182634d85b8b383767e7eda8fc2af
refs/heads/master
2021-01-15T17:59:26.106980
2019-01-28T08:18:04
2019-01-28T08:18:04
99,768,785
6
2
null
null
null
null
UTF-8
Python
false
false
6,002
py
# -*- coding:utf8 -*- import sys sys.path.append("../../") from portrait.DB.GraphdbClient import GraphdbClient from portrait.DB.MongodbClient import MongodbClient from portrait.utils.GetConfig import GetConfig from portrait.utils.utilFunction import unicode2utf8 import json from portrait.utils.LogHandler import Log...
[ "wangyongqing.casia@gmail.com" ]
wangyongqing.casia@gmail.com
d609ad3178c98a7b86540b44afa002b47acc664a
409270c19919496c4083c2c620c52207b1d29ca3
/Day 41/Solution 1.py
b4e32e45632235670e91c02991f446f68fe42798
[]
no_license
rayandasoriya/100DaysOfCode
ec275b90c33efd6e354c712b10cf9b5ae3ef3382
3158b69f6bf1a13604e36662817ab80c582df557
refs/heads/master
2020-03-31T09:20:45.329067
2019-01-31T16:16:04
2019-01-31T16:16:04
152,092,263
1
0
null
null
null
null
UTF-8
Python
false
false
192
py
class Solution(object): def subsets(self, nums): nums.sort() result = [[]] for num in nums: result += [i + [num] for i in result] return result
[ "dasoriyarayan@gmail.com" ]
dasoriyarayan@gmail.com
ca8241aedb354d8af933ca4f71388f2d3f4e7420
27cb9cc771ffa02c4f7e12dcd4688e311c63aace
/fairseq/modules/sinusoidal_positional_embedding.py
81324965f7c7d3088d215e3e147ece7b845e74d0
[ "MIT" ]
permissive
periclesmiranda/TSPNet
78aee61a4e4497ae82b1bb6731a6edd6230720cd
8f71315486c78b540382ef6420eab5441333bcda
refs/heads/main
2023-07-19T16:06:48.169045
2021-09-10T15:08:36
2021-09-10T15:08:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,985
py
# Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import math from typing import Any, Optional import torch import torch.onnx.operators from fairseq import utils from torch import ...
[ "chenchen.xu@anu.edu.au" ]
chenchen.xu@anu.edu.au
48405bbbb1645e364d550e79258965c7757dafd6
e7290064b5df4731167bab10606f451b446a21f7
/rllib/execution/buffers/mixin_replay_buffer.py
bf23abdf6c108b7dd0b79e05dc5cd1dbf09d6844
[ "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
sven1977/ray
dce9f6fa114741837341f14aef0a8c64c442aba6
b73a496af19bce627a611e7af2cb02a3c5d99684
refs/heads/master
2023-09-02T00:57:47.167794
2023-08-17T09:33:04
2023-08-17T09:33:04
229,269,728
2
5
Apache-2.0
2023-07-29T07:08:41
2019-12-20T13:27:01
Python
UTF-8
Python
false
false
7,564
py
import collections import platform import random from typing import Optional from ray.util.timer import _Timer from ray.rllib.execution.replay_ops import SimpleReplayBuffer from ray.rllib.policy.sample_batch import DEFAULT_POLICY_ID, concat_samples from ray.rllib.utils.deprecation import Deprecated from ray.rllib.util...
[ "noreply@github.com" ]
sven1977.noreply@github.com
281437822c00a3b68c1c21b7d258fc68af90bd8c
99f222d31e66da026cd284c390ef487d6e8a0270
/core/experiments/plot_results_split_and_fit.py
3dad50caee5489c2a8d9a8fe227e425812bff7bd
[]
no_license
dallascard/textile
0e831b56978654f820de47f5145b7aabab48154e
814ae148a0d7ca2ab47dd07c51ca42835717b9f2
refs/heads/master
2021-01-23T02:39:41.827570
2018-03-28T04:55:45
2018-03-28T04:55:45
86,009,304
0
0
null
null
null
null
UTF-8
Python
false
false
4,197
py
import os import re from optparse import OptionParser import matplotlib as mpl mpl.use('Agg') import matplotlib.pyplot as plt import numpy as np import pandas as pd from ..util import file_handling as fh def main(): usage = "%prog csv_results_files" parser = OptionParser(usage=usage) parser.add_option('...
[ "dcard@andrew.cmu.edu" ]
dcard@andrew.cmu.edu
79c2f4eaae72715bc279a2eeed0138317f74f449
69bbe2729b178de19938d2be17fff29f99d67f6d
/question-type-find-hum-classifier-builder.py
4711b71070d861ac64c061c854991d4bd813319d
[]
no_license
imclab/QuestionTypeClassifier
0b6b51e2e9a85fdb0f61e0f814bca63147fe8bd7
20c25dda8ba0b38c3f74aa2914484380f4dd9394
refs/heads/master
2021-01-22T05:10:02.025554
2014-01-11T19:50:18
2014-01-11T19:50:18
17,212,625
1
0
null
null
null
null
UTF-8
Python
false
false
3,311
py
#!/usr/bin/env python """ done in 2539.012s Best score: 0.936 Best parameters set: clf__alpha: 0.0001 clf__n_iter: 80 clf__penalty: 'elasticnet' tfidf__norm: 'l2' tfidf__use_idf: False vect__max_df: 0.75 vect__max_features: None vect__ngram_range: (1, 2) vect__stop_words: None """ __...
[ "gavinhackeling@gmail.com" ]
gavinhackeling@gmail.com
beaf48337d505ec8a471b710b101c24259801287
14f4d045750f7cf45252838d625b2a761d5dee38
/argo/test/test_io_k8s_api_core_v1_endpoint_port.py
ee2bad7e450dd854eee83b22b6081f6c99cc0309
[]
no_license
nfillot/argo_client
cf8d7413d728edb4623de403e03d119fe3699ee9
c8cf80842f9eebbf4569f3d67b9d8eff4ba405fa
refs/heads/master
2020-07-11T13:06:35.518331
2019-08-26T20:54:07
2019-08-26T20:54:07
204,546,868
1
0
null
null
null
null
UTF-8
Python
false
false
994
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: v1.14.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import un...
[ "nfillot@weborama.com" ]
nfillot@weborama.com
5495e799345a5df9d390f7c1e4773d9ae425c11b
ea713f1ea60829898e457ef39693f1ea8d14047a
/workbase/ws_sc/ws_sc/spiders/bqg_spider.py
67e574f4977ac9f206bb47bdee7532c091ed5757
[]
no_license
freeflyfish/bqhr
2ea7220569780c033536587591a40fb6fb82d394
d6cc82697b843a83826ed278aede4117822a818d
refs/heads/master
2020-04-30T15:03:55.205319
2018-03-12T06:58:59
2018-03-12T06:58:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
992
py
# -*- coding:utf-8 -*- import time import scrapy from scrapy.http import Request from selenium import webdriver class DLDLSpider(scrapy.Spider): name = 'bqg' allowed_domains = ["biquge.com"] start_urls = ["http://www.biquge.info/10_10218/5001527.html"] # username = '18688983498' # password = 'pm9...
[ "380784649@qq.com" ]
380784649@qq.com
d64db6766ff616af587c803676cd543d66ea5af3
9c50d2310d026583fc32720b2cf59f8a8679a3f1
/base/checkconfig.py
40d97e4741acaf64c4a85628067987f3206ca275
[]
no_license
songhongbao/Ran
6d69bfc93433bdcdfe01f9b542dd626bb188a00d
942b767e2492283d0c3ade259261de17d2dee7ff
refs/heads/master
2020-06-15T06:29:35.927142
2015-11-19T10:57:19
2015-11-19T10:57:19
33,342,851
3
0
null
null
null
null
UTF-8
Python
false
false
6,604
py
# -*- coding: utf-8 -*- import re import os import sys class Conf(): _config = dict() _error_msg = '' _task_propertys = ['progress', 'thread'] _task_list = [] #deal ran config #ran config only support strict pattern: key=value def _deal(self, line, num): line = line.strip() ...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
84f87302873f18b014bc11be8a870f868e346cd5
bd36269a7d7780e526c6e700f396baf7fffcb224
/ctech403/module_1/fillin-function.py
6090f315bbbac4e8f1f02a84c217ba6ec8982fea
[]
no_license
ecornelldev/ctech400s
7bb26d901bb9daae5c2d0f4f2eb8dabd9fdfe10e
8e394620dc2f2597161cc3ac94b1b97424f13d1a
refs/heads/master
2021-06-23T21:23:16.198084
2020-12-22T19:06:42
2020-12-22T19:06:42
161,530,338
0
0
null
2020-12-30T04:10:33
2018-12-12T18:43:17
HTML
UTF-8
Python
false
false
1,113
py
import random # Story template story = 'Yesterday, I ___VERB___ to the store to buy a ___NOUN___. But on my way, I ran into a ___ADJ___ ___NOUN___. I was very ___ADJ___. Then I remembered that I had a ___NOUN___ in my pocket. I ___VERB___ behind a ___ADJ___ ___NOUN___.' # Placeholders NOUN_PLACEHOLDER = '___NOUN___' ...
[ "james.grimmelmann@cornell.edu" ]
james.grimmelmann@cornell.edu
e99fd962f33fc4068020593b7c6d5bdbfadd5a15
a8547f73463eef517b98d1085430732f442c856e
/GDAL-1.11.5-py3.6-macosx-10.13-x86_64.egg/osgeo/gdal_array.py
fd2361c4d9fdf5b20d0a12b089ff8fa01a95d8fa
[]
no_license
EnjoyLifeFund/macHighSierra-py36-pkgs
63aece1b692225ee2fbb865200279d7ef88a1eca
5668b5785296b314ea1321057420bcd077dba9ea
refs/heads/master
2021-01-23T19:13:04.707152
2017-12-25T17:41:30
2017-12-25T17:41:30
102,808,884
0
0
null
null
null
null
UTF-8
Python
false
false
14,908
py
# This file was automatically generated by SWIG (http://www.swig.org). # Version 1.3.40 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. # This file is compatible with both classic and new-style classes. from sys import version_info if version_info >= (...
[ "raliclo@gmail.com" ]
raliclo@gmail.com
ce9e6a7de16b5cdfa571a0dee0fd2036c6646815
b3a90c38c61579a3de26ca398cc354a2fedbd367
/python_crash_course/chapter_11/test_name_function.py
56ef5ee3f7bc39c57f6974724ef7e1a833e4d6a3
[]
no_license
JennifferLockwood/python_learning
a815e05e124aab02de694e48ee405958bbed8aac
fa054bb84778f278247128266095e061e65126b0
refs/heads/master
2016-08-12T20:29:36.221498
2016-03-13T18:10:04
2016-03-13T18:10:04
49,471,663
1
0
null
null
null
null
UTF-8
Python
false
false
612
py
import unittest from name_function import get_formatted_name class NamesTestCase(unittest.TestCase): """Tests for 'name_function.py'.""" def test_first_last_name(self): """Do names like 'Janis Joplin' work?""" formatted_name = get_formatted_name('janis', 'joplin') self.assertEqual(for...
[ "jennifferlockwood@gmail.com" ]
jennifferlockwood@gmail.com
5d2a5440ef001e2e281ac33bb7504dd9e176c1c6
e463e169c6dcd5222dbba9c4c699f70b5eda3591
/Chapter_8/private-critter.py
c28cb62c9baf64a7da396de3807110884329e945
[]
no_license
mrwillbarnz/Python_FAB_Reimplementation
1e00e3ecdcb6c9e3d671aae9dddf8aa475c01e8e
5f02c6d3f392612fe17d97e648302ea2e3edf01c
refs/heads/master
2022-04-12T05:47:11.577985
2020-03-01T17:37:40
2020-03-01T17:37:40
239,611,675
0
0
null
2020-02-16T19:28:19
2020-02-10T20:57:21
Python
UTF-8
Python
false
false
705
py
# Private Critter # Demonstrates private variables and methods class Critter(object): """A virtual pet.""" def __init__(self, name, mood): print("A new critter has been born!") self.name = name # public attribute self.__mood = mood # private attribute def talk(self): print(...
[ "willbarnard687@pm.me" ]
willbarnard687@pm.me
725f3663fa177e21fa5168b1c0c8db6c8e9596a5
b023dc288ead04ce930fc16034bf47752c0a86a4
/projecteuler2.py
b6910e07d34234fb29796fe88b6d8b1d7d369e16
[]
no_license
leezichanga/Project-euler-toyproblems
b98c747b9d2c61cde76e5ad223e66e559ca63a33
438a5b48cb42e357def68360598b8d1850128734
refs/heads/master
2020-03-11T19:45:33.145514
2018-04-19T13:03:48
2018-04-19T13:03:48
130,217,051
0
0
null
null
null
null
UTF-8
Python
false
false
761
py
#Solution 1 numbers = [1, 2] total = 0 for i in range(4000000): if i == numbers[-1] + numbers[-2]: numbers.append(i) for n in numbers: if n % 2 == 0: total += n print(total) #Solution 2 #!/bin/python3 import sys t = int(input().strip()) for a0 in range(t): fib_start =[1,2] #create the...
[ "elizabbethichanga@yahoo.com" ]
elizabbethichanga@yahoo.com
554c61067cbadc2773055a2c4062c1801556b3e4
d652c5cd50abc59163288f67aabf511edf2ffc16
/{{cookiecutter.package_name}}/{{cookiecutter.app_name}}/serializers/blog.py
7a2777cb74b488f9a6b15e871cad3fd62c639f55
[ "MIT" ]
permissive
sveetch/cookiecutter-sveetch-djangoapp
2f883958a665a84423f9dcc0bbd794a67d91fb0e
6770a00e5ed67702f61543c0495bc55dcebdc76a
refs/heads/master
2023-04-03T18:05:59.380348
2023-03-17T16:26:15
2023-03-17T16:26:15
297,186,173
3
1
null
2020-10-12T00:52:41
2020-09-21T00:04:59
null
UTF-8
Python
false
false
1,525
py
from rest_framework import serializers from ..models import Blog class BlogIdField(serializers.PrimaryKeyRelatedField): def get_queryset(self): return Blog.objects.all() class BlogSerializer(serializers.HyperlinkedModelSerializer): """ Complete representation for detail and writing usage. "...
[ "sveetch@gmail.com" ]
sveetch@gmail.com
339dc21c3dce2abec0a2f010d9e28dee1d336019
bd4aeadb9fe2066db18a2a47d3ea3f99a6832af1
/my_env/bin/easy_install
49217d1997bcaf846a447f413bc196b0ae89aa76
[]
no_license
Sezimm/ProektCourses
940b9ac221a122136941f0af6e75698449c50706
91b83903643991c2de1add9378b22cdd4bf50540
refs/heads/main
2023-03-20T11:20:00.285358
2021-03-09T03:50:46
2021-03-09T03:50:46
345,875,199
0
0
null
null
null
null
UTF-8
Python
false
false
252
#!/home/sezim/courses/my_env/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
9beb46105e59a68e3a054d35e6ff5164999cabc5
0f24c1e2df268a7c98314d5b3c6f8b5738f88ba9
/test/test_addresses_api.py
2b9cf39f54f0bd4d84f46319473ed53db7dbb64e
[ "MIT" ]
permissive
arberx/graphsense-python
b07be2854d4f6e763aacdad4045ae72c338bd4e2
c0dafc97a04bc3dbf0caf08a981bb591bd1e430a
refs/heads/master
2023-08-11T14:15:42.576434
2021-06-17T08:01:04
2021-06-17T08:01:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,079
py
""" GraphSense API GraphSense API # noqa: E501 The version of the OpenAPI document: 0.4.5 Generated by: https://openapi-generator.tech """ import unittest import graphsense from graphsense.api.addresses_api import AddressesApi # noqa: E501 class TestAddressesApi(unittest.TestCase): """Addre...
[ "git@myrho.net" ]
git@myrho.net
c3a959e4e06b55273a496c095e694aa6c1c774ca
72f6f274a9e4937f99e61eebe14f9b2f301a83f5
/utils/tokenizer.py
bf4279be1e7e24a5503d16496dfcd27c2bff72f0
[]
no_license
studio-ousia/textent
e466f8ef4f6910a0f4270014fa29c18aa5f329e0
2a73ef2f6a0d29d4d1c1085a75fa0b7592bdd376
refs/heads/master
2021-03-22T04:45:57.582737
2018-06-03T07:18:28
2018-06-03T07:18:28
93,811,887
20
4
null
null
null
null
UTF-8
Python
false
false
772
py
# -*- coding: utf-8 -*- import re class Token(object): __slots__ = ('_text', '_span') def __init__(self, text, span): self._text = text self._span = span @property def text(self): return self._text @property def span(self): return self._span def __repr_...
[ "ikuya@ikuya.net" ]
ikuya@ikuya.net
e2921ce2081516066c75515a68b6b631bcdfd549
c913c952cf4019d67f02bf1971917116da375c81
/Data/OMIMresults/omimResults2420to2440.py
e5925a3a67033ff5edeba8a4eae05356773c7bea
[]
no_license
jiangchb/OMIMscraping
57afa5b2f8b7ca975e7459814e0410a872f71990
27d4ac8faea526b1c70937317caec064bed00a0a
refs/heads/master
2022-03-14T21:35:56.102665
2019-11-22T15:48:48
2019-11-22T15:48:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
95,100
py
omim = {'omim': { 'version': '1.0', 'searchResponse': { 'search': '*', 'expandedSearch': '*:*', 'parsedSearch': '+*:* ()', 'searchSuggestion': None, 'searchSpelling': None, 'filter': '', 'expandedFilter': None, 'fields': '', 'searchReport': None, 'totalResults': 7368, 'startIndex': 2420, 'endIndex': 2439, ...
[ "jhostyk@gmail.com" ]
jhostyk@gmail.com
c42d55490407bfcfd3a591030db63cd5be9b2b58
ad4c2aa0398406ccb7e70562560e75fa283ffa1a
/find-and-replace-in-string/find-and-replace-in-string.py
d3ee3f2ce5afaf66d400552e4e375febc9762f26
[ "Apache-2.0" ]
permissive
kmgowda/kmg-leetcode-python
427d58f1750735618dfd51936d33240df5ba9ace
4d32e110ac33563a8bde3fd3200d5804db354d95
refs/heads/main
2023-08-22T06:59:43.141131
2021-10-16T14:04:32
2021-10-16T14:04:32
417,841,590
0
1
null
null
null
null
UTF-8
Python
false
false
768
py
// https://leetcode.com/problems/find-and-replace-in-string class Solution(object): def findReplaceString(self, S, indexes, sources, targets): """ :type S: str :type indexes: List[int] :type sources: List[str] :type targets: List[str] :rtype: str """ ...
[ "keshava.gowda@gmail.com" ]
keshava.gowda@gmail.com
44f2dfba86e5e004678f934e9bfd00a8545929f3
0b01cb61a4ae4ae236a354cbfa23064e9057e434
/alipay/aop/api/domain/KoubeiMarketingCampaignBenefitQueryModel.py
d167d12a86faf113518b209e604ee0b9b496a368
[ "Apache-2.0" ]
permissive
hipacloud/alipay-sdk-python-all
e4aec2869bf1ea6f7c6fb97ac7cc724be44ecd13
bdbffbc6d5c7a0a3dd9db69c99443f98aecf907d
refs/heads/master
2022-11-14T11:12:24.441822
2020-07-14T03:12:15
2020-07-14T03:12:15
277,970,730
0
0
Apache-2.0
2020-07-08T02:33:15
2020-07-08T02:33:14
null
UTF-8
Python
false
false
937
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class KoubeiMarketingCampaignBenefitQueryModel(object): def __init__(self): self._benefit_id = None @property def benefit_id(self): return self._benefit_id @benefit_id.set...
[ "liuqun.lq@alibaba-inc.com" ]
liuqun.lq@alibaba-inc.com
2c50a5f7684da4ef0800d4cf07d2aac353687e63
240ab4c4348b194e8f284935d56fa197a120be10
/LAC_tf1/eval.py
71ef651cc0c34b6fb7df5a1718fb6fa44f0e030b
[]
no_license
rickstaa/tf2-eager-vs-graph-grad-problem
7373ee36219c498f0ce9db25f5773400afd65f03
be30a3505e6abd9de74a88bc39456fa7e985f16f
refs/heads/master
2022-12-18T04:42:21.043344
2020-09-22T07:22:36
2020-09-22T07:22:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,721
py
"""Evaluate trained LAC agent.""" import os import sys import argparse import numpy as np import tensorflow as tf import matplotlib.pyplot as plt from utils import get_env_from_name import logger from variant import ( ENV_NAME, ENV_SEED, ALG_PARAMS, ENV_PARAMS, EVAL_PARAMS, ) from lac import LAC ...
[ "rick.staa@outlook.com" ]
rick.staa@outlook.com
b46c88b1f0e084bdb65d0edb9ad68778c80ce52c
a00fcfa8158316fceff0dc9b5d936bba96cca4c3
/smodels-database/13TeV/CMS/CMS-SUS-16-033/validation/T2ttoff_2EqMassAx_EqMassBy.py
4bd6a1a54e8d5b543aab334b97dc2c73b4d1fd0f
[]
no_license
andlessa/stopsEFT
414fac7493c385c5b6d9fda2f17f9ef4658d7884
9fae9ef9c96432fecadd7abbb3578b154edc9282
refs/heads/master
2020-06-15T06:59:20.544277
2019-11-12T19:48:55
2019-11-12T19:48:55
195,229,257
0
0
null
null
null
null
UTF-8
Python
false
false
169,024
py
validationData = [{'slhafile': 'T2ttoff_799_554_799_554.slha', 'error': 'no results'}, {'slhafile': 'T2ttoff_849_591_849_591.slha', 'error': 'no results'}, {'slhafile': 'T2ttoff_613_394_613_394.slha', 'error': 'no results'}, {'slhafile': 'T2ttoff_492_360_492_360.slha', 'axes': {'x': 492.372239304, 'y': 360.171174024}, ...
[ "lessa.a.p@gmail.com" ]
lessa.a.p@gmail.com
1d360fbb5e6d6248351227c7dbb7361fc5d36f9b
c71d332dd845036c21c9fd8f4f571f9209bf2672
/Binary Tree Zingzag Level Order Traversal.py
5573d8950e53f17add11faff31d2f61793ba6f3e
[]
no_license
diksha12p/DSA_Practice_Problems
2884fd9e77094d9662cb8747744dd2ef563e25e4
d56e3d07620d51871199f61ae82cff2bd75b4744
refs/heads/master
2023-01-20T15:31:37.824918
2020-11-29T21:37:12
2020-11-29T21:37:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,425
py
""" LC 103. Binary Tree Zigzag Level Order Traversal Given a binary tree, return the zigzag level order traversal of its nodes' values. (ie, from left to right, then right to left for the next level and alternate between). For example: Given binary tree [3,9,20,null,null,15,7], 3 / \ 9 20 / \ 15 7...
[ "noreply@github.com" ]
diksha12p.noreply@github.com
551d529e69d4ddcf6ee18ff69888a85c3916d14c
7e96ba20c25c6fb56af6ccd36b3b6d68df6a081c
/Kyle_Marienthal/DJANGO/TRAVEL_BUDDY_REDO/apps/travels_app/views.py
39b2f550fcb8e27dacd385ab3fc16e1471ac4812
[]
no_license
CodingDojoDallas/python_september_2017
9d8cd74131a809bc6b13b7f465594cf8b1e2fd75
f9f2f7b39bf9c4fceda3df5dc7424164aa5d5df5
refs/heads/master
2021-01-23T08:52:22.899994
2017-10-30T17:00:55
2017-10-30T17:00:55
102,558,291
2
14
null
2018-01-13T05:28:34
2017-09-06T03:28:38
Python
UTF-8
Python
false
false
1,573
py
from django.shortcuts import render, redirect, reverse from django.contrib import messages from .models import Trip, User # Create your views here. # if request.method == "POST": # context = { # 'current_user' : current_user(request) # } def flash_errors(errors, request): print '*****youre in the flash_errors metho...
[ "kylemarienthal@gmail.com" ]
kylemarienthal@gmail.com
cd5f6d120bc92d0c0c9c0e040a3e4b7b80b53691
14f4d045750f7cf45252838d625b2a761d5dee38
/argo/test/test_io_k8s_api_core_v1_service_account_token_projection.py
05a59298e73201e88e387277ff653382026d9a8f
[]
no_license
nfillot/argo_client
cf8d7413d728edb4623de403e03d119fe3699ee9
c8cf80842f9eebbf4569f3d67b9d8eff4ba405fa
refs/heads/master
2020-07-11T13:06:35.518331
2019-08-26T20:54:07
2019-08-26T20:54:07
204,546,868
1
0
null
null
null
null
UTF-8
Python
false
false
1,134
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: v1.14.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import un...
[ "nfillot@weborama.com" ]
nfillot@weborama.com
922489df49a0e7b815588906680161ed4b166cc8
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_0_2/perel/bs.py
f2dc670dffa12519d8b54937cfa2bb0693987963
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
1,003
py
import time ##import sys ##sys.setrecursionlimit(10002) from collections import deque def flip(s): return tuple(reversed([not i for i in s])) def solve(s): s=tuple([i=='+' for i in s]) return str(solve11(s)) def solve11(s): for i in range(len(s)-1,-1,-1): if not s[i]: ...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
f67d673e20f5b4ea25b5e71532405d816a977b47
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2580/8318/319102.py
3935e927bbc2f82b8da2de889d54f179ef80f578
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
218
py
m = int(input()) n = int(input()) ops = int(input()) list = [[]] x = m y = n for i in range(ops): a,b = input().split(",") a1=int(a) b1=int(b) if x>a1 : x=a1 if y>b1: y=b1 print(x*y)
[ "1069583789@qq.com" ]
1069583789@qq.com
bcbb60f98cfc63d55a8855fc311ca5dd1180d585
a6d7f52f838e60e86fad5b85a28941e7da048262
/backend/manage.py
9b53997b7e8d3eb1b6f74f8b571488a6fc6b5a3d
[]
no_license
crowdbotics-apps/dateanerd-20416
c5bdb51e601cca686bc3d594487b79e19b224379
55080989d6578f5c591066c1366a4e5f9e10c6c9
refs/heads/master
2022-12-16T05:55:45.725899
2020-09-18T21:03:24
2020-09-18T21:03:24
296,728,624
0
0
null
null
null
null
UTF-8
Python
false
false
635
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", "dateanerd_20416.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: rais...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
f8ef5490192913bf8811b092910983b29985832f
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/arc094/A/4025845.py
9522ebc713f410e45b2cfec4a62d282a3b36443e
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
479
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import array from bisect import * from collections import * import fractions import heapq from itertools import * import math import random import re import string import sys nums = list(map(int, input().split())) nums.sort() ans = 0 while nums[0] ...
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com