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
edcbbc738657f31ffab4e939961108514a2b9855
a189360771d93aa4bcfdfb9f7a794f770b557528
/ch14-httpServer/04-httpServerHandlerPost.py
d7e382f5cdebe72405e167262646d7debd5c6f9f
[]
no_license
kevin510610/Book_Python-Tensorflow_PoWen-Ko
88402a6a9ae3da9fdba7858e56f9c364264854c0
cbeede8ab566214da8fa5c5953f8ab85c2d23bb8
refs/heads/master
2023-04-04T05:37:52.283802
2021-04-13T03:09:24
2021-04-13T03:09:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,880
py
# -*- coding: UTF-8 -*- __author__ = "Powen Ko, www.powenko.com" import sys import time from sys import version as python_version from cgi import parse_header, parse_multipart if (sys.version_info > (3, 0)): # python 3.x import socketserver as socketserver import http.server from http.server import Si...
[ "kevin510610@gmail.com" ]
kevin510610@gmail.com
f1395eb232cbe3c72d51c11a0bf291799cde734d
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03385/s358225063.py
451f15ea77c562c86c3d2a33b3be3baacd4db7ba
[]
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
104
py
s = list(input()) s.sort() ans = ''.join(s) if(ans == 'abc'): print('Yes') else: print('No')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
1f092397e05eae6d00f57dc5192206c1675f6d91
0b9212289ccc175d1f6a384d1df29fc5b468514c
/exts/syntax.py
0ad09338b0798fdd3a0e89f63e1ee5edcfa82957
[]
no_license
fengidri/wind
2b7741b09739fe0595ef464ec1baf8c424aa5291
4e7c77b390772e4556f334ea330d8f5a2c3d2dee
refs/heads/master
2021-12-31T10:39:47.415587
2021-11-12T02:36:43
2021-11-12T02:36:43
27,524,948
5
1
null
2020-02-04T08:13:06
2014-12-04T05:29:33
Python
UTF-8
Python
false
false
269
py
# -*- coding:utf-8 -*- # author : 丁雪峰 # time : 2015-08-18 17:21:56 # email : fengidri@yeah.net # version : 1.0.1 import pyvim @pyvim.cmd() def Syntax(): pyvim.echo(pyvim.syntax_area()) if __name__ == "__main__": pass
[ "fengidri@gmail.com" ]
fengidri@gmail.com
65ef96af2f323b588622fceedf2a92a2363697c5
11f00660332b8778a09cad87d861e5b7f4dd12d0
/easy/1021_remove_outermost_parentheses.py
e98938af0328ede327efd56c3a389c86ccaa1c42
[ "MIT" ]
permissive
niki4/leetcode_py3
b4b1bb8bd62e8dca595386a88825f3bc46a7f3fd
9f66d352c805fcdd9930aaa18c93d7546768287c
refs/heads/master
2022-07-01T17:52:07.166384
2022-06-26T11:01:31
2022-06-26T11:01:31
130,343,105
0
0
null
null
null
null
UTF-8
Python
false
false
2,334
py
""" A valid parentheses string is either empty (""), "(" + A + ")", or A + B, where A and B are valid parentheses strings, and + represents string concatenation. For example, "", "()", "(())()", and "(()(()))" are all valid parentheses strings. A valid parentheses string S is primitive if it is nonempty, and there doe...
[ "nikiforr@gmail.com" ]
nikiforr@gmail.com
0fd6eeb2851353fac0b1e10b6b82ff436efee80f
95dac6b028dd233128fa9316390fe32ba62c00bb
/utils/gen_testdata.py
090376e81337d1bf25cebb0329ae853916c9a3ee
[]
no_license
MrKriss/popGen
2976d255ea6cc00d46d46403db83d085e661f13d
b6849202a9d367fd38e4ac78074b6f8ce921ce6d
refs/heads/master
2021-01-01T19:46:33.426384
2013-12-17T13:02:56
2013-12-17T13:02:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,402
py
''' Created on 30 Nov 2012 @author: musselle ''' import os import sys import numpy as np import matplotlib.pyplot as plt import time import socket from Bio import SeqIO, bgzf from utils import Cycler start_dir = os.getcwd() # Work out where data is stored if socket.gethostname() == 'yildun': prefix = '/spa...
[ "chris.j.musselle@gmail.com" ]
chris.j.musselle@gmail.com
d6ba24dc3bf4c18f116c124b0e1d5313930bbde7
b176b34b6ba8a6adc68013e41f1dca9377903c05
/kvm_pirate/coredump.py
568ddb0ac2378c17646973804bae23258363d171
[ "MIT" ]
permissive
Mic92/kvm-pirate
c1f2a6b33dbcf8bd9cb2493451af55cabde49dc6
26626db320b385f51ccb88dad76209a812c40ca6
refs/heads/main
2023-03-08T03:35:25.830857
2021-02-15T16:12:31
2021-02-15T16:12:31
321,550,379
6
0
MIT
2021-02-03T15:42:46
2020-12-15T04:16:20
Python
UTF-8
Python
false
false
2,983
py
#!/usr/bin/env python3 import sys import ctypes import resource import mmap from typing import IO, List, NoReturn from .elf import ELFARCH, ELFCLASS, ELFDATA2, Ehdr, Phdr, Shdr from .elf.consts import ELFMAG0, ELFMAG1, ELFMAG2, ELFMAG3, ET_CORE, EV_CURRENT, PT_LOAD from .proc import KvmMapping from .libc import libc,...
[ "joerg@thalheim.io" ]
joerg@thalheim.io
c240d9b942b2d722d34a6d9b4fddc1941f7392b9
d868a90168cfecb578efb1929c79d0087ff6205b
/python/hard_course/11.py
21ee894b5657c4f64322c7e9819880352d41b0c8
[]
no_license
pitikdmitry/stepik
34c2e33698ce70ba5e01e3b66596e4bc679bf781
5fcca543b74db19b44f1ca675d70095e79010065
refs/heads/master
2021-10-25T21:06:02.632121
2019-04-07T16:40:31
2019-04-07T16:40:31
115,332,756
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
import sys import re pattern = r"\s*cat\s*" for line in sys.stdin: line = line.rstrip() match_object = re.match(pattern, line) print(match_object)
[ "pitik.dmitry@mail.ru" ]
pitik.dmitry@mail.ru
847d9269459a8c2c33d79901a7a7eec763cbc840
38a972a3cd1fc303b5f877e24d65118912d85d1c
/path/to/virtualenv/project/Lib/site-packages/tensorflow/contrib/kfac/examples/mnist.py
28b685f27de4a165b23721fa2c0c3225de6a5edd
[]
no_license
ZulfikarAkbar/YOLO_ObjectDetection
0c1015aa987d03329eae48a2053a07dda05d96c0
3517d0592a269f79df9afd82e0b1b0123bbe0473
refs/heads/master
2022-10-27T05:08:26.734173
2019-02-07T17:35:22
2019-02-07T17:35:22
169,613,306
0
1
null
2022-10-18T02:18:17
2019-02-07T17:35:03
Python
UTF-8
Python
false
false
2,645
py
# Copyright 2017 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...
[ "zulfikar.78.akbar@gmail.com" ]
zulfikar.78.akbar@gmail.com
bb3a66d419e72f250b0322210dc43fcf8a0d0004
b501a5eae1018c1c26caa96793c6ee17865ebb2d
/the_file_system/filecmp/filecmp_dircmp_diff.py
a39b5ece4ff3c343839802705e6a40e799ba5dec
[]
no_license
jincurry/standard_Library_Learn
12b02f9e86d31ca574bb6863aefc95d63cc558fc
6c7197f12747456e0f1f3efd09667682a2d1a567
refs/heads/master
2022-10-26T07:28:36.545847
2018-05-04T12:54:50
2018-05-04T12:54:50
125,447,397
0
1
null
2022-10-02T17:21:50
2018-03-16T01:32:50
Python
UTF-8
Python
false
false
174
py
import filecmp dc = filecmp.dircmp('example/dir1', 'example/dir2') print('Same :', dc.same_files) print('Diff :', dc.diff_files) print('Funny :', dc.funny_files)
[ "jintao422516@gmail.com" ]
jintao422516@gmail.com
2af16095a35d288ee3da8c1517e4546d4a5e1fd5
37a57a7094b5dc8da71ad293654220f06c8958ef
/map_util.py
0908254f86627644acb83014a6afc2d80d40a1cb
[]
no_license
underlost/roguealike
1ab46732d678f5c68a1a221af131c44c9ac83021
86b8b8d0c4c6dc66efa1c9bb5cdb2a462d96429c
refs/heads/master
2021-01-01T19:26:32.441912
2017-08-01T17:36:19
2017-08-01T17:36:19
98,586,238
0
0
null
null
null
null
UTF-8
Python
false
false
4,145
py
from random import randint from tdl.map import Map from entity import Entity from components.ai import BasicMonster from components.player_type import Mage, Warrior from render_functions import RenderOrder class Rectangle: def __init__(self, x, y, w, h): self.x1 = x self.y1 = y self.x2 = x ...
[ "underlost@gmail.com" ]
underlost@gmail.com
3b6bcc1b273e0a11c186231472f72e02b8a95759
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2667/60776/298273.py
f286f06be6c9f97a16b1f52c38a9ec6891eec723
[]
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
204
py
a=int(input()) for k in range(0,a): a=input().split(' ') qi=int(a[0]) weishu=int(a[1]) str="" for i in range(0,weishu): str=str+"1" result=int(str,2)-qi+1 print(result)
[ "1069583789@qq.com" ]
1069583789@qq.com
4a4d5297ca4506fcf71ec78149191196d3c6a538
e86fd9f61a41731deb9d56e1107db04de41b6789
/beebeeto/poc_2014_0112.py
ec9beddab441fed0ec5a2a02960fd757d5bc34ee
[]
no_license
c0py7hat/POC-EXP
f58e0f1df41e1905e5fdc72b019f8125aac48799
7ddf2790012efb7fb5bd258ddcd1e1c25f0cf201
refs/heads/master
2020-04-30T07:05:31.390537
2019-03-20T08:38:50
2019-03-20T08:38:50
176,674,030
3
2
null
2019-03-20T08:09:56
2019-03-20T07:00:45
Python
UTF-8
Python
false
false
2,333
py
#!/usr/bin/env python # coding=utf-8 """ Site: http://www.beebeeto.com/ Framework: https://github.com/n0tr00t/Beebeeto-framework """ from baseframe import BaseFrame class MyPoc(BaseFrame): poc_info = { # poc相关信息 'poc': { 'id': 'poc-2014-0112', 'name': 'C...
[ "noreply@github.com" ]
c0py7hat.noreply@github.com
0e00018289188e5ff9c66bc2e077982bde5df598
c7427aeec5599a828209efd3c2805e0b9159d1a3
/src/500_common/303_seq.py
2c0e4c1581db8c55e2bc76517fd79a7471e5014b
[]
no_license
nakamura196/genji_curation
817690098fe6e0ea9f351edd8d21b4cb49a11c53
b7988e2125b68c3014dbeacad7c8ce795014eb7c
refs/heads/master
2023-04-14T01:27:39.322047
2021-04-30T00:04:54
2021-04-30T00:04:54
255,350,404
0
0
null
null
null
null
UTF-8
Python
false
false
202
py
import sys sys.path.append('../500_common') import lib_seq a = "Chrome11" b = "Profile 1" path = "../504_kyoto01/data/result.html" lib_seq.main(a, b, None, None, waitTime=10, preTime=20, check=False)
[ "na.kamura.1263@gmail.com" ]
na.kamura.1263@gmail.com
fd1015c9ad5c6118ec6afb61431a93d8ee56430b
0d791c73941bcb7fce1a5a07fa91660e5b1da9a0
/setup.py
3238a32da2c4dd5859189cf6ea5446bc06bb547c
[ "BSD-3-Clause" ]
permissive
Vuader/pyipcalc-old
1b77f794f8d6e2fdbff97c7e3b3d779e38346c70
b8eae37dd87d55c012483d326ecbdd21d2b337c9
refs/heads/master
2021-06-11T00:31:07.934126
2017-01-20T07:14:34
2017-01-20T07:14:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,801
py
# PyIPCalc # # Copyright (c) 2017, Christiaan Frans Rademan. # All rights reserved. # # LICENSE: (BSD3-Clause) # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above ...
[ "christiaan.rademan@gmail.com" ]
christiaan.rademan@gmail.com
3611981dd7277e32a93241b3a5bc760d6bb078f9
0e647273cffc1fb6cbd589fa3c7c277b221ba247
/configs/hpt-pretrain/xview/moco_v2_800ep_basetrain/500-iters.py
102a0691c95f209fb46a30e1f2ec571ca785c063
[ "Apache-2.0" ]
permissive
Berkeley-Data/OpenSelfSup
e9976bf011b69ebf918506ba184f464b1073ec13
221191b88d891de57725b149caf237ffef72e529
refs/heads/master
2023-05-12T07:34:52.268476
2021-04-08T00:58:37
2021-04-08T00:58:37
343,654,823
0
1
Apache-2.0
2021-04-08T00:58:37
2021-03-02T05:20:27
Python
UTF-8
Python
false
false
213
py
_base_="../base-xview-config.py" # this will merge with the parent model=dict(pretrained='data/basetrain_chkpts/moco_v2_800ep.pth') # epoch related total_iters=500 checkpoint_config = dict(interval=total_iters)
[ "taeil.goh@gmail.com" ]
taeil.goh@gmail.com
724d10e3b8274fa01dd68bbcbc54fea5a67c2489
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03993/s272195755.py
50392e98e3ae83a7037f8d0cd3bddab5a5435001
[]
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
244
py
import sys, heapq, bisect, math, fractions from collections import deque N = int(input()) A = list(map(int, sys.stdin.readline().rsplit())) res = 0 for i, a in enumerate(A): if i == A[a - 1] - 1 and i < a - 1: res += 1 print(res)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
affc77ed8da62c16e516468a80d2f347e0bb712b
9daa81d37546145eddd039d9d409e1e6f217ebf7
/scripts/contours/extract_rois.py
aeb828e8ca18cc185b72eb3559499b1c367019a7
[]
no_license
ver228/vesicle_contours
e4850ffc571ac515850378b9ec5c5621a76bc085
d6619673d8804bb4752c9dbd083dc299ae68304c
refs/heads/master
2020-03-15T22:18:06.765956
2019-01-04T11:15:18
2019-01-04T11:15:18
132,370,438
0
0
null
null
null
null
UTF-8
Python
false
false
7,340
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Nov 6 10:56:47 2018 @author: avelinojaver """ import sys from pathlib import Path dname = Path(__file__).resolve().parents[2] sys.path.append(str(dname)) from read_movies.moviereader import MovieReader import pandas as pd import tables from scipy.sig...
[ "ver228@gmail.com" ]
ver228@gmail.com
f0c6aab6879db6b1f4c0eb0a2e60cc67150afb1f
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_059/ch48_2020_04_12_23_00_46_205184.py
097fb24c515642ed4e794632e3f9e65a6f9087ac
[]
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
226
py
def eh_crescente(lista): i=0 while i<len(lista)-1: if lista[i+1] > lista[i]: pass elif i == len(lista)-2: return True else: return False i+=1
[ "you@example.com" ]
you@example.com
0d0ac12cf064c9f516f2ffadb800057bfe009665
807022b4aebd9c4b2e8b0f5b7c209cf21c697381
/ocr_structuring/core/utils/rbox.py
da2667480491c2fb257d0b88684549627aab3d3b
[]
no_license
imfifc/myocr
4abc5480222f4828072857fbb84236f4a494b851
71ba56084aabfa8b07ddc1842bcac5cdbd71212c
refs/heads/master
2022-12-13T13:04:51.488913
2020-09-02T09:07:09
2020-09-02T09:07:09
292,232,085
0
0
null
null
null
null
UTF-8
Python
false
false
5,114
py
import math from typing import List, Union import numpy as np from shapely.geometry import Polygon from ocr_structuring.core.utils.algorithm import order_points from ocr_structuring.protos.structuring_pb2 import RotatedBoxWithLabel class RBox: def __init__(self, rotate_rect: List[int], label=-1): """ ...
[ "1193690571@qq.com" ]
1193690571@qq.com
347400ddf6fc47aa5ff290a5d750492a1a27882d
02e26e2cbea74a97b56262de031563c8bfb3f468
/DS and Algo in Python/DSandAlgo/DS/IK/Class1/PreClass1/3InsertionSort.py
bb704c8c5c0cf74e9c6482c93be6fddb7c9ee706
[]
no_license
LalityaSawant/Python
f2845ecbe83b9c4dbd987c6d4e6fa5352bf54c3c
7377499629883311029a94e14058599ac166c318
refs/heads/master
2022-12-12T06:17:00.311059
2020-08-30T06:24:12
2020-08-30T06:24:12
288,286,538
0
0
null
null
null
null
UTF-8
Python
false
false
327
py
def insertion_sort(nums): for i in range(1, len(nums)): j = i - 1 curr = nums[i] while j >= 0 and nums[j] > curr: nums[j+1] = nums[j] j -= 1 nums[j+1] = curr print(nums) return nums ar = [5, 3, 1, 2, 4, 7, 6, 8, 6, -1] insertion_sort(ar) pri...
[ "lalitya.sawant@gmail.com" ]
lalitya.sawant@gmail.com
584b211aa62259f2ebf1c76fdba4c34fb4b1d2f3
2337351b228818e41be3002bd38f68f77c2aa074
/cmibs/juniper_rpm_mib.py
13989f14e85e868966ae5e2d866e167117f95284
[ "BSD-3-Clause" ]
permissive
nocproject/noc
57d40c680a1499374463e472434f9595ed6d1374
6e6d71574e9b9d822bec572cc629a0ea73604a59
refs/heads/master
2023-08-31T01:11:33.544573
2023-08-30T17:31:11
2023-08-30T17:31:11
107,815,776
105
33
BSD-3-Clause
2023-07-31T07:57:45
2017-10-21T21:04:33
Python
UTF-8
Python
false
false
4,342
py
# ---------------------------------------------------------------------- # JUNIPER-RPM-MIB # Compiled MIB # Do not modify this file directly # Run ./noc mib make-cmib instead # ---------------------------------------------------------------------- # Copyright (C) 2007-2021 The NOC Project # See LICENSE for details # --...
[ "aversanta@gmail.com" ]
aversanta@gmail.com
0d6f0600f0d8415bc06732106bedc42ab94b00aa
78e6c64920a65f1605f2368d4b0a47e25f0b28c5
/abc074/a/main.py
85085692eb0a4a2028d98e80b0c24f6efd7f6824
[]
no_license
melank/atCoder
b8dce4f30ffbfd930e0f0c4fa7579228baae8d2a
606b0c84f2f4864869868e948f702f5833a6a062
refs/heads/master
2023-08-05T06:08:39.209811
2021-09-24T14:10:29
2021-09-24T14:10:29
328,083,168
0
0
null
null
null
null
UTF-8
Python
false
false
51
py
n = int(input()) k = int(input()) print(n ** 2 - k)
[ "masaki.vr@gmail.com" ]
masaki.vr@gmail.com
3cb252e7f9f34f86dde5485f06b4a2f33cc87f2a
34599596e145555fde0d4264a1d222f951f49051
/pcat2py/class/218ff826-5cc5-11e4-af55-00155d01fe08.py
f1318bf5d70771c9a832a09e289c4f1522d18b39
[ "MIT" ]
permissive
phnomcobra/PCAT2PY
dc2fcbee142ce442e53da08476bfe4e68619346d
937c3b365cdc5ac69b78f59070be0a21bdb53db0
refs/heads/master
2021-01-11T02:23:30.669168
2018-02-13T17:04:03
2018-02-13T17:04:03
70,970,520
0
0
null
null
null
null
UTF-8
Python
false
false
988
py
#!/usr/bin/python ################################################################################ # 218ff826-5cc5-11e4-af55-00155d01fe08 # # Justin Dierking # justindierking@hardbitsolutions.com # phnomcobra@gmail.com # # 10/24/2014 Original Construction ################################################################...
[ "phnomcobra@gmail.com" ]
phnomcobra@gmail.com
b11ca688cad765b5af411ed17d4653a8f3a75e24
9d1238fb0e4a395d49a7b8ff745f21476c9d9c00
/framework/Tests/PAS/PAS/GeneralSecrets/SecretsV2Folders/AddFolders/API/test_folder_creator_should_have_member_permission_by_default.py
dc214fd20b08d535f4bbfebe3be7e44ad2bc40c9
[]
no_license
jaspalsingh92/TestAutomation-1
a48ee1d3b73386f1bf8f53328a5b55444238e054
e631c67255b10f150e0012991fb1474ede904417
refs/heads/master
2023-04-18T14:52:08.836221
2021-04-07T12:01:07
2021-04-07T12:01:07
357,175,690
0
0
null
null
null
null
UTF-8
Python
false
false
1,316
py
import pytest import logging from Shared.API.secret import get_users_effective_folder_permissions logger = logging.getLogger('test') @pytest.mark.api @pytest.mark.pas @pytest.mark.pasapi @pytest.mark.bhavna def test_folder_creator_should_have_member_permission_by_default(core_session, ...
[ "singh.jaspal92@gmail.com" ]
singh.jaspal92@gmail.com
6244f902910255a2d3ae52dfd07e6a5dfb3f6738
7c8bd2e26fdabf1555e0150272ecf035f6c21bbd
/그리디/만들 수 없는 금액.py
2dc85ddec9e8b63cc094ce39f4865614721f3815
[]
no_license
hyeokjinson/algorithm
44090c2895763a0c53d48ff4084a96bdfc77f953
46c04e0f583d4c6ec4f51a24f19a373b173b3d5c
refs/heads/master
2021-07-21T10:18:43.918149
2021-03-27T12:27:56
2021-03-27T12:27:56
245,392,582
1
0
null
null
null
null
UTF-8
Python
false
false
256
py
n=int(input()) num=list(map(int,input().split())) #리스트 선언 total=1 num.sort() #리스트 정렬 3 2 1 1 9-> 1 1 2 3 9 for x in num: if total<x: #1을 만들수 있는지 차례로 확인 break total+=x print(total)
[ "hjson817@gmail.com" ]
hjson817@gmail.com
7c3b3386a8a8c0b46ed8a650ae5d5363a79b636d
4fc21c3f8dca563ce8fe0975b5d60f68d882768d
/Darlington/phase1/python Basic 1/day 11 solution/qtn10.py
8cadb527e0fbaa7b9ef9f3b03def11f64d0a9f56
[ "MIT" ]
permissive
Uche-Clare/python-challenge-solutions
17e53dbedbff2f33e242cf8011696b3059cd96e9
49ede6204ee0a82d5507a19fbc7590a1ae10f058
refs/heads/master
2022-11-13T15:06:52.846937
2020-07-10T20:59:37
2020-07-10T20:59:37
266,404,840
1
0
MIT
2020-05-23T19:24:56
2020-05-23T19:24:55
null
UTF-8
Python
false
false
164
py
# program to get the name of the host on which the routine is running. import socket host_name = socket.gethostname() print() print("Host name:", host_name) print()
[ "darlingtonchibuzor64@gmail.com" ]
darlingtonchibuzor64@gmail.com
d700798bd33b38a88e3a68d1382729b55448e782
292cec77b5003a2f80360d0aee77556d12d990f7
/src/bentoml/metrics.py
963a8ceb51a9586f7e17384a8dbae9639c894c80
[ "Apache-2.0" ]
permissive
yubozhao/BentoML
194a6ec804cc1c6dbe7930c49948b6707cbc3c5f
d4bb5cbb90f9a8ad162a417103433b9c33b39c84
refs/heads/master
2022-12-17T00:18:55.555897
2022-12-06T00:11:39
2022-12-06T00:11:39
178,978,385
3
0
Apache-2.0
2020-12-01T18:17:15
2019-04-02T01:53:53
Python
UTF-8
Python
false
false
15,578
py
from __future__ import annotations import typing as t import logging from typing import TYPE_CHECKING from simple_di import inject from simple_di import Provide from ._internal.utils import warn_experimental from ._internal.utils import add_experimental_docstring if TYPE_CHECKING: from ._internal.server.metrics...
[ "noreply@github.com" ]
yubozhao.noreply@github.com
d419864c9468fdbb1bf0e65e3a0ae4a663cf37fb
fff3a6334b409626f4b28a03b0792de01b00b49a
/NumpyAndPandas/convert_pandas2numpy.py
30c1b29d0b805458c4a78a888fb73481b9d87646
[]
no_license
JY-Justin/pydailynotes
fed28efa782287e9860fb9763ba8cb0afe2cd86b
faae36526a4202282d180ebe50031999531374d4
refs/heads/master
2022-01-05T17:12:41.491503
2019-07-24T09:04:06
2019-07-24T09:04:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,232
py
# Convert DataFrame to a NumPy record array. # Index will be put in the 'index' field of the record array if requested. """ Parameters ---------- index : boolean, default True Include index in resulting record array, stored in 'index' field. convert_datetime64 : boolean, default None .. de...
[ "furuiyang0715@gmail.com" ]
furuiyang0715@gmail.com
eb3316e63bd997be577d20c9714685f0a2e8624d
98535040e8ef459d5828d9a0780e2c5bad70f21d
/excercise-master/002/question0016.py
89d5dc1a5f593b56c07c3101c61ed9cb30eb1273
[]
no_license
IanChen6/exercise2
204e1a712abc23c991bcf8e22a361da5f7d4f071
e9ef3ff1f8df53f2d4fa97643f49e1beeaaefb8e
refs/heads/master
2022-10-29T04:05:45.120197
2018-04-25T10:04:34
2018-04-25T10:04:34
114,364,139
0
1
null
2022-10-26T05:03:44
2017-12-15T11:37:33
Python
UTF-8
Python
false
false
636
py
# -*- coding:utf-8 -*- __author__ = 'IanChen' ''' 纯文本文件 city.txt为城市信息, 里面的内容(包括花括号)如下所示: [ [1, 82, 65535], [20, 90, 13], [26, 809, 1024] ] ''' from collections import OrderedDict import json,xlwt with open("wenben3.txt",'r') as f: data = json.load(f)#顺序是跟text中定义的顺序是一样的 workbook=xlwt.Workbook() sheet...
[ "626614767@qq.com" ]
626614767@qq.com
69ee3457ee42f9e928389fe7974ba2336db138d0
2b26164ebad2926ff0a24063809f0711f9ffbd6d
/src/navigation_experiment/data_analysis/GetData/analysis/analysis.py
b63dac028c21aee397bf89a2f93d71b14357315f
[]
no_license
pangxiansen123/robot_navigation
8a9f0ff97849adf0f99b36d0bea866effadaee78
865eff0c4f6e356ccd3dadca68bad1b4e1a11466
refs/heads/master
2021-08-28T10:47:14.539200
2017-12-12T01:23:50
2017-12-12T01:23:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,690
py
#! /usr/bin/env python # coding:utf-8 import numpy as np import matplotlib.pyplot as plt import matplotlib as mpl import math xorigal = [] yorigal = [] posx = [] posy = [] dx = [] dpsi = [] #读取txt文件 #name = [[],[],[],[]] name = [[],[],[],[],[],[],[]] with open('data20-17Good.txt') as f:#with open('data/data3_fangx...
[ "you@example.com" ]
you@example.com
9e5a4c8668f9fda4fe8b894866833e5a9aee23c2
993ff3e6eb510b5083db5f15f2c0299c05a2c0f6
/payroll_extended/wizard/multi_payslip.py
c254243b72b24314dc682d3131b20db91167b10c
[]
no_license
Raghupathy15/Sigma
36b24e76e81bad4ae5435508018f1c960878901d
42eed3b211a7be8d8c9b70dc359a432c02be07f1
refs/heads/main
2023-01-31T18:25:09.712666
2020-12-09T09:22:17
2020-12-09T09:22:17
319,904,130
0
0
null
null
null
null
UTF-8
Python
false
false
4,197
py
# -*- coding: utf-8 -*- from odoo import fields, models, api import calendar from datetime import datetime from odoo.exceptions import Warning MONTHS = [('01', 'January'), ('02', 'February'), ('03', 'March'), ('04', 'April'), ('05', 'May'), ('06', 'June'), ('07', 'July'), ('08', 'August'), ...
[ "raghupathy@emxcelsolutions.com" ]
raghupathy@emxcelsolutions.com
7a8f27ac509e697dfd2d8240eb56c70d9fe45bf3
caa5ce3f6a36f4392f8c51c6e360e98663b3d1ee
/model/hier/vg/pre_hier.py
9e94133b69584bcb649c26ee2f36433254e5d959
[]
no_license
sx14/tf-vtranse-exp
9eb0ce2d7f4f9c1db8b4ac3731535529af5de332
4e2d394e63cff86b0ca235882759b08ba14a9e63
refs/heads/master
2020-04-13T03:45:57.154701
2019-04-04T05:26:54
2019-04-04T05:26:54
162,941,337
0
0
null
null
null
null
UTF-8
Python
false
false
6,924
py
import os from model.hier.label_hier import LabelHier from model.hier.label_hier import LabelNode from global_config import PROJECT_ROOT class PreNet(LabelHier): def _construct_hier(self): # STUB IMPLEMENTATION # 0 is background # root node next_label_ind = 1 root = Label...
[ "1059363093@qq.com" ]
1059363093@qq.com
2fc980acb3aa930c22661f210db3caeff2355dc0
e331b7a564853a3a959ec47663f6ead6b060ff37
/testkraken/testing_functions/test_afni_scan_data_diff_fake.py
8fdb16835d2edb3bcc8f589cb2c94a77bd768f7b
[]
no_license
ReproNim/testkraken
a21ff9e8c17ab7a84896c5fcab3bd6ba5908b9fe
d2410997e3ab230e99278649e6ef8b8daee00667
refs/heads/master
2021-07-14T20:00:00.148482
2021-06-02T04:21:05
2021-06-02T04:21:05
104,270,378
4
7
null
2021-05-21T14:28:09
2017-09-20T21:40:40
Python
UTF-8
Python
false
false
1,275
py
"""Checking if lists from two json files are equal""" from __future__ import division import json import numpy.testing as npt import nibabel as nib from pathlib import Path def test_afni_scan_data_diff_fake(file_out, file_ref=None, name=None): image_out = nib.load(str(file_out)) data_out = image_out.get_fdat...
[ "djarecka@gmail.com" ]
djarecka@gmail.com
3db53c666eecc431e8661ea3e8a2937bc85a05e1
01e5e599e487bcd5114f399372ec34ed35dfacf5
/core/settings.py
cce6abca384ee648f52c40cb34cecda91d692533
[ "MIT" ]
permissive
FrankCasanova/API-TODO-djangoREST-React
377b7130d76d7030ac52ee707f7ecca1ed69562d
00858d3eec4c8e4cd67a477b481a2c21eb6b4e9b
refs/heads/master
2023-05-06T22:47:33.455872
2021-05-31T21:10:53
2021-05-31T21:10:53
372,613,328
0
0
null
null
null
null
UTF-8
Python
false
false
3,523
py
""" Django settings for core project. Generated by 'django-admin startproject' using Django 3.2.3. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from pathlib im...
[ "frankcasanova.info@gmail.com" ]
frankcasanova.info@gmail.com
431f2765e7f2966ac05d4cf4481c66363fe42aee
dd5ee6d1e88527cd22f1b64443320ba8ef751b59
/rlcard3/games/doudizhu/round.py
309a341ae909854928f262ffc8a3bd5b059d7ad6
[ "MIT" ]
permissive
sorata2894/rlcard3
42a2587e3ab00f3a33c684fb76efbc334a835359
e9bbd36b789e670f96622a3a2ba8327f0d897561
refs/heads/master
2022-11-05T00:08:10.809055
2020-06-11T03:28:41
2020-06-11T03:28:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,293
py
# -*- coding: utf-8 -*- ''' Implement Doudizhu Round class ''' import functools import numpy as np from rlcard3.games.doudizhu.dealer import DoudizhuDealer as Dealer from rlcard3.games.doudizhu.judger import cards2str from rlcard3.games.doudizhu.utils import doudizhu_sort_card from rlcard3.games.doudizhu.utils import...
[ "31209755+cogitoergoread@users.noreply.github.com" ]
31209755+cogitoergoread@users.noreply.github.com
8b64e5680849aff4cfe88d91acffcd71372a5921
f0681b8c129e8afce21e340697502230f45ce930
/venv/Lib/site-packages/com/vmware/nsx_policy/infra/tier_0s/nat/nat_rules_client.py
98614f9cda57dce20d2932f582e896d7c238ae83
[]
no_license
dungla2011/python_pyvmomi_working_sample_vmware_easy
8852b6fdcd0f7d0f648f6f7b6c6e4f70c7213746
a3b6d86a802f28c7ee249fc03523d5e5f0a2e3bd
refs/heads/main
2023-07-05T14:56:46.551091
2021-08-20T12:19:39
2021-08-20T12:19:39
395,496,219
1
0
null
null
null
null
UTF-8
Python
false
false
6,178
py
# -*- coding: utf-8 -*- #--------------------------------------------------------------------------- # Copyright 2021 VMware, Inc. All rights reserved. # AUTO GENERATED FILE -- DO NOT MODIFY! # # vAPI stub file for package com.vmware.nsx_policy.infra.tier_0s.nat.nat_rules. #-------------------------------------------...
[ "dungla2011@gmail.com" ]
dungla2011@gmail.com
e79cab08d697e0537ecbd7be6339550b441a9181
897d82d4953ed7b609746a0f252f3f3440b650cb
/day03/exercise_personal/01_exercise.py
61831634bcbd01bc8daced22ec97ad178e466f10
[]
no_license
haiou90/aid_python_core
dd704e528a326028290a2c18f215b1fd399981bc
bd4c7a20950cf7e22e8e05bbc42cb3b3fdbe82a1
refs/heads/master
2022-11-26T19:13:36.721238
2020-08-07T15:05:17
2020-08-07T15:05:17
285,857,695
0
0
null
null
null
null
UTF-8
Python
false
false
487
py
# 说出下列代码表达的命题 # 命题:666是字符 # print(666 == "666") # 命题:你是爱我的 # print(input("你爱我吗? ") == "爱") # 命题你的身高超过170 # print(float(input("请输入你的身高:")) > 170) # 根据命题写出代码 # 输入的是正数 print(int(input("请输入一个整数")) > 0) # 输入的是月份 # print(0 < int(input("请输入一个整数")) <= 12) # # 输入的不是偶数 # print(int(input("请输入一个整数")) % 2 != 0)
[ "caoho@outlook.com" ]
caoho@outlook.com
6df09ee8bbd6ef662a300a76f782b42241bf3046
9b7c17d8058b5b2dc829eedf939ccf8a8c5da69c
/Unit Testing/package1/signup.py
2ebf7c7fc6ada4e5c47eed654a2045b76cbee4f5
[]
no_license
AnkitM18-tech/Selenium
e0ca4d46d1f42ea5808277edca8e1dc558d191a9
3098249d02ef5e0ad8aa870217c2d42d4b929653
refs/heads/master
2023-01-06T16:42:53.746233
2020-11-10T21:07:39
2020-11-10T21:07:39
311,781,417
1
0
null
null
null
null
UTF-8
Python
false
false
325
py
import unittest class SignUp(unittest.TestCase): def test_SignUp_with_FB(self): print("Sign Up with FaceBook") def test_SignUp_with_Insta(self): print("Sign Up with InstaGram") def test_SignUp_with_GitHub(self): print("Sign Up with GitHub") if __name__=="__main__": unittest.m...
[ "ankitmohanty1804@gmail.com" ]
ankitmohanty1804@gmail.com
ba4c1ee5fb2bc5fcbb428a5f26fdc7fa28e5e199
4e3c976773526fd610d64ffb83589bccfaee5e68
/sponge-jython/examples/script/py/rules_none_mode_events_conditions.py
01b18f6bb9f24212ec3194c55d2a2cccc25aa3d5
[ "Apache-2.0" ]
permissive
softelnet/sponge
2313d2328953fcff49a002e727bb803757870627
7190f23ae888bbef49d0fbb85157444d6ea48bcd
refs/heads/master
2022-10-28T16:19:55.619882
2021-09-16T19:50:08
2021-09-16T19:50:08
95,256,030
10
2
Apache-2.0
2022-10-04T23:55:09
2017-06-23T20:58:49
Java
UTF-8
Python
false
false
1,636
py
""" Sponge Knowledge Base Using rules - events """ from org.openksavi.sponge.examples.util import CorrelationEventsLog def onInit(): global correlationEventsLog # Variables for assertions only correlationEventsLog = CorrelationEventsLog() sponge.setVariable("correlationEventsLog", correla...
[ "marcin.pas@softelnet.com" ]
marcin.pas@softelnet.com
1af403f17188a753c0ec41752f261b8472a642b9
ca4701fa5a1cc107f0264ef61b840d5d6ddcfb5c
/main/web/apps.py
a098bc0bd67de4d5509285124791174743045ae9
[]
no_license
tsevindik/xcc
0838f303579d34a9dfa10168bfb789138c6dec85
d52f40dc8011cc4986bf12a731e5aaa7920a6e2e
refs/heads/master
2021-03-27T17:24:47.677172
2018-03-04T17:35:57
2018-03-04T17:35:57
123,707,204
0
0
null
null
null
null
UTF-8
Python
false
false
278
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals, absolute_import from django.apps import AppConfig from django.utils.translation import ugettext_lazy as _ class WebConfig(AppConfig): name = "main.web" verbose_name = _("Home") verbose_name_plural = _("Home")
[ "tarek.it.eng@gmail.com" ]
tarek.it.eng@gmail.com
9e4bd1ef7ad92c090c082b5af3950d4dec4f96e3
1cc43d5ed0a843289c8f6dafb6a16fab26a8eede
/scripts/sphinx2nb
fbfe0b003e27464b94a731473f7c26e199239f3a
[ "BSD-2-Clause" ]
permissive
matthew-brett/nb2plots
cc5eb9b6642f35c535d315628fe2c5aaad48c73f
b43f91c510efdd0a26d29db71acba83cd1b3c317
refs/heads/main
2023-09-01T03:09:09.848218
2023-08-22T09:24:35
2023-08-22T09:24:35
44,816,915
36
8
NOASSERTION
2023-08-19T20:05:18
2015-10-23T14:07:04
Python
UTF-8
Python
false
false
294
#!python """ Convert single ReST document to Notebook JSON Example: sphinx2nb example.rst Write notebook JSON to stdout as UTF-8. """ # vim: ft=python from nb2plots.commands import do_main if __name__ == '__main__': do_main("Convert Sphinx ReST file to Notebook JSON", 'jupyter')
[ "matthew.brett@gmail.com" ]
matthew.brett@gmail.com
934d6653563300a111972ca694fbe7dd0c761b52
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/g3BokS6KZgyYT8Hjm_9.py
7d81dacf8b9eab772d6b3fe406d52633739b0594
[]
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
63
py
shift_to_left=lambda x,y:shift_to_left(x*2,y-1)if y>0 else x
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
703548e9599504d672c3071b4b9007d5195b46ca
f2e97b979c648b3b121ff0f8c37cf6ae998fa513
/python/mydeque.py
21d62fb4f6f09e963ecffe6812c03c4637a7b8ec
[]
no_license
LeonKennedy/LearningByLanguage
64564271a323809ab27bd09b2d142a485d013ce2
51d44f54b13c2e0202f9986f3556ad7f93e55e7c
refs/heads/master
2022-11-10T22:46:07.917794
2022-11-08T10:48:52
2022-11-08T10:48:52
52,009,288
0
0
null
null
null
null
UTF-8
Python
false
false
515
py
#!/usr/bin/env python #-*- coding: utf-8 -*- # @Filename: mydeque.py # @Author: olenji - lionhe0119@hotmail.com # @Description: --- # @Create: 2018-09-25 18:43:21 # @Last Modified: 2018-09-25 18:43:21 # from collections import deque dp = deque(range(10), maxlen=10) print(dp) dp.rotate(3) print(dp) dp.rotate(-4) print...
[ "lionhe0119@hotmail.com" ]
lionhe0119@hotmail.com
301ab4767d7b9c675a49386fddf5690cea6e8826
0ea22107790ef695ad80ddba9d6a6c1ae95e7c6e
/kalibr-cde/cde-root/usr/lib/pymodules/python2.7/rosdep2/core.py
b9041863331c4d73e86f333c2667ee89fb3b7bd3
[]
no_license
wangrui996/camera_imu_calibration
0f9bc0cf737641b352fa71ae9710c735da69a732
4296aeac1001f21502355d8ca98d4ae214e30ffc
refs/heads/main
2023-06-19T15:19:42.618423
2021-07-15T06:52:20
2021-07-15T06:52:20
386,193,412
2
1
null
null
null
null
UTF-8
Python
false
false
52
py
./../../../../..//usr/share/pyshared/rosdep2/core.py
[ "wangrui957@163.com" ]
wangrui957@163.com
c2f5ba7d7275b7c3be0c4896efb9e5ea5d085cbf
ecd9b7e440f002a00d3a8a8e62de208508fadb75
/double_sort.py
5b2aa98059cf7315c74570650dd05e153970b86b
[]
no_license
enderst3/challenges
ce2248eabc36e64dbd84dffad3fea176108bc3f3
0b13195cc53d5fc25f7bedd3dad1c14051e216cc
refs/heads/master
2023-01-09T00:47:51.129159
2020-04-20T22:09:00
2020-04-20T22:09:00
77,492,197
0
1
null
2023-01-03T22:44:04
2016-12-28T01:08:14
null
UTF-8
Python
false
false
777
py
""" Simple enough this one - you will be given an array. The values in the array will either be numbers or strings, or a mix of both. You will not get an empty array, nor a sparse one. Your job is to return a single array that has first the numbers sorted in ascending order, followed by the strings sorted in alphabe...
[ "enderst3@gmail.com" ]
enderst3@gmail.com
09d87142f083c1ae1e6fca6073e14c7f37509171
3d0ae7c8693463faa11bacad8e6ea9d0d70b9eb1
/nlp/3rdParty/orange/orange/OrangeWidgets/Evaluate/OWCalibrationPlot.py
5dedc91f83500c95122cfe0aca3bd8e108b262a1
[]
no_license
stefie10/slu_hri
a76f79094bd1740676fec5d889411ba3b1d9dc26
50753379953e1ff822162eeab094cffe4a30f3e1
refs/heads/master
2022-12-14T01:07:51.522258
2020-08-31T00:50:12
2020-08-31T00:50:12
291,386,375
0
0
null
null
null
null
UTF-8
Python
false
false
14,018
py
""" <name>Calibration Plot</name> <description>Displays calibration plot based on evaluation of classifiers.</description> <contact>Tomaz Curk</contact> <icon>icons/CalibrationPlot.png</icon> <priority>1030</priority> """ from OWColorPalette import ColorPixmap from OWWidget import * from OWGraph import * import OWGUI ...
[ "stefie10@alum.mit.edu" ]
stefie10@alum.mit.edu
469d5e648f160bea3506e3556a39a7bebd37b08d
176bda9771b0ec07a3206112eb4dbd34f5dc293a
/slovniky/json/1-json-priklad.py
8b5ad5e655e6aa3273aabc91dbf855b6969d3559
[]
no_license
HelenaJanda/pyladies-7
8b4254f85295fb5695c60b1b5d8f70e29d1a999f
00613e2ff1bea2b8b8f60d3e4ce7a83345f2300d
refs/heads/master
2022-12-24T03:12:35.338933
2020-10-14T15:32:46
2020-10-14T15:32:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
# Priklad retezce ve formatu JSON # Trojite uvozovky v Pythonu umoznuji zapsat retezec # na vice radku json_retezec = """ { "jméno": "Drobek", "oblibené_krmivo": "CatFood Premium Deluxe", "váha": 11, "rasa": "Pouliční směs" } """ json_retezec_z_eshopu = """ { "jméno_produktu": "Kosmodisk", "ce...
[ "vojtech.ruz@gmail.com" ]
vojtech.ruz@gmail.com
af0e44a21c215e396bdc2718d87a565aaac91aee
d5f9f0754872b96b31599550a8f6939077e22891
/2022/python/tests/test_day14.py
c09d4ddb4a73fc61fca2c628b9ba28d289d854e0
[]
no_license
sugyan/adventofcode
8ab2d175eb32f4bc8af0acec02c946709e74e8cb
39d3aae585ee1378e48f6c3661a55555d940abf7
refs/heads/main
2023-04-27T02:45:10.534650
2023-04-18T14:58:18
2023-04-18T14:58:18
225,186,308
1
0
null
2022-12-02T14:45:39
2019-12-01T15:47:18
Rust
UTF-8
Python
false
false
378
py
from io import StringIO from typing import TextIO from aoc2022.day14 import Solution def example_input() -> TextIO: return StringIO( """\ 498,4 -> 498,6 -> 496,6 503,4 -> 502,4 -> 502,9 -> 494,9 """ ) def test_part1() -> None: assert Solution(example_input()).part1() == 24 def test_part2() ->...
[ "sugi1982@gmail.com" ]
sugi1982@gmail.com
e414cbcf16d6f6cad3aa0fe2e87c61a549863a62
801b637b846b5ada47c462ad8547d240ceba72b8
/Strings/Group Anagrams.py
9566bed0dadff1061787f90e1502a4fa8a20e77c
[]
no_license
shlokashah/Coding-Practice
7834fed4b50b85ddcab420e830ecec89638390a5
a56e1a4185aba1f32c1169d486b705f28888ca07
refs/heads/master
2022-11-20T13:00:54.617380
2020-07-21T14:35:40
2020-07-21T14:35:40
252,912,592
1
0
null
null
null
null
UTF-8
Python
false
false
266
py
class Solution: def groupAnagrams(self, strs: List[str]) -> List[List[str]]: anagrams = defaultdict(list) for word in strs: anagrams[''.join(sorted(word))].append(word) return list(anagrams.values())
[ "shlokashah0603@gmail.com" ]
shlokashah0603@gmail.com
996c89e0ae8f360afbf6b3f581385f5819e3f836
c08cc12c9ef73d65f4e11b318a03d04a595da9e8
/benchmark/filterupdates_push_vs_pull/quasar_extraprop_plot.py
0f61721335adbbf5039a864b60249a537bf63ef0
[ "MIT" ]
permissive
F483/storjnet
9a88f32f15907b40c2d7df40883aecd520a93211
eff677d34ce7eef0d2c5058a51d0f8cea39e0470
refs/heads/master
2021-01-18T09:00:30.327571
2016-04-15T11:00:36
2016-04-15T11:00:36
50,858,629
0
0
null
2016-02-01T17:52:58
2016-02-01T17:52:57
null
UTF-8
Python
false
false
4,661
py
# -*- coding: utf-8 -*- import matplotlib.pyplot as plt # pip install matplotlib import json push_x = [] push_y_success = [] push_y_redundant = [] push_y_spam = [] pull_x = [] pull_y_success = [] pull_y_redundant = [] pull_y_spam = [] pull_samples = [ json.load(open("benchmark/filterupdates_push_vs_pull/quasar...
[ "fabian.barkhau@gmail.com" ]
fabian.barkhau@gmail.com
1489f20b1597995103e38e213b6ea488f1020f51
eb64b799ff1d7ef3a244bf8e6f9f4e9118d5cfcd
/homeassistant/components/roku/const.py
e399f6e0558be98b33abee2b16d3890b18d44236
[ "Apache-2.0" ]
permissive
JeffLIrion/home-assistant
53966b81b5d5816679f12fc761f79e8777c738d6
8f4ec89be6c2505d8a59eee44de335abe308ac9f
refs/heads/dev
2023-08-22T09:42:02.399277
2022-02-16T01:26:13
2022-02-16T01:26:13
136,679,169
5
2
Apache-2.0
2023-09-13T06:59:25
2018-06-09T00:58:35
Python
UTF-8
Python
false
false
258
py
"""Constants for the Roku integration.""" DOMAIN = "roku" # Attributes ATTR_CONTENT_ID = "content_id" ATTR_FORMAT = "format" ATTR_KEYWORD = "keyword" ATTR_MEDIA_TYPE = "media_type" # Default Values DEFAULT_PORT = 8060 # Services SERVICE_SEARCH = "search"
[ "noreply@github.com" ]
JeffLIrion.noreply@github.com
bb1ddc2a4ac0703c6865bb8319ae52498b83232b
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/sieve-big-9597.py
4c21f6f0fec84885533e11d6210e4e3a10f267db
[]
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
31,669
py
# A resizable list of integers class Vector(object): items: [int] = None size: int = 0 def __init__(self:"Vector"): self.items = [0] # Returns current capacity def capacity(self:"Vector") -> int: return len(self.items) # Increases capacity of vector by one element def incr...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
cea4afe59d8d15c5385b71a8a8f22dd531288aa3
df8466745f40b2966c69744a78dce62e46e69503
/AULA7/exemplos/portlist_004.py
025a705e843b7eb6ed701f159b8204e321888856
[]
no_license
sandromelobrazil/YELLOW_aula1
42f0e8ffa673a5f95d6ee6330ef1d2b894339a14
c078fbe235979f365f72c6f160462b394a44765c
refs/heads/master
2023-02-05T00:52:43.719881
2021-08-10T16:00:03
2021-08-10T16:00:03
300,909,573
0
0
null
null
null
null
UTF-8
Python
false
false
622
py
#!/usr/bin/python portlist = set() ## pasando strings para definir range de portas porttest1 = [ '1000','11', '11', '11', '111', '11', '22', '441', '10-1000', '1500-6000'] for _port in porttest1: if _port.isdigit(): print('Isto eh um digito em formato de string:', _port) portlist.add(int(_port)...
[ "sandromelo.brazil@gmail.com" ]
sandromelo.brazil@gmail.com
0091ce629b4773699442461d35394723716a76ca
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/pg_1331+591/sdB_pg_1331+591_coadd.py
650643dc7a2fd039f5f7f94955aa0d6325f3cbad
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
430
py
from gPhoton.gMap import gMap def main(): gMap(band="NUV", skypos=[203.408167,58.826192], skyrange=[0.0333333333333,0.0333333333333], stepsz = 30., cntfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdBs/sdB_pg_1331+591/sdB_pg_1331+591_movie_count.fits", cntcoaddfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdB/sdB...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
4952da8095c0c06b72bd1e80492c81ec55db8f15
9b79dc0b4b2f13dea85a1d29177e5eb266b6e7f7
/usr/share/gst-python/0.10/examples/pipeline-tester
0621097d0d560a9ebab76aadee953e4a6a2ad6c3
[]
no_license
haniokasai/netwalker-rootfs
0bc87efc0ae478338b6326fd9118befcbcc5cd06
d08f7bf370a82b6970387bb9f165d374a9d9092b
refs/heads/master
2021-01-10T11:04:34.436513
2016-01-12T06:09:50
2016-01-12T06:09:50
36,504,146
2
1
null
null
null
null
UTF-8
Python
false
false
8,873
#!/usr/bin/env python # # gst-python # Copyright (C) 2005 Andy Wingo <wingo@pobox.com> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation; either # version 2 of the License, or (at your op...
[ "htek@haniokasai.com" ]
htek@haniokasai.com
52e35d62c03512fe1a51e67e82db5eeed3f504b5
2d445c21e58e80841b0ac99cc678137812f0a670
/practice/exhaustive_search_2/6.py
3ca7337265ab534db52e6a0a55c48eb048188543
[]
no_license
kajyuuen/programming_contest
65c9bc7b7101d7b5fb35cd0cf3fdc6b4213fd0f6
d2b29edf655f64d018947773a29c9a7e3c4a3456
refs/heads/master
2020-04-23T09:51:04.554152
2020-03-06T08:09:29
2020-03-06T08:09:29
171,083,409
2
1
null
null
null
null
UTF-8
Python
false
false
1,407
py
import math import copy from operator import mul from functools import reduce from collections import defaultdict from collections import Counter from collections import deque # 直積 A={a, b, c}, B={d, e}:のとき,A×B={(a,d),(a,e),(b,d),(b,e),(c,d),(c,e)}: product(A, B) from itertools import product # 階乗 P!: permutations(seq)...
[ "kajyuuen@gmail.com" ]
kajyuuen@gmail.com
8029ec50fbbd9ae648da1ff8cd865ab65dc428d1
480e33f95eec2e471c563d4c0661784c92396368
/SimCalorimetry/EcalTestBeam/python/ecaldigi_testbeam_cfi.py
622c3700cdbd89eeecef45ddb163a78db9581b77
[ "Apache-2.0" ]
permissive
cms-nanoAOD/cmssw
4d836e5b76ae5075c232de5e062d286e2026e8bd
4eccb8a758b605875003124dd55ea58552b86af1
refs/heads/master-cmsswmaster
2021-01-23T21:19:52.295420
2020-08-27T08:01:20
2020-08-27T08:01:20
102,867,729
7
14
Apache-2.0
2022-05-23T07:58:09
2017-09-08T14:03:57
C++
UTF-8
Python
false
false
1,469
py
import FWCore.ParameterSet.Config as cms from SimCalorimetry.EcalSimProducers.ecalDigiParameters_cff import * from SimCalorimetry.EcalSimProducers.apdSimParameters_cff import * from SimCalorimetry.EcalSimProducers.ecalSimParameterMap_cff import * from SimCalorimetry.EcalSimProducers.ecalElectronicsSim_cff import * fro...
[ "giulio.eulisse@gmail.com" ]
giulio.eulisse@gmail.com
ec974c6bd6cdaedb30b4225eb19f775e78f663e3
988176bcdae841e08106b0fe5cf07aabbc210c83
/check if number has repeating digits.py
e52d031e1d90dbf746079c45056103fb0a3dc4f8
[]
no_license
gopiprasad008/GUVI_CODEKATA_PYTHON_CODE
ce1a63c7eea2a099c01748162c1deb47172dcd0a
78f374e344df25aab181408d8f41b3ebe03b34ef
refs/heads/master
2023-03-16T00:27:31.539524
2020-05-16T11:46:08
2020-05-16T11:46:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
209
py
n = int(input()) l=[] while n>0: l.append(n%10) n //= 10 count = 0 flag = False for i in l: count = l.count(i) if count > 1: flag = True if flag: print("yes") else: print("no")
[ "noreply@github.com" ]
gopiprasad008.noreply@github.com
242db4c947253638daa86ab51e914f0eec4d3fd3
4a9995871447a406a7e6307a030503700cd41226
/script/testCase/Y3me项目/数字化建模9/流程管理/协作关系.py
eb20471214b2628a26460e665f609a3ae7bcc3f8
[]
no_license
juntaoh1234/12122003
96a107ce22d930e8d9517810736d8f6ce92dc7ad
4bee39286c3708d7a0df3001e0daa9da51478170
refs/heads/master
2020-10-01T18:20:01.572599
2019-12-12T12:04:08
2019-12-12T12:04:08
227,596,967
3
0
null
null
null
null
UTF-8
Python
false
false
2,011
py
# coding=utf-8 from time import time, sleep from SRC.common.decorator import codeException_dec from SRC.unittest.case import TestCase from SRC.webdriver import switchTo from script.common import utils from selenium import webdriver from selenium.webdriver import ActionChains class EasyCase(TestCase): def __init_...
[ "1341890679@qq.com" ]
1341890679@qq.com
6aaeac0a8a8cac8f5e7d5a50528273d865c057d2
90972e383d74ac304cd7906c870b9152f143ab32
/project/settings/epio.py
9667526603fb725fe9986247de58e72a33ccdc06
[]
no_license
stefanfoulis/django-epioprices
ddcc04a401d049d2c027ff66bf8ef10d2a0d6b14
96b95d208b852190f7758216049992b262b8a9bf
refs/heads/master
2021-01-19T06:57:05.789881
2011-09-04T19:46:54
2011-09-04T19:47:03
2,316,913
0
0
null
null
null
null
UTF-8
Python
false
false
146
py
#-*- coding: utf-8 -*- from .base import * DEBUG = False MIDDLEWARE_CLASSES = ( 'project.middleware.HTTPSMiddleware', ) + MIDDLEWARE_CLASSES
[ "stefan.foulis@gmail.com" ]
stefan.foulis@gmail.com
35ca86acb90a5ca15d3c742c20968dbab50bb473
4f1296d24b4322298b5b6891f82fd4a18b375c09
/HFS/file_server/migrations/0001_initial.py
7faec20426481374c995efc7cfdb4c2ea55c6524
[]
no_license
levenkoevgeny/hfs
a97e5a172f930cb5b1f9503a925ae8a11d78b684
019fccf8d5408930f80f0393c2fe41528e8ff9bc
refs/heads/main
2023-01-31T21:11:12.194927
2020-12-13T17:05:29
2020-12-13T17:05:29
321,114,641
0
0
null
null
null
null
UTF-8
Python
false
false
699
py
# Generated by Django 3.1.4 on 2020-12-11 20:04 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='FileStorage', fields=[ ('id', models.AutoFi...
[ "levenko.evgeny@yandex.by" ]
levenko.evgeny@yandex.by
5a06628f0400b00de486cc7c4778a12ad607607b
a6a78f59f442c18449befc89be2b193e37b695d6
/ivi/tektronix/tektronixPS2521G.py
d54c77dde91ff329af57b8b4e8fe70b131bbccff
[ "MIT" ]
permissive
hohe/python-ivi
fa0b4b1232f4fca92bd046d2ae322e49959f8a83
0fe6d7d5aaf9ebc97085f73e25b0f3051ba996b6
refs/heads/master
2021-01-21T08:55:35.470107
2013-12-23T09:27:02
2013-12-23T09:27:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,750
py
""" Python Interchangeable Virtual Instrument Library Copyright (c) 2012 Alex Forencich 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 righ...
[ "alex@alexforencich.com" ]
alex@alexforencich.com
b60380bd87fa2718007ebe5061fa39f7dec0a03f
77900cdd9a815caf1cd04705321ca93f5072179f
/Project/.history/product_20211116230026.py
fe5a2f7644b7fbfd41ca84c68a7768fc338507fa
[]
no_license
Bom19990111/helloword_python
717799d994223d65de5adaeabecf396ff2bc1fb7
2ee2e67a60043f03c1ce4b070470c7d2dcdc72a7
refs/heads/master
2023-09-06T04:17:02.057628
2021-11-21T20:00:46
2021-11-21T20:00:46
407,063,273
0
1
null
2021-11-21T20:00:47
2021-09-16T07:18:35
Python
UTF-8
Python
false
false
11,351
py
import data as list_product import random import pandas as pd # def __init__(self, Id, Product_code, Product_name, Brand, Year, Size): # self.Id = Id # self.Product_code = Product_code # self.Product_name = Product_name # self.Brand = Brand # self.Year = Year # self.Size = Size # Thêm sản phẩ...
[ "phanthituyngoc1995@gmail.com" ]
phanthituyngoc1995@gmail.com
06384e12131deffb61c7772e8da7f407e228c80b
b631b8d53ddacf0e5b31940a3e4dbf1d729beb18
/backend/test/bot/modules/auth.py
bd7b5025efdb30e47a99b4c17e1b874bdfe9eed3
[ "MIT" ]
permissive
SpartanPlume/Tosurnament
9c6f0519eaff4d86f424a3d29cbb78c9b8a1f794
8b9871edeb6fda49cdf69607047714f6b42a5992
refs/heads/master
2023-07-25T18:55:50.599135
2023-02-01T18:09:07
2023-02-01T18:09:07
110,076,290
10
9
MIT
2023-07-20T05:48:58
2017-11-09T06:26:14
Python
UTF-8
Python
false
false
2,992
py
""" All tests concerning the Tosurnament auth module. 'link' generates a code to set on the osu profile. 'auth' finalizes the linking process, meaning the discord and osu! account are associated. """ import importlib import pytest from bot.modules import auth from common.databases.tosurnament.user import User import ...
[ "spartan.plume@gmail.com" ]
spartan.plume@gmail.com
745b60f9c6ba953b33302fd37de74fd47b1cc0e6
b76615ff745c6d66803506251c3d4109faf50802
/pyobjc-framework-AdSupport/PyObjCTest/test_asidentifiermanager.py
cfc6bbe404fdd6c923caf28766c115f365d4f967
[ "MIT" ]
permissive
danchr/pyobjc-git
6ef17e472f54251e283a0801ce29e9eff9c20ac0
62b787fddeb381184043c7ff136f1c480755ab69
refs/heads/master
2021-01-04T12:24:31.581750
2020-02-02T20:43:02
2020-02-02T20:43:02
240,537,392
0
0
null
null
null
null
UTF-8
Python
false
false
474
py
from PyObjCTools.TestSupport import * import sys if sys.maxsize > 2 ** 32: import AdSupport class ASIdentifierManager(TestCase): @min_os_level("10.14") def test_classes(self): AdSupport.ASIdentifierManager @min_os_level("10.14") def test_methods(self): ...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
5686e239e182e1b4e58e6bce648c24b1f6ea08bd
9399d687b2e41245968ba0e9d413a6789d773b1d
/CI/erlang/third-party/aiwan-master/client/device.py
754832646634160d8190355c37cfba125f942890
[]
no_license
jiangliu888/DemoForSpeed
be41bdb85a1d1f5ca9350a3a1f681ced5ec9b929
11319bc19c074327d863ac2813a04cef3487f8d6
refs/heads/main
2023-08-23T14:16:21.686155
2021-10-17T12:01:34
2021-10-17T12:01:34
388,452,435
1
0
null
null
null
null
UTF-8
Python
false
false
2,485
py
from client.rest import RestClient from core import settings class DeviceClient(object): netconfUrl = "http://" openflowUrl = "http://" + settings.OPENFLOW_SWITCH + ":" + "6007" switchUrl = "http://" + settings.CONTROLLER_HOST + ":" + "6008" @classmethod def get_device_config(cls, neId,...
[ "admin@example.com" ]
admin@example.com
eadeb1264bb093146984e75f8e55b93ce72f3cf4
649bd422025e421d86025743eac324c9b882a2e8
/exam/1_three-dimensional_atomic_system/dump/phasetrans/temp225_0.py
c6f6f04e404e34ab19a96d3258ecf5b90e743ed7
[]
no_license
scheuclu/atom_class
36ddee1f6a5995872e858add151c5942c109847c
0c9a8c63d9b38898c1869fe8983126cef17662cd
refs/heads/master
2021-01-21T10:52:28.448221
2017-03-07T23:04:41
2017-03-07T23:04:41
83,489,471
0
0
null
null
null
null
UTF-8
Python
false
false
68,827
py
ITEM: TIMESTEP 0 ITEM: NUMBER OF ATOMS 2048 ITEM: BOX BOUNDS pp pp pp -1.7290005824188898e+02 2.2010005824193331e+02 -1.7290005824188898e+02 2.2010005824193331e+02 -1.7290005824188898e+02 2.2010005824193331e+02 ITEM: ATOMS id type xs ys zs 954 1 0.651226 0.00187092 0.0159513 363 1 0.140073 0.0393455 0.0129286 2034 1 0....
[ "scheuclu@gmail.com" ]
scheuclu@gmail.com
c461614562304a3b2000f40db33ff7f21259742e
6a7e9e0e9c08132166f566bd88ae1c46ff8f9c0a
/azure-batch/azure/batch/models/file_get_properties_from_task_options_py3.py
739968950e4aab8a972ebcd6471fbdc60f35dad1
[ "MIT" ]
permissive
ashirey-msft/azure-sdk-for-python
d92381d11c48f194ec9f989f5f803db614fb73f2
e04778e13306dad2e8fb044970215bad6296afb6
refs/heads/master
2020-03-23T06:05:39.283442
2018-09-15T00:18:26
2018-09-15T00:18:26
141,188,192
0
1
MIT
2018-07-16T20:02:52
2018-07-16T20:02:52
null
UTF-8
Python
false
false
2,924
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 ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
6de1a2aea187ec300bfd740c119186daf0a3bacc
0bce7412d58675d6cc410fa7a81c294ede72154e
/Python3/0187. Repeated DNA Sequences.py
5c1e68e6cea999b90fe7fa0212b3db81c952f6e5
[]
no_license
yang4978/LeetCode
9ddf010b0f1dda32cddc7e94c3f987509dea3214
6387d05b619d403414bad273fc3a7a2c58668db7
refs/heads/master
2022-01-15T04:21:54.739812
2021-12-28T12:28:28
2021-12-28T12:28:28
182,653,666
0
0
null
null
null
null
UTF-8
Python
false
false
653
py
class Solution: def findRepeatedDnaSequences(self, s: str) -> List[str]: temp = set() res = set() for i in range(len(s)-9): if(s[i:i+10] not in temp): temp.add(s[i:i+10]) else: res.add(s[i:i+10]) return list(res) # res =...
[ "noreply@github.com" ]
yang4978.noreply@github.com
508afb9d628e7845c8ebdd4faf782eae017b2ba3
bbed0e21b241c6a39341fed7d058563c30e2e0a4
/tests/utilities/test_argparse_utils.py
978ad820482b2f892cefc2cd2e2a39d3e911dc49
[ "Apache-2.0", "LicenseRef-scancode-proprietary-license" ]
permissive
haven-jeon/pytorch-lightning
656917a6cace5c3723d951f84515e8cb74a0ec79
6b9362bb73ada4c8702def43fe8f27eb3c382540
refs/heads/master
2023-02-23T18:29:08.298601
2021-01-28T07:42:14
2021-01-28T07:42:14
325,184,155
2
0
Apache-2.0
2021-01-28T07:42:15
2020-12-29T04:19:44
Python
UTF-8
Python
false
false
1,875
py
from pytorch_lightning.utilities.argparse_utils import parse_args_from_docstring def test_parse_args_from_docstring_normal(): args_help = parse_args_from_docstring( """Constrain image dataset Args: root: Root directory of dataset where ``MNIST/processed/training.pt`` a...
[ "noreply@github.com" ]
haven-jeon.noreply@github.com
78256590878a3030d608cb1b9ee665f1fdceeb19
f13ad562462b415e3301e4db9013eef8bccd4411
/MiniOsaka/typeddict.py
745042e178c1363bf29ef88373a37ecb97c86200
[ "Apache-2.0" ]
permissive
t2y/python-study
1dd6d5ccda6a9028e434f3906a25c19ee26091f5
52a132ea600d4696164e540d8a8f8f5fc58e097a
refs/heads/master
2021-12-08T19:37:44.035022
2021-11-30T19:07:35
2021-11-30T19:07:35
64,656,041
18
6
null
null
null
null
UTF-8
Python
false
false
202
py
from mypy_extensions import TypedDict Movie = TypedDict('Movie', {'name': str, 'year': int}) blade_runner: Movie = {'name': 'Blade Runner', 'year': 1982} toy_story = Movie(name='Toy Story', year=1995)
[ "tetsuya.morimoto@gmail.com" ]
tetsuya.morimoto@gmail.com
1ff59360b84b641133e119bdddd60944e89ebac2
b5a2d6981ac71ab4510f1d2ebd8595162ac001aa
/ha/controls/electricalSensors.py
d0936a99269ae45053fa329004d38e1f50f2691f
[]
no_license
lvmingxiao/ha
0e0f918d954d219c83fee6570d649641b5473b85
122ecfd2ef811e5be29e03538a3950aebe29fb12
refs/heads/master
2022-04-09T00:10:02.810782
2020-03-07T18:14:02
2020-03-07T18:14:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,784
py
import time import threading from ha import * # Measure a voltage class VoltageSensor(Sensor): def __init__(self, name, interface, addr, voltageFactor=1.0, threshold=0.0, group="", type="sensor", location=None, label="", interrupt=None, event=None): Sensor.__init__(self, name, interface, addr...
[ "joe@thebuehls.com" ]
joe@thebuehls.com
e8f9fc59d3ec441da331f43861c5f1854982d1df
a2a8d0e79d0407bfac1ba67102e224d1f61b0299
/abs_warehouse_status/models/warehouse_status.py
6199424c9a3a5a44c0557b17cb2754aa0e53c4fa
[]
no_license
maurolguin1/addons23
860f95eaa9896e96d95b3fd945d4a156b48ecd0a
e513e3bbaaac19583a2ffe0342c61e98ec0fdf82
refs/heads/master
2020-03-29T21:06:39.912762
2018-09-06T22:33:54
2018-09-06T22:33:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,327
py
# -*- coding: utf-8 -*- ################################################################################# # # Odoo, Open Source Management Solution # Copyright (C) 2018-Today Ascetic Business Solution <www.asceticbs.com> # # This program is free software: you can redistribute it and/or modify # it under the...
[ "diegobgajardo@gmail.com" ]
diegobgajardo@gmail.com
5b1246755057a64e7489d2b6e76f0264101cf930
c32fc1071362ca56f4f2a5488be7c4f41a2d3dc1
/pythoncrashcourse/AngelaPython/controlflow/logicaloperators/logical.py
d25ee9c3cb11c1433f24661ffd3a1461489b161e
[]
no_license
charan2108/pyprocharmprojects
234713888168551fe1fc49d20482f4b1d2b9351a
8100194a8d14bf84b6141df8c73e7ed1883d85e3
refs/heads/main
2023-08-21T00:59:47.052269
2021-09-30T16:05:41
2021-09-30T16:05:41
353,374,435
0
0
null
null
null
null
UTF-8
Python
false
false
581
py
print("Welcome to Python Pizza Deliveries!") size = input("What size pizza do you want? S, M, or L ") add_pepperoni = input("Do you want pepperoni? Y or N") add_cheese = input("Do you want cheese? Y or N") billAmt = 0 if size == 'S': billAmt+= 15 elif size == 'M' and size == 'L': billAmt+= 20 else: billAmt...
[ "sumacharan.adabala@gmail.com" ]
sumacharan.adabala@gmail.com
9a2c84277135e06fa5a734c588af4348596ff6bd
154ec3de1efcf3c97d154ac2ed0c7cd1c9a25040
/tests/h/util/group_test.py
ebe7c727fdefb4cf4b4e1e25fe5dbc3762918c9b
[ "BSD-3-Clause", "BSD-2-Clause-Views", "BSD-2-Clause" ]
permissive
Manuelinux/kubeh
98a9c5c0a98be67c3583dd222bd74046cd5ee484
a549f0d1c09619843290f9b78bce7668ed90853a
refs/heads/master
2023-03-16T00:51:43.318292
2021-09-17T03:33:14
2021-09-17T03:33:14
211,371,455
0
0
BSD-2-Clause
2023-03-03T07:20:50
2019-09-27T17:37:10
Python
UTF-8
Python
false
false
2,274
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals import pytest from h.util import group as group_util class TestSplitGroupID: @pytest.mark.parametrize( "groupid,authority_provided_id,authority", [ ("group:flashbang@dingdong.com", "flashbang", "dingdong.com"), ...
[ "manuelaguirre@Admins-MacBook-Pro.local" ]
manuelaguirre@Admins-MacBook-Pro.local
9bb4cf9afba68b0c74f54b7922e08e36b2a85dfb
fbab42646c7469bfb46ca7d6857100e2e8202483
/uprofile/migrations/0002_auto_20200302_1228.py
b4777b2285bb1e8ec910a4adfe2dcab4a166f945
[]
no_license
Stephen-Kamau/vibes
3415c6b44984f9242e55b794fa2a3ba3edd3f448
fbbce426f308c094533893de481dfa4a29f34919
refs/heads/master
2021-01-06T00:43:01.876815
2020-03-03T15:27:56
2020-03-03T15:27:56
241,402,125
0
0
null
2020-02-18T15:51:53
2020-02-18T15:51:52
null
UTF-8
Python
false
false
450
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.23 on 2020-03-02 12:28 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('uprofile', '0001_initial'), ] operations = [ migrations.AlterField( ...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
ec14d3689acef5992472c40061bc912c8d146609
a935a3d24cf99e30fb0170cb9f53cd9db4546153
/day1.py
4ee55381d53d0e17e435cfbdcc6b3a33d029ba66
[]
no_license
amiraHag/hackerrank-30-days-of-code
20d28b6c6850fc79fd5db3a7ba5b72300da8a073
b2c315e0eed2175251d504c3aafd63428389a40d
refs/heads/main
2023-02-09T06:15:00.103154
2021-01-06T11:27:27
2021-01-06T11:27:27
327,290,596
0
0
null
null
null
null
UTF-8
Python
false
false
487
py
# Declare second integer, double, and String variables. d=4.0 s= "HackerRank " # Read and save an integer, double, and String to your variables. i_input = int(input()) d_input= float(input()) s_input= input() # Print the sum of both integer variables on a new line. print(i+i_input) # Print the sum of the double varia...
[ "amira071846@feng.bu.edu.eg" ]
amira071846@feng.bu.edu.eg
6c0c2559d86358413593b7cc2c28dda06125f49e
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_378/ch18_2019_03_06_22_43_43_245046.py
1e1dfd0491c4b6d1fdf665a1b8cbe00e290d6544
[]
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
57
py
def encontra_cateto(a,b): y**2=b**2-a**2 return y
[ "you@example.com" ]
you@example.com
c7fce1092e3266f6536fde6ef9d144dd91a3e70c
6c007dd7d6b766be9162878425b84920765e8926
/read_comment_json.py
f394a9d9868a61c8d7239a10e18ac7283056403b
[ "MIT" ]
permissive
seahrh/pocojo
984e3a90f1bf9ccc9b3c9f1ad59703cfdd99dd2c
140489081b4e2f0d7e84d9e144bcc4d00c402a51
refs/heads/master
2020-03-07T08:15:40.980593
2019-04-04T06:38:44
2019-04-04T06:38:44
127,372,561
0
0
MIT
2019-04-04T06:38:45
2018-03-30T02:42:36
Python
UTF-8
Python
false
false
504
py
import json import re with open('comments/c300046.json', 'rt') as f: c = json.load(f) # print(f'c={repr(c)}') comments = c['comments'] print(f'c.length={repr(len(comments))}') for i, comment in enumerate(comments): comment_txt = re.sub('<[^<]+?>', '', comment['content']) print(f'#{i...
[ "seahrh@gmail.com" ]
seahrh@gmail.com
81a7e46bcf94d790ce074c0a3b2ac979d8b7c5e5
6c57b1694817d1710335429c12c2d9774ff446e3
/2017-08-03/AS_DA_DB/case03/generated_files/LEMS_c302_C2_AS_DA_DB_nrn.py
802203dc0f16cd04db7b536b3e7d3bb0f53a9824
[]
no_license
lungd/openworm-experiments
cd3875e8071c35eacb919c318344bac56d0fe379
065f481fbb445ef12b8ab2110f501686d26c213c
refs/heads/master
2021-01-01T04:41:38.397726
2017-09-12T13:55:40
2017-09-12T13:55:40
97,220,679
1
1
null
2017-09-01T17:10:28
2017-07-14T10:07:56
Python
UTF-8
Python
false
false
926,704
py
''' Neuron simulator export for: Components: Leak (Type: ionChannelPassive: conductance=1.0E-11 (SI conductance)) k_fast (Type: ionChannelHH: conductance=1.0E-11 (SI conductance)) k_slow (Type: ionChannelHH: conductance=1.0E-11 (SI conductance)) ca_boyle (Type: ionChannelHH: conductance=1.0E-11 (SI...
[ "lungdm@gmail.com" ]
lungdm@gmail.com
eb66f5335c038873ab2243502f6b419872f522bc
864ac654661bff891dcaddb89e108872afa010ec
/docs/_static/_downloads/a475f44e0a7e209fe8fa0dbd29c5d42a/showTaxaSummary.py
c094f0be55a5cf851ac23ee71b5a847957af19cf
[ "MIT" ]
permissive
ajrichards/xenopus-supplement
789f2ca271c896c728861ec0a7556d3fdb69a33b
43ae98372226d6f51144107d4bff33c4ab239bb7
refs/heads/master
2020-04-10T18:27:52.272597
2019-04-12T00:18:12
2019-04-12T00:18:12
161,205,194
0
0
null
null
null
null
UTF-8
Python
false
false
1,916
py
#!/usr/bin/env python """ Take the parsed blast results and create a summary file to be read by BlastMapper """ import os,sys,csv,re,getopt,time from htsint.blast import BlastMapper ## read input if len(sys.argv) < 2: raise Exception("\n\nInvalid syntax. use '%s'"%sys.argv[0] + " -s source\n") try: optlis...
[ "adamricha@gmail.com" ]
adamricha@gmail.com
9ed95fbd038e309371098ec353f27cb381087747
ddd3b6663fbcc5b64fe9a96a3da87dd1460e1ab4
/migrations/versions/6280e737c778_.py
8feef4dc0c04a47e2966afe3f851f6eb13beedda
[]
no_license
ranihorev/scihive-backend
3d72e35829d97368a331bc85c362c7af29b63eb9
d246a8ed07b0fd793a1a9c3497c976cbd4957b3d
refs/heads/master
2022-06-17T17:32:35.834425
2021-04-02T14:40:07
2021-04-02T14:40:07
184,781,038
13
4
null
2022-05-25T03:51:56
2019-05-03T15:41:16
Python
UTF-8
Python
false
false
788
py
"""empty message Revision ID: 6280e737c778 Revises: 79420dcea6cb Create Date: 2020-10-22 23:05:06.624326 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '6280e737c778' down_revision = '79420dcea6cb' branch_labels = None depends_on = None def upgrade(): # ...
[ "ranihorev@gmail.com" ]
ranihorev@gmail.com
67d4796fbaa670ecdcd2ac8bdc8199b3faa71812
52e5c4c64d0922197fa919a4432ead2d988c86d4
/create_plot.py
59047c781194b1ab83b3ce29c017706f79f3fecd
[ "MIT", "CC-BY-4.0" ]
permissive
jangop/butterflies
e359c24f0b6a42283e5fc4bc9ede0af181c8beba
b6189bac9448bff93f60338202240436499a6041
refs/heads/master
2020-12-13T22:27:16.610497
2020-01-17T13:29:03
2020-01-17T13:29:03
234,547,346
1
0
null
2020-01-17T12:48:17
2020-01-17T12:48:16
null
UTF-8
Python
false
false
968
py
import numpy as np import matplotlib.pyplot as plt import sys import os from tqdm import tqdm codes = np.load('data/latent_codes_embedded.npy') from matplotlib.offsetbox import OffsetImage, AnnotationBbox from image_loader import ImageDataset dataset = ImageDataset() width, height = 80, 80 fig, ax = plt.subplots(...
[ "mail@marian42.de" ]
mail@marian42.de
3317bf271009c7b220b4201d9c80cd69a74554e8
0562b574c9aaf716fdf67010a82326c93514687b
/sgtpy/mixtures/ares.py
350b32599a4131666fa19e80315f7a1d40e65451
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
hyunp2/SGTPy
d22bd55183ad70b3fc68d140d16606d445ad631e
7a0306baa82f5c53e1dbd1543832e305b52fe43d
refs/heads/master
2023-04-06T06:25:43.148618
2021-04-15T23:45:35
2021-04-15T23:45:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
31,401
py
import numpy as np from .monomer_aux import dkHS_dxhi00, d2kHS_dxhi00, d3kHS_dxhi00 from .monomer_aux import dkHS_dx_dxhi00, dkHS_dx_dxhi002 from .a1sB_monomer import da1sB_dxhi00_eval, d2a1sB_dxhi00_eval from .a1sB_monomer import d3a1sB_dxhi00_eval from .a1sB_monomer import da1sB_dx_dxhi00_dxxhi_eval from .a1sB_monom...
[ "gustavoch@outlook.com" ]
gustavoch@outlook.com
be30ae7f0538540776440a548d41cf34b8fd2ff9
6a1f6500d2319a2b7d974e3075747b86f102198e
/ConvertSortedListToBinarySearchTree.py
5b313ca0fb8300340fbe2bdcf716c844366e2eae
[]
no_license
vpc20/binary-trees
257672bb3b76c63c1530787a17c664665f5ed15e
90e074ec33acfa431285fbc3236335814a37feb2
refs/heads/master
2023-04-30T01:14:06.556085
2021-05-20T08:27:42
2021-05-20T08:27:42
271,945,306
0
0
null
null
null
null
UTF-8
Python
false
false
1,776
py
# Given the head of a singly linked list where elements are sorted in ascending order, convert it # to a height balanced BST. # # For this problem, a height - balanced binary tree is defined as a binary tree in which the # depth of the two subtrees of every node never differ by more than 1. # # Example 1: # Input: head...
[ "cuevasvp@gmail.com" ]
cuevasvp@gmail.com
a8852f18084eafe2b6c96a9a76bf76f608615a62
4d15568c751cef81a0fe5bad2257cc72c750be5d
/bndl/compute/tests/test_files.py
da4e7d43790577a836b66b178930fcf1852aae2c
[ "Apache-2.0" ]
permissive
towr/bndl
c3e76ce2dc93b17c0dac0db21fb66c91378ed795
1aca3854916186752d5ba31616000141677a5673
refs/heads/master
2020-05-30T08:35:28.105653
2017-02-21T13:47:33
2017-02-21T13:47:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,126
py
# 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, software # distributed under th...
[ "frens.jan.rumph@target-holding.nl" ]
frens.jan.rumph@target-holding.nl
c96c8518cd1b582b75ac3ea7b3c08527df97cc5c
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/bKfxE7SWnRKTpyZQT_3.py
8993b68f7931430b7842ff90c5c11f1b8b7caac5
[]
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
70
py
replace_vowel = lambda s: s.translate(s.maketrans("aeiou","12345"))
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
3f4542a4e4f0a9e311363d52eef284888bfcc9aa
7198ba93f84d088fe744fa022620d42f0f69f19a
/Chapter_7_code/build/hector_compressed_map_transport/catkin_generated/pkg.develspace.context.pc.py
8984fe3f1f18d90316a728771d7cc0fa6f28e39e
[ "MIT" ]
permissive
crepuscularlight/ROSbyExample
114ae726f48cfef1b8e6443593c1204654453096
fa7b1a60cacca9b1034e318a2ac16ce4c8530d7c
refs/heads/main
2023-04-04T16:26:36.933566
2021-04-23T11:16:50
2021-04-23T11:16:50
359,818,748
1
0
null
null
null
null
UTF-8
Python
false
false
474
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 = "hector_compressed_map_transport" PROJ...
[ "18003316366@163.com" ]
18003316366@163.com
80ba698612aabf6b70d17d5e369c35a56a3f7da3
5e3ebc83bc3fe2f85c34563689b82b1fc8b93a04
/google/ads/googleads/v5/resources/types/mobile_device_constant.py
11bc9bf5be30bc6cd5ee95a9e40ed5e990ac35bc
[ "Apache-2.0" ]
permissive
pdsing/google-ads-python
0ce70227cd6bb13a25cd13de0ca05c2636279ecd
ee2c059498d5679a0d1d9011f3795324439fad7c
refs/heads/master
2023-05-04T18:39:57.412453
2021-05-21T16:38:17
2021-05-21T16:38:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,259
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "noreply@github.com" ]
pdsing.noreply@github.com
c6414d51211591f81639bd9aa9f5a37b26689638
26e2345f89e2e134794cc704a44666154383510e
/apps/__init__.py
6215f06a0b30276a22661fd613704c007fede26a
[]
no_license
yimiqisan/vision
2448c7cd54e89afde20085c7ee1118b149bcaa8c
35e2343f921eac9568b62f0e9d9649d73afcb37f
refs/heads/master
2020-08-25T06:54:03.052801
2013-01-06T09:16:46
2013-01-06T09:16:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
157
py
#!/usr/bin/env python # encoding: utf-8 """ __init__.py Created by 刘 智勇 on 2012-06-13. Copyright (c) 2012 __MyCompanyName__. All rights reserved. """
[ "yimiqisan@gmail.com" ]
yimiqisan@gmail.com
07618a6c272315803626e09371751d93c4e4697e
6be747fc7fd83401977bcaeb92805873c26bede1
/kotti_multilingual/__init__.py
b32739a3550ca0e12c527acd394d36bf405234ad
[]
no_license
jcerjak/kotti_multilingual
d4f4c52711a3807bb2d6d34e1a10c8b4004fc4b5
a1d9b1084cb61142e9eda9e9db9b08721d1c46b4
refs/heads/master
2021-01-18T07:00:20.707662
2013-05-08T10:03:35
2013-05-08T10:03:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,132
py
# -*- coding: utf-8 -*- """ Created on 2013-05-05 :author: Andreas Kaiser (disko) """ from kotti.resources import Document from kotti.resources import File from kotti.resources import Image from pyramid.i18n import TranslationStringFactory _ = TranslationStringFactory('kotti_multilingual') def kotti_configure(sett...
[ "disko@binary-punks.com" ]
disko@binary-punks.com
6270eb006a81ca4c0b00c084d40bfc20494f42b3
c4fef3126c59d22384b249c1ad4032550fff95a1
/Game/Level.py
d5a401032c80689af0f54507b8d315556afa233d
[ "MIT" ]
permissive
NoNotCar/SpaceX
93b44ba7a1db2262a8202e9e68da92ab0afb3d36
803390fdf0ed3deee18d8f0d101ae575cf9b55e1
refs/heads/master
2020-03-21T20:18:28.735380
2018-08-28T08:47:55
2018-08-28T08:47:55
138,999,522
0
0
null
null
null
null
UTF-8
Python
false
false
3,690
py
from Layers import Layer, EntityLayer import Things from Lib import Gen,Vector import itertools from random import sample V=Vector.Vector2 exghosts=[Things.Lazy,Things.Clyde,Things.Crazy] class Level(object): backcol=(0,0,0) scale=1 cpairs=[("Enemies","Players"),("Dots","Players")] jscores=None def ...
[ "13haslat@gmail.com" ]
13haslat@gmail.com
ee093ec4c5cd8f8217f36d940a9b589c159ba69b
ffadf5825840d07a47a037cf01d4fa260bc6a48f
/BaekJoon_Online_Judge/11723.py
55ac57c004dc6e3e81b30cae9ffade9f1630cb19
[]
no_license
Heeseok-Jeong/Algorithm_Coding_Practice
8ea2559824a90428f42c9390c7e814da6a4c3366
1b320b16ab50a7e8f9926a6909966c4398a703cc
refs/heads/master
2023-08-12T23:58:21.339709
2021-10-09T03:19:06
2021-10-09T03:19:06
262,222,136
1
0
null
null
null
null
UTF-8
Python
false
false
744
py
import sys input = sys.stdin.readline M = int(input()) m_set = set() for _ in range(M): op, num = 0, 0 user_input = input().rstrip() if user_input not in ["all", "empty"]: op, num = user_input.split() else: op = user_input num = int(num) if op == "add": m_set.add(nu...
[ "dldydldy@naver.com" ]
dldydldy@naver.com
d62180a25da97eb8153efef8e75684d5a057e844
a693a697d2fb72511498d801e2705e33b4bace36
/web_app/backend/api/server/settings.py
f4f3fc014e5af777fc31e59aa0cf504c31961054
[]
no_license
17shashank17/CottonHub
fb49f9fae24af20e7fe86245620a691d3f487aea
1b74ffeb269ccc20210e994c28836482173c48f0
refs/heads/master
2022-11-26T04:19:19.252935
2020-08-08T17:43:31
2020-08-08T17:43:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,570
py
""" Django settings for server project. Generated by 'django-admin startproject' using Django 2.1.3. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os # ...
[ "saur.agarwala@gmail.com" ]
saur.agarwala@gmail.com
b766bb36817a33d17cc27f6aaa28f402ad3fd023
60f470b26cc7bb60401d883d919b8096c70b7db3
/Scrapy/csv_intro/csv_intro/spiders/csv_intro.py
3ee3f234324f66e20e1b680d78db85af98a00c4d
[]
no_license
Gautam3994/WebScraping
5b4e13b14938cef441058b326793908f80aab6ed
44566e801750ded1303d4aad3b701e3544724673
refs/heads/master
2021-02-14T14:17:59.068386
2020-03-31T21:06:13
2020-03-31T21:06:13
244,810,678
0
0
null
null
null
null
UTF-8
Python
false
false
684
py
from scrapy.spiders import CSVFeedSpider class CsvSpider(CSVFeedSpider): name = "csv_spider" start_urls = ['https://archive.ics.uci.edu/ml/machine-learning-databases/wine-quality/winequality-white.csv'] # WE GET BELOW DETAILS BY FOLLOWING THE LINK delimiter = ';' quotechar = '"' headers = ["...
[ "gautam3994@gmail.com" ]
gautam3994@gmail.com
f710c653fcc79f60ad86cf58675aff11538478b7
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2934/48102/253608.py
5b76cbc5e282cc9279e7f9e45f4bfe7250c9d902
[]
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
599
py
def decode(string: str) -> str: stack = [] for i in string: if i != ']': stack.append(i) else: temp = '' j = stack.pop() while j != '[': temp = j + temp j = stack.pop() num = '' for j in temp:...
[ "1069583789@qq.com" ]
1069583789@qq.com
f7b03d317664db4b72849db6b4285b03861b5039
5d1c43bb4881039f198eedcee2ceb101b406e0a0
/Django/project05/project05/settings.py
3e1f3c367b4dfd6fd30e5971444cb5a5f4e65de9
[]
no_license
MunSeoHee/Likelion_Gachon_2020
46155b1686a245a59c5664f7726ac754b7079e4b
e0e48845fdb0e4aa2365e7c47e29880a27f0f261
refs/heads/master
2021-04-10T09:51:06.618980
2020-12-07T10:06:43
2020-12-07T10:06:43
248,927,668
0
0
null
null
null
null
UTF-8
Python
false
false
3,291
py
""" Django settings for project05 project. Generated by 'django-admin startproject' using Django 3.0.4. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os ...
[ "nansh9815@naver.com" ]
nansh9815@naver.com
b7654d096f6beb5a925e16623be549f3a13dddd2
906fd88953664fec9095540784dd43120211521a
/Code/setup.py
c28667fb8757080b03aeb8ee690e447739fb598a
[]
no_license
mindis/MCTML_Light
fbd7eb28069d522dffa9af96c453a472c4531562
0bdf70171159baec07e97ead7732146ff794b898
refs/heads/master
2020-07-27T13:48:23.483888
2019-09-03T20:50:10
2019-09-03T20:50:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
859
py
# -*- coding: utf-8 -*- from sklearn.preprocessing import MinMaxScaler,StandardScaler,RobustScaler,PolynomialFeatures from sklearn.ensemble import AdaBoostClassifier from sklearn.svm import SVC from sklearn.tree import DecisionTreeClassifier from sklearn.decomposition import PCA,FastICA,KernelPCA data_preprocesso...
[ "chen.shaohang2046@gmail.com" ]
chen.shaohang2046@gmail.com
cf9b1b60102545d99b2702565c04177978a9979a
e705de3a44a7cc922e93c76c3aa6e6108222e538
/problems/0074_search_a_2d_matrix.py
0483c6b76729d3701f884c22304c25d909637777
[]
no_license
sokazaki/leetcode_solutions
34d4877dc7d13dc80ef067211a316c48c6269eca
42cf52eeef537806c9e3ec7a6e5113c53d0f18a3
refs/heads/master
2021-06-21T22:23:25.403545
2021-02-21T16:47:19
2021-02-21T16:47:19
193,951,202
0
1
null
null
null
null
UTF-8
Python
false
false
831
py
# O(logNM) Solution with Binary Search import unittest import bisect def searchMatrix(matrix, target): if not matrix: return False i = bisect.bisect_left(matrix, [target]) if i < len(matrix) and matrix[i][0] == target: return True j = bisect.bisect_left(matrix[i-1], target) retu...
[ "noreply@github.com" ]
sokazaki.noreply@github.com
10b751e081eb5883325009ab6ad522521fc01bfa
567ecf4ea5afbd7eb3003f7e14e00c7b9289b9c6
/ax/models/numpy_base.py
11b7a2e4eb044f247b4ead349c59f6137aaf4147
[ "MIT" ]
permissive
danielrjiang/Ax
f55ef168a59381b5a03c6d51bc394f6c72ed0f39
43014b28683b3037b5c7307869cb9b75ca31ffb6
refs/heads/master
2023-03-31T12:19:47.118558
2019-12-02T16:47:39
2019-12-02T16:49:36
225,493,047
0
0
MIT
2019-12-03T00:09:52
2019-12-03T00:09:51
null
UTF-8
Python
false
false
7,215
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. from typing import Callable, Dict, List, Optional, Tuple import numpy as np from ax.core.types import TConfig from ax.models.base import Model class NumpyModel(Model): """This class specifies the interface for a numpy...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com